From 56881d1a2db65731ad08525f5b003ebb8f5329c4 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Mon, 14 Oct 2024 09:57:15 +0300 Subject: [PATCH 1/4] SP-18211 - update models --- examples/auth/server/package-lock.json | 15 +- examples/basic/package-lock.json | 25 +- generator-templates/model.mustache | 10 + generator-templates/modelEnum.mustache | 25 + generator-templates/modelGeneric.mustache | 42 + generator-templates/modelIndex.mustache | 3 - package-lock.json | 9 +- package.json | 2 +- setup.sh | 2 +- src/.openapi-generator/FILES | 53 +- src/api/default-api.ts | 6 +- src/api/process-api.ts | 8 +- src/api/transaction-api.ts | 18 +- src/base.ts | 2 +- src/configuration.ts | 2 +- src/ext/authenticity/authenticity.ts | 2 + src/ext/authenticity/ocr-security-text.ts | 2 +- src/ext/document-reader.ts | 4 +- src/ext/images-ext.ts | 28 +- src/ext/process-response.ts | 31 +- src/ext/text-ext.ts | 2 + src/ext/text-field-ext.ts | 5 +- src/models/area-array.ts | 42 +- src/models/area-container.ts | 46 +- src/models/auth-params.ts | 134 +- src/models/authenticity-check-list.ts | 32 +- src/models/authenticity-check-result-item.ts | 53 +- src/models/authenticity-check-result.ts | 56 +- src/models/authenticity-result-all-of.ts | 22 +- src/models/authenticity-result-type.ts | 85 +- src/models/authenticity-result.ts | 24 +- src/models/available-source.ts | 39 - src/models/bar-code-module-type.ts | 47 + src/models/barcode-text-data-result.ts | 38 - src/models/barcode-type.ts | 111 ++ src/models/bc-pdf417-info.ts | 72 +- src/models/bc-roidetect.ts | 52 +- src/models/binary-data.ts | 43 + src/models/check-diagnose.ts | 257 ++-- src/models/check-result.ts | 23 +- .../chosen-document-type-result-all-of.ts | 32 +- src/models/chosen-document-type-result.ts | 24 +- src/models/chosen-document-type.ts | 118 +- src/models/container-list.ts | 63 +- src/models/critical.ts | 21 +- src/models/cross-source-value-comparison.ts | 40 +- src/models/data-module.ts | 59 +- src/models/details-optical.ts | 78 +- src/models/details-rfid.ts | 70 +- src/models/device-info.ts | 60 +- src/models/doc-bar-code-info-all-of.ts | 24 +- src/models/doc-bar-code-info-fields-list.ts | 34 +- src/models/doc-bar-code-info.ts | 24 +- .../doc-visual-extended-field-rect-all-of.ts | 30 + src/models/doc-visual-extended-field-rect.ts | 28 + .../doc-visual-extended-field-rfid-all-of.ts | 48 + src/models/doc-visual-extended-field-rfid.ts | 28 + src/models/doc-visual-extended-field.ts | 118 +- src/models/doc-visual-extended-info.ts | 31 +- .../document-binary-info-result-all-of.ts | 30 + ...sult.ts => document-binary-info-result.ts} | 25 +- src/models/document-format.ts | 47 +- src/models/document-image-result-all-of.ts | 24 +- src/models/document-image-result.ts | 25 +- src/models/document-image.ts | 20 +- src/models/document-position-result-all-of.ts | 24 +- src/models/document-position-result.ts | 24 +- src/models/document-position.ts | 116 +- .../document-type-recognition-result.ts | 23 +- src/models/document-type.ts | 477 +++--- src/models/document-types-candidates-list.ts | 32 +- ...document-types-candidates-result-all-of.ts | 22 +- .../document-types-candidates-result.ts | 24 +- src/models/document-types-candidates.ts | 32 +- src/models/documents-database.ts | 47 + src/models/encrypted-rclresult-all-of.ts | 20 +- src/models/encrypted-rclresult.ts | 22 +- src/models/extended-rfid-text-field-all-of.ts | 37 - src/models/extended-rfid-text-field.ts | 29 - src/models/extended-text-field.ts | 52 - .../extended-visual-text-field-all-of.ts | 32 - src/models/extended-visual-text-field.ts | 30 - src/models/face-api-search.ts | 36 +- src/models/face-api.ts | 78 +- src/models/fdsidlist.ts | 126 +- src/models/fiber-result-all-of.ts | 102 +- src/models/fiber-result.ts | 20 +- src/models/field-source.ts | 30 - .../get-transactions-by-tag-response.ts | 36 +- src/models/graphic-field-rect.ts | 28 + src/models/graphic-field-rfid-all-of.ts | 48 + ...aphics-result.ts => graphic-field-rfid.ts} | 28 +- src/models/graphic-field-type.ts | 73 +- src/models/graphic-field.ts | 69 +- src/models/graphic-fields-list.ts | 31 +- src/models/graphics-result-all-of.ts | 22 +- src/models/graphics-result.ts | 24 +- src/models/ident-result-all-of.ts | 80 +- src/models/ident-result.ts | 26 +- src/models/image-data.ts | 20 +- src/models/image-qa.ts | 74 +- src/models/image-quality-check-list.ts | 38 +- src/models/image-quality-check-type.ts | 33 +- src/models/image-quality-check.ts | 88 +- src/models/image-quality-result-all-of.ts | 22 +- src/models/image-quality-result.ts | 24 +- src/models/image-transaction-data.ts | 22 +- src/models/images-available-source.ts | 32 +- src/models/images-field-value.ts | 94 +- src/models/images-field.ts | 46 +- src/models/images-result-all-of.ts | 22 +- src/models/images-result.ts | 24 +- src/models/images.ts | 44 +- .../in-data-transaction-images-field-value.ts | 46 +- src/models/in-data-video.ts | 28 +- src/models/in-data.ts | 32 +- src/models/index.ts | 53 +- src/models/inline-response2001.ts | 83 -- src/models/lcid.ts | 361 ++--- src/models/lexical-analysis-result-all-of.ts | 24 +- src/models/lexical-analysis-result.ts | 24 +- src/models/license-result-all-of.ts | 20 +- src/models/license-result.ts | 22 +- src/models/light.ts | 185 ++- .../list-transactions-by-tag-response.ts | 30 +- src/models/list-verified-fields.ts | 30 +- src/models/liveness-params.ts | 44 +- src/models/log-level.ts | 27 +- src/models/measure-system.ts | 21 +- src/models/mrz-detect-mode-enum.ts | 21 +- src/models/mrz-ocr-extended-result-all-of.ts | 32 - src/models/mrz-ocr-extended-result.ts | 38 - src/models/mrzformat.ts | 29 +- src/models/ocrsecurity-text-result-all-of.ts | 120 +- src/models/ocrsecurity-text-result.ts | 22 +- src/models/one-candidate.ts | 118 +- src/models/original-symbol.ts | 42 +- ...out-data-transaction-images-field-value.ts | 56 +- src/models/out-data.ts | 30 +- src/models/parray-field.ts | 113 +- src/models/parsing-error-codes.ts | 531 +++++++ src/models/parsing-notification-codes.ts | 461 +++--- src/models/per-document-config.ts | 28 +- src/models/photo-ident-result-all-of.ts | 112 +- src/models/photo-ident-result.ts | 24 +- src/models/point-array.ts | 24 +- src/models/point.ts | 32 +- src/models/points-container.ts | 32 +- src/models/process-param.ts | 39 - src/models/process-params-rfid.ts | 22 +- src/models/process-params.ts | 493 +++---- .../process-request-image-image-data.ts | 31 - src/models/process-request-image.ts | 40 +- src/models/process-request.ts | 107 +- src/models/process-response.ts | 96 +- src/models/process-system-info.ts | 28 +- src/models/processing-status.ts | 23 +- ... raw-image-container-field-list-all-of.ts} | 25 +- ...t.ts => raw-image-container-field-list.ts} | 24 +- src/models/raw-image-container-list.ts | 34 +- src/models/raw-image-container.ts | 37 - src/models/raw-image-result-all-of.ts | 32 - src/models/raw-image-result.ts | 34 - src/models/rectangle-coordinates.ts | 44 +- src/models/result-item.ts | 67 +- src/models/result.ts | 93 +- src/models/rfid-access-control-info.ts | 56 + .../rfid-access-control-procedure-type.ts | 59 + src/models/rfid-access-key.ts | 49 + src/models/{tbinary-data.ts => rfid-achip.ts} | 56 +- src/models/rfid-application-type.ts | 51 + src/models/rfid-application.ts | 68 + src/models/rfid-attribute-data.ts | 35 + src/models/rfid-attribute-name.ts | 36 + .../rfid-authentication-procedure-type.ts | 43 + src/models/rfid-baud-rate.ts | 47 + src/models/rfid-card-properties-ext.ts | 110 ++ src/models/rfid-certificate-ex.ts | 109 ++ src/models/rfid-certificate-origin.ts | 63 + src/models/rfid-certificate-type.ts | 59 + src/models/rfid-data-file-type.ts | 114 ++ src/models/rfid-data-file.ts | 89 ++ src/models/rfid-data-group-type-tag.ts | 247 ++++ src/models/rfid-dg1.ts | 121 ++ src/models/rfid-distinguished-name.ts | 43 + src/models/rfid-location.ts | 23 +- src/models/rfid-origin.ts | 50 +- src/models/rfid-password-type.ts | 55 + src/models/rfid-pki-extension.ts | 35 + src/models/rfid-security-object.ts | 55 + src/models/rfid-session-data.ts | 127 ++ src/models/rfid-signer-info-ex.ts | 101 ++ src/models/rfid-terminal-type.ts | 47 + src/models/rfid-terminal.ts | 42 + src/models/rfid-text-data-result.ts | 38 - src/models/rfid-type.ts | 39 + src/models/rfid-validity.ts | 36 + src/models/rfiderror-codes.ts | 483 ++++++ src/models/scenario.ts | 53 +- src/models/security-feature-result-all-of.ts | 78 +- src/models/security-feature-result.ts | 26 +- src/models/security-feature-type.ts | 119 +- src/models/source-validity.ts | 32 +- src/models/source.ts | 31 +- src/models/status-result-all-of.ts | 22 +- src/models/status-result.ts | 24 +- src/models/status.ts | 80 +- src/models/string-recognition-result.ts | 46 +- src/models/symbol-candidate.ts | 34 +- src/models/symbol-recognition-result.ts | 44 +- src/models/tdoc-binary-info.ts | 30 + src/models/text-available-source.ts | 40 +- src/models/text-data-result-all-of.ts | 24 +- src/models/text-data-result.ts | 24 +- src/models/text-field-type.ts | 1293 +++++++++-------- src/models/text-field-value.ts | 93 +- src/models/text-field.ts | 112 +- src/models/text-post-processing.ts | 25 +- src/models/text-result-all-of.ts | 22 +- src/models/text-result.ts | 24 +- src/models/text.ts | 64 +- src/models/tfdsidlist.ts | 87 -- src/models/toriginal-rfidgraphics.ts | 73 - src/models/transaction-image.ts | 22 +- src/models/transaction-images-field-value.ts | 57 - src/models/transaction-info.ts | 69 +- .../transaction-process-get-response.ts | 48 +- src/models/transaction-process-request.ts | 76 +- ...=> transaction-process-response-all-of.ts} | 24 +- src/models/transaction-process-response.ts | 28 + ...se200.ts => transaction-process-result.ts} | 50 +- src/models/trf-ft-bytes.ts | 49 + src/models/trf-ft-string.ts | 51 + src/models/verification-result.ts | 27 +- src/models/verified-field-map.ts | 80 +- src/models/visibility.ts | 27 +- src/models/visual-ocr-extended-result.ts | 38 - update-models.sh | 34 +- 238 files changed, 8901 insertions(+), 6085 deletions(-) create mode 100644 generator-templates/model.mustache create mode 100644 generator-templates/modelEnum.mustache create mode 100644 generator-templates/modelGeneric.mustache delete mode 100755 generator-templates/modelIndex.mustache delete mode 100755 src/models/available-source.ts create mode 100644 src/models/bar-code-module-type.ts delete mode 100755 src/models/barcode-text-data-result.ts create mode 100644 src/models/barcode-type.ts create mode 100644 src/models/binary-data.ts mode change 100755 => 100644 src/models/check-result.ts mode change 100755 => 100644 src/models/chosen-document-type-result-all-of.ts mode change 100755 => 100644 src/models/chosen-document-type-result.ts mode change 100755 => 100644 src/models/container-list.ts mode change 100755 => 100644 src/models/cross-source-value-comparison.ts mode change 100755 => 100644 src/models/details-optical.ts mode change 100755 => 100644 src/models/details-rfid.ts create mode 100644 src/models/doc-visual-extended-field-rect-all-of.ts create mode 100644 src/models/doc-visual-extended-field-rect.ts create mode 100644 src/models/doc-visual-extended-field-rfid-all-of.ts create mode 100644 src/models/doc-visual-extended-field-rfid.ts mode change 100755 => 100644 src/models/doc-visual-extended-field.ts mode change 100755 => 100644 src/models/doc-visual-extended-info.ts create mode 100644 src/models/document-binary-info-result-all-of.ts rename src/models/{raw-data-result.ts => document-binary-info-result.ts} (65%) mode change 100755 => 100644 src/models/document-format.ts mode change 100755 => 100644 src/models/document-image-result-all-of.ts mode change 100755 => 100644 src/models/document-image-result.ts mode change 100755 => 100644 src/models/document-type-recognition-result.ts mode change 100755 => 100644 src/models/document-type.ts mode change 100755 => 100644 src/models/document-types-candidates-list.ts mode change 100755 => 100644 src/models/document-types-candidates-result-all-of.ts mode change 100755 => 100644 src/models/document-types-candidates-result.ts create mode 100644 src/models/documents-database.ts delete mode 100755 src/models/extended-rfid-text-field-all-of.ts delete mode 100755 src/models/extended-rfid-text-field.ts delete mode 100755 src/models/extended-text-field.ts delete mode 100755 src/models/extended-visual-text-field-all-of.ts delete mode 100755 src/models/extended-visual-text-field.ts delete mode 100755 src/models/field-source.ts create mode 100644 src/models/graphic-field-rect.ts create mode 100644 src/models/graphic-field-rfid-all-of.ts rename src/models/{original-graphics-result.ts => graphic-field-rfid.ts} (60%) mode change 100755 => 100644 src/models/graphic-field-type.ts mode change 100755 => 100644 src/models/graphic-field.ts mode change 100755 => 100644 src/models/graphic-fields-list.ts mode change 100755 => 100644 src/models/graphics-result-all-of.ts mode change 100755 => 100644 src/models/graphics-result.ts mode change 100755 => 100644 src/models/image-data.ts mode change 100755 => 100644 src/models/images-available-source.ts mode change 100755 => 100644 src/models/images-field-value.ts mode change 100755 => 100644 src/models/images-field.ts mode change 100755 => 100644 src/models/images-result-all-of.ts mode change 100755 => 100644 src/models/images-result.ts mode change 100755 => 100644 src/models/images.ts mode change 100755 => 100644 src/models/index.ts delete mode 100644 src/models/inline-response2001.ts mode change 100755 => 100644 src/models/lcid.ts mode change 100755 => 100644 src/models/lexical-analysis-result-all-of.ts mode change 100755 => 100644 src/models/lexical-analysis-result.ts mode change 100755 => 100644 src/models/light.ts mode change 100755 => 100644 src/models/list-verified-fields.ts delete mode 100755 src/models/mrz-ocr-extended-result-all-of.ts delete mode 100755 src/models/mrz-ocr-extended-result.ts mode change 100755 => 100644 src/models/one-candidate.ts mode change 100755 => 100644 src/models/original-symbol.ts create mode 100644 src/models/parsing-error-codes.ts delete mode 100755 src/models/process-param.ts mode change 100755 => 100644 src/models/process-params.ts delete mode 100755 src/models/process-request-image-image-data.ts mode change 100755 => 100644 src/models/process-request-image.ts mode change 100755 => 100644 src/models/process-request.ts mode change 100755 => 100644 src/models/process-response.ts mode change 100755 => 100644 src/models/process-system-info.ts mode change 100755 => 100644 src/models/processing-status.ts rename src/models/{transaction-scenario-request.ts => raw-image-container-field-list-all-of.ts} (72%) rename src/models/{binary-data-result.ts => raw-image-container-field-list.ts} (65%) delete mode 100755 src/models/raw-image-container.ts delete mode 100755 src/models/raw-image-result-all-of.ts delete mode 100755 src/models/raw-image-result.ts mode change 100755 => 100644 src/models/rectangle-coordinates.ts mode change 100755 => 100644 src/models/result-item.ts mode change 100755 => 100644 src/models/result.ts create mode 100644 src/models/rfid-access-control-info.ts create mode 100644 src/models/rfid-access-control-procedure-type.ts create mode 100644 src/models/rfid-access-key.ts rename src/models/{tbinary-data.ts => rfid-achip.ts} (56%) create mode 100644 src/models/rfid-application-type.ts create mode 100644 src/models/rfid-application.ts create mode 100644 src/models/rfid-attribute-data.ts create mode 100644 src/models/rfid-attribute-name.ts create mode 100644 src/models/rfid-authentication-procedure-type.ts create mode 100644 src/models/rfid-baud-rate.ts create mode 100644 src/models/rfid-card-properties-ext.ts create mode 100644 src/models/rfid-certificate-ex.ts create mode 100644 src/models/rfid-certificate-origin.ts create mode 100644 src/models/rfid-certificate-type.ts create mode 100644 src/models/rfid-data-file-type.ts create mode 100644 src/models/rfid-data-file.ts create mode 100644 src/models/rfid-data-group-type-tag.ts create mode 100644 src/models/rfid-dg1.ts create mode 100644 src/models/rfid-distinguished-name.ts mode change 100755 => 100644 src/models/rfid-location.ts mode change 100755 => 100644 src/models/rfid-origin.ts create mode 100644 src/models/rfid-password-type.ts create mode 100644 src/models/rfid-pki-extension.ts create mode 100644 src/models/rfid-security-object.ts create mode 100644 src/models/rfid-session-data.ts create mode 100644 src/models/rfid-signer-info-ex.ts create mode 100644 src/models/rfid-terminal-type.ts create mode 100644 src/models/rfid-terminal.ts delete mode 100755 src/models/rfid-text-data-result.ts create mode 100644 src/models/rfid-type.ts create mode 100644 src/models/rfid-validity.ts create mode 100644 src/models/rfiderror-codes.ts mode change 100755 => 100644 src/models/scenario.ts mode change 100755 => 100644 src/models/source-validity.ts mode change 100755 => 100644 src/models/source.ts mode change 100755 => 100644 src/models/status-result-all-of.ts mode change 100755 => 100644 src/models/status-result.ts mode change 100755 => 100644 src/models/status.ts mode change 100755 => 100644 src/models/string-recognition-result.ts mode change 100755 => 100644 src/models/symbol-candidate.ts mode change 100755 => 100644 src/models/symbol-recognition-result.ts create mode 100644 src/models/tdoc-binary-info.ts mode change 100755 => 100644 src/models/text-available-source.ts mode change 100755 => 100644 src/models/text-data-result-all-of.ts mode change 100755 => 100644 src/models/text-data-result.ts mode change 100755 => 100644 src/models/text-field-type.ts mode change 100755 => 100644 src/models/text-field-value.ts mode change 100755 => 100644 src/models/text-field.ts mode change 100755 => 100644 src/models/text-result-all-of.ts mode change 100755 => 100644 src/models/text-result.ts mode change 100755 => 100644 src/models/text.ts delete mode 100755 src/models/tfdsidlist.ts delete mode 100644 src/models/toriginal-rfidgraphics.ts delete mode 100644 src/models/transaction-images-field-value.ts mode change 100755 => 100644 src/models/transaction-info.ts rename src/models/{in-data-rfid-session.ts => transaction-process-response-all-of.ts} (74%) create mode 100644 src/models/transaction-process-response.ts rename src/models/{inline-response200.ts => transaction-process-result.ts} (62%) create mode 100644 src/models/trf-ft-bytes.ts create mode 100644 src/models/trf-ft-string.ts mode change 100755 => 100644 src/models/verification-result.ts mode change 100755 => 100644 src/models/verified-field-map.ts delete mode 100755 src/models/visual-ocr-extended-result.ts diff --git a/examples/auth/server/package-lock.json b/examples/auth/server/package-lock.json index 1984ee28..b349f98d 100644 --- a/examples/auth/server/package-lock.json +++ b/examples/auth/server/package-lock.json @@ -201,9 +201,10 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -352,16 +353,16 @@ } }, "node_modules/express": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/express/-/express-5.0.0.tgz", - "integrity": "sha512-V4UkHQc+B7ldh1YC84HCXHwf60M4BOMvp9rkvTUWCK5apqDC1Esnbid4wm6nFyVuDy8XMfETsJw5lsIGBWyo0A==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.0.1.tgz", + "integrity": "sha512-ORF7g6qGnD+YtUG9yx4DFoqCShNMmUKiXuT5oWMHiOvt/4WFbHC6yCwQMTSBMno7AqntNCAzzcnnjowRkTL9eQ==", "license": "MIT", "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.0.1", "content-disposition": "^1.0.0", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "^1.2.1", "debug": "4.3.6", "depd": "2.0.0", diff --git a/examples/basic/package-lock.json b/examples/basic/package-lock.json index f0c7e6b7..f385ba6d 100644 --- a/examples/basic/package-lock.json +++ b/examples/basic/package-lock.json @@ -38,27 +38,28 @@ }, "../..": { "name": "@regulaforensics/document-reader-webclient", - "version": "6.6.0", + "version": "0.0.0", "license": "MIT", "dependencies": { - "@swc/helpers": "^0.5.3", - "axios": "^1.6.1", + "@swc/helpers": "^0.5.13", + "axios": "^1.7.7", "base64-arraybuffer": "^1.0.2", "pako": "^2.1.0" }, "devDependencies": { - "@parcel/packager-ts": "^2.10.3", - "@parcel/transformer-typescript-types": "^2.10.3", - "@types/pako": "^2.0.1", + "@parcel/packager-ts": "^2.12.0", + "@parcel/transformer-typescript-types": "^2.12.0", + "@types/node": "^22.7.5", + "@types/pako": "^2.0.3", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", "eslint": "^8.51.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.1", - "husky": "^8.0.3", - "lint-staged": "^15.0.1", - "parcel": "^2.10.3", - "prettier": "^3.0.3", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.2.1", + "husky": "^9.1.6", + "lint-staged": "^15.2.10", + "parcel": "^2.12.0", + "prettier": "^3.3.3", "typescript": "^5.3.2" } }, diff --git a/generator-templates/model.mustache b/generator-templates/model.mustache new file mode 100644 index 00000000..b90f8681 --- /dev/null +++ b/generator-templates/model.mustache @@ -0,0 +1,10 @@ +/* tslint:disable */ +/* eslint-disable */ +{{>licenseInfo}} +{{#withSeparateModelsAndApi}}{{#hasAllOf}}{{#allOf}} +import type { {{class}} } from './{{filename}}';{{/allOf}}{{/hasAllOf}}{{#hasOneOf}}{{#oneOf}} +import type { {{class}} } from './{{filename}}';{{/oneOf}}{{/hasOneOf}}{{^hasAllOf}}{{^hasOneOf}}{{#imports}} +import type { {{class}} } from './{{filename}}';{{/imports}}{{/hasOneOf}}{{/hasAllOf}}{{/withSeparateModelsAndApi}} +{{#models}}{{#model}} +{{#isEnum}}{{>modelEnum}}{{/isEnum}}{{#oneOf}}{{#-first}}{{>modelOneOf}}{{/-first}}{{/oneOf}}{{#allOf}}{{#-first}}{{>modelAllOf}}{{/-first}}{{/allOf}}{{^isEnum}}{{^oneOf}}{{^allOf}}{{>modelGeneric}}{{/allOf}}{{/oneOf}}{{/isEnum}} +{{/model}}{{/models}} \ No newline at end of file diff --git a/generator-templates/modelEnum.mustache b/generator-templates/modelEnum.mustache new file mode 100644 index 00000000..68e9c05f --- /dev/null +++ b/generator-templates/modelEnum.mustache @@ -0,0 +1,25 @@ +/** +* {{{description}}} +* @export +* @enum {string} +*/ +{{#isBoolean}} +export type {{classname}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}} | {{/-last}}{{/enumVars}}{{/allowableValues}} +{{/isBoolean}} + +{{^isBoolean}} +export const {{classname}} = { +{{#allowableValues}} + {{#enumVars}} + {{#enumDescription}} + /** + * {{.}} + */ + {{/enumDescription}} + {{{name}}}: {{{value}}}{{^-last}},{{/-last}} + {{/enumVars}} +{{/allowableValues}} +} as const; + +export type {{classname}} = typeof {{classname}}[keyof typeof {{classname}}]; +{{/isBoolean}} \ No newline at end of file diff --git a/generator-templates/modelGeneric.mustache b/generator-templates/modelGeneric.mustache new file mode 100644 index 00000000..dfd9218e --- /dev/null +++ b/generator-templates/modelGeneric.mustache @@ -0,0 +1,42 @@ +/** +* {{{description}}} +* @export +* @interface {{classname}} +*/ +export interface {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{ +{{#additionalPropertiesType}} + [key: string]: {{{additionalPropertiesType}}}{{#hasVars}} | any{{/hasVars}}; + +{{/additionalPropertiesType}} +{{#vars}} + /** + * {{{description}}} + * @type {{=<% %>=}}{<%&datatype%>}<%={{ }}=%> + * @memberof {{classname}} + {{#deprecated}} + * @deprecated + {{/deprecated}} + */ + {{name}}{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}}; +{{/vars}} +}{{#hasEnums}} + +{{#vars}} +{{#isEnum}} +export const {{enumName}} = { +{{#allowableValues}} + {{#enumVars}} + {{#enumDescription}} + /** + * {{enumDescription}} + */ + {{/enumDescription}} + {{{name}}}: {{{value}}}{{^-last}},{{/-last}} + {{/enumVars}} +{{/allowableValues}} +} as const; + +export type {{enumName}} = typeof {{enumName}}[keyof typeof {{enumName}}]; +{{/isEnum}} +{{/vars}} +{{/hasEnums}} \ No newline at end of file diff --git a/generator-templates/modelIndex.mustache b/generator-templates/modelIndex.mustache deleted file mode 100755 index 9fc0ebfd..00000000 --- a/generator-templates/modelIndex.mustache +++ /dev/null @@ -1,3 +0,0 @@ -{{! https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/typescript-axios/modelIndex.mustache }} -{{#models}}{{#model}}export * from './{{classFilename}}';{{/model}} -{{/models}} diff --git a/package-lock.json b/package-lock.json index fd7f0536..f1442d4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "eslint": "^8.51.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", - "husky": "^9.1.5", + "husky": "^9.1.6", "lint-staged": "^15.2.10", "parcel": "^2.12.0", "prettier": "^3.3.3", @@ -3855,10 +3855,11 @@ } }, "node_modules/husky": { - "version": "9.1.5", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.5.tgz", - "integrity": "sha512-rowAVRUBfI0b4+niA4SJMhfQwc107VLkBUgEYYAOQAbqDCnra1nYh83hF/MDmhYs9t9n1E3DuKOrs2LYNC+0Ag==", + "version": "9.1.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.6.tgz", + "integrity": "sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==", "dev": true, + "license": "MIT", "bin": { "husky": "bin.js" }, diff --git a/package.json b/package.json index ea0dbd8d..562d9534 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "eslint": "^8.51.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", - "husky": "^9.1.5", + "husky": "^9.1.6", "lint-staged": "^15.2.10", "parcel": "^2.12.0", "prettier": "^3.3.3", diff --git a/setup.sh b/setup.sh index 8aa36302..19727d52 100755 --- a/setup.sh +++ b/setup.sh @@ -6,6 +6,6 @@ cd ./examples/basic || exit npm install -export API_BASE_PATH="https://testapi.regulaforensics.com" +export API_BASE_PATH="https://nightly-api.regulaforensics.com" node index.js \ No newline at end of file diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index c5b9c7a8..1f6b1e7a 100755 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -12,8 +12,11 @@ models/authenticity-check-result.ts models/authenticity-result-all-of.ts models/authenticity-result-type.ts models/authenticity-result.ts +models/bar-code-module-type.ts +models/barcode-type.ts models/bc-pdf417-info.ts models/bc-roidetect.ts +models/binary-data.ts models/check-diagnose.ts models/check-result.ts models/chosen-document-type-result-all-of.ts @@ -29,8 +32,14 @@ models/device-info.ts models/doc-bar-code-info-all-of.ts models/doc-bar-code-info-fields-list.ts models/doc-bar-code-info.ts +models/doc-visual-extended-field-rect-all-of.ts +models/doc-visual-extended-field-rect.ts +models/doc-visual-extended-field-rfid-all-of.ts +models/doc-visual-extended-field-rfid.ts models/doc-visual-extended-field.ts models/doc-visual-extended-info.ts +models/document-binary-info-result-all-of.ts +models/document-binary-info-result.ts models/document-format.ts models/document-image-result-all-of.ts models/document-image-result.ts @@ -44,6 +53,7 @@ models/document-types-candidates-list.ts models/document-types-candidates-result-all-of.ts models/document-types-candidates-result.ts models/document-types-candidates.ts +models/documents-database.ts models/encrypted-rclresult-all-of.ts models/encrypted-rclresult.ts models/face-api-search.ts @@ -52,6 +62,9 @@ models/fdsidlist.ts models/fiber-result-all-of.ts models/fiber-result.ts models/get-transactions-by-tag-response.ts +models/graphic-field-rect.ts +models/graphic-field-rfid-all-of.ts +models/graphic-field-rfid.ts models/graphic-field-type.ts models/graphic-field.ts models/graphic-fields-list.ts @@ -77,8 +90,6 @@ models/in-data-transaction-images-field-value.ts models/in-data-video.ts models/in-data.ts models/index.ts -models/inline-response200.ts -models/inline-response2001.ts models/lcid.ts models/lexical-analysis-result-all-of.ts models/lexical-analysis-result.ts @@ -99,6 +110,7 @@ models/original-symbol.ts models/out-data-transaction-images-field-value.ts models/out-data.ts models/parray-field.ts +models/parsing-error-codes.ts models/parsing-notification-codes.ts models/per-document-config.ts models/photo-ident-result-all-of.ts @@ -113,12 +125,43 @@ models/process-request.ts models/process-response.ts models/process-system-info.ts models/processing-status.ts +models/raw-image-container-field-list-all-of.ts +models/raw-image-container-field-list.ts models/raw-image-container-list.ts models/rectangle-coordinates.ts models/result-item.ts models/result.ts +models/rfid-access-control-info.ts +models/rfid-access-control-procedure-type.ts +models/rfid-access-key.ts +models/rfid-achip.ts +models/rfid-application-type.ts +models/rfid-application.ts +models/rfid-attribute-data.ts +models/rfid-attribute-name.ts +models/rfid-authentication-procedure-type.ts +models/rfid-baud-rate.ts +models/rfid-card-properties-ext.ts +models/rfid-certificate-ex.ts +models/rfid-certificate-origin.ts +models/rfid-certificate-type.ts +models/rfid-data-file-type.ts +models/rfid-data-file.ts +models/rfid-data-group-type-tag.ts +models/rfid-dg1.ts +models/rfid-distinguished-name.ts models/rfid-location.ts models/rfid-origin.ts +models/rfid-password-type.ts +models/rfid-pki-extension.ts +models/rfid-security-object.ts +models/rfid-session-data.ts +models/rfid-signer-info-ex.ts +models/rfid-terminal-type.ts +models/rfid-terminal.ts +models/rfid-type.ts +models/rfid-validity.ts +models/rfiderror-codes.ts models/scenario.ts models/security-feature-result-all-of.ts models/security-feature-result.ts @@ -131,6 +174,7 @@ models/status.ts models/string-recognition-result.ts models/symbol-candidate.ts models/symbol-recognition-result.ts +models/tdoc-binary-info.ts models/text-available-source.ts models/text-data-result-all-of.ts models/text-data-result.ts @@ -145,6 +189,11 @@ models/transaction-image.ts models/transaction-info.ts models/transaction-process-get-response.ts models/transaction-process-request.ts +models/transaction-process-response-all-of.ts +models/transaction-process-response.ts +models/transaction-process-result.ts +models/trf-ft-bytes.ts +models/trf-ft-string.ts models/verification-result.ts models/verified-field-map.ts models/visibility.ts diff --git a/src/api/default-api.ts b/src/api/default-api.ts index 456f01ac..5a0f8f6d 100755 --- a/src/api/default-api.ts +++ b/src/api/default-api.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,9 +17,9 @@ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; // Some imports not used depending on template conditions // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base.js'; +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; // @ts-ignore -import { DeviceInfo } from '../models.js'; +import { DeviceInfo } from '../models'; /** * DefaultApi - axios parameter creator * @export diff --git a/src/api/process-api.ts b/src/api/process-api.ts index 447f1cc2..a2895964 100644 --- a/src/api/process-api.ts +++ b/src/api/process-api.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -17,11 +17,11 @@ import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; import { Configuration } from '../configuration'; // Some imports not used depending on template conditions // @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base.js'; +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; // @ts-ignore -import { ProcessRequest } from '../models.js'; +import { ProcessRequest } from '../models'; // @ts-ignore -import { ProcessResponse } from '../models.js'; +import { ProcessResponse } from '../models'; /** * ProcessApi - axios parameter creator * @export diff --git a/src/api/transaction-api.ts b/src/api/transaction-api.ts index 4c1f8f6f..e199181e 100644 --- a/src/api/transaction-api.ts +++ b/src/api/transaction-api.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,15 +19,15 @@ import { Configuration } from '../configuration'; // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; // @ts-ignore -import { InlineResponse200 } from '../models'; -// @ts-ignore -import { InlineResponse2001 } from '../models'; -// @ts-ignore import { ListTransactionsByTagResponse } from '../models'; // @ts-ignore import { TransactionProcessGetResponse } from '../models'; // @ts-ignore import { TransactionProcessRequest } from '../models'; +// @ts-ignore +import { TransactionProcessResponse } from '../models'; +// @ts-ignore +import { TransactionProcessResult } from '../models'; /** * TransactionApi - axios parameter creator * @export @@ -394,7 +394,7 @@ export const TransactionApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async apiV2TransactionTransactionIdProcessPost(transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async apiV2TransactionTransactionIdProcessPost(transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await TransactionApiAxiosParamCreator(configuration).apiV2TransactionTransactionIdProcessPost(transactionId, transactionProcessRequest, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url}; @@ -409,7 +409,7 @@ export const TransactionApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async apiV2TransactionTransactionIdResultsGet(transactionId: number, withImages?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async apiV2TransactionTransactionIdResultsGet(transactionId: number, withImages?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await TransactionApiAxiosParamCreator(configuration).apiV2TransactionTransactionIdResultsGet(transactionId, withImages, options); return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url}; @@ -474,7 +474,7 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - apiV2TransactionTransactionIdProcessPost(transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any): AxiosPromise { + apiV2TransactionTransactionIdProcessPost(transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any): AxiosPromise { return TransactionApiFp(configuration).apiV2TransactionTransactionIdProcessPost(transactionId, transactionProcessRequest, options).then((request) => request(axios, basePath)); }, /** @@ -485,7 +485,7 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - apiV2TransactionTransactionIdResultsGet(transactionId: number, withImages?: boolean, options?: any): AxiosPromise { + apiV2TransactionTransactionIdResultsGet(transactionId: number, withImages?: boolean, options?: any): AxiosPromise { return TransactionApiFp(configuration).apiV2TransactionTransactionIdResultsGet(transactionId, withImages, options).then((request) => request(axios, basePath)); }, }; diff --git a/src/base.ts b/src/base.ts index fdc070ef..bf285aae 100755 --- a/src/base.ts +++ b/src/base.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/configuration.ts b/src/configuration.ts index 73365b0a..287bc6d1 100755 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/ext/authenticity/authenticity.ts b/src/ext/authenticity/authenticity.ts index 81d60ee4..b5bdd526 100644 --- a/src/ext/authenticity/authenticity.ts +++ b/src/ext/authenticity/authenticity.ts @@ -8,10 +8,12 @@ import { SecurityFeatureChecks } from './security-feature'; export class Authenticity implements AuthenticityCheckList { List: Array; page_idx: number; + Count: number; constructor(origin: AuthenticityCheckList, page_idx: number) { this.List = origin.List; this.page_idx = page_idx; + this.Count = origin.Count; } public uvLuminescenceChecks(): SecurityFeatureChecks | undefined { diff --git a/src/ext/authenticity/ocr-security-text.ts b/src/ext/authenticity/ocr-security-text.ts index 65588570..e0f5fee5 100644 --- a/src/ext/authenticity/ocr-security-text.ts +++ b/src/ext/authenticity/ocr-security-text.ts @@ -6,7 +6,7 @@ export class OCRSecurityTextChecks implements AuthenticityCheckResult { Type: AuthenticityResultType; constructor(origin: AuthenticityCheckResult) { - this.List = >origin.List; + this.List = >origin.List; this.Result = origin.Result; this.Type = origin.Type; } diff --git a/src/ext/document-reader.ts b/src/ext/document-reader.ts index 04143003..998c44e3 100755 --- a/src/ext/document-reader.ts +++ b/src/ext/document-reader.ts @@ -13,7 +13,7 @@ import { Result, DeviceInfo, TransactionProcessRequest, - InlineResponse200, + TransactionProcessResult, ListTransactionsByTagResponse, TransactionProcessGetResponse, } from '../models'; @@ -101,7 +101,7 @@ export class DocumentReaderApi { transactionId: number, transactionProcessRequest: TransactionProcessRequest, options?: any, - ): Promise> { + ): Promise> { return this.transactionApi.apiV2TransactionTransactionIdProcessPost( transactionId, transactionProcessRequest, diff --git a/src/ext/images-ext.ts b/src/ext/images-ext.ts index 29cbae8a..63751225 100755 --- a/src/ext/images-ext.ts +++ b/src/ext/images-ext.ts @@ -4,10 +4,14 @@ import * as converter from 'base64-arraybuffer'; export class ImagesExt implements Images { availableSourceList: Array; fieldList: Array; + fieldCount: number; + availableSourceCount: number; constructor(origin: Images) { this.availableSourceList = origin.availableSourceList; this.fieldList = origin.fieldList.map((field) => new ImagesFieldWrapper(field)); + this.fieldCount = origin.fieldCount; + this.availableSourceCount = origin.availableSourceCount; } public getField(type: GraphicFieldType): ImagesFieldWrapper | undefined { @@ -27,31 +31,27 @@ export class ImagesFieldWrapper implements ImagesField { fieldName: string; fieldType: GraphicFieldType; valueList: Array; + valueCount: number; constructor(origin: ImagesField) { this.fieldName = origin.fieldName; this.fieldType = origin.fieldType; this.valueList = origin.valueList; + this.valueCount = origin.valueCount; } public getValue(source?: Source, original = false) { - let fieldValue; - if (!source) { - // rfid -> visual -> barcode - fieldValue = - this.getValueBySource(Source.RFID) || - this.getValueBySource(Source.VISUAL) || - this.getValueBySource(Source.BARCODE); - } else { - fieldValue = this.getValueBySource(source); - } + const fieldValue = source + ? this.getValueBySource(source) + : this.getValueBySource(Source.RFID) || + this.getValueBySource(Source.VISUAL) || + this.getValueBySource(Source.BARCODE); if (!fieldValue) return; - if (original && fieldValue.originalValue) { - return base64ToBuffer(fieldValue.originalValue); - } - return base64ToBuffer(fieldValue.value); + const valueToConvert = original && fieldValue.originalValue ? fieldValue.originalValue : fieldValue.value; + + return valueToConvert ? base64ToBuffer(valueToConvert) : undefined; } private getValueBySource(source: Source): ImagesFieldValue | undefined { diff --git a/src/ext/process-response.ts b/src/ext/process-response.ts index 74eacc69..65ffab48 100755 --- a/src/ext/process-response.ts +++ b/src/ext/process-response.ts @@ -6,7 +6,7 @@ import { ImageQualityCheckList, ImageQualityResult, ImagesResult, - InlineResponse2001, + TransactionProcessResponse, OneCandidate, ProcessingStatus, ProcessResponse, @@ -32,9 +32,9 @@ export class Response { images?: ImagesExt; lowLvlResponse: LowLvlResponse; - rawResponse: ProcessResponse | InlineResponse2001; + rawResponse: ProcessResponse | TransactionProcessResponse; - constructor(original: ProcessResponse | InlineResponse2001) { + constructor(original: ProcessResponse | TransactionProcessResponse) { const lowLvlResponse = new LowLvlResponse(original); this.lowLvlResponse = lowLvlResponse; this.rawResponse = original; @@ -122,19 +122,34 @@ export class LowLvlResponse implements ProcessResponse { ContainerList: ContainerList; ProcessingFinished: ProcessingStatus; TransactionInfo: TransactionInfo; - ChipPage?: RfidLocation; + ChipPage: RfidLocation; log?: string; passBackObject?: { [key: string]: any }; - morePagesAvailable?: number; + morePagesAvailable: number; + elapsedTime: number; + metadata?: { [key: string]: object }; + CoreLibResultCode?: number; - constructor(original: ProcessResponse | InlineResponse2001) { + constructor(original: ProcessResponse | TransactionProcessResponse) { this.ContainerList = original.ContainerList || { Count: 0, List: [] }; this.ProcessingFinished = original.ProcessingFinished || ProcessingStatus.NOT_FINISHED; this.TransactionInfo = original.TransactionInfo || {}; this.ChipPage = original.ChipPage; - this.log = original.log; - this.passBackObject = original.passBackObject; this.morePagesAvailable = original.morePagesAvailable; + this.elapsedTime = original.elapsedTime; + + if ('log' in original) { + this.log = original.log; + } + if ('passBackObject' in original) { + this.passBackObject = original.passBackObject; + } + if ('metadata' in original) { + this.metadata = original.metadata; + } + if ('CoreLibResultCode' in original) { + this.CoreLibResultCode = original.CoreLibResultCode; + } } public statusResult(): StatusResult | undefined { diff --git a/src/ext/text-ext.ts b/src/ext/text-ext.ts index 556712b6..289d51ce 100755 --- a/src/ext/text-ext.ts +++ b/src/ext/text-ext.ts @@ -5,6 +5,7 @@ export class TextExt implements Text { status: CheckResult; validityStatus: CheckResult; comparisonStatus: CheckResult; + dateFormat: string; availableSourceList: Array; fieldList: Array; @@ -13,6 +14,7 @@ export class TextExt implements Text { this.status = origin.status; this.validityStatus = origin.validityStatus; this.comparisonStatus = origin.comparisonStatus; + this.dateFormat = origin.dateFormat; this.availableSourceList = origin.availableSourceList; this.fieldList = origin.fieldList.map((field) => new TextFieldExt(field)); } diff --git a/src/ext/text-field-ext.ts b/src/ext/text-field-ext.ts index 6806eef8..bc3e0d86 100755 --- a/src/ext/text-field-ext.ts +++ b/src/ext/text-field-ext.ts @@ -6,6 +6,7 @@ import { TextField, TextFieldType, TextFieldValue, + LCID, } from '../models'; const LCID_MAP: Record = { @@ -156,7 +157,8 @@ export class TextFieldExt implements TextField { // see BaseTextField for docs fieldType: TextFieldType; fieldName: string; - lcid?: number; + lcid: LCID; + lcidName: string; status: CheckResult; validityStatus: CheckResult; @@ -178,6 +180,7 @@ export class TextFieldExt implements TextField { this.valueList = origin.valueList; this.validityList = origin.validityList; this.comparisonList = origin.comparisonList; + this.lcidName = origin.lcidName; } /** diff --git a/src/models/area-array.ts b/src/models/area-array.ts index 9f08617c..2f539612 100644 --- a/src/models/area-array.ts +++ b/src/models/area-array.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,31 @@ */ -import { PointArray } from './point-array'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { PointArray } from './point-array'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * - * @export - * @interface AreaArray - */ +* +* @export +* @interface AreaArray +*/ export interface AreaArray { /** - * - * @type {Array} - * @memberof AreaArray - */ - List?: Array; + * Number of elements in List and Points + * @type {number} + * @memberof AreaArray + */ + Count: number; + /** + * + * @type {Array} + * @memberof AreaArray + */ + List: Array; /** - * - * @type {Array} - * @memberof AreaArray - */ - Points?: Array; + * + * @type {Array} + * @memberof AreaArray + */ + Points: Array; } - - diff --git a/src/models/area-container.ts b/src/models/area-container.ts index 8a953b86..4d51caf3 100644 --- a/src/models/area-container.ts +++ b/src/models/area-container.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,33 +13,31 @@ */ -import { PointsContainer } from './points-container'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { PointsContainer } from './points-container'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * Checked fragment coordinates - * @export - * @interface AreaContainer - */ +* Checked fragment coordinates +* @export +* @interface AreaContainer +*/ export interface AreaContainer { /** - * - * @type {number} - * @memberof AreaContainer - */ - Count?: number; + * + * @type {number} + * @memberof AreaContainer + */ + Count: number; /** - * - * @type {Array} - * @memberof AreaContainer - */ - List?: Array; + * + * @type {Array} + * @memberof AreaContainer + */ + List: Array; /** - * - * @type {Array} - * @memberof AreaContainer - */ - Points?: Array; + * + * @type {Array} + * @memberof AreaContainer + */ + Points: Array; } - - diff --git a/src/models/auth-params.ts b/src/models/auth-params.ts index d6ce4c05..2fa74e3a 100644 --- a/src/models/auth-params.ts +++ b/src/models/auth-params.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,104 +13,102 @@ */ -import { LivenessParams } from './liveness-params'; +import type { LivenessParams } from './liveness-params'; /** - * - * @export - * @interface AuthParams - */ +* +* @export +* @interface AuthParams +*/ export interface AuthParams { /** - * This parameter is used to enable document liveness check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable document liveness check + * @type {boolean} + * @memberof AuthParams + */ checkLiveness?: boolean; /** - * - * @type {LivenessParams} - * @memberof AuthParams - */ + * + * @type {LivenessParams} + * @memberof AuthParams + */ livenessParams?: LivenessParams; /** - * This parameter is used to enable Document luminescence check in UV light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Document luminescence check in UV light + * @type {boolean} + * @memberof AuthParams + */ checkUVLuminiscence?: boolean; /** - * This parameter is used to enable B900 ink MRZ contrast check in IR light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable B900 ink MRZ contrast check in IR light + * @type {boolean} + * @memberof AuthParams + */ checkIRB900?: boolean; /** - * This parameter is used to enable Image patterns presence/absence check (position, shape, color) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Image patterns presence/absence check (position, shape, color) + * @type {boolean} + * @memberof AuthParams + */ checkImagePatterns?: boolean; /** - * This parameter is used to enable Fibers detection - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Fibers detection + * @type {boolean} + * @memberof AuthParams + */ checkFibers?: boolean; /** - * This parameter is used to enable Extended MRZ Check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Extended MRZ Check + * @type {boolean} + * @memberof AuthParams + */ checkExtMRZ?: boolean; /** - * This parameter is used to enable Extended OCR Check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Extended OCR Check + * @type {boolean} + * @memberof AuthParams + */ checkExtOCR?: boolean; /** - * This parameter is used to enable laminate integrity check in axial light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable laminate integrity check in axial light + * @type {boolean} + * @memberof AuthParams + */ checkAxial?: boolean; /** - * This parameter is used to enable Barcode format check (code metadata, data format, contents format, etc.) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Barcode format check (code metadata, data format, contents format, etc.) + * @type {boolean} + * @memberof AuthParams + */ checkBarcodeFormat?: boolean; /** - * This parameter is used to enable Document elements visibility check in IR light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Document elements visibility check in IR light + * @type {boolean} + * @memberof AuthParams + */ checkIRVisibility?: boolean; /** - * This parameter is used to enable Invisible Personal Information (IPI) check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Invisible Personal Information (IPI) check + * @type {boolean} + * @memberof AuthParams + */ checkIPI?: boolean; /** - * This parameter is used to enable Owner\'s photo embedding check (is photo printed or sticked) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Owner\'s photo embedding check (is photo printed or sticked) + * @type {boolean} + * @memberof AuthParams + */ checkPhotoEmbedding?: boolean; /** - * This parameter is used to enable Portrait comparison check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Portrait comparison check + * @type {boolean} + * @memberof AuthParams + */ checkPhotoComparison?: boolean; /** - * This parameter is used to enable LetterScreen check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable LetterScreen check + * @type {boolean} + * @memberof AuthParams + */ checkLetterScreen?: boolean; } - - diff --git a/src/models/authenticity-check-list.ts b/src/models/authenticity-check-list.ts index 8168b214..0734bcca 100644 --- a/src/models/authenticity-check-list.ts +++ b/src/models/authenticity-check-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { AuthenticityCheckResult } from './authenticity-check-result'; +import type { AuthenticityCheckResult } from './authenticity-check-result'; /** - * - * @export - * @interface AuthenticityCheckList - */ +* +* @export +* @interface AuthenticityCheckList +*/ export interface AuthenticityCheckList { /** - * Count of items in List - * @type {number} - * @memberof AuthenticityCheckList - */ - Count?: number; + * Count of items in List + * @type {number} + * @memberof AuthenticityCheckList + */ + Count: number; /** - * Authenticity Check - * @type {Array} - * @memberof AuthenticityCheckList - */ + * Authenticity Check + * @type {Array} + * @memberof AuthenticityCheckList + */ List: Array; } - - diff --git a/src/models/authenticity-check-result-item.ts b/src/models/authenticity-check-result-item.ts index c20e2f6a..541a6bdd 100644 --- a/src/models/authenticity-check-result-item.ts +++ b/src/models/authenticity-check-result-item.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,44 +13,37 @@ */ -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { FiberResult } from './fiber-result'; -import { IdentResult } from './ident-result'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResult } from './photo-ident-result'; -import { SecurityFeatureResult } from './security-feature-result'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; /** - * Common fields for all authenticity result objects - * @export - * @interface AuthenticityCheckResultItem - */ +* Common fields for all authenticity result objects +* @export +* @interface AuthenticityCheckResultItem +*/ export interface AuthenticityCheckResultItem { /** - * Same as authenticity result type, but used for safe parsing of not-described values: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ - * @type {number} - * @memberof AuthenticityCheckResultItem - */ + * Same as authenticity result type, but used for safe parsing of not-described values: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * @type {number} + * @memberof AuthenticityCheckResultItem + */ Type: number; /** - * - * @type {CheckResult} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {CheckResult} + * @memberof AuthenticityCheckResultItem + */ ElementResult?: CheckResult; /** - * - * @type {CheckDiagnose} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {CheckDiagnose} + * @memberof AuthenticityCheckResultItem + */ ElementDiagnose?: CheckDiagnose; /** - * - * @type {number} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {number} + * @memberof AuthenticityCheckResultItem + */ PercentValue?: number; } - - diff --git a/src/models/authenticity-check-result.ts b/src/models/authenticity-check-result.ts index 05c6cc20..a7a2b24d 100644 --- a/src/models/authenticity-check-result.ts +++ b/src/models/authenticity-check-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,38 +13,42 @@ */ -import { AuthenticityResultType } from './authenticity-result-type'; -import { CheckResult } from './check-result'; -import { FiberResult } from './fiber-result'; -import { IdentResult } from './ident-result'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResult } from './photo-ident-result'; -import { SecurityFeatureResult } from './security-feature-result'; +import type { AuthenticityResultType } from './authenticity-result-type'; +import type { CheckResult } from './check-result'; +import type { FiberResult } from './fiber-result'; +import type { IdentResult } from './ident-result'; +import type { OCRSecurityTextResult } from './ocrsecurity-text-result'; +import type { PhotoIdentResult } from './photo-ident-result'; +import type { SecurityFeatureResult } from './security-feature-result'; /** - * - * @export - * @interface AuthenticityCheckResult - */ +* +* @export +* @interface AuthenticityCheckResult +*/ export interface AuthenticityCheckResult { /** - * - * @type {AuthenticityResultType} - * @memberof AuthenticityCheckResult - */ + * + * @type {AuthenticityResultType} + * @memberof AuthenticityCheckResult + */ Type: AuthenticityResultType; /** - * - * @type {CheckResult} - * @memberof AuthenticityCheckResult - */ + * + * @type {CheckResult} + * @memberof AuthenticityCheckResult + */ Result: CheckResult; /** - * - * @type {Array} - * @memberof AuthenticityCheckResult - */ + * Count of items in List + * @type {number} + * @memberof AuthenticityCheckResult + */ + Count?: number; + /** + * + * @type {Array} + * @memberof AuthenticityCheckResult + */ List: Array; } - - diff --git a/src/models/authenticity-result-all-of.ts b/src/models/authenticity-result-all-of.ts index f1ad150b..cf56710c 100644 --- a/src/models/authenticity-result-all-of.ts +++ b/src/models/authenticity-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { AuthenticityCheckList } from './authenticity-check-list'; +import type { AuthenticityCheckList } from './authenticity-check-list'; /** - * - * @export - * @interface AuthenticityResultAllOf - */ +* +* @export +* @interface AuthenticityResultAllOf +*/ export interface AuthenticityResultAllOf { /** - * - * @type {AuthenticityCheckList} - * @memberof AuthenticityResultAllOf - */ + * + * @type {AuthenticityCheckList} + * @memberof AuthenticityResultAllOf + */ AuthenticityCheckList: AuthenticityCheckList; } - - diff --git a/src/models/authenticity-result-type.ts b/src/models/authenticity-result-type.ts index 548148a1..93bfe93b 100644 --- a/src/models/authenticity-result-type.ts +++ b/src/models/authenticity-result-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,100 +15,121 @@ /** - * Enumeration describes available authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/. - * @export - * @enum {string} - */ -export enum AuthenticityResultType { +* Enumeration describes available authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/. +* @export +* @enum {string} +*/ + +export const AuthenticityResultType = { + /** + * No authenticity control procedure + */ + NONE: 0, /** * Document luminescence check in UV light */ - UV_LUMINESCENCE = 1, + UV_LUMINESCENCE: 1, /** * B900 ink MRZ contrast check in IR light */ - IR_B900 = 2, + IR_B900: 2, /** * Image patterns presence/absence check (position, shape, color) */ - IMAGE_PATTERN = 4, + IMAGE_PATTERN: 4, /** * Confirm laminate integrity check in axial light */ - AXIAL_PROTECTION = 8, + AXIAL_PROTECTION: 8, /** * Protection fibers presence check (color, density) in UV light */ - UV_FIBERS = 16, + UV_FIBERS: 16, /** * Document elements visibility check in IR light */ - IR_VISIBILITY = 32, + IR_VISIBILITY: 32, /** * OCR for the text field in UV light comparison with other text sources check */ - OCR_SECURITY_TEXT = 64, + OCR_SECURITY_TEXT: 64, /** * Invisible Personal Information (IPI) visualization */ - IPI = 128, + IPI: 128, + /** + * Document photo check in IR light + */ + IR_PHOTO: 256, /** * Owner's photo embedding check (is photo printed or sticked) */ - PHOTO_EMBED_TYPE = 512, + PHOTO_EMBED_TYPE: 512, /** - * OVI check + * OVI check. Deprecated, use Document liveness check instead */ - OVI = 1024, + OVI: 1024, /** - * Hologram presence check + * IR luminescence check */ - HOLOGRAMS = 4096, + IR_LUMINESCENCE: 2048, + /** + * Hologram presence check. Deprecated + */ + HOLOGRAMS: 4096, /** * Owner's photo area advanced check (photo shape, size, position, etc.) */ - PHOTO_AREA = 8192, + PHOTO_AREA: 8192, + /** + * UV background check + */ + UV_BACKGROUND: 16384, /** * Portrait comparison check (document printed vs chip vs live) */ - PORTRAIT_COMPARISON = 32768, + PORTRAIT_COMPARISON: 32768, /** * Barcode format check (code metadata, data format, contents format, etc.) */ - BARCODE_FORMAT_CHECK = 65536, + BARCODE_FORMAT_CHECK: 65536, /** * Kinegram check */ - KINEGRAM = 131072, + KINEGRAM: 131072, /** * LetterScreen check */ - LETTER_SCREEN = 262144, + LETTER_SCREEN: 262144, /** * Hologram detection and validation check */ - HOLOGRAM_DETECTION = 524288, + HOLOGRAM_DETECTION: 524288, /** * Fingerprint comparison check */ - FINGERPRINT_COMPARISON = 1048576, + FINGERPRINT_COMPARISON: 1048576, /** * Document liveness check */ - LIVENESS = 2097152, + LIVENESS: 2097152, /** * Extended OCR Check */ - EXTENDED_OCR_CHECK = 4194304, + EXTENDED_OCR_CHECK: 4194304, /** * Extended MRZ check */ - EXTENDED_MRZ_CHECK = 8388608, + EXTENDED_MRZ_CHECK: 8388608, /** * Encrypted IPI */ - ENCRYPTED_IPI = 16777216 -} - + ENCRYPTED_IPI: 16777216, + /** + * Flag for status-only authenticity + */ + STATUS_ONLY: 2147483648 +} as const; +export type AuthenticityResultType = typeof AuthenticityResultType[keyof typeof AuthenticityResultType]; diff --git a/src/models/authenticity-result.ts b/src/models/authenticity-result.ts index 5486dc86..88d83bdb 100644 --- a/src/models/authenticity-result.ts +++ b/src/models/authenticity-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityCheckList } from './authenticity-check-list'; -import { AuthenticityResultAllOf } from './authenticity-result-all-of'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { AuthenticityCheckList } from './authenticity-check-list'; +import type { AuthenticityResultAllOf } from './authenticity-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type AuthenticityResult @@ -37,5 +23,3 @@ import { TextResult } from './text-result'; */ export type AuthenticityResult = AuthenticityResultAllOf & ResultItem; - - diff --git a/src/models/available-source.ts b/src/models/available-source.ts deleted file mode 100755 index 15f53d62..00000000 --- a/src/models/available-source.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { CheckResult } from './check-result'; -import { Source } from './source'; - -/** - * - * @export - * @interface AvailableSource - */ -export interface AvailableSource { - /** - * - * @type {Source} - * @memberof AvailableSource - */ - source: Source; - /** - * - * @type {CheckResult} - * @memberof AvailableSource - */ - validityStatus: CheckResult; -} - - diff --git a/src/models/bar-code-module-type.ts b/src/models/bar-code-module-type.ts new file mode 100644 index 00000000..c5ba2d65 --- /dev/null +++ b/src/models/bar-code-module-type.ts @@ -0,0 +1,47 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* +* @export +* @enum {string} +*/ + +export const BarCodeModuleType = { + /** + * Module contains text data + */ + TEXT: 0, + /** + * Module contains byte data + */ + BYTE: 1, + /** + * Module contains numeric data + */ + NUM: 2, + /** + * Shifts in byte compaction mode (for PDF417) + */ + SHIFT: 3, + /** + * Module contains any data + */ + ALL: 4 +} as const; + +export type BarCodeModuleType = typeof BarCodeModuleType[keyof typeof BarCodeModuleType]; + diff --git a/src/models/barcode-text-data-result.ts b/src/models/barcode-text-data-result.ts deleted file mode 100755 index 9f9ea99b..00000000 --- a/src/models/barcode-text-data-result.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { GraphicsResult } from './graphics-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { MrzOcrExtendedResult } from './mrz-ocr-extended-result'; -import { MrzOcrExtendedResultAllOf } from './mrz-ocr-extended-result-all-of'; -import { RawImageResult } from './raw-image-result'; -import { ResultItem } from './result-item'; -import { RfidTextDataResult } from './rfid-text-data-result'; -import { StatusResult } from './status-result'; -import { TextResult } from './text-result'; -import { VisualOcrExtendedResult } from './visual-ocr-extended-result'; - -/** - * @type BarcodeTextDataResult - * Text fields extracted from document barcode - * @export - */ -export type BarcodeTextDataResult = MrzOcrExtendedResultAllOf & ResultItem; - - - diff --git a/src/models/barcode-type.ts b/src/models/barcode-type.ts new file mode 100644 index 00000000..e87b358e --- /dev/null +++ b/src/models/barcode-type.ts @@ -0,0 +1,111 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains the types of barcodes that can be processed +* @export +* @enum {string} +*/ + +export const BarcodeType = { + /** + * Unknown type + */ + UNKNOWN: 0, + /** + * One-dimensional bar-code, ISO 15417 (ANSI/AIM BC4-1999 Code 128) + */ + CODE128: 1, + /** + * One-dimensional bar-code, ISO 16388 (ANSI/AIM BC1-1995 Code 39) + */ + CODE39: 2, + /** + * One-dimensional bar-code, EAN8, ISO 15418 + */ + EAN8: 3, + /** + * One-dimensional bar-code, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5) + */ + ITF: 4, + /** + * Two-dimensional bar-code, ISO 15438 (AIM USS PDF417) + */ + PDF417: 5, + /** + * One-dimensional bar-code, Standard 2 of 5 (Industrial) + */ + STF: 6, + /** + * One-dimensional bar-code, Matrix 2 of 5 + */ + MTF: 7, + /** + * One-dimensional bar-code, IATA 2 of 5 (Airline) + */ + IATA: 8, + /** + * One-dimensional bar-code, (ANSI/AIM BC3-1995, USS - Codabar) + */ + CODABAR: 9, + /** + * One-dimensional bar-code, UPC-A + */ + UPCA: 10, + /** + * One-dimensional bar-code, (ANSI/AIM BC5-1995, USS - Code 93) + */ + CODE93: 11, + /** + * One-dimensional bar-code, UPC-E + */ + UPCE: 12, + /** + * One-dimensional bar-code, EAN13, ISO 15418 + */ + EAN13: 13, + /** + * Two-dimensional QRCODE bar-code + */ + QRCODE: 14, + /** + * Two-dimensional AZTEC bar-code + */ + AZTEC: 15, + /** + * Two-dimensional DATAMATRIX bar-code + */ + DATAMATRIX: 16, + /** + * Type for internal use, representing all 1D bar-codes + */ + ALL_1D: 17, + /** + * One-dimensional bar-code CODE11 + */ + CODE11: 18, + /** + * JAB code + */ + JABCODE: 19, + /** + * For internal use + */ + END: 20 +} as const; + +export type BarcodeType = typeof BarcodeType[keyof typeof BarcodeType]; + diff --git a/src/models/bc-pdf417-info.ts b/src/models/bc-pdf417-info.ts index ce81e843..3ebe559a 100644 --- a/src/models/bc-pdf417-info.ts +++ b/src/models/bc-pdf417-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,47 +15,45 @@ /** - * - * @export - * @interface BcPDF417INFO - */ +* +* @export +* @interface BcPDF417INFO +*/ export interface BcPDF417INFO { /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - Angle?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + Angle: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - bcColumn?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + bcColumn: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - bcErrorLevel?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + bcErrorLevel: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - bcRow?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + bcRow: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - minX?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + minX: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ - minY?: number; + * + * @type {number} + * @memberof BcPDF417INFO + */ + minY: number; } - - diff --git a/src/models/bc-roidetect.ts b/src/models/bc-roidetect.ts index 7555dbcc..01cf02b8 100644 --- a/src/models/bc-roidetect.ts +++ b/src/models/bc-roidetect.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,35 +15,33 @@ /** - * - * @export - * @interface BcROIDETECT - */ +* +* @export +* @interface BcROIDETECT +*/ export interface BcROIDETECT { /** - * - * @type {number} - * @memberof BcROIDETECT - */ - bottom?: number; + * + * @type {number} + * @memberof BcROIDETECT + */ + bottom: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ - left?: number; + * + * @type {number} + * @memberof BcROIDETECT + */ + left: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ - right?: number; + * + * @type {number} + * @memberof BcROIDETECT + */ + right: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ - top?: number; + * + * @type {number} + * @memberof BcROIDETECT + */ + top: number; } - - diff --git a/src/models/binary-data.ts b/src/models/binary-data.ts new file mode 100644 index 00000000..036b58a7 --- /dev/null +++ b/src/models/binary-data.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidDG1 } from './rfid-dg1'; +import type { RfidSessionData } from './rfid-session-data'; + +/** +* Structure is used for storing the results of one bar-code module reading. +* @export +* @interface BinaryData +*/ +export interface BinaryData { + /** + * + * @type {RfidDG1} + * @memberof BinaryData + */ + RFID_DG1: RfidDG1; + /** + * + * @type {RfidSessionData} + * @memberof BinaryData + */ + RFID_Session_Data: RfidSessionData; + /** + * Indexes of groups that aren\'t read + * @type {Array} + * @memberof BinaryData + */ + RFID_ePassp_Directory: Array; +} diff --git a/src/models/check-diagnose.ts b/src/models/check-diagnose.ts index 9d4fa590..2103a837 100644 --- a/src/models/check-diagnose.ts +++ b/src/models/check-diagnose.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,133 +15,134 @@ /** - * Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/ - * @export - * @enum {string} - */ -export enum CheckDiagnose { - UNKNOWN = 0, - PASS = 1, - INVALID_INPUT_DATA = 2, - INTERNAL_ERROR = 3, - EXCEPTION_IN_MODULE = 4, - UNCERTAIN_VERIFICATION = 5, - NECESSARY_IMAGE_NOT_FOUND = 7, - PHOTO_SIDES_NOT_FOUND = 8, - INVALID_CHECKSUM = 10, - SYNTAX_ERROR = 11, - LOGIC_ERROR = 12, - SOURCES_COMPARISON_ERROR = 13, - FIELDS_COMPARISON_LOGIC_ERROR = 14, - INVALID_FIELD_FORMAT = 15, - TRUE_LUMINESCENCE_ERROR = 20, - FALSE_LUMINESCENCE_ERROR = 21, - FIXED_PATTERN_ERROR = 22, - LOW_CONTRAST_IN_IR_LIGHT = 23, - INCORRECT_BACKGROUND_LIGHT = 24, - BACKGROUND_COMPARISON_ERROR = 25, - INCORRECT_TEXT_COLOR = 26, - PHOTO_FALSE_LUMINESCENCE = 27, - TOO_MUCH_SHIFT = 28, - CONTACT_CHIP_TYPE_MISMATCH = 29, - FIBERS_NOT_FOUND = 30, - TOO_MANY_OBJECTS = 31, - SPECKS_IN_UV = 33, - TOO_LOW_RESOLUTION = 34, - INVISIBLE_ELEMENT_PRESENT = 40, - VISIBLE_ELEMENT_ABSENT = 41, - ELEMENT_SHOULD_BE_COLORED = 42, - ELEMENT_SHOULD_BE_GRAYSCALE = 43, - PHOTO_WHITE_IR_DONT_MATCH = 44, - UV_DULL_PAPER_MRZ = 50, - FALSE_LUMINESCENCE_IN_MRZ = 51, - UV_DULL_PAPER_PHOTO = 52, - UV_DULL_PAPER_BLANK = 53, - UV_DULL_PAPER_ERROR = 54, - FALSE_LUMINESCENCE_IN_BLANK = 55, - BAD_AREA_IN_AXIAL = 60, - FALSE_IPI_PARAMETERS = 65, - ENCRYPTED_IPI_NOT_FOUND = 66, - ENCRYPTED_IPI_DATA_DONT_MATCH = 67, - FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80, - FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = 81, - FIELD_POS_CORRECTOR_PHOTO_REPLACED = 82, - FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR = 83, - FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = 84, - FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85, - OVI_IR_INVISIBLE = 90, - OVI_INSUFFICIENT_AREA = 91, - OVI_COLOR_INVARIABLE = 92, - OVI_BAD_COLOR_FRONT = 93, - OVI_BAD_COLOR_SIDE = 94, - OVI_WIDE_COLOR_SPREAD = 95, - OVI_BAD_COLOR_PERCENT = 96, - HOLOGRAM_ELEMENT_ABSENT = 100, - HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101, - HOLOGRAM_ELEMENT_PRESENT = 102, - HOLOGRAM_FRAMES_IS_ABSENT = 103, - HOLOGRAM_HOLO_FIELD_IS_ABSENT = 104, - PHOTO_PATTERN_INTERRUPTED = 110, - PHOTO_PATTERN_SHIFTED = 111, - PHOTO_PATTERN_DIFFERENT_COLORS = 112, - PHOTO_PATTERN_IR_VISIBLE = 113, - PHOTO_PATTERN_NOT_INTERSECT = 114, - PHOTO_SIZE_IS_WRONG = 115, - PHOTO_PATTERN_INVALID_COLOR = 116, - PHOTO_PATTERN_SHIFTED_VERT = 117, - PHOTO_PATTERN_PATTERN_NOT_FOUND = 118, - PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119, - PHOTO_IS_NOT_RECTANGLE = 120, - PHOTO_CORNERS_IS_WRONG = 121, - DOCUMENT_IS_CANCELLING = 122, - TEXT_COLOR_SHOULD_BE_BLUE = 130, - TEXT_COLOR_SHOULD_BE_GREEN = 131, - TEXT_COLOR_SHOULD_BE_RED = 132, - TEXT_SHOULD_BE_BLACK = 133, - BARCODE_WAS_READ_WITH_ERRORS = 140, - BARCODE_DATA_FORMAT_ERROR = 141, - BARCODE_SIZE_PARAMS_ERROR = 142, - NOT_ALL_BARCODES_READ = 143, - GLARES_IN_BARCODE_AREA = 144, - PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150, - PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151, - PORTRAIT_COMPARISON_SERVICE_ERROR = 152, - PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153, - PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154, - PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155, - PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = 156, - MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = 160, - MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = 161, - FINGERPRINTS_COMPARISON_MISMATCH = 170, - HOLO_PHOTO_FACE_NOT_DETECTED = 180, - HOLO_PHOTO_FACE_COMPARISON_FAILED = 181, - HOLO_PHOTO_GLARE_IN_CENTER_ABSENT = 182, - HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR = 183, - HOLO_PHOTO_ALGORITHMS_STEPS_ERROR = 184, - HOLO_PHOTO_HOLO_AREAS_NOT_LOADED = 185, - HOLO_PHOTO_FINISHED_BY_TIMEOUT = 186, - HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME = 187, - LIVENESS_DEPTH_CHECK_FAILED = 190, - MRZ_QUALITY_WRONG_SYMBOL_POSITION = 200, - MRZ_QUALITY_WRONG_BACKGROUND = 201, - MRZ_QUALITY_WRONG_MRZ_WIDTH = 202, - MRZ_QUALITY_WRONG_MRZ_HEIGHT = 203, - MRZ_QUALITY_WRONG_LINE_POSITION = 204, - MRZ_QUALITY_WRONG_FONT_TYPE = 205, - OCR_QUALITY_TEXT_POSITION = 220, - OCR_QUALITY_INVALID_FONT = 221, - OCR_QUALITY_INVALID_BACKGROUND = 222, - LASINK_INVALID_LINES_FREQUENCY = 230, - DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240, - DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241, - CHD_ICAO_IDB_BASE32_ERROR = 243, - CHD_ICAO_IDB_ZIPPED_ERROR = 244, - CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY = 245, - CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246, - CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247, - CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248, - CHD_INCORRECT_OBJECT_COLOR = 250 -} +* Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/ +* @export +* @enum {string} +*/ +export const CheckDiagnose = { + UNKNOWN: 0, + PASS: 1, + INVALID_INPUT_DATA: 2, + INTERNAL_ERROR: 3, + EXCEPTION_IN_MODULE: 4, + UNCERTAIN_VERIFICATION: 5, + NECESSARY_IMAGE_NOT_FOUND: 7, + PHOTO_SIDES_NOT_FOUND: 8, + INVALID_CHECKSUM: 10, + SYNTAX_ERROR: 11, + LOGIC_ERROR: 12, + SOURCES_COMPARISON_ERROR: 13, + FIELDS_COMPARISON_LOGIC_ERROR: 14, + INVALID_FIELD_FORMAT: 15, + TRUE_LUMINESCENCE_ERROR: 20, + FALSE_LUMINESCENCE_ERROR: 21, + FIXED_PATTERN_ERROR: 22, + LOW_CONTRAST_IN_IR_LIGHT: 23, + INCORRECT_BACKGROUND_LIGHT: 24, + BACKGROUND_COMPARISON_ERROR: 25, + INCORRECT_TEXT_COLOR: 26, + PHOTO_FALSE_LUMINESCENCE: 27, + TOO_MUCH_SHIFT: 28, + CONTACT_CHIP_TYPE_MISMATCH: 29, + FIBERS_NOT_FOUND: 30, + TOO_MANY_OBJECTS: 31, + SPECKS_IN_UV: 33, + TOO_LOW_RESOLUTION: 34, + INVISIBLE_ELEMENT_PRESENT: 40, + VISIBLE_ELEMENT_ABSENT: 41, + ELEMENT_SHOULD_BE_COLORED: 42, + ELEMENT_SHOULD_BE_GRAYSCALE: 43, + PHOTO_WHITE_IR_DONT_MATCH: 44, + UV_DULL_PAPER_MRZ: 50, + FALSE_LUMINESCENCE_IN_MRZ: 51, + UV_DULL_PAPER_PHOTO: 52, + UV_DULL_PAPER_BLANK: 53, + UV_DULL_PAPER_ERROR: 54, + FALSE_LUMINESCENCE_IN_BLANK: 55, + BAD_AREA_IN_AXIAL: 60, + FALSE_IPI_PARAMETERS: 65, + ENCRYPTED_IPI_NOT_FOUND: 66, + ENCRYPTED_IPI_DATA_DONT_MATCH: 67, + FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80, + FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81, + FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82, + FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83, + FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84, + FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85, + OVI_IR_INVISIBLE: 90, + OVI_INSUFFICIENT_AREA: 91, + OVI_COLOR_INVARIABLE: 92, + OVI_BAD_COLOR_FRONT: 93, + OVI_BAD_COLOR_SIDE: 94, + OVI_WIDE_COLOR_SPREAD: 95, + OVI_BAD_COLOR_PERCENT: 96, + HOLOGRAM_ELEMENT_ABSENT: 100, + HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: 101, + HOLOGRAM_ELEMENT_PRESENT: 102, + HOLOGRAM_FRAMES_IS_ABSENT: 103, + HOLOGRAM_HOLO_FIELD_IS_ABSENT: 104, + PHOTO_PATTERN_INTERRUPTED: 110, + PHOTO_PATTERN_SHIFTED: 111, + PHOTO_PATTERN_DIFFERENT_COLORS: 112, + PHOTO_PATTERN_IR_VISIBLE: 113, + PHOTO_PATTERN_NOT_INTERSECT: 114, + PHOTO_SIZE_IS_WRONG: 115, + PHOTO_PATTERN_INVALID_COLOR: 116, + PHOTO_PATTERN_SHIFTED_VERT: 117, + PHOTO_PATTERN_PATTERN_NOT_FOUND: 118, + PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS: 119, + PHOTO_IS_NOT_RECTANGLE: 120, + PHOTO_CORNERS_IS_WRONG: 121, + DOCUMENT_IS_CANCELLING: 122, + TEXT_COLOR_SHOULD_BE_BLUE: 130, + TEXT_COLOR_SHOULD_BE_GREEN: 131, + TEXT_COLOR_SHOULD_BE_RED: 132, + TEXT_SHOULD_BE_BLACK: 133, + BARCODE_WAS_READ_WITH_ERRORS: 140, + BARCODE_DATA_FORMAT_ERROR: 141, + BARCODE_SIZE_PARAMS_ERROR: 142, + NOT_ALL_BARCODES_READ: 143, + GLARES_IN_BARCODE_AREA: 144, + PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150, + PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151, + PORTRAIT_COMPARISON_SERVICE_ERROR: 152, + PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: 153, + PORTRAIT_COMPARISON_NO_LIVE_PHOTO: 154, + PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: 155, + PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: 156, + MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: 160, + MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: 161, + FINGERPRINTS_COMPARISON_MISMATCH: 170, + HOLO_PHOTO_FACE_NOT_DETECTED: 180, + HOLO_PHOTO_FACE_COMPARISON_FAILED: 181, + HOLO_PHOTO_GLARE_IN_CENTER_ABSENT: 182, + HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR: 183, + HOLO_PHOTO_ALGORITHMS_STEPS_ERROR: 184, + HOLO_PHOTO_HOLO_AREAS_NOT_LOADED: 185, + HOLO_PHOTO_FINISHED_BY_TIMEOUT: 186, + HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME: 187, + LIVENESS_DEPTH_CHECK_FAILED: 190, + MRZ_QUALITY_WRONG_SYMBOL_POSITION: 200, + MRZ_QUALITY_WRONG_BACKGROUND: 201, + MRZ_QUALITY_WRONG_MRZ_WIDTH: 202, + MRZ_QUALITY_WRONG_MRZ_HEIGHT: 203, + MRZ_QUALITY_WRONG_LINE_POSITION: 204, + MRZ_QUALITY_WRONG_FONT_TYPE: 205, + OCR_QUALITY_TEXT_POSITION: 220, + OCR_QUALITY_INVALID_FONT: 221, + OCR_QUALITY_INVALID_BACKGROUND: 222, + LASINK_INVALID_LINES_FREQUENCY: 230, + DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240, + DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241, + CHD_ICAO_IDB_BASE32_ERROR: 243, + CHD_ICAO_IDB_ZIPPED_ERROR: 244, + CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY: 245, + CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246, + CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247, + CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248, + CHD_INCORRECT_OBJECT_COLOR: 250 +} as const; +export type CheckDiagnose = typeof CheckDiagnose[keyof typeof CheckDiagnose]; diff --git a/src/models/check-result.ts b/src/models/check-result.ts old mode 100755 new mode 100644 index b6bfbebe..4d7ed1c7 --- a/src/models/check-result.ts +++ b/src/models/check-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,24 +15,25 @@ /** - * 0 - result is negative; 1 - result is positive; 2 - сheck was not performed - * @export - * @enum {string} - */ -export enum CheckResult { +* 0 - result is negative; 1 - result is positive; 2 - сheck was not performed +* @export +* @enum {string} +*/ + +export const CheckResult = { /** * Check was performed and result is NEGATIVE */ - ERROR = 0, + ERROR: 0, /** * Check was performed and result is POSITIVE */ - OK = 1, + OK: 1, /** * Check was NOT PERFORMED */ - WAS_NOT_DONE = 2 -} - + WAS_NOT_DONE: 2 +} as const; +export type CheckResult = typeof CheckResult[keyof typeof CheckResult]; diff --git a/src/models/chosen-document-type-result-all-of.ts b/src/models/chosen-document-type-result-all-of.ts old mode 100755 new mode 100644 index 5b1c1400..11f37bb4 --- a/src/models/chosen-document-type-result-all-of.ts +++ b/src/models/chosen-document-type-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { OneCandidate } from './one-candidate'; +import type { OneCandidate } from './one-candidate'; /** - * - * @export - * @interface ChosenDocumentTypeResultAllOf - */ +* +* @export +* @interface ChosenDocumentTypeResultAllOf +*/ export interface ChosenDocumentTypeResultAllOf { /** - * - * @type {OneCandidate} - * @memberof ChosenDocumentTypeResultAllOf - */ - OneCandidate?: OneCandidate; + * + * @type {OneCandidate} + * @memberof ChosenDocumentTypeResultAllOf + */ + OneCandidate: OneCandidate; /** - * - * @type {string} - * @memberof ChosenDocumentTypeResultAllOf - */ + * + * @type {string} + * @memberof ChosenDocumentTypeResultAllOf + */ XML_buffer?: string; } - - diff --git a/src/models/chosen-document-type-result.ts b/src/models/chosen-document-type-result.ts old mode 100755 new mode 100644 index e7d54dfa..2aa4c2f0 --- a/src/models/chosen-document-type-result.ts +++ b/src/models/chosen-document-type-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResultAllOf } from './chosen-document-type-result-all-of'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { OneCandidate } from './one-candidate'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { ChosenDocumentTypeResultAllOf } from './chosen-document-type-result-all-of'; +import type { OneCandidate } from './one-candidate'; +import type { ResultItem } from './result-item'; /** * @type ChosenDocumentTypeResult @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type ChosenDocumentTypeResult = ChosenDocumentTypeResultAllOf & ResultItem; - - diff --git a/src/models/chosen-document-type.ts b/src/models/chosen-document-type.ts index 9f69abe0..2863a642 100644 --- a/src/models/chosen-document-type.ts +++ b/src/models/chosen-document-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,69 +13,79 @@ */ -import { FDSIDList } from './fdsidlist'; -import { RfidLocation } from './rfid-location'; +import type { FDSIDList } from './fdsidlist'; +import type { RfidLocation } from './rfid-location'; /** - * Contains information about one document type candidate - * @export - * @interface ChosenDocumentType - */ +* Contains information about one document type candidate +* @export +* @interface ChosenDocumentType +*/ export interface ChosenDocumentType { /** - * Document name - * @type {string} - * @memberof ChosenDocumentType - */ - DocumentName?: string; + * Document name + * @type {string} + * @memberof ChosenDocumentType + */ + DocumentName: string; + /** + * Unique document type template identifier (Regula\'s internal numeric code) + * @type {number} + * @memberof ChosenDocumentType + */ + ID: number; + /** + * A measure of the likelihood of correct recognition in the analysis of this type of document + * @type {number} + * @memberof ChosenDocumentType + */ + P: number; /** - * Unique document type template identifier (Regula\'s internal numeric code) - * @type {number} - * @memberof ChosenDocumentType - */ - ID?: number; + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof ChosenDocumentType + */ + Rotated180: boolean; /** - * A measure of the likelihood of correct recognition in the analysis of this type of document - * @type {number} - * @memberof ChosenDocumentType - */ - P?: number; + * + * @type {RfidLocation} + * @memberof ChosenDocumentType + */ + RFID_Presence: RfidLocation; /** - * - * @type {RfidLocation} - * @memberof ChosenDocumentType - */ - RFID_Presence?: RfidLocation; + * + * @type {FDSIDList} + * @memberof ChosenDocumentType + */ + FDSIDList: FDSIDList; /** - * - * @type {FDSIDList} - * @memberof ChosenDocumentType - */ - FDSIDList?: FDSIDList; + * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document + * @type {number} + * @memberof ChosenDocumentType + */ + NecessaryLights: number; /** - * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document - * @type {number} - * @memberof ChosenDocumentType - */ - NecessaryLights?: number; + * Set of authentication options provided for this type of document (combination of Authenticity enum) + * @type {number} + * @memberof ChosenDocumentType + */ + CheckAuthenticity: number; /** - * Set of authentication options provided for this type of document (combination of Authenticity enum) - * @type {number} - * @memberof ChosenDocumentType - */ - CheckAuthenticity?: number; + * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme + * @type {number} + * @memberof ChosenDocumentType + */ + UVExp: number; /** - * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme - * @type {number} - * @memberof ChosenDocumentType - */ - UVExp?: number; + * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity + * @type {number} + * @memberof ChosenDocumentType + */ + AuthenticityNecessaryLights: number; /** - * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity - * @type {number} - * @memberof ChosenDocumentType - */ - AuthenticityNecessaryLights?: number; + * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme + * @type {number} + * @memberof ChosenDocumentType + */ + OVIExp: number; } - - diff --git a/src/models/container-list.ts b/src/models/container-list.ts old mode 100755 new mode 100644 index 83968188..b33b5b59 --- a/src/models/container-list.ts +++ b/src/models/container-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,40 +13,39 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** - * List with various objects, containing processing results - * @export - * @interface ContainerList - */ +* List with various objects, containing processing results +* @export +* @interface ContainerList +*/ export interface ContainerList { /** - * Length of list (Count for items) - * @type {number} - * @memberof ContainerList - */ - Count?: number; + * Length of list (Count for items) + * @type {number} + * @memberof ContainerList + */ + Count: number; /** - * - * @type {Array} - * @memberof ContainerList - */ - List: Array; + * + * @type {Array} + * @memberof ContainerList + */ + List: Array; } - - diff --git a/src/models/critical.ts b/src/models/critical.ts index 5f6534ce..8603850c 100644 --- a/src/models/critical.ts +++ b/src/models/critical.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,20 +15,21 @@ /** - * Enumeration contains identifiers determining the criticality of the security element - * @export - * @enum {string} - */ -export enum Critical { +* Enumeration contains identifiers determining the criticality of the security element +* @export +* @enum {string} +*/ + +export const Critical = { /** * Security element may be absent in a valid document */ - NOT_CRITICAL = 0, + NOT_CRITICAL: 0, /** * Security element must be present in a valid document */ - CRITICAL = 1 -} - + CRITICAL: 1 +} as const; +export type Critical = typeof Critical[keyof typeof Critical]; diff --git a/src/models/cross-source-value-comparison.ts b/src/models/cross-source-value-comparison.ts old mode 100755 new mode 100644 index bd051d1e..cdcb620a --- a/src/models/cross-source-value-comparison.ts +++ b/src/models/cross-source-value-comparison.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,33 +13,31 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** - * - * @export - * @interface CrossSourceValueComparison - */ +* +* @export +* @interface CrossSourceValueComparison +*/ export interface CrossSourceValueComparison { /** - * - * @type {Source} - * @memberof CrossSourceValueComparison - */ + * + * @type {Source} + * @memberof CrossSourceValueComparison + */ sourceLeft: Source; /** - * - * @type {Source} - * @memberof CrossSourceValueComparison - */ + * + * @type {Source} + * @memberof CrossSourceValueComparison + */ sourceRight: Source; /** - * - * @type {CheckResult} - * @memberof CrossSourceValueComparison - */ + * + * @type {CheckResult} + * @memberof CrossSourceValueComparison + */ status: CheckResult; } - - diff --git a/src/models/data-module.ts b/src/models/data-module.ts index c39e02dd..f3f5a459 100644 --- a/src/models/data-module.ts +++ b/src/models/data-module.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,43 +13,42 @@ */ +import type { BarCodeModuleType } from './bar-code-module-type'; /** - * - * @export - * @interface DataModule - */ +* +* @export +* @interface DataModule +*/ export interface DataModule { /** - * - * @type {string} - * @memberof DataModule - */ - mData?: string; + * + * @type {string} + * @memberof DataModule + */ + mData: string; /** - * - * @type {number} - * @memberof DataModule - */ - mLength?: number; + * + * @type {number} + * @memberof DataModule + */ + mLength: number; /** - * - * @type {number} - * @memberof DataModule - */ + * + * @type {number} + * @memberof DataModule + */ mReserved1?: number; /** - * - * @type {number} - * @memberof DataModule - */ + * + * @type {number} + * @memberof DataModule + */ mReserver2?: number; /** - * - * @type {number} - * @memberof DataModule - */ - mType?: number; + * + * @type {BarCodeModuleType} + * @memberof DataModule + */ + mType: BarCodeModuleType; } - - diff --git a/src/models/details-optical.ts b/src/models/details-optical.ts old mode 100755 new mode 100644 index 1a284217..982bd772 --- a/src/models/details-optical.ts +++ b/src/models/details-optical.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,62 +13,60 @@ */ -import { CheckResult } from './check-result'; +import type { CheckResult } from './check-result'; /** - * - * @export - * @interface DetailsOptical - */ +* +* @export +* @interface DetailsOptical +*/ export interface DetailsOptical { /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ docType: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ expiry: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ imageQA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ mrz: CheckResult; /** - * Number of processed pages in the document - * @type {number} - * @memberof DetailsOptical - */ + * Number of processed pages in the document + * @type {number} + * @memberof DetailsOptical + */ pagesCount: number; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ security: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ text: CheckResult; } - - diff --git a/src/models/details-rfid.ts b/src/models/details-rfid.ts old mode 100755 new mode 100644 index 297e2981..ac5e0471 --- a/src/models/details-rfid.ts +++ b/src/models/details-rfid.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,56 +13,54 @@ */ -import { CheckResult } from './check-result'; +import type { CheckResult } from './check-result'; /** - * - * @export - * @interface DetailsRFID - */ +* +* @export +* @interface DetailsRFID +*/ export interface DetailsRFID { /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ AA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ BAC: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ CA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ PA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ PACE: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ TA: CheckResult; } - - diff --git a/src/models/device-info.ts b/src/models/device-info.ts index 5581e2a3..23b22441 100644 --- a/src/models/device-info.ts +++ b/src/models/device-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,47 +15,45 @@ /** - * - * @export - * @interface DeviceInfo - */ +* +* @export +* @interface DeviceInfo +*/ export interface DeviceInfo { /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ app_name?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ version?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ license_id?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ license_serial?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ valid_until?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ + * + * @type {string} + * @memberof DeviceInfo + */ server_time?: string; } - - diff --git a/src/models/doc-bar-code-info-all-of.ts b/src/models/doc-bar-code-info-all-of.ts index bfca4e37..0c697f4c 100644 --- a/src/models/doc-bar-code-info-all-of.ts +++ b/src/models/doc-bar-code-info-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; +import type { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; /** - * - * @export - * @interface DocBarCodeInfoAllOf - */ +* +* @export +* @interface DocBarCodeInfoAllOf +*/ export interface DocBarCodeInfoAllOf { /** - * - * @type {DocBarCodeInfoFieldsList} - * @memberof DocBarCodeInfoAllOf - */ - DocBarCodeInfo?: DocBarCodeInfoFieldsList; + * + * @type {DocBarCodeInfoFieldsList} + * @memberof DocBarCodeInfoAllOf + */ + DocBarCodeInfo: DocBarCodeInfoFieldsList; } - - diff --git a/src/models/doc-bar-code-info-fields-list.ts b/src/models/doc-bar-code-info-fields-list.ts index b69fabc9..cf07a65c 100644 --- a/src/models/doc-bar-code-info-fields-list.ts +++ b/src/models/doc-bar-code-info-fields-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { PArrayField } from './parray-field'; +import type { PArrayField } from './parray-field'; /** - * - * @export - * @interface DocBarCodeInfoFieldsList - */ +* +* @export +* @interface DocBarCodeInfoFieldsList +*/ export interface DocBarCodeInfoFieldsList { /** - * Count of array fields - * @type {number} - * @memberof DocBarCodeInfoFieldsList - */ - nFields?: number; + * Count of array fields + * @type {number} + * @memberof DocBarCodeInfoFieldsList + */ + nFields: number; /** - * Data from barcode - * @type {Array} - * @memberof DocBarCodeInfoFieldsList - */ - pArrayFields?: Array; + * Data from barcode + * @type {Array} + * @memberof DocBarCodeInfoFieldsList + */ + pArrayFields: Array; } - - diff --git a/src/models/doc-bar-code-info.ts b/src/models/doc-bar-code-info.ts index 7df66387..cf3c2cce 100644 --- a/src/models/doc-bar-code-info.ts +++ b/src/models/doc-bar-code-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfoAllOf } from './doc-bar-code-info-all-of'; -import { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { DocBarCodeInfoAllOf } from './doc-bar-code-info-all-of'; +import type { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; +import type { ResultItem } from './result-item'; /** * @type DocBarCodeInfo @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type DocBarCodeInfo = DocBarCodeInfoAllOf & ResultItem; - - diff --git a/src/models/doc-visual-extended-field-rect-all-of.ts b/src/models/doc-visual-extended-field-rect-all-of.ts new file mode 100644 index 00000000..8cad6c1e --- /dev/null +++ b/src/models/doc-visual-extended-field-rect-all-of.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RectangleCoordinates } from './rectangle-coordinates'; + +/** +* +* @export +* @interface DocVisualExtendedFieldRectAllOf +*/ +export interface DocVisualExtendedFieldRectAllOf { + /** + * + * @type {RectangleCoordinates} + * @memberof DocVisualExtendedFieldRectAllOf + */ + FieldRect?: RectangleCoordinates; +} diff --git a/src/models/doc-visual-extended-field-rect.ts b/src/models/doc-visual-extended-field-rect.ts new file mode 100644 index 00000000..96028da3 --- /dev/null +++ b/src/models/doc-visual-extended-field-rect.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { DocVisualExtendedField } from './doc-visual-extended-field'; +import type { DocVisualExtendedFieldRectAllOf } from './doc-visual-extended-field-rect-all-of'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { StringRecognitionResult } from './string-recognition-result'; +import type { TextFieldType } from './text-field-type'; + +/** + * @type DocVisualExtendedFieldRect + * Structure and serves for storing information from one text data field. Variant with field logical type and field rectangular area coordinates on the image. + * @export + */ +export type DocVisualExtendedFieldRect = DocVisualExtendedField & DocVisualExtendedFieldRectAllOf; + diff --git a/src/models/doc-visual-extended-field-rfid-all-of.ts b/src/models/doc-visual-extended-field-rfid-all-of.ts new file mode 100644 index 00000000..c2cfdea2 --- /dev/null +++ b/src/models/doc-visual-extended-field-rfid-all-of.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; + +/** +* +* @export +* @interface DocVisualExtendedFieldRfidAllOf +*/ +export interface DocVisualExtendedFieldRfidAllOf { + /** + * + * @type {RfidDataGroupTypeTag} + * @memberof DocVisualExtendedFieldRfidAllOf + */ + RFID_OriginDG: RfidDataGroupTypeTag; + /** + * + * @type {any} + * @memberof DocVisualExtendedFieldRfidAllOf + */ + RFID_OriginDGTag?: any | null; + /** + * Record index of the text field source in the data group + * @type {number} + * @memberof DocVisualExtendedFieldRfidAllOf + */ + RFID_OriginTagEntry: number; + /** + * + * @type {any} + * @memberof DocVisualExtendedFieldRfidAllOf + */ + RFID_OriginEntryView?: any | null; +} diff --git a/src/models/doc-visual-extended-field-rfid.ts b/src/models/doc-visual-extended-field-rfid.ts new file mode 100644 index 00000000..5bb93fa7 --- /dev/null +++ b/src/models/doc-visual-extended-field-rfid.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { DocVisualExtendedField } from './doc-visual-extended-field'; +import type { DocVisualExtendedFieldRfidAllOf } from './doc-visual-extended-field-rfid-all-of'; +import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; +import type { StringRecognitionResult } from './string-recognition-result'; +import type { TextFieldType } from './text-field-type'; + +/** + * @type DocVisualExtendedFieldRfid + * Structure and serves for storing information from one text data field. Variant with field logical type and RFID data. + * @export + */ +export type DocVisualExtendedFieldRfid = DocVisualExtendedField & DocVisualExtendedFieldRfidAllOf; + diff --git a/src/models/doc-visual-extended-field.ts b/src/models/doc-visual-extended-field.ts old mode 100755 new mode 100644 index 740fb82c..a160272c --- a/src/models/doc-visual-extended-field.ts +++ b/src/models/doc-visual-extended-field.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,65 +13,85 @@ */ -import { LCID } from './lcid'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { StringRecognitionResult } from './string-recognition-result'; -import { TextFieldType } from './text-field-type'; +import type { StringRecognitionResult } from './string-recognition-result'; +import type { TextFieldType } from './text-field-type'; /** - * - * @export - * @interface DocVisualExtendedField - */ +* +* @export +* @interface DocVisualExtendedField +*/ export interface DocVisualExtendedField { /** - * - * @type {TextFieldType} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ + FieldType: any | null; + /** + * + * @type {TextFieldType} + * @memberof DocVisualExtendedField + */ wFieldType: TextFieldType; /** - * Field name. Only use to search values for fields with fieldType=50(other). In general, use wFieldType for lookup. - * @type {string} - * @memberof DocVisualExtendedField - */ + * Field symbolic name (null-terminated string) + * @type {string} + * @memberof DocVisualExtendedField + */ FieldName: string; /** - * - * @type {LCID} - * @memberof DocVisualExtendedField - */ - wLCID: LCID; + * Number of StringsResult array elements + * @type {number} + * @memberof DocVisualExtendedField + */ + StringsCount: number; + /** + * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. + * @type {Array} + * @memberof DocVisualExtendedField + */ + StringsResult: Array; /** - * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. - * @type {Array} - * @memberof DocVisualExtendedField - */ - StringsResult?: Array; + * Buf_Text text string length + * @type {number} + * @memberof DocVisualExtendedField + */ + Buf_Length: number; /** - * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' - * @type {string} - * @memberof DocVisualExtendedField - */ - Buf_Text?: string; + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' + * @type {string} + * @memberof DocVisualExtendedField + */ + Buf_Text: string; /** - * - * @type {RectangleCoordinates} - * @memberof DocVisualExtendedField - */ - FieldRect?: RectangleCoordinates; + * + * @type {any} + * @memberof DocVisualExtendedField + */ + FieldMask?: any | null; /** - * Origin data group information. Only for Result.RFID_TEXT results. - * @type {number} - * @memberof DocVisualExtendedField - */ - RFID_OriginDG?: number; + * + * @type {any} + * @memberof DocVisualExtendedField + */ + Validity?: any | null; /** - * Index of the text field record in origin data group. Only for Result.RFID_TEXT results. - * @type {number} - * @memberof DocVisualExtendedField - */ - RFID_OriginTagEntry?: number; + * + * @type {any} + * @memberof DocVisualExtendedField + */ + InComparison?: any | null; + /** + * + * @type {any} + * @memberof DocVisualExtendedField + */ + Reserved2?: any | null; + /** + * + * @type {any} + * @memberof DocVisualExtendedField + */ + Reserved3?: any | null; } - - diff --git a/src/models/doc-visual-extended-info.ts b/src/models/doc-visual-extended-info.ts old mode 100755 new mode 100644 index 8e2156e5..e11e6bdf --- a/src/models/doc-visual-extended-info.ts +++ b/src/models/doc-visual-extended-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,25 @@ */ -import { DocVisualExtendedField } from './doc-visual-extended-field'; +import type { DocVisualExtendedFieldRect } from './doc-visual-extended-field-rect'; +import type { DocVisualExtendedFieldRfid } from './doc-visual-extended-field-rfid'; /** - * Container for extracted text fields. Fields are identified by type and language - * @export - * @interface DocVisualExtendedInfo - */ +* Container for extracted text fields. Fields are identified by type and language +* @export +* @interface DocVisualExtendedInfo +*/ export interface DocVisualExtendedInfo { /** - * - * @type {Array} - * @memberof DocVisualExtendedInfo - */ - pArrayFields: Array; + * Number of pArrayFields array elements + * @type {number} + * @memberof DocVisualExtendedInfo + */ + nFields: number; + /** + * + * @type {Array} + * @memberof DocVisualExtendedInfo + */ + pArrayFields: Array; } - - diff --git a/src/models/document-binary-info-result-all-of.ts b/src/models/document-binary-info-result-all-of.ts new file mode 100644 index 00000000..cc584396 --- /dev/null +++ b/src/models/document-binary-info-result-all-of.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { TDocBinaryInfo } from './tdoc-binary-info'; + +/** +* Structure is used to store the data reading results from the RFID-chip in a form of a list of the logically separated data groups. +* @export +* @interface DocumentBinaryInfoResultAllOf +*/ +export interface DocumentBinaryInfoResultAllOf { + /** + * + * @type {TDocBinaryInfo} + * @memberof DocumentBinaryInfoResultAllOf + */ + TDocBinaryInfo: TDocBinaryInfo; +} diff --git a/src/models/raw-data-result.ts b/src/models/document-binary-info-result.ts similarity index 65% rename from src/models/raw-data-result.ts rename to src/models/document-binary-info-result.ts index 844ae260..e82c2b4e 100644 --- a/src/models/raw-data-result.ts +++ b/src/models/document-binary-info-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,13 @@ */ -import { TBinaryData } from './tbinary-data'; +import type { DocumentBinaryInfoResultAllOf } from './document-binary-info-result-all-of'; +import type { ResultItem } from './result-item'; +import type { TDocBinaryInfo } from './tdoc-binary-info'; /** - * + * @type DocumentBinaryInfoResult * @export - * @interface RawDataResult */ -export interface RawDataResult { - /** - * Count of array fields - * @type {number} - * @memberof RawDataResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof RawDataResult - */ - pArrayFields?: Array; -} - +export type DocumentBinaryInfoResult = DocumentBinaryInfoResultAllOf & ResultItem; diff --git a/src/models/document-format.ts b/src/models/document-format.ts old mode 100755 new mode 100644 index fa1fbc5d..836ff5fd --- a/src/models/document-format.ts +++ b/src/models/document-format.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,64 +15,69 @@ /** - * Defining the geometric format of documents in accordance with ISO / IEC 7810 - * @export - * @enum {string} - */ -export enum DocumentFormat { +* Defining the geometric format of documents in accordance with ISO / IEC 7810 +* @export +* @enum {string} +*/ + +export const DocumentFormat = { + /** + * Unknown document format + */ + UNKNOWN: -1, /** * ID1 document format */ - ID1 = 0, + ID1: 0, /** * ID2 document format */ - ID2 = 1, + ID2: 1, /** * ID3 document format */ - ID3 = 2, + ID3: 2, /** * Undefined document format */ - NON = 3, + NON: 3, /** * A4 document format */ - A4 = 4, + A4: 4, /** * ID3 double document format */ - ID3_X2 = 5, + ID3_X2: 5, /** * ID1 format document rotated 90 ° */ - ID1_90 = 10, + ID1_90: 10, /** * ID1 format document rotated 180 ° */ - ID1_180 = 11, + ID1_180: 11, /** * ID1 format document rotated 270 ° */ - ID1_270 = 12, + ID1_270: 12, /** * ID2 format document rotated 90 ° */ - ID2_180 = 13, + ID2_180: 13, /** * ID3 format document rotated 180 ° */ - ID3_180 = 14, + ID3_180: 14, /** * Arbitrary format */ - CUSTOM = 1000, + CUSTOM: 1000, /** * Flexible format. Standard formats can be resized during cropping, depending on various factors: light, background... */ - FLEXIBLE = 1002 -} - + FLEXIBLE: 1002 +} as const; +export type DocumentFormat = typeof DocumentFormat[keyof typeof DocumentFormat]; diff --git a/src/models/document-image-result-all-of.ts b/src/models/document-image-result-all-of.ts old mode 100755 new mode 100644 index 40f2140f..3f9cd082 --- a/src/models/document-image-result-all-of.ts +++ b/src/models/document-image-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ImageData } from './image-data'; +import type { RawImageContainerFieldList } from './raw-image-container-field-list'; /** - * 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 - * @export - * @interface DocumentImageResultAllOf - */ +* +* @export +* @interface DocumentImageResultAllOf +*/ export interface DocumentImageResultAllOf { /** - * - * @type {ImageData} - * @memberof DocumentImageResultAllOf - */ - RawImageContainer: ImageData; + * + * @type {RawImageContainerFieldList} + * @memberof DocumentImageResultAllOf + */ + RawImageContainer: RawImageContainerFieldList; } - - diff --git a/src/models/document-image-result.ts b/src/models/document-image-result.ts old mode 100755 new mode 100644 index 65ae1a20..1d55c032 --- a/src/models/document-image-result.ts +++ b/src/models/document-image-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,29 +13,14 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResultAllOf } from './document-image-result-all-of'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageData } from './image-data'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { DocumentImageResultAllOf } from './document-image-result-all-of'; +import type { RawImageContainerFieldList } from './raw-image-container-field-list'; +import type { ResultItem } from './result-item'; /** * @type DocumentImageResult + * 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 * @export */ export type DocumentImageResult = DocumentImageResultAllOf & ResultItem; - - diff --git a/src/models/document-image.ts b/src/models/document-image.ts index 485ca7ad..cd81a663 100644 --- a/src/models/document-image.ts +++ b/src/models/document-image.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,17 +15,15 @@ /** - * - * @export - * @interface DocumentImage - */ +* +* @export +* @interface DocumentImage +*/ export interface DocumentImage { /** - * Base64 encoded image - * @type {string} - * @memberof DocumentImage - */ + * Base64 encoded image + * @type {string} + * @memberof DocumentImage + */ image: string; } - - diff --git a/src/models/document-position-result-all-of.ts b/src/models/document-position-result-all-of.ts index a25b036b..b78ed9ad 100644 --- a/src/models/document-position-result-all-of.ts +++ b/src/models/document-position-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { DocumentPosition } from './document-position'; +import type { DocumentPosition } from './document-position'; /** - * - * @export - * @interface DocumentPositionResultAllOf - */ +* +* @export +* @interface DocumentPositionResultAllOf +*/ export interface DocumentPositionResultAllOf { /** - * - * @type {DocumentPosition} - * @memberof DocumentPositionResultAllOf - */ - DocumentPosition?: DocumentPosition; + * + * @type {DocumentPosition} + * @memberof DocumentPositionResultAllOf + */ + DocumentPosition: DocumentPosition; } - - diff --git a/src/models/document-position-result.ts b/src/models/document-position-result.ts index 5dc4d9ba..c5a0dc5d 100644 --- a/src/models/document-position-result.ts +++ b/src/models/document-position-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPosition } from './document-position'; -import { DocumentPositionResultAllOf } from './document-position-result-all-of'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { DocumentPosition } from './document-position'; +import type { DocumentPositionResultAllOf } from './document-position-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type DocumentPositionResult @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type DocumentPositionResult = DocumentPositionResultAllOf & ResultItem; - - diff --git a/src/models/document-position.ts b/src/models/document-position.ts index d68d11cb..20ea3c4d 100644 --- a/src/models/document-position.ts +++ b/src/models/document-position.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,75 +13,73 @@ */ -import { DocumentFormat } from './document-format'; -import { Point } from './point'; +import type { DocumentFormat } from './document-format'; +import type { Point } from './point'; /** - * - * @export - * @interface DocumentPosition - */ +* +* @export +* @interface DocumentPosition +*/ export interface DocumentPosition { /** - * - * @type {DocumentFormat} - * @memberof DocumentPosition - */ - docFormat?: DocumentFormat; + * + * @type {DocumentFormat} + * @memberof DocumentPosition + */ + docFormat: DocumentFormat; /** - * - * @type {number} - * @memberof DocumentPosition - */ - Angle?: number; + * Document rotation angle + * @type {number} + * @memberof DocumentPosition + */ + Angle: number; /** - * - * @type {number} - * @memberof DocumentPosition - */ - Width?: number; + * Document width + * @type {number} + * @memberof DocumentPosition + */ + Width: number; /** - * - * @type {number} - * @memberof DocumentPosition - */ - Height?: number; + * Document height + * @type {number} + * @memberof DocumentPosition + */ + Height: number; /** - * - * @type {Point} - * @memberof DocumentPosition - */ - Center?: Point; + * + * @type {Point} + * @memberof DocumentPosition + */ + Center: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ - LeftBottom?: Point; + * + * @type {Point} + * @memberof DocumentPosition + */ + LeftBottom: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ - LeftTop?: Point; + * + * @type {Point} + * @memberof DocumentPosition + */ + LeftTop: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ - RightBottom?: Point; + * + * @type {Point} + * @memberof DocumentPosition + */ + RightBottom: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ - RightTop?: Point; + * + * @type {Point} + * @memberof DocumentPosition + */ + RightTop: Point; /** - * - * @type {number} - * @memberof DocumentPosition - */ - Dpi?: number; + * + * @type {number} + * @memberof DocumentPosition + */ + Dpi: number; } - - diff --git a/src/models/document-type-recognition-result.ts b/src/models/document-type-recognition-result.ts old mode 100755 new mode 100644 index 5c2c6806..e63f530c --- a/src/models/document-type-recognition-result.ts +++ b/src/models/document-type-recognition-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,24 +15,25 @@ /** - * - * @export - * @enum {string} - */ -export enum DocumentTypeRecognitionResult { +* +* @export +* @enum {string} +*/ + +export const DocumentTypeRecognitionResult = { /** * Document type determined. The first element in candidates array is recognition result */ - OK = 0, + OK: 0, /** * Document type was not determined. Ongoing processing is not possible */ - UNKNOWN = 15, + UNKNOWN: 15, /** * To determine document type user should provide more images with different light sources (UV, for example) */ - NEED_MORE_IMAGES = 29 -} - + NEED_MORE_IMAGES: 29 +} as const; +export type DocumentTypeRecognitionResult = typeof DocumentTypeRecognitionResult[keyof typeof DocumentTypeRecognitionResult]; diff --git a/src/models/document-type.ts b/src/models/document-type.ts old mode 100755 new mode 100644 index 207cca6a..a1a6b921 --- a/src/models/document-type.ts +++ b/src/models/document-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,932 +15,933 @@ /** - * Possible values for document types - * @export - * @enum {string} - */ -export enum DocumentType { +* Possible values for document types +* @export +* @enum {string} +*/ + +export const DocumentType = { /** * Not defined */ - NOT_DEFINED = 0, + NOT_DEFINED: 0, /** * Passport */ - PASSPORT = 11, + PASSPORT: 11, /** * Identity card */ - IDENTITY_CARD = 12, + IDENTITY_CARD: 12, /** * Diplomatic passport */ - DIPLOMATIC_PASSPORT = 13, + DIPLOMATIC_PASSPORT: 13, /** * Service passport */ - SERVICE_PASSPORT = 14, + SERVICE_PASSPORT: 14, /** * Seamans identity document */ - SEAMANS_IDENTITY_DOCUMENT = 15, + SEAMANS_IDENTITY_DOCUMENT: 15, /** * Identity card for residence */ - IDENTITY_CARD_FOR_RESIDENCE = 16, + IDENTITY_CARD_FOR_RESIDENCE: 16, /** * Travel document */ - TRAVEL_DOCUMENT = 17, + TRAVEL_DOCUMENT: 17, /** * National identity card */ - NATIONAL_IDENTITY_CARD = 20, + NATIONAL_IDENTITY_CARD: 20, /** * Social identity card */ - SOCIAL_IDENTITY_CARD = 21, + SOCIAL_IDENTITY_CARD: 21, /** * Alien's identity card */ - ALIENS_IDENTITY_CARD = 22, + ALIENS_IDENTITY_CARD: 22, /** * Privileged identity card */ - PRIVILEGED_IDENTITY_CARD = 23, + PRIVILEGED_IDENTITY_CARD: 23, /** * Residence permit identity card */ - RESIDENCE_PERMIT_IDENTITY_CARD = 24, + RESIDENCE_PERMIT_IDENTITY_CARD: 24, /** * Origin card */ - ORIGIN_CARD = 25, + ORIGIN_CARD: 25, /** * Emergency passport */ - EMERGENCY_PASSPORT = 26, + EMERGENCY_PASSPORT: 26, /** * Alien's passport */ - ALIENS_PASSPORT = 27, + ALIENS_PASSPORT: 27, /** * Alternative identity card */ - ALTERNATIVE_IDENTITY_CARD = 28, + ALTERNATIVE_IDENTITY_CARD: 28, /** * Visa ID2 */ - VISA_ID2 = 29, + VISA_ID2: 29, /** * Visa ID3 */ - VISA_ID3 = 30, + VISA_ID3: 30, /** * Authorization card */ - AUTHORIZATION_CARD = 32, + AUTHORIZATION_CARD: 32, /** * Beginner permit */ - BEGINNER_PERMIT = 33, + BEGINNER_PERMIT: 33, /** * Border crossing card */ - BORDER_CROSSING_CARD = 34, + BORDER_CROSSING_CARD: 34, /** * Chauffeur license */ - CHAUFFEUR_LICENSE = 35, + CHAUFFEUR_LICENSE: 35, /** * Chauffeur license under 18 */ - CHAUFFEUR_LICENSE_UNDER_18 = 36, + CHAUFFEUR_LICENSE_UNDER_18: 36, /** * Chauffeur license under 21 */ - CHAUFFEUR_LICENSE_UNDER_21 = 37, + CHAUFFEUR_LICENSE_UNDER_21: 37, /** * Commercial driving license */ - COMMERCIAL_DRIVING_LICENSE = 38, + COMMERCIAL_DRIVING_LICENSE: 38, /** * Commercial driving license instructional permit */ - COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 39, + COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT: 39, /** * Commercial driving license under 18 */ - COMMERCIAL_DRIVING_LICENSE_UNDER_18 = 40, + COMMERCIAL_DRIVING_LICENSE_UNDER_18: 40, /** * Commercial driving license under 21 */ - COMMERCIAL_DRIVING_LICENSE_UNDER_21 = 41, + COMMERCIAL_DRIVING_LICENSE_UNDER_21: 41, /** * Commercial instruction permit */ - COMMERCIAL_INSTRUCTION_PERMIT = 42, + COMMERCIAL_INSTRUCTION_PERMIT: 42, /** * Commercial new permit */ - COMMERCIAL_NEW_PERMIT = 43, + COMMERCIAL_NEW_PERMIT: 43, /** * Concealed carry license */ - CONCEALED_CARRY_LICENSE = 44, + CONCEALED_CARRY_LICENSE: 44, /** * Concealed firearm permit */ - CONCEALED_FIREARM_PERMIT = 45, + CONCEALED_FIREARM_PERMIT: 45, /** * Conditional driving license */ - CONDITIONAL_DRIVING_LICENSE = 46, + CONDITIONAL_DRIVING_LICENSE: 46, /** * Department of veterans affairs identity card */ - DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD = 47, + DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD: 47, /** * Diplomatic driving license */ - DIPLOMATIC_DRIVING_LICENSE = 48, + DIPLOMATIC_DRIVING_LICENSE: 48, /** * Driving license */ - DRIVING_LICENSE = 49, + DRIVING_LICENSE: 49, /** * Driving license instructional permit */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 50, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT: 50, /** * Driving license instructional permit under 18 */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18 = 51, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18: 51, /** * Driving license instructional permit under 21 */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21 = 52, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21: 52, /** * Driving license learners permit */ - DRIVING_LICENSE_LEARNERS_PERMIT = 53, + DRIVING_LICENSE_LEARNERS_PERMIT: 53, /** * Driving license learners permit under 18 */ - DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18 = 54, + DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18: 54, /** * Driving license learners permit under 21 */ - DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21 = 55, + DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21: 55, /** * Driving license novice */ - DRIVING_LICENSE_NOVICE = 56, + DRIVING_LICENSE_NOVICE: 56, /** * Driving license novice under 18 */ - DRIVING_LICENSE_NOVICE_UNDER_18 = 57, + DRIVING_LICENSE_NOVICE_UNDER_18: 57, /** * Driving license novice under 21 */ - DRIVING_LICENSE_NOVICE_UNDER_21 = 58, + DRIVING_LICENSE_NOVICE_UNDER_21: 58, /** * Driving license registered offender */ - DRIVING_LICENSE_REGISTERED_OFFENDER = 59, + DRIVING_LICENSE_REGISTERED_OFFENDER: 59, /** * Driving license restricted under 18 */ - DRIVING_LICENSE_RESTRICTED_UNDER_18 = 60, + DRIVING_LICENSE_RESTRICTED_UNDER_18: 60, /** * Driving license restricted under 21 */ - DRIVING_LICENSE_RESTRICTED_UNDER_21 = 61, + DRIVING_LICENSE_RESTRICTED_UNDER_21: 61, /** * Driving license temporary visitor */ - DRIVING_LICENSE_TEMPORARY_VISITOR = 62, + DRIVING_LICENSE_TEMPORARY_VISITOR: 62, /** * Driving license temporary visitor under 18 */ - DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18 = 63, + DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18: 63, /** * Driving license temporary visitor under 21 */ - DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21 = 64, + DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21: 64, /** * Driving license under 18 */ - DRIVING_LICENSE_UNDER_18 = 65, + DRIVING_LICENSE_UNDER_18: 65, /** * Driving license under 21 */ - DRIVING_LICENSE_UNDER_21 = 66, + DRIVING_LICENSE_UNDER_21: 66, /** * Employment driving permit */ - EMPLOYMENT_DRIVING_PERMIT = 67, + EMPLOYMENT_DRIVING_PERMIT: 67, /** * Enhanced chauffeur license */ - ENHANCED_CHAUFFEUR_LICENSE = 68, + ENHANCED_CHAUFFEUR_LICENSE: 68, /** * Enhanced chauffeur license under 18 */ - ENHANCED_CHAUFFEUR_LICENSE_UNDER_18 = 69, + ENHANCED_CHAUFFEUR_LICENSE_UNDER_18: 69, /** * Enhanced chauffeur license under 21 */ - ENHANCED_CHAUFFEUR_LICENSE_UNDER_21 = 70, + ENHANCED_CHAUFFEUR_LICENSE_UNDER_21: 70, /** * Enhanced commercial driving license */ - ENHANCED_COMMERCIAL_DRIVING_LICENSE = 71, + ENHANCED_COMMERCIAL_DRIVING_LICENSE: 71, /** * Enhanced driving license */ - ENHANCED_DRIVING_LICENSE = 72, + ENHANCED_DRIVING_LICENSE: 72, /** * Enhanced driving license under 18 */ - ENHANCED_DRIVING_LICENSE_UNDER_18 = 73, + ENHANCED_DRIVING_LICENSE_UNDER_18: 73, /** * Enhanced driving license under 21 */ - ENHANCED_DRIVING_LICENSE_UNDER_21 = 74, + ENHANCED_DRIVING_LICENSE_UNDER_21: 74, /** * Enhanced identity card */ - ENHANCED_IDENTITY_CARD = 75, + ENHANCED_IDENTITY_CARD: 75, /** * Enhanced identity card under 18 */ - ENHANCED_IDENTITY_CARD_UNDER_18 = 76, + ENHANCED_IDENTITY_CARD_UNDER_18: 76, /** * Enhanced identity card under 21 */ - ENHANCED_IDENTITY_CARD_UNDER_21 = 77, + ENHANCED_IDENTITY_CARD_UNDER_21: 77, /** * Enhanced operators license */ - ENHANCED_OPERATORS_LICENSE = 78, + ENHANCED_OPERATORS_LICENSE: 78, /** * Firearms permit */ - FIREARMS_PERMIT = 79, + FIREARMS_PERMIT: 79, /** * Full provisional license */ - FULL_PROVISIONAL_LICENSE = 80, + FULL_PROVISIONAL_LICENSE: 80, /** * Full provisional license under 18 */ - FULL_PROVISIONAL_LICENSE_UNDER_18 = 81, + FULL_PROVISIONAL_LICENSE_UNDER_18: 81, /** * Full provisional license under 21 */ - FULL_PROVISIONAL_LICENSE_UNDER_21 = 82, + FULL_PROVISIONAL_LICENSE_UNDER_21: 82, /** * Geneva conventions identity card */ - GENEVA_CONVENTIONS_IDENTITY_CARD = 83, + GENEVA_CONVENTIONS_IDENTITY_CARD: 83, /** * Graduated driving license under 18 */ - GRADUATED_DRIVING_LICENSE_UNDER_18 = 84, + GRADUATED_DRIVING_LICENSE_UNDER_18: 84, /** * Graduated driving license under 21 */ - GRADUATED_DRIVING_LICENSE_UNDER_21 = 85, + GRADUATED_DRIVING_LICENSE_UNDER_21: 85, /** * Graduated instruction permit under 18 */ - GRADUATED_INSTRUCTION_PERMIT_UNDER_18 = 86, + GRADUATED_INSTRUCTION_PERMIT_UNDER_18: 86, /** * Graduated instruction permit under 21 */ - GRADUATED_INSTRUCTION_PERMIT_UNDER_21 = 87, + GRADUATED_INSTRUCTION_PERMIT_UNDER_21: 87, /** * Graduated license under 18 */ - GRADUATED_LICENSE_UNDER_18 = 88, + GRADUATED_LICENSE_UNDER_18: 88, /** * Graduated license under 21 */ - GRADUATED_LICENSE_UNDER_21 = 89, + GRADUATED_LICENSE_UNDER_21: 89, /** * Handgun carry permit */ - HANDGUN_CARRY_PERMIT = 90, + HANDGUN_CARRY_PERMIT: 90, /** * Identity and privilege card */ - IDENTITY_AND_PRIVILEGE_CARD = 91, + IDENTITY_AND_PRIVILEGE_CARD: 91, /** * Identity card mobility impaired */ - IDENTITY_CARD_MOBILITY_IMPAIRED = 92, + IDENTITY_CARD_MOBILITY_IMPAIRED: 92, /** * Identity card registered offender */ - IDENTITY_CARD_REGISTERED_OFFENDER = 93, + IDENTITY_CARD_REGISTERED_OFFENDER: 93, /** * Identity card temporary visitor */ - IDENTITY_CARD_TEMPORARY_VISITOR = 94, + IDENTITY_CARD_TEMPORARY_VISITOR: 94, /** * Identity card temporary visitor under 18 */ - IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18 = 95, + IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18: 95, /** * Identity card temporary visitor under 21 */ - IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21 = 96, + IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21: 96, /** * Identity card under 18 */ - IDENTITY_CARD_UNDER_18 = 97, + IDENTITY_CARD_UNDER_18: 97, /** * Identity card under 21 */ - IDENTITY_CARD_UNDER_21 = 98, + IDENTITY_CARD_UNDER_21: 98, /** * Other */ - OTHER = 99, + OTHER: 99, /** * Ignition interlock permit */ - IGNITION_INTERLOCK_PERMIT = 100, + IGNITION_INTERLOCK_PERMIT: 100, /** * Immigrant visa */ - IMMIGRANT_VISA = 101, + IMMIGRANT_VISA: 101, /** * Instruction permit */ - INSTRUCTION_PERMIT = 102, + INSTRUCTION_PERMIT: 102, /** * Instruction permit under 18 */ - INSTRUCTION_PERMIT_UNDER_18 = 103, + INSTRUCTION_PERMIT_UNDER_18: 103, /** * Instruction permit under 21 */ - INSTRUCTION_PERMIT_UNDER_21 = 104, + INSTRUCTION_PERMIT_UNDER_21: 104, /** * Interim driving license */ - INTERIM_DRIVING_LICENSE = 105, + INTERIM_DRIVING_LICENSE: 105, /** * Interim identity card */ - INTERIM_IDENTITY_CARD = 106, + INTERIM_IDENTITY_CARD: 106, /** * Intermediate driving license */ - INTERMEDIATE_DRIVING_LICENSE = 107, + INTERMEDIATE_DRIVING_LICENSE: 107, /** * Intermediate driving license under 18 */ - INTERMEDIATE_DRIVING_LICENSE_UNDER_18 = 108, + INTERMEDIATE_DRIVING_LICENSE_UNDER_18: 108, /** * Intermediate driving license under 21 */ - INTERMEDIATE_DRIVING_LICENSE_UNDER_21 = 109, + INTERMEDIATE_DRIVING_LICENSE_UNDER_21: 109, /** * Junior driving license */ - JUNIOR_DRIVING_LICENSE = 110, + JUNIOR_DRIVING_LICENSE: 110, /** * Learner instructional permit */ - LEARNER_INSTRUCTIONAL_PERMIT = 111, + LEARNER_INSTRUCTIONAL_PERMIT: 111, /** * Learner license */ - LEARNER_LICENSE = 112, + LEARNER_LICENSE: 112, /** * Learner license under 18 */ - LEARNER_LICENSE_UNDER_18 = 113, + LEARNER_LICENSE_UNDER_18: 113, /** * Learner license under 21 */ - LEARNER_LICENSE_UNDER_21 = 114, + LEARNER_LICENSE_UNDER_21: 114, /** * Learner permit */ - LEARNER_PERMIT = 115, + LEARNER_PERMIT: 115, /** * Learner permit under 18 */ - LEARNER_PERMIT_UNDER_18 = 116, + LEARNER_PERMIT_UNDER_18: 116, /** * Learner permit under 21 */ - LEARNER_PERMIT_UNDER_21 = 117, + LEARNER_PERMIT_UNDER_21: 117, /** * Limited license */ - LIMITED_LICENSE = 118, + LIMITED_LICENSE: 118, /** * Limited permit */ - LIMITED_PERMIT = 119, + LIMITED_PERMIT: 119, /** * Limited term driving license */ - LIMITED_TERM_DRIVING_LICENSE = 120, + LIMITED_TERM_DRIVING_LICENSE: 120, /** * Limited term identity card */ - LIMITED_TERM_IDENTITY_CARD = 121, + LIMITED_TERM_IDENTITY_CARD: 121, /** * Liquor identity card */ - LIQUOR_IDENTITY_CARD = 122, + LIQUOR_IDENTITY_CARD: 122, /** * New permit */ - NEW_PERMIT = 123, + NEW_PERMIT: 123, /** * New permit under 18 */ - NEW_PERMIT_UNDER_18 = 124, + NEW_PERMIT_UNDER_18: 124, /** * New permit under 21 */ - NEW_PERMIT_UNDER_21 = 125, + NEW_PERMIT_UNDER_21: 125, /** * Non-US citizen driving license */ - NON_US_CITIZEN_DRIVING_LICENSE = 126, + NON_US_CITIZEN_DRIVING_LICENSE: 126, /** * Occupational driving license */ - OCCUPATIONAL_DRIVING_LICENSE = 127, + OCCUPATIONAL_DRIVING_LICENSE: 127, /** * Oneida tribe of indians identity card */ - ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD = 128, + ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD: 128, /** * Operator license */ - OPERATOR_LICENSE = 129, + OPERATOR_LICENSE: 129, /** * Operator license under 18 */ - OPERATOR_LICENSE_UNDER_18 = 130, + OPERATOR_LICENSE_UNDER_18: 130, /** * Operator license under 21 */ - OPERATOR_LICENSE_UNDER_21 = 131, + OPERATOR_LICENSE_UNDER_21: 131, /** * Permanent driving license */ - PERMANENT_DRIVING_LICENSE = 132, + PERMANENT_DRIVING_LICENSE: 132, /** * Permit to re-enter */ - PERMIT_TO_REENTER = 133, + PERMIT_TO_REENTER: 133, /** * Probationary auto license */ - PROBATIONARY_AUTO_LICENSE = 134, + PROBATIONARY_AUTO_LICENSE: 134, /** * Probationary driving license under 18 */ - PROBATIONARY_DRIVING_LICENSE_UNDER_18 = 135, + PROBATIONARY_DRIVING_LICENSE_UNDER_18: 135, /** * Probationary driving license under 21 */ - PROBATIONARY_DRIVING_LICENSE_UNDER_21 = 136, + PROBATIONARY_DRIVING_LICENSE_UNDER_21: 136, /** * Probationary vehicle sales person license */ - PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE = 137, + PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE: 137, /** * Provisional driving license */ - PROVISIONAL_DRIVING_LICENSE = 138, + PROVISIONAL_DRIVING_LICENSE: 138, /** * Provisional driving license under 18 */ - PROVISIONAL_DRIVING_LICENSE_UNDER_18 = 139, + PROVISIONAL_DRIVING_LICENSE_UNDER_18: 139, /** * Provisional driving license under 21 */ - PROVISIONAL_DRIVING_LICENSE_UNDER_21 = 140, + PROVISIONAL_DRIVING_LICENSE_UNDER_21: 140, /** * Provisional license */ - PROVISIONAL_LICENSE = 141, + PROVISIONAL_LICENSE: 141, /** * Provisional license under 18 */ - PROVISIONAL_LICENSE_UNDER_18 = 142, + PROVISIONAL_LICENSE_UNDER_18: 142, /** * Provisional license under 21 */ - PROVISIONAL_LICENSE_UNDER_21 = 143, + PROVISIONAL_LICENSE_UNDER_21: 143, /** * Public passenger chauffeur license */ - PUBLIC_PASSENGER_CHAUFFEUR_LICENSE = 144, + PUBLIC_PASSENGER_CHAUFFEUR_LICENSE: 144, /** * Racing and gaming comission card */ - RACING_AND_GAMING_COMISSION_CARD = 145, + RACING_AND_GAMING_COMISSION_CARD: 145, /** * Refugee travel document */ - REFUGEE_TRAVEL_DOCUMENT = 146, + REFUGEE_TRAVEL_DOCUMENT: 146, /** * Renewal permit */ - RENEWAL_PERMIT = 147, + RENEWAL_PERMIT: 147, /** * Restricted commercial driver license */ - RESTRICTED_COMMERCIAL_DRIVER_LICENSE = 148, + RESTRICTED_COMMERCIAL_DRIVER_LICENSE: 148, /** * Restricted driver license */ - RESTRICTED_DRIVER_LICENSE = 149, + RESTRICTED_DRIVER_LICENSE: 149, /** * Restricted permit */ - RESTRICTED_PERMIT = 150, + RESTRICTED_PERMIT: 150, /** * Seasonal permit */ - SEASONAL_PERMIT = 151, + SEASONAL_PERMIT: 151, /** * Seasonal resident identity card */ - SEASONAL_RESIDENT_IDENTITY_CARD = 152, + SEASONAL_RESIDENT_IDENTITY_CARD: 152, /** * Seasonal citizen identity card */ - SEASONAL_CITIZEN_IDENTITY_CARD = 153, + SEASONAL_CITIZEN_IDENTITY_CARD: 153, /** * Sex offender */ - SEX_OFFENDER = 154, + SEX_OFFENDER: 154, /** * Social security card */ - SOCIAL_SECURITY_CARD = 155, + SOCIAL_SECURITY_CARD: 155, /** * Temporary driving license */ - TEMPORARY_DRIVING_LICENSE = 156, + TEMPORARY_DRIVING_LICENSE: 156, /** * Temporary driving license under 18 */ - TEMPORARY_DRIVING_LICENSE_UNDER_18 = 157, + TEMPORARY_DRIVING_LICENSE_UNDER_18: 157, /** * Temporary driving license under 21 */ - TEMPORARY_DRIVING_LICENSE_UNDER_21 = 158, + TEMPORARY_DRIVING_LICENSE_UNDER_21: 158, /** * Temporary identity card */ - TEMPORARY_IDENTITY_CARD = 159, + TEMPORARY_IDENTITY_CARD: 159, /** * Temporary instruction permit identity card */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD = 160, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD: 160, /** * Temporary instruction permit identity card under 18 */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18 = 161, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18: 161, /** * Temporary instruction permit identity card under 21 */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21 = 162, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21: 162, /** * Temporary visitor driving license */ - TEMPORARY_VISITOR_DRIVING_LICENSE = 163, + TEMPORARY_VISITOR_DRIVING_LICENSE: 163, /** * Temporary visitor driving license under 18 */ - TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18 = 164, + TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18: 164, /** * Temporary visitor driving license under 21 */ - TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21 = 165, + TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21: 165, /** * Uniformed services identity card */ - UNIFORMED_SERVICES_IDENTITY_CARD = 166, + UNIFORMED_SERVICES_IDENTITY_CARD: 166, /** * Vehicle sales person license */ - VEHICLE_SALES_PERSON_LICENSE = 167, + VEHICLE_SALES_PERSON_LICENSE: 167, /** * Worker identification credential */ - WORKER_IDENTIFICATION_CREDENTIAL = 168, + WORKER_IDENTIFICATION_CREDENTIAL: 168, /** * Commercial driving license novice */ - COMMERCIAL_DRIVING_LICENSE_NOVICE = 169, + COMMERCIAL_DRIVING_LICENSE_NOVICE: 169, /** * Commercial driving license novice under 18 */ - COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18 = 170, + COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18: 170, /** * Commercial driving license novice under 21 */ - COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21 = 171, + COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21: 171, /** * Passport card */ - PASSPORT_CARD = 172, + PASSPORT_CARD: 172, /** * Passport resident card */ - PASSPORT_RESIDENT_CARD = 173, + PASSPORT_RESIDENT_CARD: 173, /** * Personal identification verification */ - PERSONAL_IDENTIFICATION_VERIFICATION = 174, + PERSONAL_IDENTIFICATION_VERIFICATION: 174, /** * Temporary operator license */ - TEMPORARY_OPERATOR_LICENSE = 175, + TEMPORARY_OPERATOR_LICENSE: 175, /** * Driving license under 19 */ - DRIVING_LICENSE_UNDER_19 = 176, + DRIVING_LICENSE_UNDER_19: 176, /** * Identity card under 19 */ - IDENTITY_CARD_UNDER_19 = 177, + IDENTITY_CARD_UNDER_19: 177, /** * Visa */ - VISA = 178, + VISA: 178, /** * Temporary passport */ - TEMPORARY_PASSPORT = 179, + TEMPORARY_PASSPORT: 179, /** * Voting card */ - VOTING_CARD = 180, + VOTING_CARD: 180, /** * Health card */ - HEALTH_CARD = 181, + HEALTH_CARD: 181, /** * Certificate of citizenship */ - CERTIFICATE_OF_CITIZENSHIP = 182, + CERTIFICATE_OF_CITIZENSHIP: 182, /** * Address card */ - ADDRESS_CARD = 183, + ADDRESS_CARD: 183, /** * Airport immigration card */ - AIRPORT_IMMIGRATION_CARD = 184, + AIRPORT_IMMIGRATION_CARD: 184, /** * Alien registration card */ - ALIEN_REGISTRATION_CARD = 185, + ALIEN_REGISTRATION_CARD: 185, /** * APEH card */ - APEH_CARD = 186, + APEH_CARD: 186, /** * Coupon to driving license */ - COUPON_TO_DRIVING_LICENSE = 187, + COUPON_TO_DRIVING_LICENSE: 187, /** * Crew member certificate */ - CREW_MEMBER_CERTIFICATE = 188, + CREW_MEMBER_CERTIFICATE: 188, /** * Document for return */ - DOCUMENT_FOR_RETURN = 189, + DOCUMENT_FOR_RETURN: 189, /** * E-card */ - E_CARD = 190, + E_CARD: 190, /** * Employment card */ - EMPLOYMENT_CARD = 191, + EMPLOYMENT_CARD: 191, /** * HKSAR immigration form */ - HKSAR_IMMIGRATION_FORM = 192, + HKSAR_IMMIGRATION_FORM: 192, /** * Immigrant card */ - IMMIGRANT_CARD = 193, + IMMIGRANT_CARD: 193, /** * Labour card */ - LABOUR_CARD = 194, + LABOUR_CARD: 194, /** * Laissez passer */ - LAISSEZ_PASSER = 195, + LAISSEZ_PASSER: 195, /** * Lawyer identity certificate */ - LAWYER_IDENTITY_CERTIFICATE = 196, + LAWYER_IDENTITY_CERTIFICATE: 196, /** * License card */ - LICENSE_CARD = 197, + LICENSE_CARD: 197, /** * Passport stateless */ - PASSPORT_STATELESS = 198, + PASSPORT_STATELESS: 198, /** * Passport child */ - PASSPORT_CHILD = 199, + PASSPORT_CHILD: 199, /** * Passport consular */ - PASSPORT_CONSULAR = 200, + PASSPORT_CONSULAR: 200, /** * Passport diplomatic service */ - PASSPORT_DIPLOMATIC_SERVICE = 201, + PASSPORT_DIPLOMATIC_SERVICE: 201, /** * Passport official */ - PASSPORT_OFFICIAL = 202, + PASSPORT_OFFICIAL: 202, /** * Passport provisional */ - PASSPORT_PROVISIONAL = 203, + PASSPORT_PROVISIONAL: 203, /** * Passport special */ - PASSPORT_SPECIAL = 204, + PASSPORT_SPECIAL: 204, /** * Permission to the local border traffic */ - PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC = 205, + PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC: 205, /** * Registration certificate */ - REGISTRATION_CERTIFICATE = 206, + REGISTRATION_CERTIFICATE: 206, /** * Sedesol card */ - SEDESOL_CARD = 207, + SEDESOL_CARD: 207, /** * Social card */ - SOCIAL_CARD = 208, + SOCIAL_CARD: 208, /** * TB card */ - TB_CARD = 209, + TB_CARD: 209, /** * Vehicle passport */ - VEHICLE_PASSPORT = 210, + VEHICLE_PASSPORT: 210, /** * W document */ - W_DOCUMENT = 211, + W_DOCUMENT: 211, /** * Diplomatic identity card */ - DIPLOMATIC_IDENTITY_CARD = 212, + DIPLOMATIC_IDENTITY_CARD: 212, /** * Consular identity card */ - CONSULAR_IDENTITY_CARD = 213, + CONSULAR_IDENTITY_CARD: 213, /** * Income tax card */ - INCOME_TAX_CARD = 214, + INCOME_TAX_CARD: 214, /** * Residence permit */ - RESIDENCE_PERMIT = 215, + RESIDENCE_PERMIT: 215, /** * Document of identity */ - DOCUMENT_OF_IDENTITY = 216, + DOCUMENT_OF_IDENTITY: 216, /** * Border crossing permit */ - BORDER_CROSSING_PERMIT = 217, + BORDER_CROSSING_PERMIT: 217, /** * Passport limited validity */ - PASSPORT_LIMITED_VALIDITY = 218, + PASSPORT_LIMITED_VALIDITY: 218, /** * Sim card */ - SIM_CARD = 219, + SIM_CARD: 219, /** * Tax card */ - TAX_CARD = 220, + TAX_CARD: 220, /** * Company card */ - COMPANY_CARD = 221, + COMPANY_CARD: 221, /** * Domestic passport */ - DOMESTIC_PASSPORT = 222, + DOMESTIC_PASSPORT: 222, /** * Identity certificate */ - IDENTITY_CERTIFICATE = 223, + IDENTITY_CERTIFICATE: 223, /** * Resident id card */ - RESIDENT_ID_CARD = 224, + RESIDENT_ID_CARD: 224, /** * Armed forces identity card */ - ARMED_FORCES_IDENTITY_CARD = 225, + ARMED_FORCES_IDENTITY_CARD: 225, /** * Professional card */ - PROFESSIONAL_CARD = 226, + PROFESSIONAL_CARD: 226, /** * Registration stamp */ - REGISTRATION_STAMP = 227, + REGISTRATION_STAMP: 227, /** * Driver card */ - DRIVER_CARD = 228, + DRIVER_CARD: 228, /** * Driver training certificate */ - DRIVER_TRAINING_CERTIFICATE = 229, + DRIVER_TRAINING_CERTIFICATE: 229, /** * Qualification driving license */ - QUALIFICATION_DRIVING_LICENSE = 230, + QUALIFICATION_DRIVING_LICENSE: 230, /** * Membership card */ - MEMBERSHIP_CARD = 231, + MEMBERSHIP_CARD: 231, /** * Public vehicle driver authority card */ - PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD = 232, + PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD: 232, /** * Marine license */ - MARINE_LICENSE = 233, + MARINE_LICENSE: 233, /** * Temporary learner license */ - TEMPORARY_LEARNER_LICENSE = 234, + TEMPORARY_LEARNER_LICENSE: 234, /** * Temporary commercial driving license */ - TEMPORARY_COMMERCIAL_DRIVING_LICENSE = 235, + TEMPORARY_COMMERCIAL_DRIVING_LICENSE: 235, /** * Interim instructional permit */ - INTERIM_INSTRUCTIONAL_PERMIT = 236, + INTERIM_INSTRUCTIONAL_PERMIT: 236, /** * Certificate of competency */ - CERTIFICATE_OF_COMPETENCY = 237, + CERTIFICATE_OF_COMPETENCY: 237, /** * Certificate of proficiency */ - CERTIFICATE_OF_PROFICIENCY = 238, + CERTIFICATE_OF_PROFICIENCY: 238, /** * Trade license */ - TRADE_LICENSE = 239, + TRADE_LICENSE: 239, /** * Passport page */ - PASSPORT_PAGE = 240, + PASSPORT_PAGE: 240, /** * Invoice */ - INVOICE = 241, + INVOICE: 241, /** * Passenger locator form */ - PASSENGER_LOCATOR_FORM = 242 -} - + PASSENGER_LOCATOR_FORM: 242 +} as const; +export type DocumentType = typeof DocumentType[keyof typeof DocumentType]; diff --git a/src/models/document-types-candidates-list.ts b/src/models/document-types-candidates-list.ts old mode 100755 new mode 100644 index 236d0a55..0dd7734a --- a/src/models/document-types-candidates-list.ts +++ b/src/models/document-types-candidates-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,25 @@ */ -import { DocumentTypeRecognitionResult } from './document-type-recognition-result'; -import { OneCandidate } from './one-candidate'; +import type { DocumentTypeRecognitionResult } from './document-type-recognition-result'; +import type { OneCandidate } from './one-candidate'; /** - * - * @export - * @interface DocumentTypesCandidatesList - */ +* +* @export +* @interface DocumentTypesCandidatesList +*/ export interface DocumentTypesCandidatesList { /** - * - * @type {DocumentTypeRecognitionResult} - * @memberof DocumentTypesCandidatesList - */ + * + * @type {DocumentTypeRecognitionResult} + * @memberof DocumentTypesCandidatesList + */ RecResult?: DocumentTypeRecognitionResult; /** - * - * @type {Array} - * @memberof DocumentTypesCandidatesList - */ + * + * @type {Array} + * @memberof DocumentTypesCandidatesList + */ Candidates?: Array; } - - diff --git a/src/models/document-types-candidates-result-all-of.ts b/src/models/document-types-candidates-result-all-of.ts old mode 100755 new mode 100644 index e44d87d2..94aa0cfd --- a/src/models/document-types-candidates-result-all-of.ts +++ b/src/models/document-types-candidates-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { DocumentTypesCandidatesList } from './document-types-candidates-list'; +import type { DocumentTypesCandidatesList } from './document-types-candidates-list'; /** - * - * @export - * @interface DocumentTypesCandidatesResultAllOf - */ +* +* @export +* @interface DocumentTypesCandidatesResultAllOf +*/ export interface DocumentTypesCandidatesResultAllOf { /** - * - * @type {DocumentTypesCandidatesList} - * @memberof DocumentTypesCandidatesResultAllOf - */ + * + * @type {DocumentTypesCandidatesList} + * @memberof DocumentTypesCandidatesResultAllOf + */ CandidatesList?: DocumentTypesCandidatesList; } - - diff --git a/src/models/document-types-candidates-result.ts b/src/models/document-types-candidates-result.ts old mode 100755 new mode 100644 index 4c3665e8..0633bee0 --- a/src/models/document-types-candidates-result.ts +++ b/src/models/document-types-candidates-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesList } from './document-types-candidates-list'; -import { DocumentTypesCandidatesResultAllOf } from './document-types-candidates-result-all-of'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { DocumentTypesCandidatesList } from './document-types-candidates-list'; +import type { DocumentTypesCandidatesResultAllOf } from './document-types-candidates-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type DocumentTypesCandidatesResult @@ -37,5 +23,3 @@ import { TextResult } from './text-result'; */ export type DocumentTypesCandidatesResult = DocumentTypesCandidatesResultAllOf & ResultItem; - - diff --git a/src/models/document-types-candidates.ts b/src/models/document-types-candidates.ts index 999c0e86..fe0aeaae 100644 --- a/src/models/document-types-candidates.ts +++ b/src/models/document-types-candidates.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,25 @@ */ -import { DocumentTypeRecognitionResult } from './document-type-recognition-result'; -import { OneCandidate } from './one-candidate'; +import type { DocumentTypeRecognitionResult } from './document-type-recognition-result'; +import type { OneCandidate } from './one-candidate'; /** - * - * @export - * @interface DocumentTypesCandidates - */ +* +* @export +* @interface DocumentTypesCandidates +*/ export interface DocumentTypesCandidates { /** - * - * @type {DocumentTypeRecognitionResult} - * @memberof DocumentTypesCandidates - */ + * + * @type {DocumentTypeRecognitionResult} + * @memberof DocumentTypesCandidates + */ RecResult?: DocumentTypeRecognitionResult; /** - * - * @type {Array} - * @memberof DocumentTypesCandidates - */ + * + * @type {Array} + * @memberof DocumentTypesCandidates + */ Candidates?: Array; } - - diff --git a/src/models/documents-database.ts b/src/models/documents-database.ts new file mode 100644 index 00000000..d67aa748 --- /dev/null +++ b/src/models/documents-database.ts @@ -0,0 +1,47 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* +* @export +* @interface DocumentsDatabase +*/ +export interface DocumentsDatabase { + /** + * + * @type {string} + * @memberof DocumentsDatabase + */ + Description?: string; + /** + * + * @type {string} + * @memberof DocumentsDatabase + */ + ExportDate?: string; + /** + * + * @type {string} + * @memberof DocumentsDatabase + */ + ID?: string; + /** + * + * @type {string} + * @memberof DocumentsDatabase + */ + Version?: string; +} diff --git a/src/models/encrypted-rclresult-all-of.ts b/src/models/encrypted-rclresult-all-of.ts index ce51fe3a..b77294d0 100644 --- a/src/models/encrypted-rclresult-all-of.ts +++ b/src/models/encrypted-rclresult-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,17 +15,15 @@ /** - * Contains encrypted result container list - * @export - * @interface EncryptedRCLResultAllOf - */ +* Contains encrypted result container list +* @export +* @interface EncryptedRCLResultAllOf +*/ export interface EncryptedRCLResultAllOf { /** - * Base64 encoded data - * @type {string} - * @memberof EncryptedRCLResultAllOf - */ + * Base64 encoded data + * @type {string} + * @memberof EncryptedRCLResultAllOf + */ EncryptedRCL: string; } - - diff --git a/src/models/encrypted-rclresult.ts b/src/models/encrypted-rclresult.ts index ee9e5d6a..c3aa63b6 100644 --- a/src/models/encrypted-rclresult.ts +++ b/src/models/encrypted-rclresult.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,22 +13,8 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResultAllOf } from './encrypted-rclresult-all-of'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { EncryptedRCLResultAllOf } from './encrypted-rclresult-all-of'; +import type { ResultItem } from './result-item'; /** * @type EncryptedRCLResult @@ -36,5 +22,3 @@ import { TextResult } from './text-result'; */ export type EncryptedRCLResult = EncryptedRCLResultAllOf & ResultItem; - - diff --git a/src/models/extended-rfid-text-field-all-of.ts b/src/models/extended-rfid-text-field-all-of.ts deleted file mode 100755 index 1011431d..00000000 --- a/src/models/extended-rfid-text-field-all-of.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExtendedRfidTextFieldAllOf - */ -export interface ExtendedRfidTextFieldAllOf { - /** - * Information data group - * @type {number} - * @memberof ExtendedRfidTextFieldAllOf - */ - RFID_OriginDG?: number; - /** - * Index of the text field record in information data group - * @type {number} - * @memberof ExtendedRfidTextFieldAllOf - */ - RFID_OriginTagEntry?: number; -} - - diff --git a/src/models/extended-rfid-text-field.ts b/src/models/extended-rfid-text-field.ts deleted file mode 100755 index ecae31b9..00000000 --- a/src/models/extended-rfid-text-field.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ExtendedRfidTextFieldAllOf } from './extended-rfid-text-field-all-of'; -import { ExtendedTextField } from './extended-text-field'; -import { LCID } from './lcid'; -import { StringRecognitionResult } from './string-recognition-result'; -import { TextFieldType } from './text-field-type'; - -/** - * @type ExtendedRfidTextField - * @export - */ -export type ExtendedRfidTextField = ExtendedRfidTextFieldAllOf & ExtendedTextField; - - - diff --git a/src/models/extended-text-field.ts b/src/models/extended-text-field.ts deleted file mode 100755 index ba95a689..00000000 --- a/src/models/extended-text-field.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { LCID } from './lcid'; -import { StringRecognitionResult } from './string-recognition-result'; -import { TextFieldType } from './text-field-type'; - -/** - * - * @export - * @interface ExtendedTextField - */ -export interface ExtendedTextField { - /** - * - * @type {TextFieldType} - * @memberof ExtendedTextField - */ - wFieldType?: TextFieldType; - /** - * - * @type {LCID} - * @memberof ExtendedTextField - */ - wLCID?: LCID; - /** - * Array of recognizing probabilities for a each line of text field - * @type {Array} - * @memberof ExtendedTextField - */ - StringsResult?: Array; - /** - * Text field data in UTF8 format. Results of reading different lines of a multiline field are separated by “^” - * @type {string} - * @memberof ExtendedTextField - */ - Buf_Text?: string; -} - - diff --git a/src/models/extended-visual-text-field-all-of.ts b/src/models/extended-visual-text-field-all-of.ts deleted file mode 100755 index 98ef16e2..00000000 --- a/src/models/extended-visual-text-field-all-of.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { RectangleCoordinates } from './rectangle-coordinates'; - -/** - * - * @export - * @interface ExtendedVisualTextFieldAllOf - */ -export interface ExtendedVisualTextFieldAllOf { - /** - * - * @type {RectangleCoordinates} - * @memberof ExtendedVisualTextFieldAllOf - */ - FieldRect?: RectangleCoordinates; -} - - diff --git a/src/models/extended-visual-text-field.ts b/src/models/extended-visual-text-field.ts deleted file mode 100755 index a251185c..00000000 --- a/src/models/extended-visual-text-field.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ExtendedTextField } from './extended-text-field'; -import { ExtendedVisualTextFieldAllOf } from './extended-visual-text-field-all-of'; -import { LCID } from './lcid'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { StringRecognitionResult } from './string-recognition-result'; -import { TextFieldType } from './text-field-type'; - -/** - * @type ExtendedVisualTextField - * @export - */ -export type ExtendedVisualTextField = ExtendedTextField & ExtendedVisualTextFieldAllOf; - - - diff --git a/src/models/face-api-search.ts b/src/models/face-api-search.ts index 9352ef75..f8120c3e 100644 --- a/src/models/face-api-search.ts +++ b/src/models/face-api-search.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,29 +15,27 @@ /** - * A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the OpenAPI documentation. - * @export - * @interface FaceApiSearch - */ +* A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the OpenAPI documentation. +* @export +* @interface FaceApiSearch +*/ export interface FaceApiSearch { /** - * The maximum number of results to be returned. - * @type {number} - * @memberof FaceApiSearch - */ + * The maximum number of results to be returned. + * @type {number} + * @memberof FaceApiSearch + */ limit?: number; /** - * The similarity threshold. - * @type {number} - * @memberof FaceApiSearch - */ + * The similarity threshold. + * @type {number} + * @memberof FaceApiSearch + */ threshold?: number; /** - * The groups where to conduct the search. - * @type {Array} - * @memberof FaceApiSearch - */ + * The groups where to conduct the search. + * @type {Array} + * @memberof FaceApiSearch + */ group_ids?: Array; } - - diff --git a/src/models/face-api.ts b/src/models/face-api.ts index ab16c526..2efad702 100644 --- a/src/models/face-api.ts +++ b/src/models/face-api.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,62 +13,60 @@ */ -import { FaceApiSearch } from './face-api-search'; +import type { FaceApiSearch } from './face-api-search'; /** - * - * @export - * @interface FaceApi - */ +* +* @export +* @interface FaceApi +*/ export interface FaceApi { /** - * The URL of the Regula Face Web service to be used. - * @type {string} - * @memberof FaceApi - */ + * The URL of the Regula Face Web service to be used. + * @type {string} + * @memberof FaceApi + */ url?: string; /** - * The processing mode: \"match\" or \"match+search\". - * @type {string} - * @memberof FaceApi - */ + * The processing mode: \"match\" or \"match+search\". + * @type {string} + * @memberof FaceApi + */ mode?: string; /** - * - * @type {FaceApiSearch} - * @memberof FaceApi - */ + * + * @type {FaceApiSearch} + * @memberof FaceApi + */ search?: FaceApiSearch; /** - * The similarity threshold, 0-100. Above 75 means that the faces\' similarity is verified, below 75 is not. - * @type {number} - * @memberof FaceApi - */ + * The similarity threshold, 0-100. Above 75 means that the faces\' similarity is verified, below 75 is not. + * @type {number} + * @memberof FaceApi + */ threshold?: number; /** - * The Regula Face Web service requests timeout, ms. - * @type {number} - * @memberof FaceApi - */ + * The Regula Face Web service requests timeout, ms. + * @type {number} + * @memberof FaceApi + */ serviceTimeout?: number; /** - * Proxy to use, should be set according to the cURL standard. - * @type {string} - * @memberof FaceApi - */ + * Proxy to use, should be set according to the cURL standard. + * @type {string} + * @memberof FaceApi + */ proxy?: string; /** - * Username and password to use for proxy authentication, should be set according to the cURL standard. - * @type {string} - * @memberof FaceApi - */ + * Username and password to use for proxy authentication, should be set according to the cURL standard. + * @type {string} + * @memberof FaceApi + */ proxy_userpwd?: string; /** - * Proxy protocol type, should be set according to the cURL standard. - * @type {number} - * @memberof FaceApi - */ + * Proxy protocol type, should be set according to the cURL standard. + * @type {number} + * @memberof FaceApi + */ proxy_type?: number; } - - diff --git a/src/models/fdsidlist.ts b/src/models/fdsidlist.ts index 9562ff27..f6897fe0 100644 --- a/src/models/fdsidlist.ts +++ b/src/models/fdsidlist.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,81 +13,85 @@ */ -import { DocumentFormat } from './document-format'; -import { DocumentType } from './document-type'; +import type { DocumentFormat } from './document-format'; +import type { DocumentType } from './document-type'; /** - * Extended document type info and Regula\'s \'Information Reference Systems\' links - * @export - * @interface FDSIDList - */ +* Extended document type info and Regula\'s \'Information Reference Systems\' links +* @export +* @interface FDSIDList +*/ export interface FDSIDList { /** - * ICAO code of the issuing country - * @type {string} - * @memberof FDSIDList - */ - ICAOCode?: string; + * ICAO code of the issuing country + * @type {string} + * @memberof FDSIDList + */ + ICAOCode: string; + /** + * Number of elements in the List + * @type {number} + * @memberof FDSIDList + */ + Count: number; /** - * Document identifiers in \'Information Reference Systems\' - * @type {Array} - * @memberof FDSIDList - */ - List?: Array; + * Document identifiers in \'Information Reference Systems\' + * @type {Array} + * @memberof FDSIDList + */ + List: Array; /** - * - * @type {DocumentType} - * @memberof FDSIDList - */ - dType?: DocumentType; + * + * @type {DocumentType} + * @memberof FDSIDList + */ + dType: DocumentType; /** - * - * @type {DocumentFormat} - * @memberof FDSIDList - */ - dFormat?: DocumentFormat; + * + * @type {DocumentFormat} + * @memberof FDSIDList + */ + dFormat: DocumentFormat; /** - * Flag indicating the presence of MRZ on the document - * @type {boolean} - * @memberof FDSIDList - */ - dMRZ?: boolean; + * Flag indicating the presence of MRZ on the document + * @type {boolean} + * @memberof FDSIDList + */ + dMRZ: boolean; /** - * Document description - * @type {string} - * @memberof FDSIDList - */ + * Document description + * @type {string} + * @memberof FDSIDList + */ dDescription?: string; /** - * Year of publication of the document - * @type {string} - * @memberof FDSIDList - */ - dYear?: string; + * Year of publication of the document + * @type {string} + * @memberof FDSIDList + */ + dYear: string; /** - * Issuing country name - * @type {string} - * @memberof FDSIDList - */ - dCountryName?: string; + * Issuing country name + * @type {string} + * @memberof FDSIDList + */ + dCountryName: string; /** - * Issuing state code - * @type {string} - * @memberof FDSIDList - */ + * Issuing state code + * @type {string} + * @memberof FDSIDList + */ dStateCode?: string; /** - * Issuing state name - * @type {string} - * @memberof FDSIDList - */ + * Issuing state name + * @type {string} + * @memberof FDSIDList + */ dStateName?: string; /** - * Whether the document is deprecated - * @type {boolean} - * @memberof FDSIDList - */ - isDeprecated?: boolean; + * Whether the document is deprecated + * @type {boolean} + * @memberof FDSIDList + */ + isDeprecated: boolean; } - - diff --git a/src/models/fiber-result-all-of.ts b/src/models/fiber-result-all-of.ts index b6584a79..d457bcdd 100644 --- a/src/models/fiber-result-all-of.ts +++ b/src/models/fiber-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,69 +13,67 @@ */ -import { Light } from './light'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * - * @export - * @interface FiberResultAllOf - */ +* +* @export +* @interface FiberResultAllOf +*/ export interface FiberResultAllOf { /** - * For UV_Fibers authenticity result type - * @type {number} - * @memberof FiberResultAllOf - */ - RectCount?: number; + * For UV_Fibers authenticity result type + * @type {number} + * @memberof FiberResultAllOf + */ + RectCount: number; /** - * Expected fibers number. For UV_Fibers authentication result type - * @type {number} - * @memberof FiberResultAllOf - */ - ExpectedCount?: number; + * Expected fibers number. For UV_Fibers authentication result type + * @type {number} + * @memberof FiberResultAllOf + */ + ExpectedCount: number; /** - * - * @type {Light} - * @memberof FiberResultAllOf - */ + * + * @type {Light} + * @memberof FiberResultAllOf + */ LightValue?: Light; /** - * For UV_Background authentication result type - * @type {number} - * @memberof FiberResultAllOf - */ + * For UV_Background authentication result type + * @type {number} + * @memberof FiberResultAllOf + */ LightDisp?: number; /** - * Coordinates of located areas for defined fibers type - * @type {Array} - * @memberof FiberResultAllOf - */ - RectArray?: Array; + * Coordinates of located areas for defined fibers type + * @type {Array} + * @memberof FiberResultAllOf + */ + RectArray: Array; /** - * Fibers width value for located areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ - Width?: Array; + * Fibers width value for located areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ + Width: Array; /** - * Fibers length value for located areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ - Length?: Array; + * Fibers length value for located areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ + Length: Array; /** - * Fibers value for areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ - Area?: Array; + * Fibers value for areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ + Area: Array; /** - * Fibers color value - * @type {Array} - * @memberof FiberResultAllOf - */ - ColorValues?: Array; + * Fibers color value + * @type {Array} + * @memberof FiberResultAllOf + */ + ColorValues: Array; } - - diff --git a/src/models/fiber-result.ts b/src/models/fiber-result.ts index 66140e0b..38af3ad5 100644 --- a/src/models/fiber-result.ts +++ b/src/models/fiber-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,16 +13,12 @@ */ -import { AuthenticityCheckResultItem } from './authenticity-check-result-item'; -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { FiberResultAllOf } from './fiber-result-all-of'; -import { IdentResult } from './ident-result'; -import { Light } from './light'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResult } from './photo-ident-result'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureResult } from './security-feature-result'; +import type { AuthenticityCheckResultItem } from './authenticity-check-result-item'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; +import type { FiberResultAllOf } from './fiber-result-all-of'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @type FiberResult @@ -30,5 +26,3 @@ import { SecurityFeatureResult } from './security-feature-result'; */ export type FiberResult = AuthenticityCheckResultItem & FiberResultAllOf; - - diff --git a/src/models/field-source.ts b/src/models/field-source.ts deleted file mode 100755 index 485a6f05..00000000 --- a/src/models/field-source.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ -export enum FieldSource { - MRZ = 'MRZ', - RFID = 'RFID', - BARCODE = 'BARCODE', - VISUAL = 'VISUAL' -} - - - diff --git a/src/models/get-transactions-by-tag-response.ts b/src/models/get-transactions-by-tag-response.ts index 4cbe2a45..49cd36c8 100644 --- a/src/models/get-transactions-by-tag-response.ts +++ b/src/models/get-transactions-by-tag-response.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,29 +15,27 @@ /** - * - * @export - * @interface GetTransactionsByTagResponse - */ +* +* @export +* @interface GetTransactionsByTagResponse +*/ export interface GetTransactionsByTagResponse { /** - * Transaction id - * @type {number} - * @memberof GetTransactionsByTagResponse - */ + * Transaction id + * @type {number} + * @memberof GetTransactionsByTagResponse + */ id?: number; /** - * Transaction status - * @type {number} - * @memberof GetTransactionsByTagResponse - */ + * Transaction status + * @type {number} + * @memberof GetTransactionsByTagResponse + */ state?: number; /** - * Last time updated - * @type {string} - * @memberof GetTransactionsByTagResponse - */ + * Last time updated + * @type {string} + * @memberof GetTransactionsByTagResponse + */ updatedAt?: string; } - - diff --git a/src/models/graphic-field-rect.ts b/src/models/graphic-field-rect.ts new file mode 100644 index 00000000..024b25df --- /dev/null +++ b/src/models/graphic-field-rect.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { DocVisualExtendedFieldRectAllOf } from './doc-visual-extended-field-rect-all-of'; +import type { GraphicField } from './graphic-field'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { ImageData } from './image-data'; +import type { RectangleCoordinates } from './rectangle-coordinates'; + +/** + * @type GraphicFieldRect + * Information about one graphic field, which is a rectangle + * @export + */ +export type GraphicFieldRect = DocVisualExtendedFieldRectAllOf & GraphicField; + diff --git a/src/models/graphic-field-rfid-all-of.ts b/src/models/graphic-field-rfid-all-of.ts new file mode 100644 index 00000000..0c7779e2 --- /dev/null +++ b/src/models/graphic-field-rfid-all-of.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; + +/** +* +* @export +* @interface GraphicFieldRfidAllOf +*/ +export interface GraphicFieldRfidAllOf { + /** + * + * @type {RfidDataGroupTypeTag} + * @memberof GraphicFieldRfidAllOf + */ + RFID_OriginDG?: RfidDataGroupTypeTag; + /** + * Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ + RFID_OriginDGTag?: number; + /** + * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ + RFID_OriginTagEntry?: number; + /** + * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ + RFID_OriginEntryView?: number; +} diff --git a/src/models/original-graphics-result.ts b/src/models/graphic-field-rfid.ts similarity index 60% rename from src/models/original-graphics-result.ts rename to src/models/graphic-field-rfid.ts index b0e9c7b0..7c311055 100644 --- a/src/models/original-graphics-result.ts +++ b/src/models/graphic-field-rfid.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,16 @@ */ -import { TOriginalRFIDGraphics } from './toriginal-rfidgraphics'; +import type { GraphicField } from './graphic-field'; +import type { GraphicFieldRfidAllOf } from './graphic-field-rfid-all-of'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { ImageData } from './image-data'; +import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; /** - * + * @type GraphicFieldRfid + * Information about one graphic field, which is a RFID * @export - * @interface OriginalGraphicsResult */ -export interface OriginalGraphicsResult { - /** - * Count of array fields - * @type {number} - * @memberof OriginalGraphicsResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof OriginalGraphicsResult - */ - pArrayFields?: Array; -} - +export type GraphicFieldRfid = GraphicField & GraphicFieldRfidAllOf; diff --git a/src/models/graphic-field-type.ts b/src/models/graphic-field-type.ts old mode 100755 new mode 100644 index f7ba5478..3f39de22 --- a/src/models/graphic-field-type.ts +++ b/src/models/graphic-field-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,116 +15,121 @@ /** - * - * @export - * @enum {string} - */ -export enum GraphicFieldType { +* +* @export +* @enum {string} +*/ + +export const GraphicFieldType = { /** * Document holder photo */ - PORTRAIT = 201, + PORTRAIT: 201, /** * Fingerprint of document holder */ - FINGERPRINT = 202, + FINGERPRINT: 202, /** * Image of the iris of document holder */ - EYE = 203, + EYE: 203, /** * Signature of document holder */ - SIGNATURE = 204, + SIGNATURE: 204, /** * Barcode image */ - BAR_CODE = 205, + BAR_CODE: 205, /** * Image of document confirming owner citizenship */ - PROOF_OF_CITIZENSHIP = 206, + PROOF_OF_CITIZENSHIP: 206, /** * Cropped and rotated with perspective compensation (front side) of a document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most coordinates in other types defined on that image. */ - DOCUMENT_FRONT = 207, + DOCUMENT_FRONT: 207, /** * Image of the rear side of the document */ - DOCUMENT_REAR = 208, + DOCUMENT_REAR: 208, /** * Area with dynamic color change */ - COLOR_DYNAMIC = 209, + COLOR_DYNAMIC: 209, /** * Additional Portrait */ - GHOST_PORTRAIT = 210, + GHOST_PORTRAIT: 210, /** * Stamp */ - STAMP = 211, + STAMP: 211, + /** + * Portrait of child + */ + PORTRAIT_OF_CHILD: 212, /** * Contact chip */ - CONTACT_CHIP = 213, + CONTACT_CHIP: 213, /** * Undefined image type */ - OTHER = 250, + OTHER: 250, /** * Fingerprint (thumb, left hand) */ - FINGER_LEFT_THUMB = 300, + FINGER_LEFT_THUMB: 300, /** * Fingerprint (index, left hand) */ - FINGER_LEFT_INDEX = 301, + FINGER_LEFT_INDEX: 301, /** * Fingerprint (middle, left hand) */ - FINGER_LEFT_MIDDLE = 302, + FINGER_LEFT_MIDDLE: 302, /** * Fingerprint (ring, left hand) */ - FINGER_LEFT_RING = 303, + FINGER_LEFT_RING: 303, /** * Fingerprint (little, left hand) */ - FINGER_LEFT_LITTLE = 304, + FINGER_LEFT_LITTLE: 304, /** * Fingerprint (thumb, right hand) */ - FINGER_RIGHT_THUMB = 305, + FINGER_RIGHT_THUMB: 305, /** * Fingerprint (index, right hand) */ - FINGER_RIGHT_INDEX = 306, + FINGER_RIGHT_INDEX: 306, /** * Fingerprint (middle, right hand) */ - FINGER_RIGHT_MIDDLE = 307, + FINGER_RIGHT_MIDDLE: 307, /** * Fingerprint (ring, right hand) */ - FINGER_RIGHT_RING = 308, + FINGER_RIGHT_RING: 308, /** * Fingerprint (little, right hand) */ - FINGER_RIGHT_LITTLE = 309, + FINGER_RIGHT_LITTLE: 309, /** * Fingerprint (four without thumb on right hand) */ - FINGER_RIGHT_FOUR_FINGERS = 313, + FINGER_RIGHT_FOUR_FINGERS: 313, /** * Fingerprint (four without thumb on left hand */ - FINGER_LEFT_FOUR_FINGERS = 314, + FINGER_LEFT_FOUR_FINGERS: 314, /** * Fingerprint (two thumbs) */ - FINGER_TWO_THUMBS = 315 -} - + FINGER_TWO_THUMBS: 315 +} as const; +export type GraphicFieldType = typeof GraphicFieldType[keyof typeof GraphicFieldType]; diff --git a/src/models/graphic-field.ts b/src/models/graphic-field.ts old mode 100755 new mode 100644 index bc8a335a..1bf5be24 --- a/src/models/graphic-field.ts +++ b/src/models/graphic-field.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,58 +13,31 @@ */ -import { GraphicFieldType } from './graphic-field-type'; -import { ImageData } from './image-data'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { ImageData } from './image-data'; /** - * - * @export - * @interface GraphicField - */ +* Information about one graphic field - abstract class +* @export +* @interface GraphicField +*/ export interface GraphicField { /** - * - * @type {GraphicFieldType} - * @memberof GraphicField - */ + * + * @type {GraphicFieldType} + * @memberof GraphicField + */ FieldType: GraphicFieldType; /** - * - * @type {ImageData} - * @memberof GraphicField - */ - image: ImageData; - /** - * - * @type {RectangleCoordinates} - * @memberof GraphicField - */ - FieldRect?: RectangleCoordinates; - /** - * Source data group file. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicField - */ - RFID_OriginDG?: number; + * Graphic field symbolic name + * @type {string} + * @memberof GraphicField + */ + FieldName: string; /** - * Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicField - */ - RFID_OriginDGTag?: number; - /** - * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicField - */ - RFID_OriginTagEntry?: number; - /** - * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicField - */ - RFID_OriginEntryView?: number; + * + * @type {ImageData} + * @memberof GraphicField + */ + image: ImageData; } - - diff --git a/src/models/graphic-fields-list.ts b/src/models/graphic-fields-list.ts old mode 100755 new mode 100644 index 54eb74ba..0ac85836 --- a/src/models/graphic-fields-list.ts +++ b/src/models/graphic-fields-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,25 @@ */ -import { GraphicField } from './graphic-field'; +import type { GraphicFieldRect } from './graphic-field-rect'; +import type { GraphicFieldRfid } from './graphic-field-rfid'; /** - * - * @export - * @interface GraphicFieldsList - */ +* +* @export +* @interface GraphicFieldsList +*/ export interface GraphicFieldsList { /** - * - * @type {Array} - * @memberof GraphicFieldsList - */ - pArrayFields: Array; + * + * @type {Array} + * @memberof GraphicFieldsList + */ + pArrayFields: Array; + /** + * Number of pArrayFields array elements + * @type {number} + * @memberof GraphicFieldsList + */ + nFields: number; } - - diff --git a/src/models/graphics-result-all-of.ts b/src/models/graphics-result-all-of.ts old mode 100755 new mode 100644 index b1695edc..4f90348c --- a/src/models/graphics-result-all-of.ts +++ b/src/models/graphics-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { GraphicFieldsList } from './graphic-fields-list'; +import type { GraphicFieldsList } from './graphic-fields-list'; /** - * - * @export - * @interface GraphicsResultAllOf - */ +* +* @export +* @interface GraphicsResultAllOf +*/ export interface GraphicsResultAllOf { /** - * - * @type {GraphicFieldsList} - * @memberof GraphicsResultAllOf - */ + * + * @type {GraphicFieldsList} + * @memberof GraphicsResultAllOf + */ DocGraphicsInfo?: GraphicFieldsList; } - - diff --git a/src/models/graphics-result.ts b/src/models/graphics-result.ts old mode 100755 new mode 100644 index 5975adfa..b9367cd8 --- a/src/models/graphics-result.ts +++ b/src/models/graphics-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicFieldsList } from './graphic-fields-list'; -import { GraphicsResultAllOf } from './graphics-result-all-of'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { GraphicFieldsList } from './graphic-fields-list'; +import type { GraphicsResultAllOf } from './graphics-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type GraphicsResult @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type GraphicsResult = GraphicsResultAllOf & ResultItem; - - diff --git a/src/models/ident-result-all-of.ts b/src/models/ident-result-all-of.ts index a8bc8b7a..3f9130fa 100644 --- a/src/models/ident-result-all-of.ts +++ b/src/models/ident-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,54 +13,52 @@ */ -import { AreaContainer } from './area-container'; -import { ImageData } from './image-data'; -import { Light } from './light'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureType } from './security-feature-type'; +import type { AreaContainer } from './area-container'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { SecurityFeatureType } from './security-feature-type'; /** - * - * @export - * @interface IdentResultAllOf - */ +* +* @export +* @interface IdentResultAllOf +*/ export interface IdentResultAllOf { /** - * - * @type {SecurityFeatureType} - * @memberof IdentResultAllOf - */ - ElementType?: SecurityFeatureType; + * + * @type {SecurityFeatureType} + * @memberof IdentResultAllOf + */ + ElementType: SecurityFeatureType; /** - * - * @type {Light} - * @memberof IdentResultAllOf - */ - LightIndex?: Light; + * + * @type {Light} + * @memberof IdentResultAllOf + */ + LightIndex: Light; /** - * - * @type {RectangleCoordinates} - * @memberof IdentResultAllOf - */ - Area?: RectangleCoordinates; + * + * @type {RectangleCoordinates} + * @memberof IdentResultAllOf + */ + Area: RectangleCoordinates; /** - * - * @type {ImageData} - * @memberof IdentResultAllOf - */ - Image?: ImageData; + * + * @type {ImageData} + * @memberof IdentResultAllOf + */ + Image: ImageData; /** - * - * @type {ImageData} - * @memberof IdentResultAllOf - */ - EtalonImage?: ImageData; + * + * @type {ImageData} + * @memberof IdentResultAllOf + */ + EtalonImage: ImageData; /** - * - * @type {AreaContainer} - * @memberof IdentResultAllOf - */ + * + * @type {AreaContainer} + * @memberof IdentResultAllOf + */ AreaList?: AreaContainer; } - - diff --git a/src/models/ident-result.ts b/src/models/ident-result.ts index 69bb7c4e..078b3d68 100644 --- a/src/models/ident-result.ts +++ b/src/models/ident-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,19 +13,15 @@ */ -import { AreaContainer } from './area-container'; -import { AuthenticityCheckResultItem } from './authenticity-check-result-item'; -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { FiberResult } from './fiber-result'; -import { IdentResultAllOf } from './ident-result-all-of'; -import { ImageData } from './image-data'; -import { Light } from './light'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResult } from './photo-ident-result'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureResult } from './security-feature-result'; -import { SecurityFeatureType } from './security-feature-type'; +import type { AreaContainer } from './area-container'; +import type { AuthenticityCheckResultItem } from './authenticity-check-result-item'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; +import type { IdentResultAllOf } from './ident-result-all-of'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { SecurityFeatureType } from './security-feature-type'; /** * @type IdentResult @@ -33,5 +29,3 @@ import { SecurityFeatureType } from './security-feature-type'; */ export type IdentResult = AuthenticityCheckResultItem & IdentResultAllOf; - - diff --git a/src/models/image-data.ts b/src/models/image-data.ts old mode 100755 new mode 100644 index c94ef3bf..2f6a3efb --- a/src/models/image-data.ts +++ b/src/models/image-data.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,17 +15,15 @@ /** - * - * @export - * @interface ImageData - */ +* +* @export +* @interface ImageData +*/ export interface ImageData { /** - * Base64 encoded image - * @type {string} - * @memberof ImageData - */ + * Base64 encoded image + * @type {string} + * @memberof ImageData + */ image: string; } - - diff --git a/src/models/image-qa.ts b/src/models/image-qa.ts index 8ae5e6ed..685d30d8 100644 --- a/src/models/image-qa.ts +++ b/src/models/image-qa.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,53 +15,57 @@ /** - * - * @export - * @interface ImageQA - */ +* +* @export +* @interface ImageQA +*/ export interface ImageQA { /** - * Set the threshold for an actual document brightness below which the check fails - * @type {number} - * @memberof ImageQA - */ + * Set the threshold for an actual document brightness below which the check fails + * @type {number} + * @memberof ImageQA + */ brightnessThreshold?: number; /** - * This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail. - * @type {number} - * @memberof ImageQA - */ + * This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail. + * @type {number} + * @memberof ImageQA + */ dpiThreshold?: number; /** - * This parameter sets threshold for Image QA check of the presented document perspective angle in degrees. If actual document perspective angle is above this threshold, check will fail. - * @type {number} - * @memberof ImageQA - */ + * This parameter sets threshold for Image QA check of the presented document perspective angle in degrees. If actual document perspective angle is above this threshold, check will fail. + * @type {number} + * @memberof ImageQA + */ angleThreshold?: number; /** - * This option enables focus check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables focus check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ focusCheck?: boolean; /** - * This option enables glares check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables glares check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ glaresCheck?: boolean; /** - * This option enables colorness check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables colorness check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ colornessCheck?: boolean; /** - * This parameter specifies the necessary margin. Default 0. - * @type {number} - * @memberof ImageQA - */ + * This option enables screen capture (moire patterns) check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ + moireCheck?: boolean; + /** + * This parameter specifies the necessary margin. Default 0. + * @type {number} + * @memberof ImageQA + */ documentPositionIndent?: number; } - - diff --git a/src/models/image-quality-check-list.ts b/src/models/image-quality-check-list.ts index 62397ab3..c00b585e 100644 --- a/src/models/image-quality-check-list.ts +++ b/src/models/image-quality-check-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,31 @@ */ -import { CheckResult } from './check-result'; -import { ImageQualityCheck } from './image-quality-check'; +import type { CheckResult } from './check-result'; +import type { ImageQualityCheck } from './image-quality-check'; /** - * - * @export - * @interface ImageQualityCheckList - */ +* +* @export +* @interface ImageQualityCheckList +*/ export interface ImageQualityCheckList { /** - * - * @type {CheckResult} - * @memberof ImageQualityCheckList - */ + * + * @type {CheckResult} + * @memberof ImageQualityCheckList + */ result: CheckResult; /** - * - * @type {Array} - * @memberof ImageQualityCheckList - */ + * + * @type {Array} + * @memberof ImageQualityCheckList + */ List: Array; + /** + * Number of List array elements + * @type {number} + * @memberof ImageQualityCheckList + */ + Count: number; } - - diff --git a/src/models/image-quality-check-type.ts b/src/models/image-quality-check-type.ts index 40e33e85..6a9b97fd 100644 --- a/src/models/image-quality-check-type.ts +++ b/src/models/image-quality-check-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,44 +15,45 @@ /** - * Image quality check type - * @export - * @enum {string} - */ -export enum ImageQualityCheckType { +* Image quality check type +* @export +* @enum {string} +*/ + +export const ImageQualityCheckType = { /** * Signals glare presence on the image */ - ImageGlares = 0, + ImageGlares: 0, /** * Signals whether image is in focus */ - ImageFocus = 1, + ImageFocus: 1, /** * Signals if image resolution is below threshold */ - ImageResolution = 2, + ImageResolution: 2, /** * Signals if image is colorless */ - ImageColorness = 3, + ImageColorness: 3, /** * Signals if document in the image has prespective distortion above threshold */ - Perspective = 4, + Perspective: 4, /** * Signals if document is not fully present in the image */ - Bounds = 5, + Bounds: 5, /** * Signals if the portrait is present */ - Portrait = 7, + Portrait: 7, /** * Signals if the document image is bright enough */ - Brightness = 9 -} - + Brightness: 9 +} as const; +export type ImageQualityCheckType = typeof ImageQualityCheckType[keyof typeof ImageQualityCheckType]; diff --git a/src/models/image-quality-check.ts b/src/models/image-quality-check.ts index b10974d0..ae90032e 100644 --- a/src/models/image-quality-check.ts +++ b/src/models/image-quality-check.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,59 +13,57 @@ */ -import { AreaArray } from './area-array'; -import { CheckResult } from './check-result'; -import { ImageQualityCheckType } from './image-quality-check-type'; -import { SecurityFeatureType } from './security-feature-type'; +import type { AreaArray } from './area-array'; +import type { CheckResult } from './check-result'; +import type { ImageQualityCheckType } from './image-quality-check-type'; +import type { SecurityFeatureType } from './security-feature-type'; /** - * - * @export - * @interface ImageQualityCheck - */ +* +* @export +* @interface ImageQualityCheck +*/ export interface ImageQualityCheck { /** - * - * @type {ImageQualityCheckType} - * @memberof ImageQualityCheck - */ - type?: ImageQualityCheckType; + * + * @type {ImageQualityCheckType} + * @memberof ImageQualityCheck + */ + type: ImageQualityCheckType; /** - * - * @type {CheckResult} - * @memberof ImageQualityCheck - */ - result?: CheckResult; + * + * @type {CheckResult} + * @memberof ImageQualityCheck + */ + result: CheckResult; /** - * - * @type {SecurityFeatureType} - * @memberof ImageQualityCheck - */ - featureType?: SecurityFeatureType; + * + * @type {SecurityFeatureType} + * @memberof ImageQualityCheck + */ + featureType: SecurityFeatureType; /** - * - * @type {AreaArray} - * @memberof ImageQualityCheck - */ + * + * @type {AreaArray} + * @memberof ImageQualityCheck + */ areas?: AreaArray; /** - * - * @type {number} - * @memberof ImageQualityCheck - */ - mean?: number; + * Check mean value + * @type {number} + * @memberof ImageQualityCheck + */ + mean: number; /** - * - * @type {number} - * @memberof ImageQualityCheck - */ - std_dev?: number; + * Check deviation value + * @type {number} + * @memberof ImageQualityCheck + */ + std_dev: number; /** - * - * @type {number} - * @memberof ImageQualityCheck - */ - probability?: number; + * Check probability value + * @type {number} + * @memberof ImageQualityCheck + */ + probability: number; } - - diff --git a/src/models/image-quality-result-all-of.ts b/src/models/image-quality-result-all-of.ts index ebd2d8a6..fbe72093 100644 --- a/src/models/image-quality-result-all-of.ts +++ b/src/models/image-quality-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ImageQualityCheckList } from './image-quality-check-list'; +import type { ImageQualityCheckList } from './image-quality-check-list'; /** - * - * @export - * @interface ImageQualityResultAllOf - */ +* +* @export +* @interface ImageQualityResultAllOf +*/ export interface ImageQualityResultAllOf { /** - * - * @type {ImageQualityCheckList} - * @memberof ImageQualityResultAllOf - */ + * + * @type {ImageQualityCheckList} + * @memberof ImageQualityResultAllOf + */ ImageQualityCheckList: ImageQualityCheckList; } - - diff --git a/src/models/image-quality-result.ts b/src/models/image-quality-result.ts index 444ea676..95dcb76b 100644 --- a/src/models/image-quality-result.ts +++ b/src/models/image-quality-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityCheckList } from './image-quality-check-list'; -import { ImageQualityResultAllOf } from './image-quality-result-all-of'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { ImageQualityCheckList } from './image-quality-check-list'; +import type { ImageQualityResultAllOf } from './image-quality-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type ImageQualityResult @@ -37,5 +23,3 @@ import { TextResult } from './text-result'; */ export type ImageQualityResult = ImageQualityResultAllOf & ResultItem; - - diff --git a/src/models/image-transaction-data.ts b/src/models/image-transaction-data.ts index a676fa81..08d39c46 100644 --- a/src/models/image-transaction-data.ts +++ b/src/models/image-transaction-data.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ImagesFieldValue } from './images-field-value'; +import type { ImagesFieldValue } from './images-field-value'; /** - * - * @export - * @interface ImageTransactionData - */ +* +* @export +* @interface ImageTransactionData +*/ export interface ImageTransactionData { /** - * - * @type {ImagesFieldValue} - * @memberof ImageTransactionData - */ + * + * @type {ImagesFieldValue} + * @memberof ImageTransactionData + */ image?: ImagesFieldValue; } - - diff --git a/src/models/images-available-source.ts b/src/models/images-available-source.ts old mode 100755 new mode 100644 index ed1f1203..cdb92f48 --- a/src/models/images-available-source.ts +++ b/src/models/images-available-source.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { Source } from './source'; +import type { Source } from './source'; /** - * - * @export - * @interface ImagesAvailableSource - */ +* +* @export +* @interface ImagesAvailableSource +*/ export interface ImagesAvailableSource { /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ImagesAvailableSource - */ - containerType?: number; + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ImagesAvailableSource + */ + containerType: number; /** - * - * @type {Source} - * @memberof ImagesAvailableSource - */ + * + * @type {Source} + * @memberof ImagesAvailableSource + */ source: Source; } - - diff --git a/src/models/images-field-value.ts b/src/models/images-field-value.ts old mode 100755 new mode 100644 index 3445b726..a7f35b58 --- a/src/models/images-field-value.ts +++ b/src/models/images-field-value.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,71 +13,69 @@ */ -import { Light } from './light'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { RfidOrigin } from './rfid-origin'; -import { Source } from './source'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { RfidOrigin } from './rfid-origin'; +import type { Source } from './source'; /** - * - * @export - * @interface ImagesFieldValue - */ +* +* @export +* @interface ImagesFieldValue +*/ export interface ImagesFieldValue { /** - * - * @type {Source} - * @memberof ImagesFieldValue - */ + * + * @type {Source} + * @memberof ImagesFieldValue + */ source: Source; /** - * Base64 encoded image - * @type {string} - * @memberof ImagesFieldValue - */ - value: string; + * Base64 encoded image + * @type {string} + * @memberof ImagesFieldValue + */ + value?: string; /** - * Base64 encoded image - * @type {string} - * @memberof ImagesFieldValue - */ + * Base64 encoded image + * @type {string} + * @memberof ImagesFieldValue + */ originalValue?: string; /** - * Original page index - * @type {number} - * @memberof ImagesFieldValue - */ + * Original page index + * @type {number} + * @memberof ImagesFieldValue + */ originalPageIndex?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof ImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof ImagesFieldValue + */ pageIndex: number; /** - * - * @type {Light} - * @memberof ImagesFieldValue - */ + * + * @type {Light} + * @memberof ImagesFieldValue + */ lightIndex: Light; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ImagesFieldValue - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ImagesFieldValue + */ containerType: number; /** - * - * @type {RectangleCoordinates} - * @memberof ImagesFieldValue - */ + * + * @type {RectangleCoordinates} + * @memberof ImagesFieldValue + */ fieldRect?: RectangleCoordinates; /** - * - * @type {RfidOrigin} - * @memberof ImagesFieldValue - */ + * + * @type {RfidOrigin} + * @memberof ImagesFieldValue + */ rfidOrigin?: RfidOrigin; } - - diff --git a/src/models/images-field.ts b/src/models/images-field.ts old mode 100755 new mode 100644 index cd97af31..e006b972 --- a/src/models/images-field.ts +++ b/src/models/images-field.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,33 +13,37 @@ */ -import { GraphicFieldType } from './graphic-field-type'; -import { ImagesFieldValue } from './images-field-value'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { ImagesFieldValue } from './images-field-value'; /** - * - * @export - * @interface ImagesField - */ +* +* @export +* @interface ImagesField +*/ export interface ImagesField { /** - * Human readable field name. Do not bind to this name - use GraphicFieldType instead. - * @type {string} - * @memberof ImagesField - */ + * Human readable field name. Do not bind to this name - use GraphicFieldType instead. + * @type {string} + * @memberof ImagesField + */ fieldName: string; /** - * - * @type {GraphicFieldType} - * @memberof ImagesField - */ + * + * @type {GraphicFieldType} + * @memberof ImagesField + */ fieldType: GraphicFieldType; /** - * - * @type {Array} - * @memberof ImagesField - */ + * + * @type {Array} + * @memberof ImagesField + */ valueList: Array; + /** + * Field value count + * @type {number} + * @memberof ImagesField + */ + valueCount: number; } - - diff --git a/src/models/images-result-all-of.ts b/src/models/images-result-all-of.ts old mode 100755 new mode 100644 index 54de046c..2ce23116 --- a/src/models/images-result-all-of.ts +++ b/src/models/images-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { Images } from './images'; +import type { Images } from './images'; /** - * - * @export - * @interface ImagesResultAllOf - */ +* +* @export +* @interface ImagesResultAllOf +*/ export interface ImagesResultAllOf { /** - * - * @type {Images} - * @memberof ImagesResultAllOf - */ + * + * @type {Images} + * @memberof ImagesResultAllOf + */ Images: Images; } - - diff --git a/src/models/images-result.ts b/src/models/images-result.ts old mode 100755 new mode 100644 index 0b758949..ff468fda --- a/src/models/images-result.ts +++ b/src/models/images-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { Images } from './images'; -import { ImagesResultAllOf } from './images-result-all-of'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { Images } from './images'; +import type { ImagesResultAllOf } from './images-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type ImagesResult @@ -37,5 +23,3 @@ import { TextResult } from './text-result'; */ export type ImagesResult = ImagesResultAllOf & ResultItem; - - diff --git a/src/models/images.ts b/src/models/images.ts old mode 100755 new mode 100644 index dea810f0..3429a2b3 --- a/src/models/images.ts +++ b/src/models/images.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,37 @@ */ -import { ImagesAvailableSource } from './images-available-source'; -import { ImagesField } from './images-field'; +import type { ImagesAvailableSource } from './images-available-source'; +import type { ImagesField } from './images-field'; /** - * - * @export - * @interface Images - */ +* +* @export +* @interface Images +*/ export interface Images { /** - * - * @type {Array} - * @memberof Images - */ + * Fields count + * @type {number} + * @memberof Images + */ + fieldCount: number; + /** + * Available sources count + * @type {number} + * @memberof Images + */ + availableSourceCount: number; + /** + * + * @type {Array} + * @memberof Images + */ availableSourceList: Array; /** - * - * @type {Array} - * @memberof Images - */ + * + * @type {Array} + * @memberof Images + */ fieldList: Array; } - - diff --git a/src/models/in-data-transaction-images-field-value.ts b/src/models/in-data-transaction-images-field-value.ts index d570e6d3..c8cbec18 100644 --- a/src/models/in-data-transaction-images-field-value.ts +++ b/src/models/in-data-transaction-images-field-value.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,38 +13,36 @@ */ -import { Light } from './light'; +import type { Light } from './light'; /** - * - * @export - * @interface InDataTransactionImagesFieldValue - */ +* +* @export +* @interface InDataTransactionImagesFieldValue +*/ export interface InDataTransactionImagesFieldValue { /** - * - * @type {Light} - * @memberof InDataTransactionImagesFieldValue - */ + * + * @type {Light} + * @memberof InDataTransactionImagesFieldValue + */ light?: Light; /** - * - * @type {number} - * @memberof InDataTransactionImagesFieldValue - */ + * + * @type {number} + * @memberof InDataTransactionImagesFieldValue + */ listIdx?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof InDataTransactionImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof InDataTransactionImagesFieldValue + */ pageIdx?: number; /** - * Image url - * @type {string} - * @memberof InDataTransactionImagesFieldValue - */ + * Image url + * @type {string} + * @memberof InDataTransactionImagesFieldValue + */ url?: string; } - - diff --git a/src/models/in-data-video.ts b/src/models/in-data-video.ts index 8a3fa3ef..2c41c00c 100644 --- a/src/models/in-data-video.ts +++ b/src/models/in-data-video.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,23 +15,21 @@ /** - * Video - * @export - * @interface InDataVideo - */ +* Video +* @export +* @interface InDataVideo +*/ export interface InDataVideo { /** - * A free-form object containing video\'s extended attributes. - * @type {{ [key: string]: object; }} - * @memberof InDataVideo - */ + * A free-form object containing video\'s extended attributes. + * @type {{ [key: string]: object; }} + * @memberof InDataVideo + */ metadata?: { [key: string]: object; }; /** - * Video url - * @type {string} - * @memberof InDataVideo - */ + * Video url + * @type {string} + * @memberof InDataVideo + */ url?: string; } - - diff --git a/src/models/in-data.ts b/src/models/in-data.ts index 5f3c5039..9c52297f 100644 --- a/src/models/in-data.ts +++ b/src/models/in-data.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,25 @@ */ -import { InDataTransactionImagesFieldValue } from './in-data-transaction-images-field-value'; -import { InDataVideo } from './in-data-video'; +import type { InDataTransactionImagesFieldValue } from './in-data-transaction-images-field-value'; +import type { InDataVideo } from './in-data-video'; /** - * - * @export - * @interface InData - */ +* +* @export +* @interface InData +*/ export interface InData { /** - * - * @type {InDataVideo} - * @memberof InData - */ + * + * @type {InDataVideo} + * @memberof InData + */ video?: InDataVideo; /** - * - * @type {Array} - * @memberof InData - */ + * + * @type {Array} + * @memberof InData + */ images?: Array; } - - diff --git a/src/models/index.ts b/src/models/index.ts old mode 100755 new mode 100644 index 8cd037a7..5d28b209 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -7,8 +7,11 @@ export * from './authenticity-check-result-item'; export * from './authenticity-result'; export * from './authenticity-result-all-of'; export * from './authenticity-result-type'; +export * from './bar-code-module-type'; +export * from './barcode-type'; export * from './bc-pdf417-info'; export * from './bc-roidetect'; +export * from './binary-data'; export * from './check-diagnose'; export * from './check-result'; export * from './chosen-document-type'; @@ -25,7 +28,13 @@ export * from './doc-bar-code-info'; export * from './doc-bar-code-info-all-of'; export * from './doc-bar-code-info-fields-list'; export * from './doc-visual-extended-field'; +export * from './doc-visual-extended-field-rect'; +export * from './doc-visual-extended-field-rect-all-of'; +export * from './doc-visual-extended-field-rfid'; +export * from './doc-visual-extended-field-rfid-all-of'; export * from './doc-visual-extended-info'; +export * from './document-binary-info-result'; +export * from './document-binary-info-result-all-of'; export * from './document-format'; export * from './document-image'; export * from './document-image-result'; @@ -39,6 +48,7 @@ export * from './document-types-candidates'; export * from './document-types-candidates-list'; export * from './document-types-candidates-result'; export * from './document-types-candidates-result-all-of'; +export * from './documents-database'; export * from './encrypted-rclresult'; export * from './encrypted-rclresult-all-of'; export * from './fdsidlist'; @@ -48,6 +58,9 @@ export * from './fiber-result'; export * from './fiber-result-all-of'; export * from './get-transactions-by-tag-response'; export * from './graphic-field'; +export * from './graphic-field-rect'; +export * from './graphic-field-rfid'; +export * from './graphic-field-rfid-all-of'; export * from './graphic-field-type'; export * from './graphic-fields-list'; export * from './graphics-result'; @@ -71,8 +84,6 @@ export * from './images-result-all-of'; export * from './in-data'; export * from './in-data-transaction-images-field-value'; export * from './in-data-video'; -export * from './inline-response200'; -export * from './inline-response2001'; export * from './lcid'; export * from './lexical-analysis-result'; export * from './lexical-analysis-result-all-of'; @@ -93,6 +104,7 @@ export * from './original-symbol'; export * from './out-data'; export * from './out-data-transaction-images-field-value'; export * from './parray-field'; +export * from './parsing-error-codes'; export * from './parsing-notification-codes'; export * from './per-document-config'; export * from './photo-ident-result'; @@ -107,12 +119,43 @@ export * from './process-request-image'; export * from './process-response'; export * from './process-system-info'; export * from './processing-status'; +export * from './rfiderror-codes'; +export * from './raw-image-container-field-list'; +export * from './raw-image-container-field-list-all-of'; export * from './raw-image-container-list'; export * from './rectangle-coordinates'; export * from './result'; export * from './result-item'; +export * from './rfid-achip'; +export * from './rfid-access-control-info'; +export * from './rfid-access-control-procedure-type'; +export * from './rfid-access-key'; +export * from './rfid-application'; +export * from './rfid-application-type'; +export * from './rfid-attribute-data'; +export * from './rfid-attribute-name'; +export * from './rfid-authentication-procedure-type'; +export * from './rfid-baud-rate'; +export * from './rfid-card-properties-ext'; +export * from './rfid-certificate-ex'; +export * from './rfid-certificate-origin'; +export * from './rfid-certificate-type'; +export * from './rfid-dg1'; +export * from './rfid-data-file'; +export * from './rfid-data-file-type'; +export * from './rfid-data-group-type-tag'; +export * from './rfid-distinguished-name'; export * from './rfid-location'; export * from './rfid-origin'; +export * from './rfid-password-type'; +export * from './rfid-pki-extension'; +export * from './rfid-security-object'; +export * from './rfid-session-data'; +export * from './rfid-signer-info-ex'; +export * from './rfid-terminal'; +export * from './rfid-terminal-type'; +export * from './rfid-type'; +export * from './rfid-validity'; export * from './scenario'; export * from './security-feature-result'; export * from './security-feature-result-all-of'; @@ -125,6 +168,7 @@ export * from './status-result-all-of'; export * from './string-recognition-result'; export * from './symbol-candidate'; export * from './symbol-recognition-result'; +export * from './tdoc-binary-info'; export * from './text'; export * from './text-available-source'; export * from './text-data-result'; @@ -139,6 +183,11 @@ export * from './transaction-image'; export * from './transaction-info'; export * from './transaction-process-get-response'; export * from './transaction-process-request'; +export * from './transaction-process-response'; +export * from './transaction-process-response-all-of'; +export * from './transaction-process-result'; +export * from './trf-ft-bytes'; +export * from './trf-ft-string'; export * from './verification-result'; export * from './verified-field-map'; export * from './visibility'; diff --git a/src/models/inline-response2001.ts b/src/models/inline-response2001.ts deleted file mode 100644 index 91df427c..00000000 --- a/src/models/inline-response2001.ts +++ /dev/null @@ -1,83 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * 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 - * - * The version of the OpenAPI document: 7.2.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ContainerList } from './container-list'; -import { ProcessingStatus } from './processing-status'; -import { RfidLocation } from './rfid-location'; -import { TransactionInfo } from './transaction-info'; - -/** - * - * @export - * @interface InlineResponse2001 - */ -export interface InlineResponse2001 { - /** - * - * @type {RfidLocation} - * @memberof InlineResponse2001 - */ - ChipPage?: RfidLocation; - /** - * - * @type {ProcessingStatus} - * @memberof InlineResponse2001 - */ - ProcessingFinished?: ProcessingStatus; - /** - * - * @type {ContainerList} - * @memberof InlineResponse2001 - */ - ContainerList?: ContainerList; - /** - * - * @type {TransactionInfo} - * @memberof InlineResponse2001 - */ - TransactionInfo?: TransactionInfo; - /** - * Base64 encoded transaction processing log - * @type {string} - * @memberof InlineResponse2001 - */ - log?: string; - /** - * Free-form object provided in request. See passBackObject property of ProcessRequest. - * @type {{ [key: string]: object; }} - * @memberof InlineResponse2001 - */ - passBackObject?: { [key: string]: object; }; - /** - * - * @type {number} - * @memberof InlineResponse2001 - */ - morePagesAvailable?: number; - /** - * Time the document processing has taken, ms. - * @type {number} - * @memberof InlineResponse2001 - */ - elapsedTime?: number; - /** - * - * @type {number} - * @memberof InlineResponse2001 - */ - CoreLibResultCode?: number; -} - - diff --git a/src/models/lcid.ts b/src/models/lcid.ts old mode 100755 new mode 100644 index b1b36e33..7795d004 --- a/src/models/lcid.ts +++ b/src/models/lcid.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,652 +15,677 @@ /** - * Locale id. Used to tag same typed fields declared in several languages. For example: name can be provided in both native and latin variants. Based on Microsoft locale id (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f). - * @export - * @enum {string} - */ -export enum LCID { +* Locale id. Used to tag same typed fields declared in several languages. For example: name can be provided in both native and latin variants. Based on Microsoft locale id (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f). +* @export +* @enum {string} +*/ + +export const LCID = { /** * Latin */ - LATIN = 0, + LATIN: 0, /** * Afrikaans */ - AFRIKAANS = 1078, + AFRIKAANS: 1078, /** * Albanian */ - ALBANIAN = 1052, + ALBANIAN: 1052, /** * Arabic (Algeria) */ - ARABIC_ALGERIA = 5121, + ARABIC_ALGERIA: 5121, /** * Arabic (Bahrain) */ - ARABIC_BAHRAIN = 15361, + ARABIC_BAHRAIN: 15361, /** * Arabic (Egypt) */ - ARABIC_EGYPT = 3073, + ARABIC_EGYPT: 3073, /** * Arabic (Iraq) */ - ARABIC_IRAQ = 2049, + ARABIC_IRAQ: 2049, /** * Arabic (Jordan) */ - ARABIC_JORDAN = 11265, + ARABIC_JORDAN: 11265, /** * Arabic (Kuwait) */ - ARABIC_KUWAIT = 13313, + ARABIC_KUWAIT: 13313, /** * Arabic (Lebanon) */ - ARABIC_LEBANON = 12289, + ARABIC_LEBANON: 12289, /** * Arabic (Libya) */ - ARABIC_LIBYA = 4097, + ARABIC_LIBYA: 4097, /** * Arabic (Morocco) */ - ARABIC_MOROCCO = 6145, + ARABIC_MOROCCO: 6145, /** * Arabic (Oman) */ - ARABIC_OMAN = 8193, + ARABIC_OMAN: 8193, /** * Arabic (Qatar) */ - ARABIC_QATAR = 16385, + ARABIC_QATAR: 16385, /** * Arabic (Saudi Arabia) */ - ARABIC_SAUDI_ARABIA = 1025, + ARABIC_SAUDI_ARABIA: 1025, /** * Arabic (Syria) */ - ARABIC_SYRIA = 10241, + ARABIC_SYRIA: 10241, /** * Arabic (Tunisia) */ - ARABIC_TUNISIA = 7169, + ARABIC_TUNISIA: 7169, /** * Arabic (U.A.E.) */ - ARABIC_UAE = 14337, + ARABIC_UAE: 14337, /** * Arabic (Yemen) */ - ARABIC_YEMEN = 9217, + ARABIC_YEMEN: 9217, /** * Armenian */ - ARABIC_ARMENIAN = 1067, + ARABIC_ARMENIAN: 1067, /** * Azeri (Cyrillic) */ - AZERI_CYRILIC = 2092, + AZERI_CYRILIC: 2092, /** * Azeri (Latin) */ - AZERI_LATIN = 1068, + AZERI_LATIN: 1068, /** * Basque */ - BASQUE = 1069, + BASQUE: 1069, /** * Belarusian */ - BELARUSIAN = 1059, + BELARUSIAN: 1059, /** * Bulgarian */ - BULGARIAN = 1026, + BULGARIAN: 1026, /** * Burmese */ - BURMESE = 1109, + BURMESE: 1109, /** * Catalan */ - CATALAN = 1027, + CATALAN: 1027, + /** + * Chinese (HongKong S.A.R.) + */ + CHINESE_HONGKONG_SAR: 3076, + /** + * Chinese (Macao S.A.R.) + */ + CHINESE_MACAO_SAR: 5124, /** * Chinese */ - CHINESE = 2052, + CHINESE: 2052, + /** + * Chinese (Singapore) + */ + CHINESE_SINGAPORE: 4100, + /** + * Chinese (Taiwan) + */ + CHINESE_TAIWAN: 1028, /** * Croatian */ - CROATIAN = 1050, + CROATIAN: 1050, /** * Czech */ - CZECH = 1029, + CZECH: 1029, /** * Danish */ - DANISH = 1030, + DANISH: 1030, + /** + * Divehi + */ + DIVEHI: 1125, /** * Dutch (Belgium) */ - DUTCH_BELGIUM = 2067, + DUTCH_BELGIUM: 2067, /** * Dutch (Netherlands) */ - DUTCH_NETHERLANDS = 1043, + DUTCH_NETHERLANDS: 1043, /** * English (Australia) */ - ENGLISH_AUSTRALIA = 3081, + ENGLISH_AUSTRALIA: 3081, /** * English (Belize) */ - ENGLISH_BELIZE = 10249, + ENGLISH_BELIZE: 10249, /** * English (Canada) */ - ENGLISH_CANADA = 4105, + ENGLISH_CANADA: 4105, /** * English (Caribbean) */ - ENGLISH_CARRIBEAN = 9225, + ENGLISH_CARRIBEAN: 9225, /** * English (Ireland) */ - ENGLISH_IRELAND = 6153, + ENGLISH_IRELAND: 6153, /** * English (Jamaica) */ - ENGLISH_JAMAICA = 8201, + ENGLISH_JAMAICA: 8201, /** * English (New Zealand) */ - ENGLISH_NEW_ZEALAND = 5129, + ENGLISH_NEW_ZEALAND: 5129, /** * English (Philippines) */ - ENGLISH_PHILIPPINES = 13321, + ENGLISH_PHILIPPINES: 13321, /** * English (South Africa) */ - ENGLISH_SOUTH_AFRICA = 7177, + ENGLISH_SOUTH_AFRICA: 7177, /** * English (Trinidad) */ - ENGLISH_TRINIDAD = 11273, + ENGLISH_TRINIDAD: 11273, /** * English (United Kingdom) */ - ENGLISH_UK = 2057, + ENGLISH_UK: 2057, /** * English (United States) */ - ENGLISH_US = 1033, + ENGLISH_US: 1033, /** * English (Zimbabwe) */ - ENGLISH_ZIMBABWE = 12297, + ENGLISH_ZIMBABWE: 12297, /** * Estonian */ - ESTONIAN = 1061, + ESTONIAN: 1061, /** * Faeroese */ - FAEROESE = 1080, + FAEROESE: 1080, /** * Farsi */ - FARSI = 1065, + FARSI: 1065, /** * Finnish */ - FINNISH = 1035, + FINNISH: 1035, /** * French (Belgium) */ - FRENCH_BELGIUM = 2060, + FRENCH_BELGIUM: 2060, /** * French (Canada) */ - FRENCH_CANADA = 3084, + FRENCH_CANADA: 3084, /** * French (France) */ - FRENCH_FRANCE = 1036, + FRENCH_FRANCE: 1036, /** * French (Luxembourg) */ - FRENCH_LUXEMBOURG = 5132, + FRENCH_LUXEMBOURG: 5132, /** * French (Monaco) */ - FRENCH_MONACO = 6156, + FRENCH_MONACO: 6156, /** * French (Switzerland) */ - FRENCH_SWITZERLAND = 4108, + FRENCH_SWITZERLAND: 4108, /** * FYRO Macedonian */ - FYRO_MACEDONIAN = 1071, + FYRO_MACEDONIAN: 1071, /** * Galician */ - GALICIAN = 1110, + GALICIAN: 1110, /** * Georgian */ - GEORGIAN = 1079, + GEORGIAN: 1079, /** * German (Austria) */ - GERMAN_AUSTRIA = 3079, + GERMAN_AUSTRIA: 3079, /** * German (Germany) */ - GERMAN_GERMANY = 1031, + GERMAN_GERMANY: 1031, /** * German (Liechtenstein) */ - GERMAN_LIECHTENSTEIN = 5127, + GERMAN_LIECHTENSTEIN: 5127, /** * German (Luxembourg) */ - GERMAN_LUXEMBOURG = 4103, + GERMAN_LUXEMBOURG: 4103, /** * German (Switzerland) */ - GERMAN_SWITZERLAND = 2055, + GERMAN_SWITZERLAND: 2055, /** * Greek */ - GREEK = 1032, + GREEK: 1032, /** * Gujarati */ - GUJARATI = 1095, + GUJARATI: 1095, /** * Hebrew */ - HEBREW = 1037, + HEBREW: 1037, /** * Hindi (India) */ - HINDI_INDIA = 1081, + HINDI_INDIA: 1081, /** * Hungarian */ - HUNGARIAN = 1038, + HUNGARIAN: 1038, /** * Icelandic */ - ICELANDIC = 1039, + ICELANDIC: 1039, /** * Indonesian */ - INDONESIAN = 1057, + INDONESIAN: 1057, /** * Italian (Italy) */ - ITALIAN_ITALY = 1040, + ITALIAN_ITALY: 1040, /** * Italian (Switzerland) */ - ITALIAN_SWITZERLAND = 2064, + ITALIAN_SWITZERLAND: 2064, /** * Japanese */ - JAPANESE = 1041, + JAPANESE: 1041, /** * Kannada */ - KANNADA = 1099, + KANNADA: 1099, /** * Kazakh */ - KAZAKH = 1087, + KAZAKH: 1087, /** * Khmer */ - KHMER = 1107, + KHMER: 1107, /** * Konkani */ - KONKANI = 1111, + KONKANI: 1111, /** * Korean */ - KOREAN = 1042, + KOREAN: 1042, /** * Kyrgyz (Cyrillic) */ - KYRGYZ_CYRILICK = 1088, + KYRGYZ_CYRILICK: 1088, /** * Latvian */ - LATVIAN = 1062, + LATVIAN: 1062, /** * Lithuanian */ - LITHUANIAN = 1063, + LITHUANIAN: 1063, /** * Malay (Malaysia) */ - MALAY_MALAYSIA = 1086, + MALAY_MALAYSIA: 1086, /** * Malay (Brunei Darussalam) */ - MALAY_BRUNEI_DARUSSALAM = 2110, + MALAY_BRUNEI_DARUSSALAM: 2110, /** * Maltese */ - MALTESE = 1082, + MALTESE: 1082, /** * Marathi */ - MARATHI = 1102, + MARATHI: 1102, /** * Mongolian (Cyrillic) */ - MONGOLIAN_CYRILIC = 1104, + MONGOLIAN_CYRILIC: 1104, /** * Norwegian (Bokmal) */ - NORWEGIAN_BOKMAL = 1044, + NORWEGIAN_BOKMAL: 1044, /** * Norwegian (Nynorsk) */ - NORWEGIAN_NYORSK = 2068, + NORWEGIAN_NYORSK: 2068, /** * Polish */ - POLISH = 1045, + POLISH: 1045, /** * Portuguese (Brazil) */ - PORTUGUESE_BRAZIL = 1046, + PORTUGUESE_BRAZIL: 1046, /** * Portuguese (Portugal) */ - PORTUGUESE_PORTUGAL = 2070, + PORTUGUESE_PORTUGAL: 2070, /** * Punjabi */ - PUNJABI = 1094, + PUNJABI: 1094, /** * Rhaeto-Romanic */ - RHAETO_ROMANIC = 1047, + RHAETO_ROMANIC: 1047, /** * Romanian */ - ROMANIAN = 1048, + ROMANIAN: 1048, /** * Russian */ - RUSSIAN = 1049, + RUSSIAN: 1049, /** * Sanskrit */ - SANSKRIT = 1103, + SANSKRIT: 1103, /** * Serbian (Cyrillic) */ - SERBIAN_CYRILIC = 3098, + SERBIAN_CYRILIC: 3098, /** * Serbian (Latin) */ - SERBIAN_LATIN = 2074, + SERBIAN_LATIN: 2074, /** * Sinhala */ - SINHALA = 1115, + SINHALA: 1115, /** * Slovak */ - SLOVAK = 1051, + SLOVAK: 1051, /** * Slovenian */ - SLOVENIAN = 1060, + SLOVENIAN: 1060, /** * Spanish (Argentina) */ - SPANISH_ARGENTINA = 11274, + SPANISH_ARGENTINA: 11274, /** * Spanish (Bolivia) */ - SPANISH_BOLIVIA = 16394, + SPANISH_BOLIVIA: 16394, /** * Spanish (Chile) */ - SPANISH_CHILE = 13322, + SPANISH_CHILE: 13322, /** * Spanish (Colombia) */ - SPANICH_COLOMBIA = 9226, + SPANICH_COLOMBIA: 9226, /** * Spanish (Costa Rica) */ - SPANISH_COSTA_RICA = 5130, + SPANISH_COSTA_RICA: 5130, /** * Spanish (Dominican Republic) */ - SPANISH_DOMINICAN_REPUBLIC = 7178, + SPANISH_DOMINICAN_REPUBLIC: 7178, /** * Spanish (Ecuador) */ - SPANISH_ECUADOR = 12298, + SPANISH_ECUADOR: 12298, /** * Spanish (El Salvador) */ - SPANISH_EL_SALVADOR = 17418, + SPANISH_EL_SALVADOR: 17418, /** * Spanish (Guatemala) */ - SPANISH_GUATEMALA = 4106, + SPANISH_GUATEMALA: 4106, /** * Spanish (Honduras) */ - SPANISH_HONDURAS = 18442, + SPANISH_HONDURAS: 18442, /** * Spanish (Mexico) */ - SPANISH_MEXICO = 2058, + SPANISH_MEXICO: 2058, /** * Spanish (Nicaragua) */ - SPANISH_NICARAGUA = 19466, + SPANISH_NICARAGUA: 19466, /** * Spanish (Panama) */ - SPANISH_PANAMA = 6154, + SPANISH_PANAMA: 6154, /** * Spanish (Paraguay) */ - SPANISH_PARAGUAY = 15370, + SPANISH_PARAGUAY: 15370, /** * Spanish (Peru) */ - SPANISH_PERU = 10250, + SPANISH_PERU: 10250, /** * Spanish (Puerto Rico) */ - SPANISH_PUERTO_RICO = 20490, + SPANISH_PUERTO_RICO: 20490, /** * Spanish (Traditional Sort) */ - SPANISH_TRADITIONAL_SORT = 1034, + SPANISH_TRADITIONAL_SORT: 1034, /** * Spanish (International Sort) */ - SPANISH_INTERNATIONAL_SORT = 3082, + SPANISH_INTERNATIONAL_SORT: 3082, /** * Spanish (Uruguay) */ - SPANISH_URUGUAY = 14346, + SPANISH_URUGUAY: 14346, /** * Spanish (Venezuela) */ - SPANISH_VENEZUELA = 8202, + SPANISH_VENEZUELA: 8202, /** * Swahili */ - SWAHILI = 1089, + SWAHILI: 1089, /** * Swedish */ - SWEDISH = 1053, + SWEDISH: 1053, /** * Swedish (Finland) */ - SWEDISH_FINLAND = 2077, + SWEDISH_FINLAND: 2077, + /** + * Syriac + */ + SYRIAC: 1114, /** * Tamil */ - TAMIL = 1097, + TAMIL: 1097, /** * Tatar */ - TATAR = 1092, + TATAR: 1092, /** * Telugu */ - TELUGU = 1098, + TELUGU: 1098, /** * Thai (Thailand) */ - THAI_THAILAND = 1054, + THAI_THAILAND: 1054, /** * Turkish */ - TURKISH = 1055, + TURKISH: 1055, /** * Tajik (Cyrillic) */ - TAJIK_CYRILLIC = 1064, + TAJIK_CYRILLIC: 1064, /** * Turkmen */ - TURKMEN = 1090, + TURKMEN: 1090, /** * Ukrainian */ - UKRAINIAN = 1058, + UKRAINIAN: 1058, /** * Urdu */ - URDU = 1056, + URDU: 1056, /** * Uzbek (Cyrillic) */ - UZBEK_CYRILIC = 2115, + UZBEK_CYRILIC: 2115, /** * Uzbek (Latin) */ - UZBEK_LATIN = 1091, + UZBEK_LATIN: 1091, /** * Vietnamese */ - VIETNAMESE = 1066, + VIETNAMESE: 1066, /** * CTC Simplified */ - CTC_SIMPLIFIED = 50001, + CTC_SIMPLIFIED: 50001, /** * CTC Traditional */ - CTC_TRADITIONAL = 50002, + CTC_TRADITIONAL: 50002, /** * Bengali (Bangladesh) */ - BengaliBangladesh = 2117, + BENGALI_BANGLADESH: 2117, /** * BengaliIndia */ - BengaliIndia = 1093, + BENGALI_INDIA: 1093, /** * Assamese */ - Assamese = 1101, + ASSAMESE: 1101, /** * Oriya */ - ORIYA = 1096, + ORIYA: 1096, /** * Malayalam */ - MALAYALAM = 1100, + MALAYALAM: 1100, /** * Lao */ - LAO = 1108, + LAO: 1108, /** * Sindhi (India) */ - SINDHI_INDIA = 1113, + SINDHI_INDIA: 1113, /** * Amharic */ - AMHARIC = 1118, + AMHARIC: 1118, /** * Kashmiri */ - KASHMIRI = 1120, + KASHMIRI: 1120, /** * Nepali */ - NEPALI = 1121, + NEPALI: 1121, /** * Pashto */ - PASHTO = 1123, + PASHTO: 1123, /** * Sindhi */ - SINDHI = 2137, + SINDHI: 2137, /** * Arabic (World) */ - ARABIC = 4096, + ARABIC: 4096, /** * Bank Card Number */ - BANK_CARD_NUMBER = 10000, + BANK_CARD_NUMBER: 10000, /** * Bank Card Expiry Date */ - BANK_CARD_EXPIRY_DATE = 10001, + BANK_CARD_EXPIRY_DATE: 10001, /** * Bank Card Name */ - BANK_CARD_NAME = 10002, + BANK_CARD_NAME: 10002, /** * Bank Card */ - BANK_CARD = 10003, + BANK_CARD: 10003, /** * Bank Card CVV2 */ - BANK_CARD_CVV2 = 10004, + BANK_CARD_CVV2: 10004, /** * Abkhazian (Cyrillic) */ - ABKHAZIAN = 10011, + ABKHAZIAN: 10011, /** * Karakalpak (Latin) */ - KARAKALPAK = 10012, + KARAKALPAK: 10012, /** * Urdu Detection */ - URDU_DETECTION = 10560 -} - + URDU_DETECTION: 10560 +} as const; +export type LCID = typeof LCID[keyof typeof LCID]; diff --git a/src/models/lexical-analysis-result-all-of.ts b/src/models/lexical-analysis-result-all-of.ts old mode 100755 new mode 100644 index f953804f..fc78613b --- a/src/models/lexical-analysis-result-all-of.ts +++ b/src/models/lexical-analysis-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ListVerifiedFields } from './list-verified-fields'; +import type { ListVerifiedFields } from './list-verified-fields'; /** - * - * @export - * @interface LexicalAnalysisResultAllOf - */ +* +* @export +* @interface LexicalAnalysisResultAllOf +*/ export interface LexicalAnalysisResultAllOf { /** - * - * @type {ListVerifiedFields} - * @memberof LexicalAnalysisResultAllOf - */ - ListVerifiedFields?: ListVerifiedFields; + * + * @type {ListVerifiedFields} + * @memberof LexicalAnalysisResultAllOf + */ + ListVerifiedFields: ListVerifiedFields; } - - diff --git a/src/models/lexical-analysis-result.ts b/src/models/lexical-analysis-result.ts old mode 100755 new mode 100644 index a5d65068..5686c95c --- a/src/models/lexical-analysis-result.ts +++ b/src/models/lexical-analysis-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResultAllOf } from './lexical-analysis-result-all-of'; -import { LicenseResult } from './license-result'; -import { ListVerifiedFields } from './list-verified-fields'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { LexicalAnalysisResultAllOf } from './lexical-analysis-result-all-of'; +import type { ListVerifiedFields } from './list-verified-fields'; +import type { ResultItem } from './result-item'; /** * @type LexicalAnalysisResult @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type LexicalAnalysisResult = LexicalAnalysisResultAllOf & ResultItem; - - diff --git a/src/models/license-result-all-of.ts b/src/models/license-result-all-of.ts index d2de3907..3fbe4bec 100644 --- a/src/models/license-result-all-of.ts +++ b/src/models/license-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,17 +15,15 @@ /** - * Contains license - * @export - * @interface LicenseResultAllOf - */ +* Contains license +* @export +* @interface LicenseResultAllOf +*/ export interface LicenseResultAllOf { /** - * Base64 encoded data - * @type {string} - * @memberof LicenseResultAllOf - */ + * Base64 encoded data + * @type {string} + * @memberof LicenseResultAllOf + */ License: string; } - - diff --git a/src/models/license-result.ts b/src/models/license-result.ts index 3a59456f..708480bc 100644 --- a/src/models/license-result.ts +++ b/src/models/license-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,22 +13,8 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResultAllOf } from './license-result-all-of'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { LicenseResultAllOf } from './license-result-all-of'; +import type { ResultItem } from './result-item'; /** * @type LicenseResult @@ -36,5 +22,3 @@ import { TextResult } from './text-result'; */ export type LicenseResult = LicenseResultAllOf & ResultItem; - - diff --git a/src/models/light.ts b/src/models/light.ts old mode 100755 new mode 100644 index 49eb97ec..ad7c356b --- a/src/models/light.ts +++ b/src/models/light.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,28 +15,181 @@ /** - * Image light index - * @export - * @enum {string} - */ -export enum Light { +* Image light index +* @export +* @enum {string} +*/ + +export const Light = { /** - * No Light + * Lighting schemes are off */ - OFF = 0, + OFF: 0, /** - * White + * OVI scheme */ - WHITE = 6, + OVI: 1, /** - * Infrared + * Upper/lower lighters of white light scheme */ - IR = 24, + WHITE_TOP: 2, /** - * Ultraviolet + * Side lighters of white light scheme */ - UV = 128 -} - + WHITE_SIDE: 4, + /** + * General white light without separate control of side and upper/lower lighters scheme + */ + WHITE_FRONT: 8388608, + /** + * Upper/lower and side lighters of white light scheme + */ + WHITE: 6, + /** + * Upper/lower lighters of IR light scheme + */ + IR_TOP: 8, + /** + * Side lighters of IR light scheme + */ + IR_SIDE: 16, + /** + * General IR light without separate control of side and upper/lower lighters scheme + */ + IR_FRONT: 16777216, + /** + * Upper/lower and side lighters of IR light scheme + */ + IR: 24, + /** + * general white image converted to grayscale + */ + WHITE_GRAY: 33554432, + /** + * General UV light scheme + */ + UV: 128, + /** + * OVD light for hologram visualization + */ + OVD: 67108864, + /** + * Video detection light for internal use only + */ + VIDEODETECTION: 134217728, + /** + * Light IR 870 oblique + */ + IR_870_OBL: 268435456, + /** + * IR luminescence + */ + IR_LUMINESCENCE: 256, + /** + * Left lighter of white coaxial light scheme + */ + AXIAL_WHITE_LEFT: 1024, + /** + * Right lighter of white coaxial light scheme + */ + AXIAL_WHITE_RIGHT: 2048, + /** + * Coaxial white light without separate control of left and right lighters scheme + */ + AXIAL_WHITE_FRONT: 512, + /** + * IR720 + */ + IR_720: 4096, + /** + * IR940 + */ + IR_940: 8192, + /** + * Right and left lighters of white coaxial light scheme + */ + AXIAL_WHITE_FULL: 3072, + /** + * For internal use + */ + RAW_DATA: 2147483648, + /** + * For internal use + */ + RAW_DATA_GRBG: 2415919104, + /** + * For internal use + */ + RAW_DATA_GBGR: 2684354560, + /** + * For internal use + */ + RAW_DATA_RGGB: 2952790016, + /** + * For internal use + */ + RAW_DATA_BGGR: 3221225472, + /** + * Transmitted + */ + TRANSMITTED: 32, + /** + * Transmitted IR + */ + TRANSMITTED_IR: 64, + /** + * Transmitted AntiStokes + */ + ANTI_STOKES: 65536, + /** + * Transmitted IR940 + */ + TRANSMITTED_IR940: 16384, + /** + * OVD right + */ + OVD_RIGHT: 262144, + /** + * OVD left + */ + OVD_LEFT: 131072, + /** + * IR 700 + */ + IR_700: 32768, + /** + * Front IR870 (mod. 8803) + */ + IR_870: 16777216, + /** + * OVD light (hologram visualization) (mod. 8850) + */ + HOLO: 67108864, + /** + * For internal use + */ + IR_BOTTOM: 64, + /** + * For internal use + */ + WHITE_BOTTOM: 32, + /** + * UVС 254 (mod. 88X0) + */ + UVC: 524288, + /** + * UVB 313 (mod. 88X0) + */ + UVB: 1048576, + /** + * White oblique light + */ + WHITE_OBL: 2097152, + /** + * For internal use + */ + WHITE_SPECIAL: 4194304 +} as const; +export type Light = typeof Light[keyof typeof Light]; diff --git a/src/models/list-transactions-by-tag-response.ts b/src/models/list-transactions-by-tag-response.ts index 7f130246..0c06cace 100644 --- a/src/models/list-transactions-by-tag-response.ts +++ b/src/models/list-transactions-by-tag-response.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { GetTransactionsByTagResponse } from './get-transactions-by-tag-response'; +import type { GetTransactionsByTagResponse } from './get-transactions-by-tag-response'; /** - * - * @export - * @interface ListTransactionsByTagResponse - */ +* +* @export +* @interface ListTransactionsByTagResponse +*/ export interface ListTransactionsByTagResponse { /** - * - * @type {Array} - * @memberof ListTransactionsByTagResponse - */ + * + * @type {Array} + * @memberof ListTransactionsByTagResponse + */ items?: Array; /** - * - * @type {{ [key: string]: object; }} - * @memberof ListTransactionsByTagResponse - */ + * + * @type {{ [key: string]: object; }} + * @memberof ListTransactionsByTagResponse + */ metadata?: { [key: string]: object; }; } - - diff --git a/src/models/list-verified-fields.ts b/src/models/list-verified-fields.ts old mode 100755 new mode 100644 index 7f2b167b..e354a64e --- a/src/models/list-verified-fields.ts +++ b/src/models/list-verified-fields.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,24 @@ */ -import { VerifiedFieldMap } from './verified-field-map'; +import type { VerifiedFieldMap } from './verified-field-map'; /** - * - * @export - * @interface ListVerifiedFields - */ +* +* @export +* @interface ListVerifiedFields +*/ export interface ListVerifiedFields { /** - * - * @type {Array} - * @memberof ListVerifiedFields - */ - pFieldMaps?: Array; + * Number of pFieldMaps array elements + * @type {number} + * @memberof ListVerifiedFields + */ + Count: number; + /** + * + * @type {Array} + * @memberof ListVerifiedFields + */ + pFieldMaps: Array; } - - diff --git a/src/models/liveness-params.ts b/src/models/liveness-params.ts index 1173746f..95bf8c28 100644 --- a/src/models/liveness-params.ts +++ b/src/models/liveness-params.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,35 +15,33 @@ /** - * - * @export - * @interface LivenessParams - */ +* +* @export +* @interface LivenessParams +*/ export interface LivenessParams { /** - * This parameter is used to enable OVI check - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable OVI check + * @type {boolean} + * @memberof LivenessParams + */ checkOVI?: boolean; /** - * This parameter is used to enable MLI check - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable MLI check + * @type {boolean} + * @memberof LivenessParams + */ checkMLI?: boolean; /** - * This parameter is used to enable Hologram detection - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable Hologram detection + * @type {boolean} + * @memberof LivenessParams + */ checkHolo?: boolean; /** - * This parameter is used to enable Electronic device detection - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable Electronic device detection + * @type {boolean} + * @memberof LivenessParams + */ checkED?: boolean; } - - diff --git a/src/models/log-level.ts b/src/models/log-level.ts index ff3b5f57..c5e4104e 100644 --- a/src/models/log-level.ts +++ b/src/models/log-level.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,32 +15,33 @@ /** - * - * @export - * @enum {string} - */ -export enum LogLevel { +* +* @export +* @enum {string} +*/ + +export const LogLevel = { /** * Fatal error */ - FATAL_ERROR = 'FatalError', + FATAL_ERROR: 'FatalError', /** * Error */ - ERROR = 'Error', + ERROR: 'Error', /** * Warning */ - WARNING = 'Warning', + WARNING: 'Warning', /** * Info */ - INFO = 'Info', + INFO: 'Info', /** * Debug */ - DEBUG = 'Debug' -} - + DEBUG: 'Debug' +} as const; +export type LogLevel = typeof LogLevel[keyof typeof LogLevel]; diff --git a/src/models/measure-system.ts b/src/models/measure-system.ts index 20630614..8fecc0e8 100644 --- a/src/models/measure-system.ts +++ b/src/models/measure-system.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,20 +15,21 @@ /** - * - * @export - * @enum {string} - */ -export enum MeasureSystem { +* +* @export +* @enum {string} +*/ + +export const MeasureSystem = { /** * Metric system of measurement, where things are measured in meters and grams */ - METRIC = 0, + METRIC: 0, /** * Imperial System of Measurement, where things are measured in feet, inches and pounds */ - IMPERIAL = 1 -} - + IMPERIAL: 1 +} as const; +export type MeasureSystem = typeof MeasureSystem[keyof typeof MeasureSystem]; diff --git a/src/models/mrz-detect-mode-enum.ts b/src/models/mrz-detect-mode-enum.ts index 6c5ffcd1..a00df9d3 100644 --- a/src/models/mrz-detect-mode-enum.ts +++ b/src/models/mrz-detect-mode-enum.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,15 +15,16 @@ /** - * Make better MRZ detection on complex noisy backgrounds, like BW photocopy of some documents. - * @export - * @enum {string} - */ -export enum MrzDetectModeEnum { - eMDM_Default = 0, - eMDM_ResizeBinarizeWindow = 1, - eMDM_BlurBeforeBinarization = 2 -} +* Make better MRZ detection on complex noisy backgrounds, like BW photocopy of some documents. +* @export +* @enum {string} +*/ +export const MrzDetectModeEnum = { + eMDM_Default: 0, + eMDM_ResizeBinarizeWindow: 1, + eMDM_BlurBeforeBinarization: 2 +} as const; +export type MrzDetectModeEnum = typeof MrzDetectModeEnum[keyof typeof MrzDetectModeEnum]; diff --git a/src/models/mrz-ocr-extended-result-all-of.ts b/src/models/mrz-ocr-extended-result-all-of.ts deleted file mode 100755 index 95bcb776..00000000 --- a/src/models/mrz-ocr-extended-result-all-of.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; - -/** - * - * @export - * @interface MrzOcrExtendedResultAllOf - */ -export interface MrzOcrExtendedResultAllOf { - /** - * - * @type {DocVisualExtendedInfo} - * @memberof MrzOcrExtendedResultAllOf - */ - DocVisualExtendedInfo?: DocVisualExtendedInfo; -} - - diff --git a/src/models/mrz-ocr-extended-result.ts b/src/models/mrz-ocr-extended-result.ts deleted file mode 100755 index 8d695fef..00000000 --- a/src/models/mrz-ocr-extended-result.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { BarcodeTextDataResult } from './barcode-text-data-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { GraphicsResult } from './graphics-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { MrzOcrExtendedResultAllOf } from './mrz-ocr-extended-result-all-of'; -import { RawImageResult } from './raw-image-result'; -import { ResultItem } from './result-item'; -import { RfidTextDataResult } from './rfid-text-data-result'; -import { StatusResult } from './status-result'; -import { TextResult } from './text-result'; -import { VisualOcrExtendedResult } from './visual-ocr-extended-result'; - -/** - * @type MrzOcrExtendedResult - * Text fields extracted from the document MRZ region - * @export - */ -export type MrzOcrExtendedResult = MrzOcrExtendedResultAllOf & ResultItem; - - - diff --git a/src/models/mrzformat.ts b/src/models/mrzformat.ts index 1b3de2de..1ff48597 100644 --- a/src/models/mrzformat.ts +++ b/src/models/mrzformat.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,36 +15,37 @@ /** - * - * @export - * @enum {string} - */ -export enum MRZFormat { +* +* @export +* @enum {string} +*/ + +export const MRZFormat = { /** * 1x30 */ - IDL = '1x30', + IDL: '1x30', /** * 3x30 */ - ID1 = '3x30', + ID1: '3x30', /** * 2x36 */ - ID2 = '2x36', + ID2: '2x36', /** * 2x44 */ - ID3 = '2x44', + ID3: '2x44', /** * 1x6 */ - CAN = '1x6', + CAN: '1x6', /** * 2x30 */ - ID1_2_30 = '2x30' -} - + ID1_2_30: '2x30' +} as const; +export type MRZFormat = typeof MRZFormat[keyof typeof MRZFormat]; diff --git a/src/models/ocrsecurity-text-result-all-of.ts b/src/models/ocrsecurity-text-result-all-of.ts index 8dcd8971..8171ec1b 100644 --- a/src/models/ocrsecurity-text-result-all-of.ts +++ b/src/models/ocrsecurity-text-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,76 +13,80 @@ */ -import { Critical } from './critical'; -import { Light } from './light'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { Critical } from './critical'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * - * @export - * @interface OCRSecurityTextResultAllOf - */ +* +* @export +* @interface OCRSecurityTextResultAllOf +*/ export interface OCRSecurityTextResultAllOf { /** - * - * @type {Critical} - * @memberof OCRSecurityTextResultAllOf - */ - CriticalFlag?: Critical; + * + * @type {Critical} + * @memberof OCRSecurityTextResultAllOf + */ + CriticalFlag: Critical; + /** + * + * @type {Light} + * @memberof OCRSecurityTextResultAllOf + */ + LightType: Light; /** - * - * @type {Light} - * @memberof OCRSecurityTextResultAllOf - */ - LightType?: Light; + * + * @type {RectangleCoordinates} + * @memberof OCRSecurityTextResultAllOf + */ + FieldRect: RectangleCoordinates; /** - * - * @type {RectangleCoordinates} - * @memberof OCRSecurityTextResultAllOf - */ - FieldRect?: RectangleCoordinates; + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonResultType: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ - EtalonResultType?: number; + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonFieldType: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ - EtalonFieldType?: number; + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonLightType: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ - EtalonLightType?: number; + * + * @type {RectangleCoordinates} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonFieldRect: RectangleCoordinates; /** - * - * @type {string} - * @memberof OCRSecurityTextResultAllOf - */ - SecurityTextResultOCR?: string; + * + * @type {string} + * @memberof OCRSecurityTextResultAllOf + */ + SecurityTextResultOCR: string; /** - * - * @type {string} - * @memberof OCRSecurityTextResultAllOf - */ - EtalonResultOCR?: string; + * + * @type {string} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonResultOCR: string; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ Reserved1?: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ Reserved2?: number; } - - diff --git a/src/models/ocrsecurity-text-result.ts b/src/models/ocrsecurity-text-result.ts index dbbc247f..6b6e24b5 100644 --- a/src/models/ocrsecurity-text-result.ts +++ b/src/models/ocrsecurity-text-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,17 +13,13 @@ */ -import { AuthenticityCheckResultItem } from './authenticity-check-result-item'; -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { Critical } from './critical'; -import { FiberResult } from './fiber-result'; -import { IdentResult } from './ident-result'; -import { Light } from './light'; -import { OCRSecurityTextResultAllOf } from './ocrsecurity-text-result-all-of'; -import { PhotoIdentResult } from './photo-ident-result'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureResult } from './security-feature-result'; +import type { AuthenticityCheckResultItem } from './authenticity-check-result-item'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; +import type { Critical } from './critical'; +import type { Light } from './light'; +import type { OCRSecurityTextResultAllOf } from './ocrsecurity-text-result-all-of'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @type OCRSecurityTextResult @@ -31,5 +27,3 @@ import { SecurityFeatureResult } from './security-feature-result'; */ export type OCRSecurityTextResult = AuthenticityCheckResultItem & OCRSecurityTextResultAllOf; - - diff --git a/src/models/one-candidate.ts b/src/models/one-candidate.ts old mode 100755 new mode 100644 index 30d910ad..cca02d0e --- a/src/models/one-candidate.ts +++ b/src/models/one-candidate.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,69 +13,79 @@ */ -import { FDSIDList } from './fdsidlist'; -import { RfidLocation } from './rfid-location'; +import type { FDSIDList } from './fdsidlist'; +import type { RfidLocation } from './rfid-location'; /** - * Contains information about one document type candidate - * @export - * @interface OneCandidate - */ +* Contains information about one document type candidate +* @export +* @interface OneCandidate +*/ export interface OneCandidate { /** - * Document name - * @type {string} - * @memberof OneCandidate - */ - DocumentName?: string; + * Document name + * @type {string} + * @memberof OneCandidate + */ + DocumentName: string; + /** + * Unique document type template identifier (Regula\'s internal numeric code) + * @type {number} + * @memberof OneCandidate + */ + ID: number; + /** + * A measure of the likelihood of correct recognition in the analysis of this type of document + * @type {number} + * @memberof OneCandidate + */ + P: number; /** - * Unique document type template identifier (Regula\'s internal numeric code) - * @type {number} - * @memberof OneCandidate - */ - ID?: number; + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof OneCandidate + */ + Rotated180: boolean; /** - * A measure of the likelihood of correct recognition in the analysis of this type of document - * @type {number} - * @memberof OneCandidate - */ - P?: number; + * + * @type {RfidLocation} + * @memberof OneCandidate + */ + RFID_Presence: RfidLocation; /** - * - * @type {RfidLocation} - * @memberof OneCandidate - */ - RFID_Presence?: RfidLocation; + * + * @type {FDSIDList} + * @memberof OneCandidate + */ + FDSIDList: FDSIDList; /** - * - * @type {FDSIDList} - * @memberof OneCandidate - */ - FDSIDList?: FDSIDList; + * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document + * @type {number} + * @memberof OneCandidate + */ + NecessaryLights: number; /** - * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document - * @type {number} - * @memberof OneCandidate - */ - NecessaryLights?: number; + * Set of authentication options provided for this type of document (combination of Authenticity enum) + * @type {number} + * @memberof OneCandidate + */ + CheckAuthenticity: number; /** - * Set of authentication options provided for this type of document (combination of Authenticity enum) - * @type {number} - * @memberof OneCandidate - */ - CheckAuthenticity?: number; + * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme + * @type {number} + * @memberof OneCandidate + */ + UVExp: number; /** - * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme - * @type {number} - * @memberof OneCandidate - */ - UVExp?: number; + * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity + * @type {number} + * @memberof OneCandidate + */ + AuthenticityNecessaryLights: number; /** - * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity - * @type {number} - * @memberof OneCandidate - */ - AuthenticityNecessaryLights?: number; + * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme + * @type {number} + * @memberof OneCandidate + */ + OVIExp: number; } - - diff --git a/src/models/original-symbol.ts b/src/models/original-symbol.ts old mode 100755 new mode 100644 index 510342c4..31268b75 --- a/src/models/original-symbol.ts +++ b/src/models/original-symbol.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,32 +13,30 @@ */ -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * - * @export - * @interface OriginalSymbol - */ +* +* @export +* @interface OriginalSymbol +*/ export interface OriginalSymbol { /** - * Unicode symbol code - * @type {number} - * @memberof OriginalSymbol - */ - code?: number; + * Unicode symbol code + * @type {number} + * @memberof OriginalSymbol + */ + code: number; /** - * Probability of correctness reading of a single character - * @type {number} - * @memberof OriginalSymbol - */ - probability?: number; + * Probability of correctness reading of a single character + * @type {number} + * @memberof OriginalSymbol + */ + probability: number; /** - * - * @type {RectangleCoordinates} - * @memberof OriginalSymbol - */ + * + * @type {RectangleCoordinates} + * @memberof OriginalSymbol + */ rect?: RectangleCoordinates; } - - diff --git a/src/models/out-data-transaction-images-field-value.ts b/src/models/out-data-transaction-images-field-value.ts index ce023c67..5da58fd7 100644 --- a/src/models/out-data-transaction-images-field-value.ts +++ b/src/models/out-data-transaction-images-field-value.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,45 +13,43 @@ */ -import { GraphicFieldType } from './graphic-field-type'; -import { Light } from './light'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { Light } from './light'; /** - * - * @export - * @interface OutDataTransactionImagesFieldValue - */ +* +* @export +* @interface OutDataTransactionImagesFieldValue +*/ export interface OutDataTransactionImagesFieldValue { /** - * - * @type {GraphicFieldType} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {GraphicFieldType} + * @memberof OutDataTransactionImagesFieldValue + */ fieldType?: GraphicFieldType; /** - * - * @type {Light} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {Light} + * @memberof OutDataTransactionImagesFieldValue + */ light?: Light; /** - * - * @type {number} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {number} + * @memberof OutDataTransactionImagesFieldValue + */ listIdx?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof OutDataTransactionImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof OutDataTransactionImagesFieldValue + */ pageIdx?: number; /** - * Image url - * @type {string} - * @memberof OutDataTransactionImagesFieldValue - */ + * Image url + * @type {string} + * @memberof OutDataTransactionImagesFieldValue + */ url?: string; } - - diff --git a/src/models/out-data.ts b/src/models/out-data.ts index ab4b7745..f5085d13 100644 --- a/src/models/out-data.ts +++ b/src/models/out-data.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { OutDataTransactionImagesFieldValue } from './out-data-transaction-images-field-value'; +import type { OutDataTransactionImagesFieldValue } from './out-data-transaction-images-field-value'; /** - * - * @export - * @interface OutData - */ +* +* @export +* @interface OutData +*/ export interface OutData { /** - * Response url - * @type {string} - * @memberof OutData - */ + * Response url + * @type {string} + * @memberof OutData + */ url?: string; /** - * - * @type {Array} - * @memberof OutData - */ + * + * @type {Array} + * @memberof OutData + */ images?: Array; } - - diff --git a/src/models/parray-field.ts b/src/models/parray-field.ts index a5a97ce5..7d5d588b 100644 --- a/src/models/parray-field.ts +++ b/src/models/parray-field.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,76 +13,75 @@ */ -import { BcPDF417INFO } from './bc-pdf417-info'; -import { BcROIDETECT } from './bc-roidetect'; -import { DataModule } from './data-module'; +import type { BarcodeType } from './barcode-type'; +import type { BcPDF417INFO } from './bc-pdf417-info'; +import type { BcROIDETECT } from './bc-roidetect'; +import type { DataModule } from './data-module'; /** - * - * @export - * @interface PArrayField - */ +* +* @export +* @interface PArrayField +*/ export interface PArrayField { /** - * - * @type {number} - * @memberof PArrayField - */ - bcAngle_DETECT?: number; + * + * @type {number} + * @memberof PArrayField + */ + bcAngle_DETECT: number; /** - * - * @type {number} - * @memberof PArrayField - */ - bcCodeResult?: number; + * + * @type {number} + * @memberof PArrayField + */ + bcCodeResult: number; /** - * - * @type {number} - * @memberof PArrayField - */ - bcCountModule?: number; + * + * @type {number} + * @memberof PArrayField + */ + bcCountModule: number; /** - * - * @type {Array} - * @memberof PArrayField - */ - bcDataModule?: Array; + * + * @type {Array} + * @memberof PArrayField + */ + bcDataModule: Array; /** - * - * @type {BcPDF417INFO} - * @memberof PArrayField - */ + * + * @type {BcPDF417INFO} + * @memberof PArrayField + */ bcPDF417INFO?: BcPDF417INFO; /** - * - * @type {BcROIDETECT} - * @memberof PArrayField - */ - bcROI_DETECT?: BcROIDETECT; + * + * @type {BcROIDETECT} + * @memberof PArrayField + */ + bcROI_DETECT: BcROIDETECT; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcTextDecoderTypes?: number; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcTextFieldType?: number; /** - * - * @type {number} - * @memberof PArrayField - */ - bcType_DECODE?: number; + * + * @type {BarcodeType} + * @memberof PArrayField + */ + bcType_DECODE: BarcodeType; /** - * - * @type {number} - * @memberof PArrayField - */ - bcType_DETECT?: number; + * + * @type {number} + * @memberof PArrayField + */ + bcType_DETECT: number; } - - diff --git a/src/models/parsing-error-codes.ts b/src/models/parsing-error-codes.ts new file mode 100644 index 00000000..3d2dde0c --- /dev/null +++ b/src/models/parsing-error-codes.ts @@ -0,0 +1,531 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* The enumeration contains error codes that can return during the RFID chip processing. +* @export +* @enum {string} +*/ + +export const ParsingErrorCodes = { + /** + * OK + */ + errLDS_Ok: 1, + /** + * ASN: Incorrect data + */ + errLDS_ASN_IncorrectData: 2147483649, + /** + * ASN: Not enough data + */ + errLDS_ASN_NotEnoughData: 2147483650, + /** + * ASN: Contents unexpected data + */ + errLDS_ASN_Contents_UnexpectedData: 2147483651, + /** + * ASN Signed data: Incorrect data + */ + errLDS_ASN_SignedData_IncorrectData: 2147483656, + /** + * ASN Signed data: Encap contents incorrect data + */ + errLDS_ASN_SignedData_EncapContents_IncorrectData: 2147483657, + /** + * ASN Signed data: Version incorrect data + */ + errLDS_ASN_SignedData_Version_IncorrectData: 2147483658, + /** + * ASN Signed data: Digest algorithms incorrect data + */ + errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData: 2147483665, + /** + * ASN LDS object: Incorrect data + */ + errLDS_ASN_LDSObject_IncorrectData: 2147483667, + /** + * ASN LDS object: Version incorrect data + */ + errLDS_ASN_LDSObject_Version_IncorrectData: 2147483668, + /** + * ASN LDS object: Digest algorithm incorrect data + */ + errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData: 2147483669, + /** + * ASN LDS object: DG hashes incorrect data + */ + errLDS_ASN_LDSObject_DGHashes_IncorrectData: 2147483670, + /** + * ASN LDS object: Version info incorrect data + */ + errLDS_ASN_LDSObject_VersionInfo_IncorrectData: 2147483666, + /** + * ASN Certificate: Incorrect data + */ + errLDS_ASN_Certificate_IncorrectData: 2147483671, + /** + * ASN Certificate: Version incorrect data + */ + errLDS_ASN_Certificate_Version_IncorrectData: 2147483672, + /** + * ASN Certificate: SN incorrect data + */ + errLDS_ASN_Certificate_SN_IncorrectData: 2147483673, + /** + * ASN Certificate: Signature incorrect data + */ + errLDS_ASN_Certificate_Signature_IncorrectData: 2147483674, + /** + * ASN Certificate: Issuer incorrect data + */ + errLDS_ASN_Certificate_Issuer_IncorrectData: 2147483675, + /** + * ASN Certificate: Validity incorrect data + */ + errLDS_ASN_Certificate_Validity_IncorrectData: 2147483676, + /** + * ASN Certificate: Subject incorrect data + */ + errLDS_ASN_Certificate_Subject_IncorrectData: 2147483677, + /** + * ASN Certificate: Subject PK incorrect data + */ + errLDS_ASN_Certificate_SubjectPK_IncorrectData: 2147483678, + /** + * ASN Certificate: Extensions incorrect data + */ + errLDS_ASN_Certificate_Extensions_IncorrectData: 2147483679, + /** + * ASN Signer info: Incorrect data + */ + errLDS_ASN_SignerInfo_IncorrectData: 2147483680, + /** + * ASN Signer info: Version incorrect data + */ + errLDS_ASN_SignerInfo_Version_IncorrectData: 2147483681, + /** + * ASN Signer info: SID incorrect data + */ + errLDS_ASN_SignerInfo_SID_IncorrectData: 2147483682, + /** + * ASN Signer info: Digest algorithms incorrect data + */ + errLDS_ASN_SignerInfo_DigestAlg_IncorrectData: 2147483683, + /** + * ASN Signer info: Signed attributes incorrect data + */ + errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData: 2147483684, + /** + * ASN Signer info: Sign algorithms incorrect data + */ + errLDS_ASN_SignerInfo_SignAlg_IncorrectData: 2147483685, + /** + * ASN Signer info: Signature incorrect data + */ + errLDS_ASN_SignerInfo_Signature_IncorrectData: 2147483686, + /** + * ASN Signer info: Unsigned attributes incorrect data + */ + errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData: 2147483687, + /** + * ICAO LDS object: Unsupported digest algorithm + */ + errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm: 2147483696, + /** + * ICAO Signed data: Signer info empty + */ + errLDS_ICAO_SignedData_SignerInfos_Empty: 2147483697, + /** + * ICAO Signer info: Unsupported digest algorithm + */ + errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm: 2147483698, + /** + * ICAO Signer info: Unsupported signature algorithm + */ + errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm: 2147483699, + /** + * ICAO Signer info: Message digest error + */ + errLDS_ICAO_SignerInfo_MessageDigestError: 2147483700, + /** + * ICAO Signer info: Signed attributes missed + */ + errLDS_ICAO_SignerInfo_SignedAttrs_Missed: 2147483702, + /** + * Auth: Signer info cannot find certificate + */ + errLDS_Auth_SignerInfo_CantFindCertificate: 2147483701, + /** + * Auth: Error + */ + errLDS_Auth_Error: 2147483728, + /** + * Auth: Unsupported signature algorithm + */ + errLDS_Auth_UnsupportedSignatureAlgorithm: 2147483729, + /** + * Auth: Unsupported public key algorithm + */ + errLDS_Auth_UnsupportedPublicKeyAlgorithm: 2147483730, + /** + * Auth: Messed algorithms + */ + errLDS_Auth_MessedAlgorithms: 2147483731, + /** + * Auth: Public key data invalid + */ + errLDS_Auth_PublicKeyDataInvalid: 2147483732, + /** + * Auth: Algorithm parameters data invalid + */ + errLDS_Auth_AlgorithmParametersDataInvalid: 2147483733, + /** + * Auth: Signature data invalid + */ + errLDS_Auth_SignatureDataInvalid: 2147483734, + /** + * Auth: Unsupported digest algorithm + */ + errLDS_Auth_UnsupportedDigestAlgorithm: 2147483735, + /** + * Auth: Signature data incorrect + */ + errLDS_Auth_SignatureDataIncorrect: 2147483736, + /** + * Auth: Algorithm parameters not defined + */ + errLDS_Auth_AlgorithmParametersNotDefined: 2147483737, + /** + * Auth: Signature check failed + */ + errLDS_Auth_SignatureCheckFailed: 2147483738, + /** + * DG: Wrong Tag + */ + errLDS_DG_WrongTag: 2147483760, + /** + * DG: Contents unexpected data + */ + errLDS_DG_Contents_UnexpectedData: 2147483761, + /** + * BAP: Symmetric Cypher Cannot Initialize + */ + errLDS_BAP_SymmetricCypher_CantInitialize: 2164260881, + /** + * PACE: Info Not Available + */ + errLDS_PACE_Info_NotAvailable: 2164260896, + /** + * PACE: Symmetric Cypher Cannot Initialize + */ + errLDS_PACE_SymmetricCypher_CantInitialize: 2164260897, + /** + * PACE: Key Agreement Cannot Initialize + */ + errLDS_PACE_KeyAgreement_CantInitialize: 2164260898, + /** + * PACE: Ephemeral Keys Cannot Create + */ + errLDS_PACE_EphemeralKeys_CantCreate: 2164260899, + /** + * PACE: Mapping Cannot Decode Nonce + */ + errLDS_PACE_Mapping_CantDecodeNonce: 2164260900, + /** + * PACE: Shared Secret Cannot Create + */ + errLDS_PACE_SharedSecret_CantCreate: 2164260901, + /** + * PACE: Domain Params Unsupported Format + */ + errLDS_PACE_DomainParams_UnsupportedFormat: 2164260902, + /** + * PACE: Ephemeral Keys Incorrect + */ + errLDS_PACE_EphemeralKeys_Incorrect: 2164260903, + /** + * PACE: Mapping Ephemeral Keys Incorrect + */ + errLDS_PACE_Mapping_EphemeralKeys_Incorrect: 2164260904, + /** + * PACE: Mapping Cannot Perform + */ + errLDS_PACE_Mapping_CantPerform: 2164260905, + /** + * PACE: Non-Matching Auth Tokens + */ + errLDS_PACE_NonMatchingAuthTokens: 2164260906, + /** + * PACE: CAM data incorrect + */ + errLDS_PACE_CAM_Data_Incorrect: 2164260907, + /** + * PACE: CAM data cannot verify + */ + errLDS_PACE_CAM_Data_CantVerify: 2164260908, + /** + * PACE: CAM data non-matching + */ + errLDS_PACE_CAM_Data_NonMatching: 2164260909, + /** + * PACE: IM scheme incorrect + */ + errLDS_PACE_IM_Scheme_Incorrect: 2164260910, + /** + * PACE: Random mapping failed + */ + errLDS_PACE_IM_RandomMapping_Failed: 2164260911, + /** + * CA: Cannot Find Public Key + */ + errLDS_CA_CantFindPublicKey: 2164260912, + /** + * CA: Cannot Find Info + */ + errLDS_CA_CantFindInfo: 2164260913, + /** + * CA: Incorrect Version + */ + errLDS_CA_IncorrectVersion: 2164260914, + /** + * CA: Cannot Find Domain Parameters + */ + errLDS_CA_CantFindDomainParameters: 2164260915, + /** + * CA: Key Agreement Cannot Initialize + */ + errLDS_CA_KeyAgreement_CantInitialize: 2164260916, + /** + * CA: Public Key Unsupported Algorithm + */ + errLDS_CA_PublicKey_UnsupportedAlgorithm: 2164260917, + /** + * CA: Ephemeral Keys Cannot Create + */ + errLDS_CA_EphemeralKeys_CantCreate: 2164260918, + /** + * CA: Shared Secret Cannot Create + */ + errLDS_CA_SharedSecret_CantCreate: 2164260919, + /** + * CA: Non-Matching Auth Tokens + */ + errLDS_CA_NonMatchingAuthTokens: 2164260920, + /** + * TA: Incorrect Version + */ + errLDS_TA_IncorrectVersion: 2164260928, + /** + * TA: Cannot Build Certificate Chain + */ + errLDS_TA_CantBuildCertificateChain: 2164260929, + /** + * TA: Cannot Find IS Private Key + */ + errLDS_TA_CantFindISPrivateKey: 2164260930, + /** + * TA: Public Key Unsupported Algorithm + */ + errLDS_TA_PublicKey_UnsupportedAlgorithm: 2164260931, + /** + * TA: Signature Building Error + */ + errLDS_TA_SignatureBuildingError: 2164260932, + /** + * TA: Invalid Key Algorithm Parameters + */ + errLDS_TA_InvalidKeyAlgorithmParameters: 2164260933, + /** + * AA: Public Key Unsupported Algorithm + */ + errLDS_AA_PublicKey_UnsupportedAlgorithm: 2164260944, + /** + * AA: Public Key Incorrect Data + */ + errLDS_AA_PublicKey_IncorrectData: 2164260945, + /** + * AA: Public Key Incorrect Parameters + */ + errLDS_AA_PublicKey_IncorrectParameters: 2164260946, + /** + * AA: Public Key Undefined Parameters + */ + errLDS_AA_PublicKey_UndefinedParameters: 2164260947, + /** + * AA: Signature Incorrect Data + */ + errLDS_AA_Signature_IncorrectData: 2164260948, + /** + * AA: Unsupported recovery scheme + */ + errLDS_AA_UnsupportedRecoveryScheme: 2164260949, + /** + * AA: Incorrect Trailer + */ + errLDS_AA_IncorrectTrailer: 2164260950, + /** + * AA: Unsupported Digest Algorithm + */ + errLDS_AA_UnsupportedDigestAlgorithm: 2164260951, + /** + * RI: Sector Key Cannot Find + */ + errLDS_RI_SectorKey_CantFind: 2164260976, + /** + * RI: Sector Key Incorrect Data + */ + errLDS_RI_SectorKey_IncorrectData: 2164260977, + /** + * RI: Sector Key Incomplete Data + */ + errLDS_RI_SectorKey_IncompleteData: 2164260978, + /** + * CV Certificate: Missing mandatory data PK + */ + errLDS_CV_Certificate_MissingMandatoryData_PK: 2164260960, + /** + * CV Certificate: Public key unsupported + */ + errLDS_CV_Certificate_PublicKey_Unsupported: 2164260962, + /** + * CV Certificate: CHAT unsupported terminal type + */ + errLDS_CV_Certificate_CHAT_UnsupportedTerminalType: 2164260963, + /** + * CV Certificate: Private key unsupported + */ + errLDS_CV_Certificate_PrivateKey_Unsupported: 2164260964, + /** + * CV Certificate: Private key invalid params + */ + errLDS_CV_Certificate_PrivateKey_InvalidParams: 2164260965, + /** + * CV Certificate: Incorrect data + */ + errLDS_CV_Certificate_IncorrectData: 2164261216, + /** + * CV Certificate: CPI incorrect data + */ + errLDS_CV_Certificate_CPI_IncorrectData: 2164261217, + /** + * CV Certificate: CAR incorrect data + */ + errLDS_CV_Certificate_CAR_IncorrectData: 2164261218, + /** + * CV Certificate: Public key incorrect data + */ + errLDS_CV_Certificate_PublicKey_IncorrectData: 2164261219, + /** + * CV Certificate: CHR incorrect data + */ + errLDS_CV_Certificate_CHR_IncorrectData: 2164261220, + /** + * CV Certificate: CHAT incorrect data + */ + errLDS_CV_Certificate_CHAT_IncorrectData: 2164261221, + /** + * CV Certificate: Valid from incorrect data + */ + errLDS_CV_Certificate_ValidFrom_IncorrectData: 2164261222, + /** + * CV Certificate: Valid to incorrect data + */ + errLDS_CV_Certificate_ValidTo_IncorrectData: 2164261223, + /** + * CV Certificate: Extensions incorrect data + */ + errLDS_CV_Certificate_Extensions_IncorrectData: 2164261224, + /** + * CV Certificate: Private key incorrect data + */ + errLDS_CV_Certificate_PrivateKey_IncorrectData: 2164261225, + /** + * CV Certificate: Private key missing + */ + errLDS_CV_Certificate_PrivateKey_Missing: 2164261226, + /** + * VDS: Unsupported version + */ + errLDS_VDS_UnsupportedVersion: 2164261376, + /** + * VDS: Issuing country size + */ + errLDS_VDS_Issuing_Country_Size: 2164261377, + /** + * VDS: Issuing country incorrect data + */ + errLDS_VDS_Issuing_Country_IncorrectData: 2164261378, + /** + * VDS: Signature certificate size + */ + errLDS_VDS_Signer_Certificate_Size: 2164261379, + /** + * VDS: Signature certificate data + */ + errLDS_VDS_Signer_Certificate_Data: 2164261380, + /** + * VDS: Signature incorrect data + */ + errLDS_VDS_Signature_IncorrectData: 2164261381, + /** + * VDS: Incorrect data + */ + errLDS_VDS_NC_IncorrectData: 2164261632, + /** + * VDS: Missing or incorrect data + */ + errLDS_VDS_NC_MissingOrIncorrect_Data: 2164261633, + /** + * VDS: Missing or incorrect header + */ + errLDS_VDS_NC_MissingOrIncorrect_Header: 2164261634, + /** + * VDS: Missing or incorrect type + */ + errLDS_VDS_NC_MissingOrIncorrect_Type: 2164261635, + /** + * VDS: Missing or incorrect version + */ + errLDS_VDS_NC_MissingOrIncorrect_Version: 2164261636, + /** + * VDS: Missing or incorrect issuing country + */ + errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry: 2164261637, + /** + * VDS: Missing or incorrect message + */ + errLDS_VDS_NC_MissingOrIncorrect_Message: 2164261638, + /** + * VDS: Missing or incorrect signature + */ + errLDS_VDS_NC_MissingOrIncorrect_Signature: 2164261639, + /** + * VDS: Missing or incorrect signature algorithm + */ + errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm: 2164261640, + /** + * VDS: Missing or incorrect certificate + */ + errLDS_VDS_NC_MissingOrIncorrect_Certificate: 2164261641, + /** + * VDS: Missing or incorrect signature value + */ + errLDS_VDS_NC_MissingOrIncorrect_SigValue: 2164261642 +} as const; + +export type ParsingErrorCodes = typeof ParsingErrorCodes[keyof typeof ParsingErrorCodes]; + diff --git a/src/models/parsing-notification-codes.ts b/src/models/parsing-notification-codes.ts index a20497b6..aeebaac8 100644 --- a/src/models/parsing-notification-codes.ts +++ b/src/models/parsing-notification-codes.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,900 +15,901 @@ /** - * The enumeration contains possible values of notification codes returned during the RFID chip processing. - * @export - * @enum {string} - */ -export enum ParsingNotificationCodes { +* The enumeration contains possible values of notification codes returned during the RFID chip processing. +* @export +* @enum {string} +*/ + +export const ParsingNotificationCodes = { /** * ASN certificate: Incorrect version */ - ntfLDS_ASN_Certificate_IncorrectVersion = -1879048191, + ntfLDS_ASN_Certificate_IncorrectVersion: 2415919105, /** * ASN certificate: Non-matching signature algorithm */ - ntfLDS_ASN_Certificate_NonMatchingSignatureAlgorithm = -1879048190, + ntfLDS_ASN_Certificate_NonMatchingSignatureAlgorithm: 2415919106, /** * ASN certificate: Incorrect time coding */ - ntfLDS_ASN_Certificate_IncorrectTimeCoding = -1879048189, + ntfLDS_ASN_Certificate_IncorrectTimeCoding: 2415919107, /** * ASN certificate: Incorrect use of generalized time */ - ntfLDS_ASN_Certificate_IncorrectUseOfGeneralizedTime = -1879048188, + ntfLDS_ASN_Certificate_IncorrectUseOfGeneralizedTime: 2415919108, /** * ASN certificate: Empty issuer */ - ntfLDS_ASN_Certificate_EmptyIssuer = -1879048187, + ntfLDS_ASN_Certificate_EmptyIssuer: 2415919109, /** * ASN certificate: Empty subject */ - ntfLDS_ASN_Certificate_EmptySubject = -1879048186, + ntfLDS_ASN_Certificate_EmptySubject: 2415919110, /** * ASN certificate: Unsupported critical extension */ - ntfLDS_ASN_Certificate_UnsupportedCriticalExtension = -1879048184, + ntfLDS_ASN_Certificate_UnsupportedCriticalExtension: 2415919112, /** * ASN certificate: Forced default CSCA role */ - ntfLDS_ASN_Certificate_ForcedDefaultCSCARole = -1879048178, + ntfLDS_ASN_Certificate_ForcedDefaultCSCARole: 2415919118, /** * ASN certificate: Forced Default DS role */ - ntfLDS_ASN_Certificate_ForcedDefaultDSRole = -1879048177, + ntfLDS_ASN_Certificate_ForcedDefaultDSRole: 2415919119, /** * ASN certificate: Incorrect issuer subject DS */ - ntfLDS_ASN_Certificate_IncorrectIssuerSubjectDS = -1879048176, + ntfLDS_ASN_Certificate_IncorrectIssuerSubjectDS: 2415919120, /** * ASN certificate: Duplicating extensions */ - ntfLDS_ASN_Certificate_DuplicatingExtensions = -1879048169, + ntfLDS_ASN_Certificate_DuplicatingExtensions: 2415919127, /** * ICAO certificate: Version missed */ - ntfLDS_ICAO_Certificate_Version_Missed = -1879047680, + ntfLDS_ICAO_Certificate_Version_Missed: 2415919616, /** * ICAO certificate: Version incorrect */ - ntfLDS_ICAO_Certificate_Version_Incorrect = -1879047679, + ntfLDS_ICAO_Certificate_Version_Incorrect: 2415919617, /** * ICAO certificate: Issuer country missed */ - ntfLDS_ICAO_Certificate_Issuer_Country_Missed = -1879047678, + ntfLDS_ICAO_Certificate_Issuer_Country_Missed: 2415919618, /** * ICAO certificate: Issuer common name missed */ - ntfLDS_ICAO_Certificate_Issuer_CommonName_Missed = -1879047677, + ntfLDS_ICAO_Certificate_Issuer_CommonName_Missed: 2415919619, /** * ICAO certificate: Issuer country non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_CountryNonCompliant = -1879047676, + ntfLDS_ICAO_Certificate_Issuer_CountryNonCompliant: 2415919620, /** * ICAO certificate: Subject country missed */ - ntfLDS_ICAO_Certificate_Subject_Country_Missed = -1879047675, + ntfLDS_ICAO_Certificate_Subject_Country_Missed: 2415919621, /** * ICAO certificate: Subject common name missed */ - ntfLDS_ICAO_Certificate_Subject_CommonName_Missed = -1879047674, + ntfLDS_ICAO_Certificate_Subject_CommonName_Missed: 2415919622, /** * ICAO certificate: Subject country non-compliant */ - ntfLDS_ICAO_Certificate_Subject_CountryNonCompliant = -1879047673, + ntfLDS_ICAO_Certificate_Subject_CountryNonCompliant: 2415919623, /** * ICAO certificate: Using non-compliant data */ - ntfLDS_ICAO_Certificate_UsingNonCompliantData = -1879047672, + ntfLDS_ICAO_Certificate_UsingNonCompliantData: 2415919624, /** * ICAO certificate: Unsupported signature algorithm */ - ntfLDS_ICAO_Certificate_UnsupportedSignatureAlgorithm = -1879047671, + ntfLDS_ICAO_Certificate_UnsupportedSignatureAlgorithm: 2415919625, /** * ICAO certificate: Unsupported public key algorithm */ - ntfLDS_ICAO_Certificate_UnsupportedPublicKeyAlgorithm = -1879047670, + ntfLDS_ICAO_Certificate_UnsupportedPublicKeyAlgorithm: 2415919626, /** * ICAO certificate: Missed extensions */ - ntfLDS_ICAO_Certificate_MissedExtensions = -1879047669, + ntfLDS_ICAO_Certificate_MissedExtensions: 2415919627, /** * ICAO certificate: Validity */ - ntfLDS_ICAO_Certificate_Validity = -1879047668, + ntfLDS_ICAO_Certificate_Validity: 2415919628, /** * ICAO certificate extension: Using non-compliant data */ - ntfLDS_ICAO_Certificate_Ext_UsingNonCompliantData = -1879047667, + ntfLDS_ICAO_Certificate_Ext_UsingNonCompliantData: 2415919629, /** * ICAO certificate extension: Key usage missed */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_Missed = -1879047666, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_Missed: 2415919630, /** * ICAO certificate extension: Key usage not critical */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_NotCritical = -1879047665, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_NotCritical: 2415919631, /** * ICAO certificate extension: Key usage incorrect data */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_IncorrectData = -1879047664, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_IncorrectData: 2415919632, /** * ICAO certificate extension: Basic constraints missed */ - ntfLDS_ICAO_Certificate_Ext_BasicC_Missed = -1879047663, + ntfLDS_ICAO_Certificate_Ext_BasicC_Missed: 2415919633, /** * ICAO certificate extension: Basic constraints incorrect usage 1 */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage1 = -1879047662, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage1: 2415919634, /** * ICAO certificate extension: Basic constraints incorrect usage 2 */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage2 = -1879047661, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage2: 2415919635, /** * ICAO certificate extension: Basic constraints not critical */ - ntfLDS_ICAO_Certificate_Ext_BasicC_NotCritical = -1879047660, + ntfLDS_ICAO_Certificate_Ext_BasicC_NotCritical: 2415919636, /** * ICAO certificate extension: Basic constraints incorrect data */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectData = -1879047659, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectData: 2415919637, /** * ICAO certificate extension: Basic constraints path LenC missed */ - ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Missed = -1879047658, + ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Missed: 2415919638, /** * ICAO certificate extension: Basic constraints path LenC incorrect */ - ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Incorrect = -1879047657, + ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Incorrect: 2415919639, /** * ICAO certificate extension: Ext key usage not critical */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_NotCritical = -1879047656, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_NotCritical: 2415919640, /** * ICAO certificate extension: Ext key usage incorrect usage */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectUsage = -1879047655, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectUsage: 2415919641, /** * ICAO certificate extension: Ext key usage incorrect data */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectData = -1879047654, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectData: 2415919642, /** * ICAO certificate extension Auth key: ID missed */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed = -1879047653, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed: 2415919643, /** * ICAO certificate extension Auth key: Incorrect data */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData = -1879047652, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData: 2415919644, /** * ICAO certificate extension Auth key: Key ID missed */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed = -1879047651, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed: 2415919645, /** * ICAO certificate extension: Subject key ID missed */ - ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_Missed = -1879047650, + ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_Missed: 2415919646, /** * ICAO certificate extension: Subject key ID incorrect data */ - ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_IncorrectData = -1879047649, + ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_IncorrectData: 2415919647, /** * ICAO certificate extension: Private key UP missed */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Missed = -1879047648, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Missed: 2415919648, /** * ICAO certificate extension: Private key UP incorrect data */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_IncorrectData = -1879047647, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_IncorrectData: 2415919649, /** * ICAO certificate extension: Private key UP empty */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Empty = -1879047646, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Empty: 2415919650, /** * ICAO certificate extension: Subject alt name missed */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Missed = -1879047645, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Missed: 2415919651, /** * ICAO certificate extension: Subject alt name incorrect data */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_IncorrectData = -1879047644, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_IncorrectData: 2415919652, /** * ICAO certificate extension: Subject alt name empty */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Empty = -1879047643, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Empty: 2415919653, /** * ICAO certificate extension: Subject alt name non-compliant */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_NonCompliant = -1879047642, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_NonCompliant: 2415919654, /** * ICAO certificate extension: Subject alt name critical */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Critical = -1879047640, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Critical: 2415919656, /** * ICAO certificate extension: Subject alt name DN empty */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Empty = -1879047639, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Empty: 2415919657, /** * ICAO certificate extension: Subject alt name DN incorrect */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Incorrect = -1879047638, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Incorrect: 2415919658, /** * ICAO certificate extension: Subject alt name DN non-compliant */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_NonCompliant = -1879047637, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_NonCompliant: 2415919659, /** * ICAO certificate extension: Issuer alt name missed */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Missed = -1879047636, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Missed: 2415919660, /** * ICAO certificate extension: Issuer alt name incorrect data */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_IncorrectData = -1879047635, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_IncorrectData: 2415919661, /** * ICAO certificate extension: Issuer alt name empty */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Empty = -1879047634, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Empty: 2415919662, /** * ICAO certificate extension: Issuer alt name non-compliant */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_NonCompliant = -1879047633, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_NonCompliant: 2415919663, /** * ICAO certificate extension: Issuer alt name critical */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Critical = -1879047631, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Critical: 2415919665, /** * ICAO certificate extension: Issuer alt name DN empty */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Empty = -1879047630, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Empty: 2415919666, /** * ICAO certificate extension: Issuer alt name DN incorrect */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Incorrect = -1879047629, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Incorrect: 2415919667, /** * ICAO certificate extension: Issuer alt name DN non-compliant */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_NonCompliant = -1879047628, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_NonCompliant: 2415919668, /** * ICAO certificate extension Doc type list: Missed */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Missed = -1879047627, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Missed: 2415919669, /** * ICAO certificate extension Doc type list: Incorrect data */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_IncorrectData = -1879047626, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_IncorrectData: 2415919670, /** * ICAO certificate extension Doc type list: Version */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Version = -1879047625, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Version: 2415919671, /** * ICAO certificate extension Doc type list: Doc types */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes = -1879047624, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes: 2415919672, /** * ICAO certificate extension Doc type list: Doc types empty */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty = -1879047623, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty: 2415919673, /** * ICAO certificate extension: Dert policies incorrect data */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData = -1879047622, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData: 2415919674, /** * ICAO certificate extension: Cert policies empty */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_Empty = -1879047621, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_Empty: 2415919675, /** * ICAO certificate extension: Cert policies policy ID missed */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_PolicyID_Missed = -1879047620, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_PolicyID_Missed: 2415919676, /** * ICAO certificate extension: CRL dist point missed */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Missed = -1879047619, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Missed: 2415919677, /** * ICAO certificate extension: CRL dist point incorrect data */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_IncorrectData = -1879047618, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_IncorrectData: 2415919678, /** * ICAO certificate extension: CRL dist point empty */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Empty = -1879047617, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Empty: 2415919679, /** * ICAO certificate extension: CRL dist point point missed */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_PointMissed = -1879047616, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_PointMissed: 2415919680, /** * ICAO certificate: SN non-compliant */ - ntfLDS_ICAO_Certificate_SN_NonCompliant = -1879047615, + ntfLDS_ICAO_Certificate_SN_NonCompliant: 2415919681, /** * ICAO certificate: Issuer SN non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_SN_NonCompliant = -1879047614, + ntfLDS_ICAO_Certificate_Issuer_SN_NonCompliant: 2415919682, /** * ICAO certificate: Subject SN non-compliant */ - ntfLDS_ICAO_Certificate_Subject_SN_NonCompliant = -1879047613, + ntfLDS_ICAO_Certificate_Subject_SN_NonCompliant: 2415919683, /** * ICAO certificate: Issuer attribute non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_AttributeNonCompliant = -1879047612, + ntfLDS_ICAO_Certificate_Issuer_AttributeNonCompliant: 2415919684, /** * ICAO certificate: Subject attribute non-compliant */ - ntfLDS_ICAO_Certificate_Subject_AttributeNonCompliant = -1879047611, + ntfLDS_ICAO_Certificate_Subject_AttributeNonCompliant: 2415919685, /** * ICAO certificate: Issuer subject country non-matching */ - ntfLDS_ICAO_Certificate_IssuerSubject_Country_NonMatching = -1879047610, + ntfLDS_ICAO_Certificate_IssuerSubject_Country_NonMatching: 2415919686, /** * ICAO certificate extension: CSCA alt names non-matching */ - ntfLDS_ICAO_Certificate_Ext_CSCA_AltNames_NonMatching = -1879047609, + ntfLDS_ICAO_Certificate_Ext_CSCA_AltNames_NonMatching: 2415919687, /** * ICAO certificate extension: Name change incorrect data */ - ntfLDS_ICAO_Certificate_Ext_NameChange_IncorrectData = -1879047608, + ntfLDS_ICAO_Certificate_Ext_NameChange_IncorrectData: 2415919688, /** * ICAO certificate extension: Name change non-compliant */ - ntfLDS_ICAO_Certificate_Ext_NameChange_NonCompliant = -1879047607, + ntfLDS_ICAO_Certificate_Ext_NameChange_NonCompliant: 2415919689, /** * ICAO certificate extension: Name change critical */ - ntfLDS_ICAO_Certificate_Ext_NameChange_Critical = -1879047606, + ntfLDS_ICAO_Certificate_Ext_NameChange_Critical: 2415919690, /** * ICAO certificate extension Doc type list: non-compliant */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant = -1879047605, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant: 2415919691, /** * ICAO certificate extension Doc type list: Critical */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Critical = -1879047604, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Critical: 2415919692, /** * ICAO certificate extension: Optional critical */ - ntfLDS_ICAO_Certificate_Ext_Optional_Critical = -1879047603, + ntfLDS_ICAO_Certificate_Ext_Optional_Critical: 2415919693, /** * ICAO certificate: Subject non-compliant */ - ntfLDS_ICAO_Certificate_Subject_NonCompliant = -1879047602, + ntfLDS_ICAO_Certificate_Subject_NonCompliant: 2415919694, /** * ICAO certificate: Subject common name non-compliant */ - ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant = -1879047601, + ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant: 2415919695, /** * ICAO COM: LDS version incorrect */ - ntfLDS_ICAO_COM_LDS_Version_Incorrect = -1879048160, + ntfLDS_ICAO_COM_LDS_Version_Incorrect: 2415919136, /** * ICAO COM: LDS version missing */ - ntfLDS_ICAO_COM_LDS_Version_Missing = -1879048159, + ntfLDS_ICAO_COM_LDS_Version_Missing: 2415919137, /** * ICAO COM: Unicode version incorrect */ - ntfLDS_ICAO_COM_Unicode_Version_Incorrect = -1879048158, + ntfLDS_ICAO_COM_Unicode_Version_Incorrect: 2415919138, /** * ICAO COM: Unicode version missing */ - ntfLDS_ICAO_COM_Unicode_Version_Missing = -1879048157, + ntfLDS_ICAO_COM_Unicode_Version_Missing: 2415919139, /** * ICAO COM: DGPM incorrect */ - ntfLDS_ICAO_COM_DGPM_Incorrect = -1879048156, + ntfLDS_ICAO_COM_DGPM_Incorrect: 2415919140, /** * ICAO COM: DGPM missing */ - ntfLDS_ICAO_COM_DGPM_Missing = -1879048155, + ntfLDS_ICAO_COM_DGPM_Missing: 2415919141, /** * ICAO COM: DGPM unexpected */ - ntfLDS_ICAO_COM_DGPM_Unexpected = -1879048154, + ntfLDS_ICAO_COM_DGPM_Unexpected: 2415919142, /** * ICAO application: LDS version unsupported */ - ntfLDS_ICAO_Application_LDSVersion_Unsupported = -1879048144, + ntfLDS_ICAO_Application_LDSVersion_Unsupported: 2415919152, /** * ICAO application: Unicode version unsupported */ - ntfLDS_ICAO_Application_UnicodeVersion_Unsupported = -1879048143, + ntfLDS_ICAO_Application_UnicodeVersion_Unsupported: 2415919153, /** * ICAO application: LDS version inconsistent */ - ntfLDS_ICAO_Application_LDSVersion_Inconsistent = -1879048142, + ntfLDS_ICAO_Application_LDSVersion_Inconsistent: 2415919154, /** * ICAO application: Unicode version inconsistent */ - ntfLDS_ICAO_Application_UnicodeVersion_Inconsistent = -1879048141, + ntfLDS_ICAO_Application_UnicodeVersion_Inconsistent: 2415919155, /** * ASN signed data: OID incorrect */ - ntfLDS_ASN_SignedData_OID_Incorrect = -1879047936, + ntfLDS_ASN_SignedData_OID_Incorrect: 2415919360, /** * ASN signed data: Version incorrect */ - ntfLDS_ASN_SignedData_Version_Incorrect = -1879047776, + ntfLDS_ASN_SignedData_Version_Incorrect: 2415919520, /** * ASN signed data: Content OID incorrect */ - ntfLDS_ASN_SignedData_ContentOID_Incorrect = -1879047775, + ntfLDS_ASN_SignedData_ContentOID_Incorrect: 2415919521, /** * ICAO signed data: Version incorrect */ - ntfLDS_ICAO_SignedData_Version_Incorrect = -1879047935, + ntfLDS_ICAO_SignedData_Version_Incorrect: 2415919361, /** * ICAO signed data: Digest algorithms empty */ - ntfLDS_ICAO_SignedData_DigestAlgorithms_Empty = -1879047934, + ntfLDS_ICAO_SignedData_DigestAlgorithms_Empty: 2415919362, /** * ICAO signed data: Digest algorithms unsupported */ - ntfLDS_ICAO_SignedData_DigestAlgorithms_Unsupported = -1879047933, + ntfLDS_ICAO_SignedData_DigestAlgorithms_Unsupported: 2415919363, /** * ICAO signed data: Signer infos multiple entries */ - ntfLDS_ICAO_SignedData_SignerInfos_MultipleEntries = -1879047927, + ntfLDS_ICAO_SignedData_SignerInfos_MultipleEntries: 2415919369, /** * ICAO signed data: Certificates missed */ - ntfLDS_ICAO_SignedData_Certificates_Missed = -1879047760, + ntfLDS_ICAO_SignedData_Certificates_Missed: 2415919536, /** * ICAO signed data: Certificates empty */ - ntfLDS_ICAO_SignedData_Certificates_Empty = -1879047759, + ntfLDS_ICAO_SignedData_Certificates_Empty: 2415919537, /** * ICAO signed data: CRLs incorrect usage */ - ntfLDS_ICAO_SignedData_CRLs_IncorrectUsage = -1879047758, + ntfLDS_ICAO_SignedData_CRLs_IncorrectUsage: 2415919538, /** * ICAO LDS object: Incorrect content OID */ - ntfLDS_ICAO_LDSObject_IncorrectContentOID = -1879047932, + ntfLDS_ICAO_LDSObject_IncorrectContentOID: 2415919364, /** * ICAO LDS object: DG number incorrect */ - ntfLDS_ICAO_LDSObject_DGNumber_Incorrect = -1879047931, + ntfLDS_ICAO_LDSObject_DGNumber_Incorrect: 2415919365, /** * ICAO LDS object: DG hash missing */ - ntfLDS_ICAO_LDSObject_DGHash_Missing = -1879047930, + ntfLDS_ICAO_LDSObject_DGHash_Missing: 2415919366, /** * ICAO LDS object: DG hash extra */ - ntfLDS_ICAO_LDSObject_DGHash_Extra = -1879047929, + ntfLDS_ICAO_LDSObject_DGHash_Extra: 2415919367, /** * ICAO LDS object: Version incorrect */ - ntfLDS_ICAO_LDSObject_Version_Incorrect = -1879047928, + ntfLDS_ICAO_LDSObject_Version_Incorrect: 2415919368, /** * ICAO master list: Version incorrect */ - ntfLDS_ICAO_MasterList_Version_Incorrect = -1879047744, + ntfLDS_ICAO_MasterList_Version_Incorrect: 2415919552, /** * ICAO Deviation list: Version incorrect */ - ntfLDS_ICAO_DeviationList_Version_Incorrect = -1879047736, + ntfLDS_ICAO_DeviationList_Version_Incorrect: 2415919560, /** * BSI: Defect list version incorrect */ - ntfLDS_BSI_DefectList_Version_Incorrect = -1879047728, + ntfLDS_BSI_DefectList_Version_Incorrect: 2415919568, /** * BSI: Black list version incorrect */ - ntfLDS_BSI_BlackList_Version_Incorrect = -1879047720, + ntfLDS_BSI_BlackList_Version_Incorrect: 2415919576, /** * ASN signer info: Version incorrect */ - ntfLDS_ASN_SignerInfo_Version_Incorrect = -1879047926, + ntfLDS_ASN_SignerInfo_Version_Incorrect: 2415919370, /** * ASN signer info: SID incorrect choice */ - ntfLDS_ASN_SignerInfo_SID_IncorrectChoice = -1879047925, + ntfLDS_ASN_SignerInfo_SID_IncorrectChoice: 2415919371, /** * ASN signer info: SID digest algorithm not listed */ - ntfLDS_ASN_SignerInfo_SID_DigestAlgorithmNotListed = -1879047924, + ntfLDS_ASN_SignerInfo_SID_DigestAlgorithmNotListed: 2415919372, /** * ASN signer info: Message digest attr missing */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Missing = -1879047923, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Missing: 2415919373, /** * ASN signer info: Message digest attr data */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Data = -1879047922, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Data: 2415919374, /** * ASN signer info: Message digest attr value */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Value = -1879047921, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Value: 2415919375, /** * ASN signer info: Content type attr missing */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Missing = -1879047920, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Missing: 2415919376, /** * ASN signer info: Content type attr data */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Data = -1879047919, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Data: 2415919377, /** * ASN signer info: Content type attr value */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Value = -1879047918, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Value: 2415919378, /** * ASN signer info: Signing time attr missing */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Missing = -1879047909, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Missing: 2415919387, /** * ASN signer info: Signing time attr data */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Data = -1879047908, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Data: 2415919388, /** * ASN signer info: Signing time attr value */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Value = -1879047907, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Value: 2415919389, /** * ASN signer info: List content description attr missing */ - ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Missing = -1879047906, + ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Missing: 2415919390, /** * ASN signer info: List content description attr data */ - ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Data = -1879047905, + ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Data: 2415919391, /** * Auth signer info: Certificate validity */ - ntfLDS_Auth_SignerInfo_Certificate_Validity = -1879047915, + ntfLDS_Auth_SignerInfo_Certificate_Validity: 2415919381, /** * Auth signer info: Certificate root is not trusted */ - ntfLDS_Auth_SignerInfo_Certificate_RootIsNotTrusted = -1879047914, + ntfLDS_Auth_SignerInfo_Certificate_RootIsNotTrusted: 2415919382, /** * Auth signer info: Certificate cannot find CSCA */ - ntfLDS_Auth_SignerInfo_Certificate_CantFindCSCA = -1879047913, + ntfLDS_Auth_SignerInfo_Certificate_CantFindCSCA: 2415919383, /** * Auth signer info: Certificate revoked */ - ntfLDS_Auth_SignerInfo_Certificate_Revoked = -1879047912, + ntfLDS_Auth_SignerInfo_Certificate_Revoked: 2415919384, /** * Auth signer info: Certificate signature invalid */ - ntfLDS_Auth_SignerInfo_Certificate_SignatureInvalid = -1879047911, + ntfLDS_Auth_SignerInfo_Certificate_SignatureInvalid: 2415919385, /** * Notification: Unsupported image format */ - ntfLDS_UnsupportedImageFormat = -1879047910, + ntfLDS_UnsupportedImageFormat: 2415919386, /** * MRZ: Document type unknown */ - ntfLDS_MRZ_DocumentType_Unknown = 139272, + ntfLDS_MRZ_DocumentType_Unknown: 139272, /** * MRZ: Issuing state syntax error */ - ntfLDS_MRZ_IssuingState_SyntaxError = 139273, + ntfLDS_MRZ_IssuingState_SyntaxError: 139273, /** * MRZ: Name is void */ - ntfLDS_MRZ_Name_IsVoid = 139274, + ntfLDS_MRZ_Name_IsVoid: 139274, /** * MRZ: Number incorrect checksum */ - ntfLDS_MRZ_Number_IncorrectChecksum = 139277, + ntfLDS_MRZ_Number_IncorrectChecksum: 139277, /** * MRZ: Nationality syntax error */ - ntfLDS_MRZ_Nationality_SyntaxError = 139278, + ntfLDS_MRZ_Nationality_SyntaxError: 139278, /** * MRZ: DOB syntax error */ - ntfLDS_MRZ_DOB_SyntaxError = 139279, + ntfLDS_MRZ_DOB_SyntaxError: 139279, /** * MRZ: DOB error */ - ntfLDS_MRZ_DOB_Error = 139280, + ntfLDS_MRZ_DOB_Error: 139280, /** * MRZ: DOB incorrect checksum */ - ntfLDS_MRZ_DOB_IncorrectChecksum = 139281, + ntfLDS_MRZ_DOB_IncorrectChecksum: 139281, /** * MRZ: Sex incorrect */ - ntfLDS_MRZ_Sex_Incorrect = 139282, + ntfLDS_MRZ_Sex_Incorrect: 139282, /** * MRZ: DOE syntax error */ - ntfLDS_MRZ_DOE_SyntaxError = 139283, + ntfLDS_MRZ_DOE_SyntaxError: 139283, /** * MRZ: DOE error */ - ntfLDS_MRZ_DOE_Error = 139284, + ntfLDS_MRZ_DOE_Error: 139284, /** * MRZ: DOE incorrect checksum */ - ntfLDS_MRZ_DOE_IncorrectChecksum = 139285, + ntfLDS_MRZ_DOE_IncorrectChecksum: 139285, /** * MRZ: Optional data incorrect checksum */ - ntfLDS_MRZ_OptionalData_IncorrectChecksum = 139286, + ntfLDS_MRZ_OptionalData_IncorrectChecksum: 139286, /** * MRZ: Incorrect checksum */ - ntfLDS_MRZ_IncorrectChecksum = 139287, + ntfLDS_MRZ_IncorrectChecksum: 139287, /** * MRZ: Incorrect */ - ntfLDS_MRZ_Incorrect = 139288, + ntfLDS_MRZ_Incorrect: 139288, /** * Biometrics: Format owner missing */ - ntfLDS_Biometrics_FormatOwner_Missing = -1878982656, + ntfLDS_Biometrics_FormatOwner_Missing: 2415984640, /** * Biometrics: Format owner incorrect */ - ntfLDS_Biometrics_FormatOwner_Incorrect = -1878917120, + ntfLDS_Biometrics_FormatOwner_Incorrect: 2416050176, /** * Biometrics: Format type missing */ - ntfLDS_Biometrics_FormatType_Missing = -1878851584, + ntfLDS_Biometrics_FormatType_Missing: 2416115712, /** * Biometrics: Format type incorrect */ - ntfLDS_Biometrics_FormatType_Incorrect = -1878786048, + ntfLDS_Biometrics_FormatType_Incorrect: 2416181248, /** * Biometrics: Type incorrect */ - ntfLDS_Biometrics_Type_Incorrect = -1878720512, + ntfLDS_Biometrics_Type_Incorrect: 2416246784, /** * Biometrics: Subtype missing */ - ntfLDS_Biometrics_SubType_Missing = -1878654976, + ntfLDS_Biometrics_SubType_Missing: 2416312320, /** * Biometrics: Subtype incorrect */ - ntfLDS_Biometrics_SubType_Incorrect = -1878589440, + ntfLDS_Biometrics_SubType_Incorrect: 2416377856, /** * Biometrics: BDB image missing */ - ntfLDS_Biometrics_BDB_Image_Missing = -1878523904, + ntfLDS_Biometrics_BDB_Image_Missing: 2416443392, /** * Biometrics: BDB format ID incorrect */ - ntfLDS_Biometrics_BDB_FormatID_Incorrect = -1878458368, + ntfLDS_Biometrics_BDB_FormatID_Incorrect: 2416508928, /** * Biometrics: BDB version incorrect */ - ntfLDS_Biometrics_BDB_Version_Incorrect = -1878392832, + ntfLDS_Biometrics_BDB_Version_Incorrect: 2416574464, /** * Biometrics: BDB data length incorrect */ - ntfLDS_Biometrics_BDB_DataLength_Incorrect = -1878327296, + ntfLDS_Biometrics_BDB_DataLength_Incorrect: 2416640000, /** * Biometrics: BDB Data Gender */ - ntfLDS_Biometrics_BDB_Data_Gender = -1877999616, + ntfLDS_Biometrics_BDB_Data_Gender: 2416967680, /** * Biometrics: BDB Data Eye Color */ - ntfLDS_Biometrics_BDB_Data_EyeColor = -1877934080, + ntfLDS_Biometrics_BDB_Data_EyeColor: 2417033216, /** * Biometrics: BDB Data Hair Color */ - ntfLDS_Biometrics_BDB_Data_HairColor = -1877868544, + ntfLDS_Biometrics_BDB_Data_HairColor: 2417098752, /** * Biometrics: BDB Data Pose Angle Yaw */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw = -1877803008, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw: 2417164288, /** * Biometrics: BDB Data Pose Angle Pitch */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch = -1877737472, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch: 2417229824, /** * Biometrics: BDB Data Pose Angle Roll */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll = -1877671936, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll: 2417295360, /** * Biometrics: BDB Data Pose Angle U Yaw */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw = -1877606400, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw: 2417360896, /** * Biometrics: BDB Data Pose Angle U Pitch */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch = -1877540864, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch: 2417426432, /** * Biometrics: BDB Data Pose Angle U Roll */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll = -1877475328, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll: 2417491968, /** * Biometrics: BDB Data Face Image Type */ - ntfLDS_Biometrics_BDB_Data_FaceImageType = -1877409792, + ntfLDS_Biometrics_BDB_Data_FaceImageType: 2417557504, /** * Biometrics: BDB Data Image Data Type */ - ntfLDS_Biometrics_BDB_Data_ImageDataType = -1877344256, + ntfLDS_Biometrics_BDB_Data_ImageDataType: 2417623040, /** * SI: PACE Info Unsupported Std Parameters */ - ntfLDS_SI_PACE_Info_UnsupportedStdParameters = -1862270976, + ntfLDS_SI_PACE_Info_UnsupportedStdParameters: 2432696320, /** * SI: PACE Info Deprecated Version */ - ntfLDS_SI_PACE_Info_DeprecatedVersion = -1862270975, + ntfLDS_SI_PACE_Info_DeprecatedVersion: 2432696321, /** * SI: PACE Domain Params Using Std Ref */ - ntfLDS_SI_PACE_DomainParams_UsingStdRef = -1862270974, + ntfLDS_SI_PACE_DomainParams_UsingStdRef: 2432696322, /** * SI: PACE Domain Params Unsupported Algorithm */ - ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm = -1862270973, + ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm: 2432696323, /** * SI: CA Info Incorrect Version */ - ntfLDS_SI_CA_Info_IncorrectVersion = -1862270972, + ntfLDS_SI_CA_Info_IncorrectVersion: 2432696324, /** * SI: CA PublicKey Unsupported Algorithm */ - ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm = -1862270971, + ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm: 2432696325, /** * SI: CA Domain Params Unsupported Algorithm */ - ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm = -1862270970, + ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm: 2432696326, /** * SI: TA Info Incorrect Version */ - ntfLDS_SI_TA_Info_IncorrectVersion = -1862270969, + ntfLDS_SI_TA_Info_IncorrectVersion: 2432696327, /** * SI: TA Info File ID For Version 2 */ - ntfLDS_SI_TA_Info_FileIDForVersion2 = -1862270968, + ntfLDS_SI_TA_Info_FileIDForVersion2: 2432696328, /** * SI: eID Security Unsupported Digest Algorithm */ - ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm = -1862270967, + ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm: 2432696329, /** * SI: RI info incorrect version */ - ntfLDS_SI_RI_Info_IncorrectVersion = -1862270966, + ntfLDS_SI_RI_Info_IncorrectVersion: 2432696330, /** * SI: RI domain params unsupported algorithm */ - ntfLDS_SI_RI_DomainParams_UnsupportedAlgorithm = -1862270965, + ntfLDS_SI_RI_DomainParams_UnsupportedAlgorithm: 2432696331, /** * SI: AA info incorrect version */ - ntfLDS_SI_AA_Info_IncorrectVersion = -1862270964, + ntfLDS_SI_AA_Info_IncorrectVersion: 2432696332, /** * SI: AA info unsupported algorithm */ - ntfLDS_SI_AA_Info_UnsupportedAlgorithm = -1862270963, + ntfLDS_SI_AA_Info_UnsupportedAlgorithm: 2432696333, /** * SI: AA info inconsistent algorithm reference */ - ntfLDS_SI_AA_Info_InconsistentAlgorithmReference = -1862270962, + ntfLDS_SI_AA_Info_InconsistentAlgorithmReference: 2432696334, /** * SI: PACE Info Not Available */ - ntfLDS_SI_Storage_PACE_Info_NotAvailable = -1862270720, + ntfLDS_SI_Storage_PACE_Info_NotAvailable: 2432696576, /** * SI: PACE Info No Std Parameters */ - ntfLDS_SI_Storage_PACE_Info_NoStdParameters = -1862270719, + ntfLDS_SI_Storage_PACE_Info_NoStdParameters: 2432696577, /** * SI: PACE Info No Matching Domain Params */ - ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams = -1862270718, + ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams: 2432696578, /** * SI: CA Info Not Available */ - ntfLDS_SI_Storage_CA_Info_NotAvailable = -1862270717, + ntfLDS_SI_Storage_CA_Info_NotAvailable: 2432696579, /** * SI: CA Domain Params No Required Option */ - ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption = -1862270716, + ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption: 2432696580, /** * SI: CA Domain Params Not Available */ - ntfLDS_SI_Storage_CA_DomainParams_NotAvailable = -1862270715, + ntfLDS_SI_Storage_CA_DomainParams_NotAvailable: 2432696581, /** * SI: CA Anonymous Infos */ - ntfLDS_SI_Storage_CA_AnonymousInfos = -1862270714, + ntfLDS_SI_Storage_CA_AnonymousInfos: 2432696582, /** * SI: CA Info No Matching Domain Params */ - ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams = -1862270713, + ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams: 2432696583, /** * SI: CA Info No Matching Public Key */ - ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey = -1862270712, + ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey: 2432696584, /** * SI: CA Incorrect Infos Quantity */ - ntfLDS_SI_Storage_CA_IncorrectInfosQuantity = -1862270711, + ntfLDS_SI_Storage_CA_IncorrectInfosQuantity: 2432696585, /** * SI: TA Info Not Available */ - ntfLDS_SI_Storage_TA_Info_NotAvailable = -1862270710, + ntfLDS_SI_Storage_TA_Info_NotAvailable: 2432696586, /** * SI: Card Info Locator Multiple Entries */ - ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries = -1862270709, + ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries: 2432696587, /** * SI: eID Security Info Multiple Entries */ - ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries = -1862270708, + ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries: 2432696588, /** * SI: Privileged TI Multiple Entries */ - ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries = -1862270707, + ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries: 2432696589, /** * SI: Privileged TI Incorrect Usage */ - ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage = -1862270706, + ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage: 2432696590, /** * SI: RI domain params multiple entries */ - ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries = -1862270705, + ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries: 2432696591, /** * SI: Storage PACE Info Non Consistant */ - ntfLDS_SI_Storage_PACEInfos_NonConsistant = -1862270704, + ntfLDS_SI_Storage_PACEInfos_NonConsistant: 2432696592, /** * CV Certificate: Profile incorrect version */ - ntfLDS_CVCertificate_Profile_IncorrectVersion = -1862270463, + ntfLDS_CVCertificate_Profile_IncorrectVersion: 2432696833, /** * CV Certificate: Validity */ - ntfLDS_CVCertificate_Validity = -1862270462, + ntfLDS_CVCertificate_Validity: 2432696834, /** * CV Certificate: Non CVCA domain parameters */ - ntfLDS_CVCertificate_NonCVCADomainParameters = -1862270461, + ntfLDS_CVCertificate_NonCVCADomainParameters: 2432696835, /** * CV Certificate: Private key incorrect version */ - ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion = -1862270460, + ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion: 2432696836, /** * TA: PACE static binding used */ - ntfLDS_TA_PACEStaticBindingUsed = -1862270208, + ntfLDS_TA_PACEStaticBindingUsed: 2432697088, /** * Auth ML signer info: Certificate validity */ - ntfLDS_Auth_MLSignerInfo_Certificate_Validity = -1845493483, + ntfLDS_Auth_MLSignerInfo_Certificate_Validity: 2449473813, /** * Auth ML signer info: Certificate root is not trusted */ - ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted = -1845493482, + ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted: 2449473814, /** * Auth ML signer info: Certificate cannot find CSCA */ - ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA = -1845493481, + ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA: 2449473815, /** * Auth ML signer info: Certificate revoked */ - ntfLDS_Auth_MLSignerInfo_Certificate_Revoked = -1845493480, + ntfLDS_Auth_MLSignerInfo_Certificate_Revoked: 2449473816, /** * Auth ML signer info: Certificate signature invalid */ - ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = -1845493479, + ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid: 2449473817, /** * Country Codes from certificate chain don't match */ - ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = -1879047600, + ntfLDS_ICAO_Certificate_Chain_Country_NonMatching: 2415919696, /** * Country Codes from certificate and visual MRZ don't match */ - ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = -1879047599, + ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching: 2415919697, /** * Incorrect MRZ, country code doesn't match codes from Visual MRZ */ - ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, + ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching: 139289, /** * Country Codes from certificate and DG1 MRZ don't match */ - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = -1879047598 -} - + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching: 2415919698 +} as const; +export type ParsingNotificationCodes = typeof ParsingNotificationCodes[keyof typeof ParsingNotificationCodes]; diff --git a/src/models/per-document-config.ts b/src/models/per-document-config.ts index b05ec1b1..8ab01fe7 100644 --- a/src/models/per-document-config.ts +++ b/src/models/per-document-config.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,23 +15,21 @@ /** - * - * @export - * @interface PerDocumentConfig - */ +* +* @export +* @interface PerDocumentConfig +*/ export interface PerDocumentConfig { /** - * Specific template IDs, for which apply current custom configuration - * @type {Array} - * @memberof PerDocumentConfig - */ + * Specific template IDs, for which apply current custom configuration + * @type {Array} + * @memberof PerDocumentConfig + */ docID?: Array; /** - * Contains items from AuthenticityResultType as sum via OR operation - * @type {number} - * @memberof PerDocumentConfig - */ + * Contains items from AuthenticityResultType as sum via OR operation + * @type {number} + * @memberof PerDocumentConfig + */ excludeAuthChecks?: number; } - - diff --git a/src/models/photo-ident-result-all-of.ts b/src/models/photo-ident-result-all-of.ts index aba2d497..f99e9257 100644 --- a/src/models/photo-ident-result-all-of.ts +++ b/src/models/photo-ident-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,71 +13,81 @@ */ -import { ImageData } from './image-data'; -import { Light } from './light'; -import { RawImageContainerList } from './raw-image-container-list'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; +import type { RawImageContainerList } from './raw-image-container-list'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** - * - * @export - * @interface PhotoIdentResultAllOf - */ +* +* @export +* @interface PhotoIdentResultAllOf +*/ export interface PhotoIdentResultAllOf { /** - * - * @type {Light} - * @memberof PhotoIdentResultAllOf - */ - LightIndex?: Light; + * + * @type {Light} + * @memberof PhotoIdentResultAllOf + */ + LightIndex: Light; /** - * - * @type {RectangleCoordinates} - * @memberof PhotoIdentResultAllOf - */ - Area?: RectangleCoordinates; + * + * @type {RectangleCoordinates} + * @memberof PhotoIdentResultAllOf + */ + Area: RectangleCoordinates; /** - * - * @type {ImageData} - * @memberof PhotoIdentResultAllOf - */ - SourceImage?: ImageData; + * + * @type {ImageData} + * @memberof PhotoIdentResultAllOf + */ + SourceImage: ImageData; /** - * - * @type {RawImageContainerList} - * @memberof PhotoIdentResultAllOf - */ - ResultImages?: RawImageContainerList; + * + * @type {RawImageContainerList} + * @memberof PhotoIdentResultAllOf + */ + ResultImages: RawImageContainerList; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ FieldTypesCount?: number; /** - * - * @type {Array} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {Array} + * @memberof PhotoIdentResultAllOf + */ FieldTypesList?: Array; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Step?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Angle?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ + Reserved1?: number; + /** + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ + Reserved2?: number; + /** + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Reserved3?: number; } - - diff --git a/src/models/photo-ident-result.ts b/src/models/photo-ident-result.ts index 4c1fb250..c6b84ff5 100644 --- a/src/models/photo-ident-result.ts +++ b/src/models/photo-ident-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,18 +13,14 @@ */ -import { AuthenticityCheckResultItem } from './authenticity-check-result-item'; -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { FiberResult } from './fiber-result'; -import { IdentResult } from './ident-result'; -import { ImageData } from './image-data'; -import { Light } from './light'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResultAllOf } from './photo-ident-result-all-of'; -import { RawImageContainerList } from './raw-image-container-list'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureResult } from './security-feature-result'; +import type { AuthenticityCheckResultItem } from './authenticity-check-result-item'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; +import type { PhotoIdentResultAllOf } from './photo-ident-result-all-of'; +import type { RawImageContainerList } from './raw-image-container-list'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @type PhotoIdentResult @@ -32,5 +28,3 @@ import { SecurityFeatureResult } from './security-feature-result'; */ export type PhotoIdentResult = AuthenticityCheckResultItem & PhotoIdentResultAllOf; - - diff --git a/src/models/point-array.ts b/src/models/point-array.ts index 63ca78ef..72d7ae9d 100644 --- a/src/models/point-array.ts +++ b/src/models/point-array.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { Point } from './point'; +import type { Point } from './point'; /** - * - * @export - * @interface PointArray - */ +* +* @export +* @interface PointArray +*/ export interface PointArray { /** - * - * @type {Array} - * @memberof PointArray - */ - PointsList?: Array; + * + * @type {Array} + * @memberof PointArray + */ + PointsList: Array; } - - diff --git a/src/models/point.ts b/src/models/point.ts index 4557bd43..60ee2dfd 100644 --- a/src/models/point.ts +++ b/src/models/point.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,23 +15,21 @@ /** - * - * @export - * @interface Point - */ +* +* @export +* @interface Point +*/ export interface Point { /** - * - * @type {number} - * @memberof Point - */ - x?: number; + * + * @type {number} + * @memberof Point + */ + x: number; /** - * - * @type {number} - * @memberof Point - */ - y?: number; + * + * @type {number} + * @memberof Point + */ + y: number; } - - diff --git a/src/models/points-container.ts b/src/models/points-container.ts index ee479f82..85e3afd5 100644 --- a/src/models/points-container.ts +++ b/src/models/points-container.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { Point } from './point'; +import type { Point } from './point'; /** - * - * @export - * @interface PointsContainer - */ +* +* @export +* @interface PointsContainer +*/ export interface PointsContainer { /** - * - * @type {number} - * @memberof PointsContainer - */ + * + * @type {number} + * @memberof PointsContainer + */ PointCount?: number; /** - * - * @type {Array} - * @memberof PointsContainer - */ - PointsList?: Array; + * + * @type {Array} + * @memberof PointsContainer + */ + PointsList: Array; } - - diff --git a/src/models/process-param.ts b/src/models/process-param.ts deleted file mode 100755 index f6811fa5..00000000 --- a/src/models/process-param.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { Result } from './result'; -import { Scenario } from './scenario'; - -/** - * - * @export - * @interface ProcessParam - */ -export interface ProcessParam { - /** - * - * @type {Scenario} - * @memberof ProcessParam - */ - scenario: Scenario; - /** - * Types of results to extract. See \'Result\' enum for available options. - * @type {Array} - * @memberof ProcessParam - */ - resultTypeOutput?: Array; -} - - diff --git a/src/models/process-params-rfid.ts b/src/models/process-params-rfid.ts index 0aff885b..db7fc6cd 100644 --- a/src/models/process-params-rfid.ts +++ b/src/models/process-params-rfid.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ParsingNotificationCodes } from './parsing-notification-codes'; +import type { ParsingNotificationCodes } from './parsing-notification-codes'; /** - * Params for the RFID chip data reprocessing - * @export - * @interface ProcessParamsRfid - */ +* Params for the RFID chip data reprocessing +* @export +* @interface ProcessParamsRfid +*/ export interface ProcessParamsRfid { /** - * A list of notification codes that should be ignored during passive authentication (PA) - * @type {Array} - * @memberof ProcessParamsRfid - */ + * A list of notification codes that should be ignored during passive authentication (PA) + * @type {Array} + * @memberof ProcessParamsRfid + */ paSensitiveCodesDisable?: Array; } - - diff --git a/src/models/process-params.ts b/src/models/process-params.ts old mode 100755 new mode 100644 index 232bc9ff..5c5d6769 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,354 +13,359 @@ */ -import { AuthParams } from './auth-params'; -import { DocumentFormat } from './document-format'; -import { DocumentType } from './document-type'; -import { FaceApi } from './face-api'; -import { ImageQA } from './image-qa'; -import { LogLevel } from './log-level'; -import { MRZFormat } from './mrzformat'; -import { MeasureSystem } from './measure-system'; -import { MrzDetectModeEnum } from './mrz-detect-mode-enum'; -import { PerDocumentConfig } from './per-document-config'; -import { ProcessParamsRfid } from './process-params-rfid'; -import { Result } from './result'; -import { Scenario } from './scenario'; -import { TextFieldType } from './text-field-type'; -import { TextPostProcessing } from './text-post-processing'; +import type { AuthParams } from './auth-params'; +import type { DocumentFormat } from './document-format'; +import type { DocumentType } from './document-type'; +import type { FaceApi } from './face-api'; +import type { ImageQA } from './image-qa'; +import type { LCID } from './lcid'; +import type { LogLevel } from './log-level'; +import type { MRZFormat } from './mrzformat'; +import type { MeasureSystem } from './measure-system'; +import type { MrzDetectModeEnum } from './mrz-detect-mode-enum'; +import type { PerDocumentConfig } from './per-document-config'; +import type { ProcessParamsRfid } from './process-params-rfid'; +import type { Result } from './result'; +import type { Scenario } from './scenario'; +import type { TextFieldType } from './text-field-type'; +import type { TextPostProcessing } from './text-post-processing'; /** - * - * @export - * @interface ProcessParams - */ +* +* @export +* @interface ProcessParams +*/ export interface ProcessParams { /** - * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. - * @type {Array} - * @memberof ProcessParams - */ - lcidFilter?: Array; - /** - * The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default. - * @type {Array} - * @memberof ProcessParams - */ - lcidIgnoreFilter?: Array; - /** - * This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face - * @type {boolean} - * @memberof ProcessParams - */ + * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. + * @type {Array} + * @memberof ProcessParams + */ + lcidFilter?: Array; + /** + * This parameter is used to enable document liveness check. + * @type {boolean} + * @memberof ProcessParams + */ + checkLiveness?: boolean; + /** + * The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default. + * @type {Array} + * @memberof ProcessParams + */ + lcidIgnoreFilter?: Array; + /** + * This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face + * @type {boolean} + * @memberof ProcessParams + */ oneShotIdentification?: boolean; /** - * This parameter allows comparing faces on Regula Face Web Service - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter allows comparing faces on Regula Face Web Service + * @type {boolean} + * @memberof ProcessParams + */ useFaceApi?: boolean; /** - * - * @type {FaceApi} - * @memberof ProcessParams - */ + * + * @type {FaceApi} + * @memberof ProcessParams + */ faceApi?: FaceApi; /** - * This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. + * @type {boolean} + * @memberof ProcessParams + */ doDetectCan?: boolean; /** - * This parameter allows setting maximum height in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter allows setting maximum height in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. + * @type {number} + * @memberof ProcessParams + */ imageOutputMaxHeight?: number; /** - * This parameter allows setting maximum width in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter allows setting maximum width in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. + * @type {number} + * @memberof ProcessParams + */ imageOutputMaxWidth?: number; /** - * - * @type {Scenario} - * @memberof ProcessParams - */ + * + * @type {Scenario} + * @memberof ProcessParams + */ scenario: Scenario; /** - * Types of results to return in response. See \'Result\' enum for available options - * @type {Array} - * @memberof ProcessParams - */ + * Types of results to return in response. See \'Result\' enum for available options + * @type {Array} + * @memberof ProcessParams + */ resultTypeOutput?: Array; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - * @deprecated - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + * @deprecated + */ doublePageSpread?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ generateDoublePageSpreadImage?: boolean; /** - * 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. - * @type {Array} - * @memberof ProcessParams - */ + * 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. + * @type {Array} + * @memberof ProcessParams + */ fieldTypesFilter?: Array; /** - * 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). - * @type {string} - * @memberof ProcessParams - */ + * 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). + * @type {string} + * @memberof ProcessParams + */ dateFormat?: string; /** - * - * @type {MeasureSystem} - * @memberof ProcessParams - */ + * + * @type {MeasureSystem} + * @memberof ProcessParams + */ measureSystem?: MeasureSystem; /** - * This parameter 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 for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default. - * @type {number} - * @memberof ProcessParams - */ + * This parameter 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 for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default. + * @type {number} + * @memberof ProcessParams + */ imageDpiOutMax?: number; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ alreadyCropped?: boolean; /** - * This option allows passing custom processing parameters that can be implemented in future without changing API. - * @type {{ [key: string]: object; }} - * @memberof ProcessParams - */ + * This option allows passing custom processing parameters that can be implemented in future without changing API. + * @type {{ [key: string]: object; }} + * @memberof ProcessParams + */ customParams?: { [key: string]: object; }; /** - * This option allows setting additional custom configuration per document type. If recognized document has ID specified in config, processing adjusts according to designated configuration. - * @type {Array} - * @memberof ProcessParams - */ + * This option allows setting additional custom configuration per document type. If recognized document has ID specified in config, processing adjusts according to designated configuration. + * @type {Array} + * @memberof ProcessParams + */ config?: Array; /** - * When enabled, results will contain transaction processing log. Disabled by default - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, results will contain transaction processing log. Disabled by default + * @type {boolean} + * @memberof ProcessParams + */ log?: boolean; /** - * - * @type {LogLevel} - * @memberof ProcessParams - */ + * + * @type {LogLevel} + * @memberof ProcessParams + */ logLevel?: LogLevel; /** - * Force use of specific template ID and skip document type identification step. - * @type {number} - * @memberof ProcessParams - */ + * Force use of specific template ID and skip document type identification step. + * @type {number} + * @memberof ProcessParams + */ forceDocID?: number; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ matchTextFieldMask?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - * @deprecated - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + * @deprecated + */ fastDocDetect?: boolean; /** - * When enabled, fail OCR field validity, if there is a glare over the text field on the image. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, fail OCR field validity, if there is a glare over the text field on the image. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ updateOCRValidityByGlare?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ checkRequiredTextFields?: boolean; /** - * When enabled, returns cropped barcode images for unknown documents. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, returns cropped barcode images for unknown documents. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ returnCroppedBarcode?: boolean; /** - * - * @type {ImageQA} - * @memberof ProcessParams - */ + * + * @type {ImageQA} + * @memberof ProcessParams + */ imageQa?: ImageQA; /** - * When enabled, image quality checks status affects document optical and overall status. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, image quality checks status affects document optical and overall status. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ respectImageQuality?: boolean; /** - * - * @type {DocumentFormat} - * @memberof ProcessParams - */ + * + * @type {DocumentFormat} + * @memberof ProcessParams + */ forceDocFormat?: DocumentFormat; /** - * When enabled, no graphic fields will be cropped from document image. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, no graphic fields will be cropped from document image. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ noGraphics?: boolean; /** - * When enabled, all personal data will be forcibly removed from the logs. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, all personal data will be forcibly removed from the logs. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ depersonalizeLog?: boolean; /** - * This option allows locating and cropping multiple documents from one image if enabled. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * This option allows locating and cropping multiple documents from one image if enabled. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ multiDocOnImage?: boolean; /** - * 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 - * @type {number} - * @memberof ProcessParams - */ + * 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 + * @type {number} + * @memberof ProcessParams + */ shiftExpiryDate?: number; /** - * This options allows specifying the minimal age in years of the document holder for the document to be considered valid. - * @type {number} - * @memberof ProcessParams - */ + * This options allows specifying the minimal age in years of the document holder for the document to be considered valid. + * @type {number} + * @memberof ProcessParams + */ minimalHolderAge?: number; /** - * When enabled, returns input images in output. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, returns input images in output. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ returnUncroppedImage?: boolean; /** - * This option allows limiting MRZ formats to be recognized by specifying them in array. - * @type {Array} - * @memberof ProcessParams - */ + * This option allows limiting MRZ formats to be recognized by specifying them in array. + * @type {Array} + * @memberof ProcessParams + */ mrzFormatsFilter?: Array; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ forceReadMrzBeforeLocate?: boolean; /** - * This option can be disabled to stop parsing after barcode is read. Enabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * This option can be disabled to stop parsing after barcode is read. Enabled by default. + * @type {boolean} + * @memberof ProcessParams + */ parseBarcodes?: boolean; /** - * - * @type {TextPostProcessing} - * @memberof ProcessParams - */ + * + * @type {TextPostProcessing} + * @memberof ProcessParams + */ convertCase?: TextPostProcessing; /** - * When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ splitNames?: boolean; /** - * When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ disablePerforationOCR?: boolean; /** - * 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. - * @type {Array} - * @memberof ProcessParams - */ + * 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. + * @type {Array} + * @memberof ProcessParams + */ documentGroupFilter?: Array; /** - * 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. - * @type {number} - * @memberof ProcessParams - */ + * 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. + * @type {number} + * @memberof ProcessParams + */ processAuth?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured. Default 0. + * @type {number} + * @memberof ProcessParams + */ deviceId?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured. Default 0. + * @type {number} + * @memberof ProcessParams + */ deviceType?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured - * @type {string} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured + * @type {string} + * @memberof ProcessParams + */ deviceTypeHex?: string; /** - * This parameter is used to tell the processing engine to ignore any parameters saved in the image when scanned from the document reader device. Default false - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to tell the processing engine to ignore any parameters saved in the image when scanned from the document reader device. Default false + * @type {boolean} + * @memberof ProcessParams + */ ignoreDeviceIdFromImage?: boolean; /** - * List of the document ID\'s to process. All documents will be processed, if empty. - * @type {Array} - * @memberof ProcessParams - */ + * List of the document ID\'s to process. All documents will be processed, if empty. + * @type {Array} + * @memberof ProcessParams + */ documentIdList?: Array; /** - * - * @type {ProcessParamsRfid} - * @memberof ProcessParams - */ + * + * @type {ProcessParamsRfid} + * @memberof ProcessParams + */ rfid?: ProcessParamsRfid; /** - * This parameter is used to enable authenticity checks - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to enable authenticity checks + * @type {boolean} + * @memberof ProcessParams + */ checkAuth?: boolean; /** - * - * @type {AuthParams} - * @memberof ProcessParams - */ + * + * @type {AuthParams} + * @memberof ProcessParams + */ authParams?: AuthParams; /** - * - * @type {MrzDetectModeEnum} - * @memberof ProcessParams - */ + * + * @type {MrzDetectModeEnum} + * @memberof ProcessParams + */ mrzDetectMode?: MrzDetectModeEnum; /** - * This parameter is used to generate numeric representation for issuing state and nationality codes - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to generate numeric representation for issuing state and nationality codes + * @type {boolean} + * @memberof ProcessParams + */ generateNumericCodes?: boolean; } - - diff --git a/src/models/process-request-image-image-data.ts b/src/models/process-request-image-image-data.ts deleted file mode 100755 index 7d3bff7f..00000000 --- a/src/models/process-request-image-image-data.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ProcessRequestImageImageData - */ -export interface ProcessRequestImageImageData { - /** - * base64 encoded image - * @type {string} - * @memberof ProcessRequestImageImageData - */ - image: string; -} - - diff --git a/src/models/process-request-image.ts b/src/models/process-request-image.ts old mode 100755 new mode 100644 index d2b194b1..72c71215 --- a/src/models/process-request-image.ts +++ b/src/models/process-request-image.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,33 +13,31 @@ */ -import { ImageData } from './image-data'; -import { Light } from './light'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; /** - * - * @export - * @interface ProcessRequestImage - */ +* +* @export +* @interface ProcessRequestImage +*/ export interface ProcessRequestImage { /** - * - * @type {ImageData} - * @memberof ProcessRequestImage - */ + * + * @type {ImageData} + * @memberof ProcessRequestImage + */ ImageData: ImageData; /** - * - * @type {Light} - * @memberof ProcessRequestImage - */ + * + * @type {Light} + * @memberof ProcessRequestImage + */ light?: Light; /** - * page/image number - * @type {number} - * @memberof ProcessRequestImage - */ + * page/image number + * @type {number} + * @memberof ProcessRequestImage + */ page_idx?: number; } - - diff --git a/src/models/process-request.ts b/src/models/process-request.ts old mode 100755 new mode 100644 index 7893969c..00231427 --- a/src/models/process-request.ts +++ b/src/models/process-request.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,77 +13,82 @@ */ -import { ContainerList } from './container-list'; -import { ProcessParams } from './process-params'; -import { ProcessRequestImage } from './process-request-image'; -import { ProcessSystemInfo } from './process-system-info'; +import type { ContainerList } from './container-list'; +import type { LCID } from './lcid'; +import type { ProcessParams } from './process-params'; +import type { ProcessRequestImage } from './process-request-image'; +import type { ProcessSystemInfo } from './process-system-info'; /** - * - * @export - * @interface ProcessRequest - */ +* +* @export +* @interface ProcessRequest +*/ export interface ProcessRequest { /** - * - * @type {ProcessParams} - * @memberof ProcessRequest - */ + * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. + * @type {Array} + * @memberof ProcessRequest + */ + lcidFilter?: Array; + /** + * + * @type {ProcessParams} + * @memberof ProcessRequest + */ processParam: ProcessParams; /** - * - * @type {Array} - * @memberof ProcessRequest - */ + * + * @type {Array} + * @memberof ProcessRequest + */ List?: Array; /** - * Session ID - * @type {string} - * @memberof ProcessRequest - */ + * Session ID + * @type {string} + * @memberof ProcessRequest + */ tag?: string; /** - * Customer name - * @type {string} - * @memberof ProcessRequest - */ + * Customer name + * @type {string} + * @memberof ProcessRequest + */ tenant?: string; /** - * Environment type - * @type {string} - * @memberof ProcessRequest - */ + * Environment type + * @type {string} + * @memberof ProcessRequest + */ env?: string; /** - * Live portrait photo - * @type {string} - * @memberof ProcessRequest - */ + * Live portrait photo + * @type {string} + * @memberof ProcessRequest + */ livePortrait?: string; /** - * Portrait photo from an external source - * @type {string} - * @memberof ProcessRequest - */ + * Portrait photo from an external source + * @type {string} + * @memberof ProcessRequest + */ extPortrait?: string; /** - * - * @type {ContainerList} - * @memberof ProcessRequest - */ + * + * @type {ContainerList} + * @memberof ProcessRequest + */ ContainerList?: ContainerList; /** - * - * @type {ProcessSystemInfo} - * @memberof ProcessRequest - */ + * + * @type {ProcessSystemInfo} + * @memberof ProcessRequest + */ systemInfo?: ProcessSystemInfo; /** - * 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. - * @type {{ [key: string]: object; }} - * @memberof ProcessRequest - */ + * 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. + * @type {{ [key: string]: object; }} + * @memberof ProcessRequest + */ passBackObject?: { [key: string]: object; }; } - - diff --git a/src/models/process-response.ts b/src/models/process-response.ts old mode 100755 new mode 100644 index abf23bc1..737e17dd --- a/src/models/process-response.ts +++ b/src/models/process-response.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,65 +13,69 @@ */ -import { ContainerList } from './container-list'; -import { ProcessingStatus } from './processing-status'; -import { RfidLocation } from './rfid-location'; -import { TransactionInfo } from './transaction-info'; +import type { ContainerList } from './container-list'; +import type { ProcessingStatus } from './processing-status'; +import type { RfidLocation } from './rfid-location'; +import type { TransactionInfo } from './transaction-info'; /** - * - * @export - * @interface ProcessResponse - */ +* +* @export +* @interface ProcessResponse +*/ export interface ProcessResponse { /** - * - * @type {RfidLocation} - * @memberof ProcessResponse - */ - ChipPage?: RfidLocation; + * + * @type {RfidLocation} + * @memberof ProcessResponse + */ + ChipPage: RfidLocation; /** - * - * @type {ProcessingStatus} - * @memberof ProcessResponse - */ + * + * @type {ProcessingStatus} + * @memberof ProcessResponse + */ ProcessingFinished: ProcessingStatus; /** - * - * @type {ContainerList} - * @memberof ProcessResponse - */ + * + * @type {ContainerList} + * @memberof ProcessResponse + */ ContainerList: ContainerList; /** - * - * @type {TransactionInfo} - * @memberof ProcessResponse - */ + * + * @type {TransactionInfo} + * @memberof ProcessResponse + */ TransactionInfo: TransactionInfo; /** - * Base64 encoded transaction processing log - * @type {string} - * @memberof ProcessResponse - */ + * Base64 encoded transaction processing log + * @type {string} + * @memberof ProcessResponse + */ log?: string; /** - * Free-form object provided in request. See passBackObject property of ProcessRequest. - * @type {{ [key: string]: object; }} - * @memberof ProcessResponse - */ + * Free-form object provided in request. See passBackObject property of ProcessRequest. + * @type {{ [key: string]: object; }} + * @memberof ProcessResponse + */ passBackObject?: { [key: string]: object; }; /** - * - * @type {number} - * @memberof ProcessResponse - */ - morePagesAvailable?: number; + * + * @type {number} + * @memberof ProcessResponse + */ + morePagesAvailable: number; + /** + * Time the document processing has taken, ms. + * @type {number} + * @memberof ProcessResponse + */ + elapsedTime: number; /** - * Time the document processing has taken, ms. - * @type {number} - * @memberof ProcessResponse - */ - elapsedTime?: number; + * + * @type {{ [key: string]: object; }} + * @memberof ProcessResponse + */ + metadata?: { [key: string]: object; }; } - - diff --git a/src/models/process-system-info.ts b/src/models/process-system-info.ts old mode 100755 new mode 100644 index cbacb986..ab7ef4de --- a/src/models/process-system-info.ts +++ b/src/models/process-system-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,23 +15,21 @@ /** - * - * @export - * @interface ProcessSystemInfo - */ +* +* @export +* @interface ProcessSystemInfo +*/ export interface ProcessSystemInfo { /** - * Base64 encoded license file - * @type {string} - * @memberof ProcessSystemInfo - */ + * Base64 encoded license file + * @type {string} + * @memberof ProcessSystemInfo + */ license?: string; /** - * For internal use. Demo-sites recaptcha token. - * @type {string} - * @memberof ProcessSystemInfo - */ + * For internal use. Demo-sites recaptcha token. + * @type {string} + * @memberof ProcessSystemInfo + */ recaptcha_token?: string; } - - diff --git a/src/models/processing-status.ts b/src/models/processing-status.ts old mode 100755 new mode 100644 index 3fa90020..a4f64532 --- a/src/models/processing-status.ts +++ b/src/models/processing-status.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,24 +15,25 @@ /** - * - * @export - * @enum {string} - */ -export enum ProcessingStatus { +* +* @export +* @enum {string} +*/ + +export const ProcessingStatus = { /** * Processing was not finished */ - NOT_FINISHED = 0, + NOT_FINISHED: 0, /** * Processing finished */ - FINISHED = 1, + FINISHED: 1, /** * Processing finished by timeout */ - TIMEOUT = 2 -} - + TIMEOUT: 2 +} as const; +export type ProcessingStatus = typeof ProcessingStatus[keyof typeof ProcessingStatus]; diff --git a/src/models/transaction-scenario-request.ts b/src/models/raw-image-container-field-list-all-of.ts similarity index 72% rename from src/models/transaction-scenario-request.ts rename to src/models/raw-image-container-field-list-all-of.ts index 3f429333..1dbb5e6d 100644 --- a/src/models/transaction-scenario-request.ts +++ b/src/models/raw-image-container-field-list-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,17 @@ */ -import { Scenario } from './scenario'; /** - * - * @export - * @interface TransactionScenarioRequest - */ -export interface TransactionScenarioRequest { +* +* @export +* @interface RawImageContainerFieldListAllOf +*/ +export interface RawImageContainerFieldListAllOf { /** - * - * @type {Scenario} - * @memberof TransactionScenarioRequest - */ - scenario?: Scenario; + * Image format + * @type {string} + * @memberof RawImageContainerFieldListAllOf + */ + format: string; } - - diff --git a/src/models/binary-data-result.ts b/src/models/raw-image-container-field-list.ts similarity index 65% rename from src/models/binary-data-result.ts rename to src/models/raw-image-container-field-list.ts index 9697d3cb..298f5751 100644 --- a/src/models/binary-data-result.ts +++ b/src/models/raw-image-container-field-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,12 @@ */ -import { TBinaryData } from './tbinary-data'; +import type { ImageData } from './image-data'; +import type { RawImageContainerFieldListAllOf } from './raw-image-container-field-list-all-of'; /** - * + * @type RawImageContainerFieldList * @export - * @interface BinaryDataResult */ -export interface BinaryDataResult { - /** - * Count of array fields - * @type {number} - * @memberof BinaryDataResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof BinaryDataResult - */ - pArrayFields?: Array; -} - +export type RawImageContainerFieldList = ImageData & RawImageContainerFieldListAllOf; diff --git a/src/models/raw-image-container-list.ts b/src/models/raw-image-container-list.ts index 50c4bad0..100b1b42 100644 --- a/src/models/raw-image-container-list.ts +++ b/src/models/raw-image-container-list.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,26 +13,24 @@ */ -import { ImageData } from './image-data'; +import type { ImageData } from './image-data'; /** - * - * @export - * @interface RawImageContainerList - */ +* +* @export +* @interface RawImageContainerList +*/ export interface RawImageContainerList { /** - * - * @type {number} - * @memberof RawImageContainerList - */ - Count?: number; + * + * @type {number} + * @memberof RawImageContainerList + */ + Count: number; /** - * - * @type {Array} - * @memberof RawImageContainerList - */ - Images?: Array; + * + * @type {Array} + * @memberof RawImageContainerList + */ + Images: Array; } - - diff --git a/src/models/raw-image-container.ts b/src/models/raw-image-container.ts deleted file mode 100755 index 033193b0..00000000 --- a/src/models/raw-image-container.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RawImageContainer - */ -export interface RawImageContainer { - /** - * - * @type {string} - * @memberof RawImageContainer - */ - format?: string; - /** - * base64 encoded image - * @type {string} - * @memberof RawImageContainer - */ - image?: string; -} - - diff --git a/src/models/raw-image-result-all-of.ts b/src/models/raw-image-result-all-of.ts deleted file mode 100755 index 786e4081..00000000 --- a/src/models/raw-image-result-all-of.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ImageData } from './image-data'; - -/** - * Returns cropped and rotated image of document. Most of coordinates in other types defined on that image - * @export - * @interface RawImageResultAllOf - */ -export interface RawImageResultAllOf { - /** - * - * @type {ImageData} - * @memberof RawImageResultAllOf - */ - RawImageContainer: ImageData; -} - - diff --git a/src/models/raw-image-result.ts b/src/models/raw-image-result.ts deleted file mode 100755 index ba57aef3..00000000 --- a/src/models/raw-image-result.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { GraphicsResult } from './graphics-result'; -import { ImageData } from './image-data'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { RawImageResultAllOf } from './raw-image-result-all-of'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; - -/** - * @type RawImageResult - * @export - */ -export type RawImageResult = RawImageResultAllOf & ResultItem; - - - diff --git a/src/models/rectangle-coordinates.ts b/src/models/rectangle-coordinates.ts old mode 100755 new mode 100644 index e1c925d3..d072722f --- a/src/models/rectangle-coordinates.ts +++ b/src/models/rectangle-coordinates.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,35 +15,33 @@ /** - * Coordinates of the rectangle region on a document image(result type 1). Represented by two points - (left, top) + (right, bottom) - * @export - * @interface RectangleCoordinates - */ +* Coordinates of the rectangle region on a document image(result type 1). Represented by two points - (left, top) + (right, bottom) +* @export +* @interface RectangleCoordinates +*/ export interface RectangleCoordinates { /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ left: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ top: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ right: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ bottom: number; } - - diff --git a/src/models/result-item.ts b/src/models/result-item.ts old mode 100755 new mode 100644 index ea670221..1c279424 --- a/src/models/result-item.ts +++ b/src/models/result-item.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,58 +13,41 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { StatusResult } from './status-result'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; /** - * Common fields for all result objects - * @export - * @interface ResultItem - */ +* Common fields for all result objects +* @export +* @interface ResultItem +*/ export interface ResultItem { /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ buf_length?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ light?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ list_idx?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ page_idx?: number; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ResultItem - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ResultItem + */ result_type: number; } - - diff --git a/src/models/result.ts b/src/models/result.ts old mode 100755 new mode 100644 index f37b180e..7d6debc1 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,116 +15,141 @@ /** - * - * @export - * @enum {string} - */ -export enum Result { +* +* @export +* @enum {string} +*/ + +export const Result = { /** * 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 */ - DOCUMENT_IMAGE = 1, + DOCUMENT_IMAGE: 1, /** * Contains MRZ OCR results */ - MRZ_TEXT = 3, + MRZ_TEXT: 3, /** * Contains raw information about barcodes on the input image */ - BARCODES = 5, + BARCODES: 5, /** * Contains cropped graphic fields from Visual zone */ - VISUAL_GRAPHICS = 6, + VISUAL_GRAPHICS: 6, /** * Contains list of document type candidates with their probabilities and descriptions */ - DOCUMENT_TYPE_CANDIDATES = 8, + DOCUMENT_TYPE_CANDIDATES: 8, /** * Contains description of determined document type, if any */ - DOCUMENT_TYPE = 9, + DOCUMENT_TYPE: 9, /** * Contains lexical data analysis results that allow you to compare MRZ OCR results, Visual zone OCR results, barcodes and RFID chip data for an additional assessment of the authenticity of the document (this is an old format, better use TEXT type) */ - LEXICAL_ANALYSIS = 15, + LEXICAL_ANALYSIS: 15, /** * Contains raw uncropped images */ - RAW_UNCROPPED_IMAGE = 16, + RAW_UNCROPPED_IMAGE: 16, /** * Contains Visual zone OCR results */ - VISUAL_TEXT = 17, + VISUAL_TEXT: 17, /** * Contains barcode parsing result with text fields */ - BARCODE_TEXT = 18, + BARCODE_TEXT: 18, /** * Contains barcode parsing result with graphic fields */ - BARCODE_GRAPHICS = 19, + BARCODE_GRAPHICS: 19, /** * Contains result of document authenticity checks */ - AUTHENTICITY = 20, + AUTHENTICITY: 20, + /** + * Contains result of DocVisualExtendedInfoContainer + */ + MAGNETIC_STRIPE_TEXT_DATA: 26, /** * Contains image quality check results */ - IMAGE_QUALITY = 30, + IMAGE_QUALITY: 30, + /** + * Contains result of DocGraphicsInfoContainer + */ + LIVE_PORTRAIT: 32, /** * Contains check statuses with details, grouped by source */ - STATUS = 33, + STATUS: 33, /** * Contains result of portraits comparison */ - PORTRAIT_COMPARISON = 34, + PORTRAIT_COMPARISON: 34, + /** + * Contains result of DocGraphicsInfoContainer + */ + EXT_PORTRAIT: 35, /** * Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity and cross-source compare checks */ - TEXT = 36, + TEXT: 36, /** * Contains images from all document sources (mrz, rfid, visual, barcode) */ - IMAGES = 37, + IMAGES: 37, + /** + * Contains result of DocGraphicsInfoContainer + */ + FINGERPRINTS: 38, /** * Contains result of fingerprints comparison */ - FINGERPRINT_COMPARISON = 39, + FINGERPRINT_COMPARISON: 39, /** * Contains encrypted ResultContainerList */ - ENCRYPTED_RCL = 49, + ENCRYPTED_RCL: 49, /** * Contains license */ - LICENSE = 50, + LICENSE: 50, + /** + * Contains result of DocumentPosition + */ + MRZ_POSITION: 61, + /** + * Contains result of DocumentPosition + */ + BARCODE_POSITION: 62, /** * Contains information about document position on the input image, its center, angle, etc */ - DOCUMENT_POSITION = 85, + DOCUMENT_POSITION: 85, /** * Contains RFID raw data */ - RFID_RAW_DATA = 101, + RFID_RAW_DATA: 101, /** * Contains RFID text results */ - RFID_TEXT = 102, + RFID_TEXT: 102, /** * Contains RFID graphic results */ - RFID_GRAPHICS = 103, + RFID_GRAPHICS: 103, /** * Contains RFID binary data */ - RFID_BINARY_DATA = 104, + RFID_BINARY_DATA: 104, /** * Contains RFID original graphics data */ - RFID_ORIGINAL_GRAPHICS = 105 -} - + RFID_ORIGINAL_GRAPHICS: 105 +} as const; +export type Result = typeof Result[keyof typeof Result]; diff --git a/src/models/rfid-access-control-info.ts b/src/models/rfid-access-control-info.ts new file mode 100644 index 00000000..0489fd4a --- /dev/null +++ b/src/models/rfid-access-control-info.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidAccessControlProcedureType } from './rfid-access-control-procedure-type'; + +/** +* Structure is used to describe the results of a single authentication procedure or a procedure of secure data access within the context of the communication session with electronic document +* @export +* @interface RfidAccessControlInfo +*/ +export interface RfidAccessControlInfo { + /** + * + * @type {RfidAccessControlProcedureType} + * @memberof RfidAccessControlInfo + */ + Type: RfidAccessControlProcedureType; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidAccessControlInfo + */ + Status: RFIDErrorCodes; + /** + * Index of the active variant of the procedure + * @type {number} + * @memberof RfidAccessControlInfo + */ + ActiveOptionIdx?: number; + /** + * List of remarks arisen during the procedure. + * @type {Array} + * @memberof RfidAccessControlInfo + */ + Notifications: Array; + /** + * List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document + * @type {Array} + * @memberof RfidAccessControlInfo + */ + AccessControlOptions?: Array; +} diff --git a/src/models/rfid-access-control-procedure-type.ts b/src/models/rfid-access-control-procedure-type.ts new file mode 100644 index 00000000..570770c2 --- /dev/null +++ b/src/models/rfid-access-control-procedure-type.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the type of authentication or secure data access procedure +* @export +* @enum {string} +*/ + +export const RfidAccessControlProcedureType = { + /** + * Type is not defined + */ + UNDEFINED: 0, + /** + * BAC/BAP + */ + BAC: 1, + /** + * PACE + */ + PACE: 2, + /** + * CA + */ + CA: 3, + /** + * TA + */ + TA: 4, + /** + * AA + */ + AA: 5, + /** + * RI + */ + RI: 6, + /** + * Card info + */ + CARD_INFO: 10 +} as const; + +export type RfidAccessControlProcedureType = typeof RfidAccessControlProcedureType[keyof typeof RfidAccessControlProcedureType]; + diff --git a/src/models/rfid-access-key.ts b/src/models/rfid-access-key.ts new file mode 100644 index 00000000..caec92cc --- /dev/null +++ b/src/models/rfid-access-key.ts @@ -0,0 +1,49 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidAccessControlProcedureType } from './rfid-access-control-procedure-type'; +import type { RfidPasswordType } from './rfid-password-type'; + +/** +* Structure is used to describe the contents of secure data access key within the context of the communication session with electronic document +* @export +* @interface RfidAccessKey +*/ +export interface RfidAccessKey { + /** + * Key contents + * @type {string} + * @memberof RfidAccessKey + */ + AccessKey: string; + /** + * + * @type {RfidPasswordType} + * @memberof RfidAccessKey + */ + KeyType: RfidPasswordType; + /** + * + * @type {RfidAccessControlProcedureType} + * @memberof RfidAccessKey + */ + AccessType: RfidAccessControlProcedureType; + /** + * Logical sign of the need for a full comparison of AccessKey contents with the contents of DG1 (MRZ) data group + * @type {boolean} + * @memberof RfidAccessKey + */ + CheckFullKeyMatching: boolean; +} diff --git a/src/models/tbinary-data.ts b/src/models/rfid-achip.ts similarity index 56% rename from src/models/tbinary-data.ts rename to src/models/rfid-achip.ts index 76e5d118..d2b01a6c 100644 --- a/src/models/tbinary-data.ts +++ b/src/models/rfid-achip.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,35 +15,37 @@ /** - * Container for extracted text fields. Fields are identified by type and language - * @export - * @interface TBinaryData - */ -export interface TBinaryData { +* Enumeration contains a set of constants specifying the type of the RFIDchip from MIFARE® family (for chips of type A) +* @export +* @enum {string} +*/ + +export const RfidAChip = { + /** + * Unknown + */ + UNKNOWN: 0, + /** + * MIFARE® 1K + */ + MIFARE_1K: 1, /** - * - * @type {number} - * @memberof TBinaryData - */ - FieldType?: number; + * MIFARE® 4K + */ + MIFARE_4K: 2, /** - * - * @type {string} - * @memberof TBinaryData - */ - FieldName?: string; + * MIFARE® Ultralight + */ + MIFARE_ULTRALIGHT: 3, /** - * - * @type {number} - * @memberof TBinaryData - */ - Buf_Length?: number; + * MIFARE® DESFire + */ + MIFARE_DES_FIRE: 4, /** - * - * @type {string} - * @memberof TBinaryData - */ - Buffer?: string; -} + * MIFARE® ProX or SmartMX xD(T) + */ + MIFARE_PROX: 5 +} as const; +export type RfidAChip = typeof RfidAChip[keyof typeof RfidAChip]; diff --git a/src/models/rfid-application-type.ts b/src/models/rfid-application-type.ts new file mode 100644 index 00000000..fb135608 --- /dev/null +++ b/src/models/rfid-application-type.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the type of application within the context of the communication session with electronic document +* @export +* @enum {string} +*/ + +export const RfidApplicationType = { + /** + * Not defined + */ + UNSPECIFIED: 0, + /** + * ePassport application + */ + E_PASSPORT: 1, + /** + * eID application + */ + E_ID: 2, + /** + * eSign application + */ + E_SIGN: 3, + /** + * eDL application + */ + E_DL: 4, + /** + * Master File + */ + ROOT_FILES: 0 +} as const; + +export type RfidApplicationType = typeof RfidApplicationType[keyof typeof RfidApplicationType]; + diff --git a/src/models/rfid-application.ts b/src/models/rfid-application.ts new file mode 100644 index 00000000..5ac406be --- /dev/null +++ b/src/models/rfid-application.ts @@ -0,0 +1,68 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidApplicationType } from './rfid-application-type'; +import type { RfidDataFile } from './rfid-data-file'; + +/** +* Structure is used to describe the contents of a single LDS application and their analysis within the context of the communication session with electronic document +* @export +* @interface RfidApplication +*/ +export interface RfidApplication { + /** + * + * @type {RfidApplicationType} + * @memberof RfidApplication + */ + Type: RfidApplicationType; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidApplication + */ + Status: RFIDErrorCodes; + /** + * Application identifier + * @type {string} + * @memberof RfidApplication + */ + ApplicationID: string; + /** + * Version of the application + * @type {string} + * @memberof RfidApplication + */ + Version: string; + /** + * Unicode version for application + * @type {string} + * @memberof RfidApplication + */ + UnicodeVersion: string; + /** + * Algorithm for calculating hash values for files for the procedure of PA + * @type {string} + * @memberof RfidApplication + */ + DataHashAlgorithm: string; + /** + * List of containers to store information about the read files of the application + * @type {Array} + * @memberof RfidApplication + */ + Files: Array; +} diff --git a/src/models/rfid-attribute-data.ts b/src/models/rfid-attribute-data.ts new file mode 100644 index 00000000..d5b280f1 --- /dev/null +++ b/src/models/rfid-attribute-data.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Structure contains the data of one attribute of the digital signature object. +* @export +* @interface RfidAttributeData +*/ +export interface RfidAttributeData { + /** + * Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidAttributeData + */ + Type: string; + /** + * Attribute binary data. Base64 encoded. + * @type {string} + * @memberof RfidAttributeData + */ + Data: string; +} diff --git a/src/models/rfid-attribute-name.ts b/src/models/rfid-attribute-name.ts new file mode 100644 index 00000000..d21acb22 --- /dev/null +++ b/src/models/rfid-attribute-name.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { TrfFtString } from './trf-ft-string'; + +/** +* Structure contains information that serves as the distinguished name (identifier) of an object. +* @export +* @interface RfidAttributeName +*/ +export interface RfidAttributeName { + /** + * Attribute identifier (OID ASCII string); contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidAttributeName + */ + Type: string; + /** + * + * @type {TrfFtString} + * @memberof RfidAttributeName + */ + Value: TrfFtString; +} diff --git a/src/models/rfid-authentication-procedure-type.ts b/src/models/rfid-authentication-procedure-type.ts new file mode 100644 index 00000000..6a6768eb --- /dev/null +++ b/src/models/rfid-authentication-procedure-type.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the type of performed procedure of document authentication within the current session +* @export +* @enum {string} +*/ + +export const RfidAuthenticationProcedureType = { + /** + * Not defined + */ + UNDEFINED: 0, + /** + * Standard authentication procedure + */ + STANDARD: 1, + /** + * Advanced authentication procedure + */ + ADVANCED: 2, + /** + * General authentication procedure + */ + GENERAL: 3 +} as const; + +export type RfidAuthenticationProcedureType = typeof RfidAuthenticationProcedureType[keyof typeof RfidAuthenticationProcedureType]; + diff --git a/src/models/rfid-baud-rate.ts b/src/models/rfid-baud-rate.ts new file mode 100644 index 00000000..4dd876d8 --- /dev/null +++ b/src/models/rfid-baud-rate.ts @@ -0,0 +1,47 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip +* @export +* @enum {string} +*/ + +export const RfidBaudRate = { + /** + * Unknown + */ + UNKNOWN: 0, + /** + * 106 bits/s + */ + RFBR_106: 1, + /** + * 212 bits/s + */ + RFBR_212: 2, + /** + * 424 bits/s + */ + RFBR_424: 4, + /** + * 848 bits/s + */ + RFBR_848: 8 +} as const; + +export type RfidBaudRate = typeof RfidBaudRate[keyof typeof RfidBaudRate]; + diff --git a/src/models/rfid-card-properties-ext.ts b/src/models/rfid-card-properties-ext.ts new file mode 100644 index 00000000..87e1bb2e --- /dev/null +++ b/src/models/rfid-card-properties-ext.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidAChip } from './rfid-achip'; +import type { RfidBaudRate } from './rfid-baud-rate'; +import type { RfidType } from './rfid-type'; + +/** +* Structure is used to store extended information about the characteristics of the RFID-chip located in the scope of the reader +* @export +* @interface RfidCardPropertiesExt +*/ +export interface RfidCardPropertiesExt { + /** + * + * @type {RfidType} + * @memberof RfidCardPropertiesExt + */ + RFID_Type: RfidType; + /** + * Numeric Baudrate1 value in hexadecimal format (e.g. 0x0000000F) + * @type {string} + * @memberof RfidCardPropertiesExt + */ + Baudrate1: string; + /** + * Numeric Baudrate2 value in hexadecimal format + * @type {string} + * @memberof RfidCardPropertiesExt + */ + Baudrate2: string; + /** + * Boolean Support_4 value + * @type {boolean} + * @memberof RfidCardPropertiesExt + */ + Support_4: boolean; + /** + * + * @type {RfidAChip} + * @memberof RfidCardPropertiesExt + */ + ChipType_A: RfidAChip; + /** + * Sign of support for ISO/IEC 14443-3 data exchange protocol + * @type {boolean} + * @memberof RfidCardPropertiesExt + */ + Support_Mifare: boolean; + /** + * Amount of operational memory MIFARE® of the chip, kilobytes + * @type {number} + * @memberof RfidCardPropertiesExt + */ + MifareMemory: number; + /** + * UID contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. F9 4F 41 60) + * @type {string} + * @memberof RfidCardPropertiesExt + */ + UID: string; + /** + * Reply of the «A» type chip to «REQA» command of ISO/IEC 14443-3 protocol (Answer To Request, Type A – ATQA) – for the internal use by the main control library + * @type {any} + * @memberof RfidCardPropertiesExt + */ + ATQ_A: any | null; + /** + * Response of type-A RFID-chip to SELECT command of ISO/IEC 14443-3 protocol (Select Acknowledge, SAK). + * @type {any} + * @memberof RfidCardPropertiesExt + */ + SAK: any | null; + /** + * ATQ_B contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 50 F9 4F 41 60 00 00 00 00 77 81 81) + * @type {any} + * @memberof RfidCardPropertiesExt + */ + ATQ_B: any | null; + /** + * + * @type {RfidBaudRate} + * @memberof RfidCardPropertiesExt + */ + BitRateS: RfidBaudRate; + /** + * + * @type {RfidBaudRate} + * @memberof RfidCardPropertiesExt + */ + BitRateR: RfidBaudRate; + /** + * ATR-string of RFID-chip + * @type {string} + * @memberof RfidCardPropertiesExt + */ + ATR: string; +} diff --git a/src/models/rfid-certificate-ex.ts b/src/models/rfid-certificate-ex.ts new file mode 100644 index 00000000..11f6ce58 --- /dev/null +++ b/src/models/rfid-certificate-ex.ts @@ -0,0 +1,109 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidCertificateOrigin } from './rfid-certificate-origin'; +import type { RfidCertificateType } from './rfid-certificate-type'; +import type { RfidDistinguishedName } from './rfid-distinguished-name'; +import type { RfidPkiExtension } from './rfid-pki-extension'; +import type { RfidValidity } from './rfid-validity'; +import type { TrfFtString } from './trf-ft-string'; + +/** +* Structure is used to describe the certificate contents used for the digital signature verification of the document security object within the context of the communication session with electronic document. +* @export +* @interface RfidCertificateEx +*/ +export interface RfidCertificateEx { + /** + * Version of Certificate ASN.1 structure + * @type {number} + * @memberof RfidCertificateEx + */ + Version: number; + /** + * Certificate serial number. Base64 encoded. + * @type {string} + * @memberof RfidCertificateEx + */ + SerialNumber: string; + /** + * Certificate digital signature algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). + * @type {string} + * @memberof RfidCertificateEx + */ + SignatureAlgorithm: string; + /** + * + * @type {RfidDistinguishedName} + * @memberof RfidCertificateEx + */ + Issuer: RfidDistinguishedName; + /** + * + * @type {RfidValidity} + * @memberof RfidCertificateEx + */ + Validity: RfidValidity; + /** + * + * @type {RfidDistinguishedName} + * @memberof RfidCertificateEx + */ + Subject: RfidDistinguishedName; + /** + * Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). + * @type {string} + * @memberof RfidCertificateEx + */ + SubjectPKAlgorithm: string; + /** + * List of the certificate extensions + * @type {Array} + * @memberof RfidCertificateEx + */ + Extensions: Array; + /** + * List of remarks arisen during the analysis of the certificate data structure and its validity verification. + * @type {Array} + * @memberof RfidCertificateEx + */ + Notifications: Array; + /** + * + * @type {RfidCertificateOrigin} + * @memberof RfidCertificateEx + */ + Origin: RfidCertificateOrigin; + /** + * + * @type {RfidCertificateType} + * @memberof RfidCertificateEx + */ + Type: RfidCertificateType; + /** + * + * @type {TrfFtString} + * @memberof RfidCertificateEx + */ + FileName: TrfFtString; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidCertificateEx + */ + PA_Status: RFIDErrorCodes; +} diff --git a/src/models/rfid-certificate-origin.ts b/src/models/rfid-certificate-origin.ts new file mode 100644 index 00000000..30646664 --- /dev/null +++ b/src/models/rfid-certificate-origin.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the source of certificate used in the procedure of document security object digital signature verification +* @export +* @enum {string} +*/ + +export const RfidCertificateOrigin = { + /** + * The source is not defined + */ + UNDEFINED: 0, + /** + * Local PKD + */ + PKD: 1, + /** + * Document security object + */ + SECURITY_OBJECT: 2, + /** + * User-defined + */ + USER_DEFINED: 3, + /** + * Contents of the Master List + */ + MASTER_LIST_PKD: 4, + /** + * Security object of the Master List + */ + MASTER_LIST_SO: 5, + /** + * Security object of the Defect List + */ + DEFECT_LIST_SO: 6, + /** + * Security object of the Deviation List + */ + DEVIATION_LIST_SO: 7, + /** + * Security object of the Black List + */ + BLACK_LIST_SO: 8 +} as const; + +export type RfidCertificateOrigin = typeof RfidCertificateOrigin[keyof typeof RfidCertificateOrigin]; + diff --git a/src/models/rfid-certificate-type.ts b/src/models/rfid-certificate-type.ts new file mode 100644 index 00000000..64587a2a --- /dev/null +++ b/src/models/rfid-certificate-type.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the type of certificate used in the procedure of document security object digital signature verification +* @export +* @enum {string} +*/ + +export const RfidCertificateType = { + /** + * Type is not defined + */ + UNDEFINED: 0, + /** + * CSCA + */ + CSCA: 1, + /** + * CSCA-link + */ + CSCA_LINK: 2, + /** + * DS + */ + DS: 3, + /** + * Master List signer + */ + MLS: 4, + /** + * Deviaton List signer + */ + DEV_LS: 5, + /** + * Defect List signer + */ + DEF_LS: 6, + /** + * Black List signer + */ + BLS: 7 +} as const; + +export type RfidCertificateType = typeof RfidCertificateType[keyof typeof RfidCertificateType]; + diff --git a/src/models/rfid-data-file-type.ts b/src/models/rfid-data-file-type.ts new file mode 100644 index 00000000..292fb0b6 --- /dev/null +++ b/src/models/rfid-data-file-type.ts @@ -0,0 +1,114 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the file type (or logical belonging of the data object) within the context of the communication session with electronic document +* @export +* @enum {string} +*/ + +export const RfidDataFileType = { + UNSPECIFIED: 0, + PASSPORT_DG1: 1, + PASSPORT_DG2: 2, + PASSPORT_DG3: 3, + PASSPORT_DG4: 4, + PASSPORT_DG5: 5, + PASSPORT_DG6: 6, + PASSPORT_DG7: 7, + PASSPORT_DG8: 8, + PASSPORT_DG9: 9, + PASSPORT_DG10: 10, + PASSPORT_DG11: 11, + PASSPORT_DG12: 12, + PASSPORT_DG13: 13, + PASSPORT_DG14: 14, + PASSPORT_DG15: 15, + PASSPORT_DG16: 16, + PASSPORT_DG17: 17, + PASSPORT_DG18: 18, + PASSPORT_DG19: 19, + PASSPORT_DG20: 20, + PASSPORT_SOD: 21, + PASSPORT_CVCA: 22, + PASSPORT_COM: 23, + ID_DG1: 101, + ID_DG2: 102, + ID_DG3: 103, + ID_DG4: 104, + ID_DG5: 105, + ID_DG6: 106, + ID_DG7: 107, + ID_DG8: 108, + ID_DG9: 109, + ID_DG10: 110, + ID_DG11: 111, + ID_DG12: 112, + ID_DG13: 113, + ID_DG14: 114, + ID_DG15: 115, + ID_DG16: 116, + ID_DG17: 117, + ID_DG18: 118, + ID_DG19: 119, + ID_DG20: 120, + ID_DG21: 121, + DL_COM: 150, + DL_DG1: 151, + DL_DG2: 152, + DL_DG3: 153, + DL_DG4: 154, + DL_DG5: 155, + DL_DG6: 156, + DL_DG7: 157, + DL_DG8: 158, + DL_DG9: 159, + DL_DG10: 160, + DL_DG11: 161, + DL_DG12: 162, + DL_DG13: 163, + DL_DG14: 164, + DL_SOD: 165, + DL_CE: 166, + DL_CVCA: 167, + PACE_CARD_ACCESS: 200, + PACE_CARD_SECURITY: 201, + PACE_CHIP_SECURITY: 202, + MIFARE_DATA: 300, + MIFARE_VALIDITY: 301, + AUTHENTICITY_V2: 302, + ATR: 400, + _E_SIGN_PK: 500, + _E_SIGN_SIGNED_DATA: 501, + CERTIFICATE: 600, + MASTER_LIST: 601, + DEFECT_LIST: 602, + BLACK_LIST: 603, + APP_DIRECTORY: 700, + SESSION: 701, + LOG_DATA: 702, + CHIP_PROPERTIES: 703, + POST_CA_RESPONSE: 710, + POST_CA_PUBLIC_KEY: 711, + POST_CA_INFO: 712, + POST_CA_D_PARAMS: 713, + POST_CA_CHECK_PK: 714, + POST_CA_CHECK_SK: 715, + USER_DEFINED: 1000 +} as const; + +export type RfidDataFileType = typeof RfidDataFileType[keyof typeof RfidDataFileType]; + diff --git a/src/models/rfid-data-file.ts b/src/models/rfid-data-file.ts new file mode 100644 index 00000000..7c472f73 --- /dev/null +++ b/src/models/rfid-data-file.ts @@ -0,0 +1,89 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { GraphicFieldType } from './graphic-field-type'; +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidDataFileType } from './rfid-data-file-type'; +import type { TextFieldType } from './text-field-type'; +import type { TrfFtBytes } from './trf-ft-bytes'; + +/** +* Structure is used to describe the contents of a single file of the LDS of electronic document and the analysis of its contents within the context of the communication session with electronic document +* @export +* @interface RfidDataFile +*/ +export interface RfidDataFile { + /** + * File identifier. Each byte of FileID represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 01 1E) + * @type {string} + * @memberof RfidDataFile + */ + FileID?: string; + /** + * + * @type {RfidDataFileType} + * @memberof RfidDataFile + */ + Type: RfidDataFileType; + /** + * + * @type {TrfFtBytes} + * @memberof RfidDataFile + */ + FileData?: TrfFtBytes; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidDataFile + */ + ReadingStatus: RFIDErrorCodes; + /** + * Time of reading, milliseconds + * @type {number} + * @memberof RfidDataFile + */ + ReadingTime: number; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidDataFile + */ + PA_Status: RFIDErrorCodes; + /** + * List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure. + * @type {Array} + * @memberof RfidDataFile + */ + Notifications: Array; + /** + * List of document text fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ + DocFields_Text: Array; + /** + * List of document graphic fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ + DocFields_Graphics: Array; + /** + * List of the original binary representation of graphic document fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ + DocFields_Originals: Array; +} diff --git a/src/models/rfid-data-group-type-tag.ts b/src/models/rfid-data-group-type-tag.ts new file mode 100644 index 00000000..48669a06 --- /dev/null +++ b/src/models/rfid-data-group-type-tag.ts @@ -0,0 +1,247 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration representing RFID Data Group Types. Constants with prefix correspond to the informational data groups of ePassport application, with prefix EID_ – those of eID application, with prefix EDL_ – eDL application +* @export +* @enum {string} +*/ + +export const RfidDataGroupTypeTag = { + /** + * Common Data Group Type + */ + COM: 96, + /** + * Data Group 1 + */ + DG1: 97, + /** + * Data Group 2 + */ + DG2: 117, + /** + * Data Group 3 + */ + DG3: 99, + /** + * Data Group 4 + */ + DG4: 118, + /** + * Data Group 5 + */ + DG5: 101, + /** + * Data Group 6 + */ + DG6: 102, + /** + * Data Group 7 + */ + DG7: 103, + /** + * Data Group 8 + */ + DG8: 104, + /** + * Data Group 9 + */ + DG9: 105, + /** + * Data Group 10 + */ + DG10: 106, + /** + * Data Group 11 + */ + DG11: 107, + /** + * Data Group 12 + */ + DG12: 108, + /** + * Data Group 13 + */ + DG13: 109, + /** + * Data Group 14 + */ + DG14: 110, + /** + * Data Group 15 + */ + DG15: 111, + /** + * Data Group 16 + */ + DG16: 112, + /** + * Start of Data + */ + SOD: 119, + /** + * Extended Interoperable Data, Data Group 1 + */ + EID_DG1: 97, + /** + * Extended Interoperable Data, Data Group 2 + */ + EID_DG2: 98, + /** + * Extended Interoperable Data, Data Group 3 + */ + EID_DG3: 99, + /** + * Extended Interoperable Data, Data Group 4 + */ + EID_DG4: 100, + /** + * Extended Interoperable Data, Data Group 5 + */ + EID_DG5: 101, + /** + * Extended Interoperable Data, Data Group 6 + */ + EID_DG6: 102, + /** + * Extended Interoperable Data, Data Group 7 + */ + EID_DG7: 103, + /** + * Extended Interoperable Data, Data Group 8 + */ + EID_DG8: 104, + /** + * Extended Interoperable Data, Data Group 9 + */ + EID_DG9: 105, + /** + * Extended Interoperable Data, Data Group 10 + */ + EID_DG10: 106, + /** + * Extended Interoperable Data, Data Group 11 + */ + EID_DG11: 107, + /** + * Extended Interoperable Data, Data Group 12 + */ + EID_DG12: 108, + /** + * Extended Interoperable Data, Data Group 13 + */ + EID_DG13: 109, + /** + * Extended Interoperable Data, Data Group 14 + */ + EID_DG14: 110, + /** + * Extended Interoperable Data, Data Group 15 + */ + EID_DG15: 111, + /** + * Extended Interoperable Data, Data Group 16 + */ + EID_DG16: 112, + /** + * Extended Interoperable Data, Data Group 17 + */ + EID_DG17: 113, + /** + * Extended Interoperable Data, Data Group 18 + */ + EID_DG18: 114, + /** + * Extended Interoperable Data, Data Group 19 + */ + EID_DG19: 115, + /** + * Extended Interoperable Data, Data Group 20 + */ + EID_DG20: 116, + /** + * Extended Interoperable Data, Data Group 21 + */ + EID_DG21: 117, + /** + * Extended Length Data, Common Data Group Type + */ + EDL_COM: 96, + /** + * Extended Length Data, Start of Data + */ + EDL_SOD: 119, + /** + * Extended Length Data, Certificate Holder Authorization + */ + EDL_CE: 119, + /** + * Extended Length Data, Data Group 1 + */ + EDL_DG1: 97, + /** + * Extended Length Data, Data Group 2 + */ + EDL_DG2: 107, + /** + * Extended Length Data, Data Group 3 + */ + EDL_DG3: 108, + /** + * Extended Length Data, Data Group 4 + */ + EDL_DG4: 101, + /** + * Extended Length Data, Data Group 5 + */ + EDL_DG5: 103, + /** + * Extended Length Data, Data Group 6 + */ + EDL_DG6: 117, + /** + * Extended Length Data, Data Group 7 + */ + EDL_DG7: 99, + /** + * Extended Length Data, Data Group 8 + */ + EDL_DG8: 118, + /** + * Extended Length Data, Data Group 9 + */ + EDL_DG9: 112, + /** + * Extended Length Data, Data Group 11 + */ + EDL_DG11: 109, + /** + * Extended Length Data, Data Group 12 + */ + EDL_DG12: 113, + /** + * Extended Length Data, Data Group 13 + */ + EDL_DG14: 111, + /** + * Extended Length Data, Data Group 14 + */ + NUMBER_110: 110 +} as const; + +export type RfidDataGroupTypeTag = typeof RfidDataGroupTypeTag[keyof typeof RfidDataGroupTypeTag]; + diff --git a/src/models/rfid-dg1.ts b/src/models/rfid-dg1.ts new file mode 100644 index 00000000..ad7e9334 --- /dev/null +++ b/src/models/rfid-dg1.ts @@ -0,0 +1,121 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { DocumentFormat } from './document-format'; +import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; + +/** +* Structure used to store the contents of EF.DG1 informational data group of ePassport application – document MRZ data +* @export +* @interface RfidDG1 +*/ +export interface RfidDG1 { + /** + * + * @type {RfidDataGroupTypeTag} + * @memberof RfidDG1 + */ + Type: RfidDataGroupTypeTag; + /** + * + * @type {DocumentFormat} + * @memberof RfidDG1 + */ + DocumentID: DocumentFormat; + /** + * Symbolic code of document type + * @type {string} + * @memberof RfidDG1 + */ + DocumentType: string; + /** + * Symbolic code of document issuing state + * @type {string} + * @memberof RfidDG1 + */ + State: string; + /** + * DO’s name and surname + * @type {string} + * @memberof RfidDG1 + */ + Holder: string; + /** + * Document number + * @type {string} + * @memberof RfidDG1 + */ + DocumentNumber: string; + /** + * Check digit of document number + * @type {number} + * @memberof RfidDG1 + */ + CheckDigitDocumentNumber: number; + /** + * Symbolic code of DO’s nationality + * @type {string} + * @memberof RfidDG1 + */ + Nationality: string; + /** + * DO’s date of birth + * @type {string} + * @memberof RfidDG1 + */ + Birthday: string; + /** + * Check digit of DO’s date of birth + * @type {number} + * @memberof RfidDG1 + */ + CheckDigitBirthday: number; + /** + * DO’s sex + * @type {string} + * @memberof RfidDG1 + */ + Sex: string; + /** + * Term of validity of the document + * @type {string} + * @memberof RfidDG1 + */ + ExpiryDate: string; + /** + * Check digit of term of validity of the document + * @type {number} + * @memberof RfidDG1 + */ + CheckDigitExpiryDate: number; + /** + * DO’s personal number or other additional data + * @type {string} + * @memberof RfidDG1 + */ + OptionalData: string; + /** + * Check digit of additional data + * @type {number} + * @memberof RfidDG1 + */ + CheckDigitOptionalData: number; + /** + * General check digit + * @type {number} + * @memberof RfidDG1 + */ + CheckDigitComposite: number; +} diff --git a/src/models/rfid-distinguished-name.ts b/src/models/rfid-distinguished-name.ts new file mode 100644 index 00000000..2a2aea68 --- /dev/null +++ b/src/models/rfid-distinguished-name.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidAttributeName } from './rfid-attribute-name'; +import type { TrfFtString } from './trf-ft-string'; + +/** +* Contents of the identifier in binary form. Base64 encoded. +* @export +* @interface RfidDistinguishedName +*/ +export interface RfidDistinguishedName { + /** + * Contents of the identifier in binary form. Base64 encoded. + * @type {string} + * @memberof RfidDistinguishedName + */ + Data: string; + /** + * + * @type {TrfFtString} + * @memberof RfidDistinguishedName + */ + FriendlyName: TrfFtString; + /** + * List of individual attributes contained in the identifier + * @type {Array} + * @memberof RfidDistinguishedName + */ + Attributes: Array; +} diff --git a/src/models/rfid-location.ts b/src/models/rfid-location.ts old mode 100755 new mode 100644 index e453c43b..199e7d3f --- a/src/models/rfid-location.ts +++ b/src/models/rfid-location.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,24 +15,25 @@ /** - * Determines the presence and location of an RFID chip in a document. 0 - no rfid chip; 1 - chip is located in the document data page; 2 - chip is located in the back page or inlay of the document - * @export - * @enum {string} - */ -export enum RfidLocation { +* Determines the presence and location of an RFID chip in a document. 0 - no rfid chip; 1 - chip is located in the document data page; 2 - chip is located in the back page or inlay of the document +* @export +* @enum {string} +*/ + +export const RfidLocation = { /** * There is no RFID chip in the document */ - NONE = 0, + NONE: 0, /** * The RFID chip is located in the document data page */ - MAIN_PAGE = 1, + MAIN_PAGE: 1, /** * The RFID chip is located in the back page or inlay of the document */ - BACK_PAGE = 2 -} - + BACK_PAGE: 2 +} as const; +export type RfidLocation = typeof RfidLocation[keyof typeof RfidLocation]; diff --git a/src/models/rfid-origin.ts b/src/models/rfid-origin.ts old mode 100755 new mode 100644 index d8333d3c..b9d16992 --- a/src/models/rfid-origin.ts +++ b/src/models/rfid-origin.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,35 +15,33 @@ /** - * Location of data in RFID chip - * @export - * @interface RfidOrigin - */ +* Location of data in RFID chip +* @export +* @interface RfidOrigin +*/ export interface RfidOrigin { /** - * Source data group file - * @type {number} - * @memberof RfidOrigin - */ + * Source data group file + * @type {number} + * @memberof RfidOrigin + */ dg: number; /** - * Index of the source record of the image with biometric information in the information data group - * @type {number} - * @memberof RfidOrigin - */ - dgTag?: number; + * Index of the source record of the image with biometric information in the information data group + * @type {number} + * @memberof RfidOrigin + */ + dgTag: number; /** - * Index of the template in the record with biometric data - * @type {number} - * @memberof RfidOrigin - */ - tagEntry?: number; + * Index of the template in the record with biometric data + * @type {number} + * @memberof RfidOrigin + */ + tagEntry: number; /** - * Index of the variant of the biometric data template - * @type {number} - * @memberof RfidOrigin - */ - entryView?: number; + * Index of the variant of the biometric data template + * @type {number} + * @memberof RfidOrigin + */ + entryView: number; } - - diff --git a/src/models/rfid-password-type.ts b/src/models/rfid-password-type.ts new file mode 100644 index 00000000..775273e6 --- /dev/null +++ b/src/models/rfid-password-type.ts @@ -0,0 +1,55 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip +* @export +* @enum {string} +*/ + +export const RfidPasswordType = { + /** + * Unknown type + */ + UNKNOWN: 0, + /** + * MRZ + */ + MRZ: 1, + /** + * CAN + */ + CAN: 2, + /** + * PIN + */ + PIN: 3, + /** + * PUK + */ + PUK: 4, + /** + * eSign-PIN + */ + PIN_E_SIGN: 5, + /** + * Scanning Area Identifier (for eDL application) + */ + SAI: 6 +} as const; + +export type RfidPasswordType = typeof RfidPasswordType[keyof typeof RfidPasswordType]; + diff --git a/src/models/rfid-pki-extension.ts b/src/models/rfid-pki-extension.ts new file mode 100644 index 00000000..c295d294 --- /dev/null +++ b/src/models/rfid-pki-extension.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) +* @export +* @interface RfidPkiExtension +*/ +export interface RfidPkiExtension { + /** + * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidPkiExtension + */ + Type: string; + /** + * Extension binary data. Base64 encoded. + * @type {string} + * @memberof RfidPkiExtension + */ + Data: string; +} diff --git a/src/models/rfid-security-object.ts b/src/models/rfid-security-object.ts new file mode 100644 index 00000000..3b6300f8 --- /dev/null +++ b/src/models/rfid-security-object.ts @@ -0,0 +1,55 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { RfidSignerInfoEx } from './rfid-signer-info-ex'; + +/** +* Structure is used to describe the contents of a single document security object (SO) and the results of its check within the context of the communication session with electronic document +* @export +* @interface RfidSecurityObject +*/ +export interface RfidSecurityObject { + /** + * Security object version + * @type {number} + * @memberof RfidSecurityObject + */ + Version: number; + /** + * Identifier of the security object + * @type {string} + * @memberof RfidSecurityObject + */ + ObjectType: string; + /** + * Reference to the source file of the security object data + * @type {number} + * @memberof RfidSecurityObject + */ + FileReference: number; + /** + * List of remarks arisen during the analysis of SO data structure. + * @type {Array} + * @memberof RfidSecurityObject + */ + Notifications: Array; + /** + * List of containers to store information about digital signature objects contained in the SO + * @type {Array} + * @memberof RfidSecurityObject + */ + SignerInfos: Array; +} diff --git a/src/models/rfid-session-data.ts b/src/models/rfid-session-data.ts new file mode 100644 index 00000000..f0be1269 --- /dev/null +++ b/src/models/rfid-session-data.ts @@ -0,0 +1,127 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidAccessControlInfo } from './rfid-access-control-info'; +import type { RfidAccessKey } from './rfid-access-key'; +import type { RfidApplication } from './rfid-application'; +import type { RfidAuthenticationProcedureType } from './rfid-authentication-procedure-type'; +import type { RfidCardPropertiesExt } from './rfid-card-properties-ext'; +import type { RfidSecurityObject } from './rfid-security-object'; +import type { RfidTerminal } from './rfid-terminal'; + +/** +* Structure is used to describe the results of work with the SDK within the context of the current communication session with electronic document +* @export +* @interface RfidSessionData +*/ +export interface RfidSessionData { + /** + * Sign of virtual session when working with loaded data from a previous communication session with the electronic document + * @type {any} + * @memberof RfidSessionData + */ + VirtualMode: any | null; + /** + * Text SDKVersion value in format A.B (e.g. 3.1) + * @type {any} + * @memberof RfidSessionData + */ + SDKVersion: any | null; + /** + * Text DriverVersion value in format A.B.C.D (e.g. 6.2.5.4) + * @type {any} + * @memberof RfidSessionData + */ + DriverVersion: any | null; + /** + * Text FirmwareVersion value in format A.B (e.g. 5.19) + * @type {any} + * @memberof RfidSessionData + */ + FirmwareVersion: any | null; + /** + * List of containers to store information about the involved applications of electronic document + * @type {Array} + * @memberof RfidSessionData + */ + Applications: Array; + /** + * List of containers to store information about the supported procedures of authentication and secure data access within the context of the session + * @type {Array} + * @memberof RfidSessionData + */ + AccessControls: Array; + /** + * + * @type {RfidCardPropertiesExt} + * @memberof RfidSessionData + */ + CardProperties: RfidCardPropertiesExt; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidSessionData + */ + ExtLeSupport: RFIDErrorCodes; + /** + * Time of processing, milliseconds + * @type {number} + * @memberof RfidSessionData + */ + ProcessTime: number; + /** + * List of containers to store information about the read files of the root Master File + * @type {Array} + * @memberof RfidSessionData + */ + RootFiles: Array; + /** + * Total number of bytes transmitted to the RFID-chip during the whole session + * @type {number} + * @memberof RfidSessionData + */ + TotalBytesSent: number; + /** + * Total number of bytes received from the RFID-chip during the whole session + * @type {number} + * @memberof RfidSessionData + */ + TotalBytesReceived: number; + /** + * + * @type {RfidAccessKey} + * @memberof RfidSessionData + */ + Session_key: RfidAccessKey; + /** + * + * @type {RfidTerminal} + * @memberof RfidSessionData + */ + Session_terminal: RfidTerminal; + /** + * + * @type {RfidAuthenticationProcedureType} + * @memberof RfidSessionData + */ + Session_procedure: RfidAuthenticationProcedureType; + /** + * List of containers to store information about the detected document security objects + * @type {Array} + * @memberof RfidSessionData + */ + SecurityObjects: Array; +} diff --git a/src/models/rfid-signer-info-ex.ts b/src/models/rfid-signer-info-ex.ts new file mode 100644 index 00000000..2d8d991a --- /dev/null +++ b/src/models/rfid-signer-info-ex.ts @@ -0,0 +1,101 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { RFIDErrorCodes } from './rfiderror-codes'; +import type { RfidAttributeData } from './rfid-attribute-data'; +import type { RfidCertificateEx } from './rfid-certificate-ex'; +import type { RfidDistinguishedName } from './rfid-distinguished-name'; +import type { TrfFtBytes } from './trf-ft-bytes'; + +/** +* Structure is used to describe the contents of a single copy of digital signature of the document security object and the results of its check within the context of the communication session with electronic document +* @export +* @interface RfidSignerInfoEx +*/ +export interface RfidSignerInfoEx { + /** + * Version of SignerInfo ASN.1 structure + * @type {number} + * @memberof RfidSignerInfoEx + */ + Version: number; + /** + * + * @type {RfidDistinguishedName} + * @memberof RfidSignerInfoEx + */ + Issuer: RfidDistinguishedName; + /** + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ + SerialNumber: TrfFtBytes; + /** + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ + SubjectKeyIdentifier: TrfFtBytes; + /** + * Hash algorithm identifier (OID) for digital signature generation + * @type {string} + * @memberof RfidSignerInfoEx + */ + DigestAlgorithm: string; + /** + * List of the signed attributes + * @type {Array} + * @memberof RfidSignerInfoEx + */ + SignedAttributes: Array; + /** + * Digital signature algorithm identifier (OID) + * @type {string} + * @memberof RfidSignerInfoEx + */ + SignatureAlgorithm: string; + /** + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ + Signature: TrfFtBytes; + /** + * + * @type {RFIDErrorCodes} + * @memberof RfidSignerInfoEx + */ + PA_Status: RFIDErrorCodes; + /** + * Certificate chain, used for the digital signature verification. + * @type {Array} + * @memberof RfidSignerInfoEx + */ + CertificateChain: Array; + /** + * Binary data array used to calculate the hash value for digital signature verification. Base64 encoded. + * @type {string} + * @memberof RfidSignerInfoEx + */ + DataToHash: string; + /** + * + * @type {ParsingErrorCodes} + * @memberof RfidSignerInfoEx + */ + Notifications: ParsingErrorCodes; +} diff --git a/src/models/rfid-terminal-type.ts b/src/models/rfid-terminal-type.ts new file mode 100644 index 00000000..09b3ae38 --- /dev/null +++ b/src/models/rfid-terminal-type.ts @@ -0,0 +1,47 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants that define the type of terminal within the context of the communication session with electronic document +* @export +* @enum {string} +*/ + +export const RfidTerminalType = { + /** + * Not defined + */ + UNDEFINED: 0, + /** + * Inspection system + */ + INSPECTION_SYSTEM: 1, + /** + * Authentication terminal + */ + AUTHENTICATION_TERMINAL: 2, + /** + * Signature terminal + */ + SIGNATURE_TERMINAL: 3, + /** + * Unauthenticated terminal + */ + UNAUTHENTICATED_TERMINAL: 4 +} as const; + +export type RfidTerminalType = typeof RfidTerminalType[keyof typeof RfidTerminalType]; + diff --git a/src/models/rfid-terminal.ts b/src/models/rfid-terminal.ts new file mode 100644 index 00000000..0eec0b8a --- /dev/null +++ b/src/models/rfid-terminal.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { RfidTerminalType } from './rfid-terminal-type'; + +/** +* Structure is used to describe the terminal type within the context of the communication session with electronic document +* @export +* @interface RfidTerminal +*/ +export interface RfidTerminal { + /** + * + * @type {RfidTerminalType} + * @memberof RfidTerminal + */ + TermType: RfidTerminalType; + /** + * Declared (set) combination of flags of access rights to the functionality of the document (combination of eRfidTerminalAuthorizationRequirement values) + * @type {number} + * @memberof RfidTerminal + */ + AuthReq: number; + /** + * Declared (set) combination of flags of access rights to the functionality of the document (combination of RfidTerminalAuthorizationRequirement values) + * @type {number} + * @memberof RfidTerminal + */ + AuthReq2: number; +} diff --git a/src/models/rfid-text-data-result.ts b/src/models/rfid-text-data-result.ts deleted file mode 100755 index 026c2202..00000000 --- a/src/models/rfid-text-data-result.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { BarcodeTextDataResult } from './barcode-text-data-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { GraphicsResult } from './graphics-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { MrzOcrExtendedResult } from './mrz-ocr-extended-result'; -import { MrzOcrExtendedResultAllOf } from './mrz-ocr-extended-result-all-of'; -import { RawImageResult } from './raw-image-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextResult } from './text-result'; -import { VisualOcrExtendedResult } from './visual-ocr-extended-result'; - -/** - * @type RfidTextDataResult - * Text fields extracted from document RFID chip - * @export - */ -export type RfidTextDataResult = MrzOcrExtendedResultAllOf & ResultItem; - - - diff --git a/src/models/rfid-type.ts b/src/models/rfid-type.ts new file mode 100644 index 00000000..62c07aa3 --- /dev/null +++ b/src/models/rfid-type.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of constants specifying the type of the RFID-chip by the physical parameters of connection between antennas of the chip and the reader +* @export +* @enum {string} +*/ + +export const RfidType = { + /** + * Unknown + */ + UNKNOWN: 0, + /** + * Type A + */ + A: 1, + /** + * Type B + */ + B: 2 +} as const; + +export type RfidType = typeof RfidType[keyof typeof RfidType]; + diff --git a/src/models/rfid-validity.ts b/src/models/rfid-validity.ts new file mode 100644 index 00000000..0b3db012 --- /dev/null +++ b/src/models/rfid-validity.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { TrfFtString } from './trf-ft-string'; + +/** +* Structure contains information on a certificate validity. +* @export +* @interface RfidValidity +*/ +export interface RfidValidity { + /** + * + * @type {TrfFtString} + * @memberof RfidValidity + */ + NotBefore: TrfFtString; + /** + * + * @type {TrfFtString} + * @memberof RfidValidity + */ + NotAfter: TrfFtString; +} diff --git a/src/models/rfiderror-codes.ts b/src/models/rfiderror-codes.ts new file mode 100644 index 00000000..c6d8072d --- /dev/null +++ b/src/models/rfiderror-codes.ts @@ -0,0 +1,483 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** +* Enumeration contains a set of error codes returned by SDK +* @export +* @enum {string} +*/ + +export const RFIDErrorCodes = { + /** + * LAYER6: Reading beyond EOF / Unexpected EOF + */ + RFID_ERROR_LAYER6_FILE_EOF1: 2147508866, + /** + * LAYER6: PWD deactivated + */ + RFID_ERROR_LAYER6_PWD_DEACTIVATED: 2147508867, + /** + * LAYER6: PWD blocked + */ + RFID_ERROR_LAYER6_PWD_BLOCKED: 2147509184, + /** + * LAYER6: PWD suspended + */ + RFID_ERROR_LAYER6_PWD_SUSPEND: 2147509185, + /** + * LAYER6: PWD blocked 2 + */ + RFID_ERROR_LAYER6_PWD_BLOCKED2: 2147510659, + /** + * LAYER6: PWD deactivated 2 + */ + RFID_ERROR_LAYER6_PWD_DEACTIVATED2: 2147510660, + /** + * LAYER6: PWD suspended 2 + */ + RFID_ERROR_LAYER6_PWD_SUSPEND2: 2147510661, + /** + * LAYER6: Incorrect params + */ + RFID_ERROR_LAYER6_INCORRECT_PARAMS: 2147510912, + /** + * LAYER6: File selection failure / file not found + */ + RFID_ERROR_LAYER6_FILE_NOT_FOUND: 2147510914, + /** + * LAYER6: No reference data + */ + RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 2147510920, + /** + * LAYER6: Reading beyond EOF / Unexpected EOF + */ + RFID_ERROR_LAYER6_FILE_EOF2: 2147511040, + /** + * RFID: No chip is detected + */ + RFID_ERROR_NO_CHIP_DETECTED: 2147549185, + /** + * RFID: Unavailable + */ + RFID_ERROR_NOT_AVAILABLE: 2147549186, + /** + * RFID: Invalid parameter in ExecuteCommand() call found + */ + RFID_ERROR_INVALID_PARAMETER: 2147549188, + /** + * RFID: Device is uninitialized + */ + RFID_ERROR_NOT_INITIALIZED: 2147549189, + /** + * RFID: Out of memory + */ + RFID_ERROR_NOT_ENOUGH_MEMORY: 2147549190, + /** + * RFID: Invalid directory + */ + RFID_ERROR_INVALID_DIRECTORY: 2147549192, + /** + * RFID: Unknown command + */ + RFID_ERROR_UNKNOWN_COMMAND: 2147549193, + /** + * RFID File: IO Error + */ + RFID_ERROR_FILE_IO_ERROR: 2147549194, + /** + * RFID: RFID is busy + */ + RFID_ERROR_BUSY: 2147549195, + /** + * RFID: The firmware needs to be updated to a newer version + */ + RFID_ERROR_OLD_FIRMWARE: 2147549196, + /** + * PCSC: Failed + */ + RFID_ERROR_PCSC_FAILED: 2147614720, + /** + * PCSC: The reader is unavailable + */ + RFID_ERROR_PCSC_READER_NOT_AVAILABLE: 2147614721, + /** + * PCSC: The card cannot be connected + */ + RFID_ERROR_PCSC_CANT_CONNECT_CARD: 2147614722, + /** + * PCSC: The card is not connected + */ + RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED: 2147614723, + /** + * PCSC: Operation is cancelled + */ + RFID_ERROR_PCSC_OPERATION_CANCELLED: 2147614724, + /** + * PCSC: The card is busy + */ + RFID_ERROR_PCSC_CARD_IS_BUSY: 2147614725, + /** + * PCSC: Failed Smart Card + */ + RFID_ERROR_PCSC_FAILED_SCARD: 2147614726, + /** + * PCSC: ExtLe Failed + */ + RFID_ERROR_PCSC_EXT_LE_FAILED: 2147614736, + /** + * LAYER6: PWD failed + */ + RFID_ERROR_LAYER6_PWD_FAILED: 2148557760, + /** + * RFID: Not performed + */ + RFID_ERROR_NOT_PERFORMED: 2197815296, + /** + * RFID: Session is closed + */ + RFID_ERROR_SESSION_IS_CLOSED: 2197815297, + /** + * RFID: Unsupported terminal operation + */ + RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION: 2197815298, + /** + * RFID: Terminal type unknown + */ + RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN: 2197815312, + /** + * RFID: Terminal type bad certificate + */ + RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE: 2197815313, + /** + * RFID: Terminal type not set + */ + RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET: 2197815314, + /** + * RFID: Unknown procedure type + */ + RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN: 2197815315, + /** + * RFID: Unsupported procedure type + */ + RFID_ERROR_Session_Procedure_Type_Unsupported: 2197815316, + /** + * RFID: Procedure type not set + */ + RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET: 2197815317, + /** + * RFID: Access key unknown type + */ + RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE: 2197815318, + /** + * RFID: Access key unsupported SM type + */ + RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE: 2197815319, + /** + * RFID: Access key incorrect SM type + */ + RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE: 2197815320, + /** + * RFID: Access key restricted + */ + RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED: 2197815321, + /** + * RFID: Access key incorrect data + */ + RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA: 2197815322, + /** + * RFID: Access key not set + */ + RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET: 2197815323, + /** + * RFID: PWD management not authorized + */ + RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED: 2197815324, + /** + * RFID: Access control unknown type + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE: 2197815328, + /** + * RFID: SM required + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM: 2197815329, + /** + * RFID: PACE required + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE: 2197815330, + /** + * RFID: CA keys required + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS: 2197815331, + /** + * RFID: TA required + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA: 2197815332, + /** + * RFID: CA required + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA: 2197815333, + /** + * RFID: Incorrect option CA + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA: 2197815334, + /** + * RFID: CA failed + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED: 2197815335, + /** + * RFID: TA failed + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED: 2197815336, + /** + * RFID: AA failed + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED: 2197815337, + /** + * RFID: RI failed + */ + RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED: 2197815338, + /** + * RFID: SO signature check failed + */ + RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED: 2197815344, + /** + * RFID: Hash check failed + */ + RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED: 2197815345, + /** + * RFID: Invalid aux data - date of expiry + */ + RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY: 2197815360, + /** + * RFID: Invalid aux data - date of birth + */ + RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH: 2197815361, + /** + * RFID: Invalid aux data - community ID + */ + RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID: 2197815362, + /** + * RFID: eSign requires app selection + */ + RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION: 2197815376, + /** + * RFID: eSign PIN not set + */ + RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET: 2197815377, + /** + * RFID: eSign PIN not verified + */ + RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED: 2197815378, + /** + * RFID: Incorrect data + */ + RFID_ERROR_SESSION_INCORRECT_DATA: 2197815392, + /** + * RFID file: Insufficient data + */ + RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA: 2197880832, + /** + * RFID file: Incorrect data + */ + RFID_ERROR_SESSION_FILE_INCORRECT_DATA: 2197946368, + /** + * RFID file: Unexpected data + */ + RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA: 2198011904, + /** + * RFID file: Contains unexpected data + */ + RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA: 2198077440, + /** + * RFID file: Wrong tag + */ + RFID_ERROR_SESSION_FILE_WRONG_TAG: 2198142976, + /** + * RFID file: Cannot use data + */ + RFID_ERROR_SESSION_FILE_CANT_USE_DATA: 2198208512, + /** + * RFID file: Cannot read data + */ + RFID_ERROR_SESSION_FILE_CANT_READ_DATA: 2198274048, + /** + * RFID file: Access denied + */ + RFID_ERROR_SESSION_FILE_ACCESS_DENIED: 2198339584, + /** + * RFID: Layer 34 - No error + */ + RFID_ERROR_LAYER34_NO_ERROR: 2214592512, + /** + * RFID: Layer 34 - Timeout + */ + RFID_ERROR_LAYER34_TIME_OUT: 2214658048, + /** + * RFID: Layer 34 - Collision + */ + RFID_ERROR_LAYER34_COLLISION: 2214723584, + /** + * RFID: Layer 34 - CRC + */ + RFID_ERROR_LAYER34_CRC: 2214789120, + /** + * RFID: Layer 34 - Data integrity + */ + RFID_ERROR_LAYER34_DATA_INTEGRITY: 2214854656, + /** + * RFID: Layer 34 - Data length + */ + RFID_ERROR_LAYER34_DATA_LENGTH: 2214920192, + /** + * RFID: Layer 34 - RFU + */ + RFID_ERROR_Layer34_RFU: 2214985728, + /** + * RFID: Layer 34 - Too many collision + */ + RFID_ERROR_LAYER34_COLLISION_TOO_MANY: 2215051264, + /** + * RFID: Layer 34 - Protocol B + */ + RFID_ERROR_LAYER34_PROTOCOL_B: 2215116800, + /** + * RFID: Layer 34 - Data contents + */ + RFID_ERROR_LAYER34_DATA_CONTENTS: 2215182336, + /** + * RFID: Layer 34 - Protocol + */ + RFID_ERROR_LAYER34_PROTOCOL: 2215247872, + /** + * RFID: Layer 34 - Globa timeout + */ + RFID_ERROR_LAYER34_GLOBAL_TIME_OUT: 2215313408, + /** + * RFID: Layer 34 - MIFARE auth + */ + RFID_ERROR_LAYER34_MIFARE_AUTH: 2215378944, + /** + * RFID: Layer 34 - SAM error + */ + RFID_ERROR_LAYER34_SAM_ERROR: 2215444480, + /** + * RFID: Layer 34 - SAM collision + */ + RFID_ERROR_LAYER34_SAM_COLLISION: 2215510016, + /** + * RFID: Layer 34 - SAM acknowledge + */ + RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: 2215575552, + /** + * LAYER6: Secure Messaging was not activated + */ + RFID_ERROR_LAYER6_SECURITY_MANAGER: 2248146944, + /** + * LAYER6: ISO7816_A_03 Application selection failure + */ + RFID_ERROR_LAYER6_APP_SELECTION_FAILURE: 2248146945, + /** + * LAYER6: ISO7816_B_01 Mutual authentication MAC failure + */ + RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL: 2248147200, + /** + * LAYER6: ISO7816_B_02 Mutual authentication encryption failure + */ + RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL: 2248147201, + /** + * LAYER6: ISO7816_B_03 Mutual authentication failure + */ + RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE: 2248147202, + /** + * LAYER6: ISO7816_B_03 Mutual authentication failure data + */ + RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA: 2248147203, + /** + * LAYER6: SM failure – MAC missing + */ + RFID_ERROR_LAYER6_SM_DO_8E_MISSING: 2248147456, + /** + * LAYER6: SM failure – cryptogram missing + */ + RFID_ERROR_LAYER6_SM_DO_87_MISSING: 2248147457, + /** + * LAYER6: SM failure – secured status bytes missing + */ + RFID_ERROR_LAYER6_SM_DO_99_MISSING: 2248147458, + /** + * LAYER6: SM failure – incorrect MAC + */ + RFID_ERROR_LAYER6_SM_MAC_INCORRECT: 2248147459, + /** + * LAYER6: SM failure – incorrect cryptogram + */ + RFID_ERROR_LAYER6_SM_DO_87_INCORRECT: 2248147460, + /** + * LAYER6: Not TLV response data + */ + RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA: 2248147712, + /** + * LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE) + */ + RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH: 2248147713, + /** + * LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure + */ + RFID_ERROR_LAYER6_INT_AUTH_FAILURE: 2248147714, + /** + * LAYER6: MSE:Set KAT failure + */ + RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE: 2248147715, + /** + * LAYER6: MSE:Set DST failure + */ + RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE: 2248147716, + /** + * LAYER6: PSO CERTIFICATE failure + */ + RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE: 2248147717, + /** + * LAYER6: MSE:Set AT failure + */ + RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE: 2248147718, + /** + * LAYER6: GET CHALLENGE failure + */ + RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE: 2248147719, + /** + * LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure + */ + RFID_ERROR_LAYER6_EXT_AUTH_FAILURE: 2248147720, + /** + * LAYER6: General Authenticity Failure + */ + RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 2248147721, + /** + * RFID: Failed + */ + RFID_ERROR_FAILED: 4294967295, + /** + * RFID: No error + */ + RFID_ERROR_NO_ERROR: 1, + /** + * RFID: The requested operation is already performed + */ + RFID_ERROR_ALREADY_DONE: 2 +} as const; + +export type RFIDErrorCodes = typeof RFIDErrorCodes[keyof typeof RFIDErrorCodes]; + diff --git a/src/models/scenario.ts b/src/models/scenario.ts old mode 100755 new mode 100644 index ae3ded70..d5fdc894 --- a/src/models/scenario.ts +++ b/src/models/scenario.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,84 +15,85 @@ /** - * Document processing scenario - * @export - * @enum {string} - */ -export enum Scenario { +* Document processing scenario +* @export +* @enum {string} +*/ + +export const Scenario = { /** * Processing scenario for obtaining MRZ data */ - MRZ = 'Mrz', + MRZ: 'Mrz', /** * Processing scenario for obtaining barcode data */ - BARCODE = 'Barcode', + BARCODE: 'Barcode', /** * Processing scenario for detecting document boundaries */ - LOCATE = 'Locate', + LOCATE: 'Locate', /** * Processing scenario for obtaining visual zone OCR results */ - OCR = 'Ocr', + OCR: 'Ocr', /** * Processing scenario for document type recognition */ - DOCTYPE = 'DocType', + DOCTYPE: 'DocType', /** * Processing scenario for obtaining MRZ and/or barcode data */ - MRZ_OR_BARCODE = 'MrzOrBarcode', + MRZ_OR_BARCODE: 'MrzOrBarcode', /** * Processing scenario for detecting document boundaries and/or obtaining MRZ data */ - MRZ_OR_LOCATE = 'MrzOrLocate', + MRZ_OR_LOCATE: 'MrzOrLocate', /** * Processing scenario for detecting document boundaries and obtaining MRZ data */ - MRZ_AND_LOCATE = 'MrzAndLocate', + MRZ_AND_LOCATE: 'MrzAndLocate', /** * Processing scenario for detecting the document boundaries and obtaining barcode data */ - BARCODE_AND_LOCATE = 'BarcodeAndLocate', + BARCODE_AND_LOCATE: 'BarcodeAndLocate', /** * Processing scenario for obtaining MRZ data or visual zone OCR results */ - MRZ_OR_OCR = 'MrzOrOcr', + MRZ_OR_OCR: 'MrzOrOcr', /** * Processing scenario for obtaining MRZ or barcode or visual zone OCR results */ - MRZ_OR_BARCODE_OR_OCR = 'MrzOrBarcodeOrOcr', + MRZ_OR_BARCODE_OR_OCR: 'MrzOrBarcodeOrOcr', /** * Processing scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results */ - LOCATE_VISUAL_AND_MRZ_OR_OCR = 'LocateVisual_And_MrzOrOcr', + LOCATE_VISUAL_AND_MRZ_OR_OCR: 'LocateVisual_And_MrzOrOcr', /** * Processing scenario for obtaining all document data */ - FULL_PROCESS = 'FullProcess', + FULL_PROCESS: 'FullProcess', /** * Processing scenario for obtaining all document data and document authentication */ - FULL_AUTH = 'FullAuth', + FULL_AUTH: 'FullAuth', /** * Processing scenario for obtaining data from registration stamps */ - RUS_STAMP = 'RusStamp', + RUS_STAMP: 'RusStamp', /** * Processing scenario for obtaining OCR results of any image */ - OCR_FREE = 'OcrFree', + OCR_FREE: 'OcrFree', /** * Processing scenario for obtaining bank card data */ - CREDIT_CARD = 'CreditCard', + CREDIT_CARD: 'CreditCard', /** * Scenario for obtaining an original image without any processing */ - CAPTURE = 'Capture' -} - + CAPTURE: 'Capture' +} as const; +export type Scenario = typeof Scenario[keyof typeof Scenario]; diff --git a/src/models/security-feature-result-all-of.ts b/src/models/security-feature-result-all-of.ts index b58cef88..f1b0c7e7 100644 --- a/src/models/security-feature-result-all-of.ts +++ b/src/models/security-feature-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,54 +13,52 @@ */ -import { AreaContainer } from './area-container'; -import { Critical } from './critical'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureType } from './security-feature-type'; -import { Visibility } from './visibility'; +import type { AreaContainer } from './area-container'; +import type { Critical } from './critical'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { SecurityFeatureType } from './security-feature-type'; +import type { Visibility } from './visibility'; /** - * - * @export - * @interface SecurityFeatureResultAllOf - */ +* +* @export +* @interface SecurityFeatureResultAllOf +*/ export interface SecurityFeatureResultAllOf { /** - * - * @type {SecurityFeatureType} - * @memberof SecurityFeatureResultAllOf - */ - ElementType?: SecurityFeatureType; + * + * @type {SecurityFeatureType} + * @memberof SecurityFeatureResultAllOf + */ + ElementType: SecurityFeatureType; /** - * - * @type {RectangleCoordinates} - * @memberof SecurityFeatureResultAllOf - */ - ElementRect?: RectangleCoordinates; + * + * @type {RectangleCoordinates} + * @memberof SecurityFeatureResultAllOf + */ + ElementRect: RectangleCoordinates; /** - * - * @type {Visibility} - * @memberof SecurityFeatureResultAllOf - */ - Visibility?: Visibility; + * + * @type {Visibility} + * @memberof SecurityFeatureResultAllOf + */ + Visibility: Visibility; /** - * - * @type {Critical} - * @memberof SecurityFeatureResultAllOf - */ - CriticalFlag?: Critical; + * + * @type {Critical} + * @memberof SecurityFeatureResultAllOf + */ + CriticalFlag: Critical; /** - * - * @type {AreaContainer} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {AreaContainer} + * @memberof SecurityFeatureResultAllOf + */ AreaList?: AreaContainer; /** - * - * @type {number} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {number} + * @memberof SecurityFeatureResultAllOf + */ Reserved2?: number; } - - diff --git a/src/models/security-feature-result.ts b/src/models/security-feature-result.ts index 56b67c74..2001b303 100644 --- a/src/models/security-feature-result.ts +++ b/src/models/security-feature-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,19 +13,15 @@ */ -import { AreaContainer } from './area-container'; -import { AuthenticityCheckResultItem } from './authenticity-check-result-item'; -import { CheckDiagnose } from './check-diagnose'; -import { CheckResult } from './check-result'; -import { Critical } from './critical'; -import { FiberResult } from './fiber-result'; -import { IdentResult } from './ident-result'; -import { OCRSecurityTextResult } from './ocrsecurity-text-result'; -import { PhotoIdentResult } from './photo-ident-result'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SecurityFeatureResultAllOf } from './security-feature-result-all-of'; -import { SecurityFeatureType } from './security-feature-type'; -import { Visibility } from './visibility'; +import type { AreaContainer } from './area-container'; +import type { AuthenticityCheckResultItem } from './authenticity-check-result-item'; +import type { CheckDiagnose } from './check-diagnose'; +import type { CheckResult } from './check-result'; +import type { Critical } from './critical'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { SecurityFeatureResultAllOf } from './security-feature-result-all-of'; +import type { SecurityFeatureType } from './security-feature-type'; +import type { Visibility } from './visibility'; /** * @type SecurityFeatureResult @@ -33,5 +29,3 @@ import { Visibility } from './visibility'; */ export type SecurityFeatureResult = AuthenticityCheckResultItem & SecurityFeatureResultAllOf; - - diff --git a/src/models/security-feature-type.ts b/src/models/security-feature-type.ts index 45c1d3b6..f9ac4f72 100644 --- a/src/models/security-feature-type.ts +++ b/src/models/security-feature-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,216 +15,217 @@ /** - * Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/ - * @export - * @enum {string} - */ -export enum SecurityFeatureType { +* Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/ +* @export +* @enum {string} +*/ + +export const SecurityFeatureType = { /** * Blank element */ - BLANK = 0, + BLANK: 0, /** * Personalization element */ - FILL = 1, + FILL: 1, /** * Photo */ - PHOTO = 2, + PHOTO: 2, /** * MRZ */ - MRZ = 3, + MRZ: 3, /** * False luminescence */ - FALSE_LUMINESCENCE = 4, + FALSE_LUMINESCENCE: 4, /** * Hologram (static) */ - HOLO_SIMPLE = 5, + HOLO_SIMPLE: 5, /** * Hologram (static verify) */ - HOLO_VERIFY_STATIC = 6, + HOLO_VERIFY_STATIC: 6, /** * Hologram (static verify multiple) */ - HOLO_VERIFY_MULTI_STATIC = 7, + HOLO_VERIFY_MULTI_STATIC: 7, /** * Hologram (dynamic verify) */ - HOLO_VERIFY_DYNAMIC = 8, + HOLO_VERIFY_DYNAMIC: 8, /** * Pattern (non-interrupted) */ - PATTERN_NOT_INTERRUPTED = 9, + PATTERN_NOT_INTERRUPTED: 9, /** * Pattern (non-shifted) */ - PATTERN_NOT_SHIFTED = 10, + PATTERN_NOT_SHIFTED: 10, /** * Pattern (same colors) */ - PATTERN_SAME_COLORS = 11, + PATTERN_SAME_COLORS: 11, /** * Pattern (IR invisible) */ - PATTERN_IR_INVISIBLE = 12, + PATTERN_IR_INVISIBLE: 12, /** * Photo size */ - PHOTO_SIZE_CHECK = 13, + PHOTO_SIZE_CHECK: 13, /** * Main vs ghost portrait comparison */ - PORTRAIT_COMPARISON_VS_GHOST = 14, + PORTRAIT_COMPARISON_VS_GHOST: 14, /** * Main vs RFID portrait comparison */ - PORTRAIT_COMPARISON_VS_RFID = 15, + PORTRAIT_COMPARISON_VS_RFID: 15, /** * Main vs other page portrait comparison */ - PORTRAIT_COMPARISON_VS_VISUAL = 16, + PORTRAIT_COMPARISON_VS_VISUAL: 16, /** * Barcode */ - BARCODE = 17, + BARCODE: 17, /** * Pattern (different line thickness) */ - PATTERN_DIFFERENT_LINES_THICKNESS = 18, + PATTERN_DIFFERENT_LINES_THICKNESS: 18, /** * Main vs live camera portrait comparison */ - PORTRAIT_COMPARISON_VS_CAMERA = 19, + PORTRAIT_COMPARISON_VS_CAMERA: 19, /** * RFID vs live camera portrait comparison */ - PORTRAIT_COMPARISON_RFID_VS_CAMERA = 20, + PORTRAIT_COMPARISON_RFID_VS_CAMERA: 20, /** * Ghost photo */ - GHOST_PHOTO = 21, + GHOST_PHOTO: 21, /** * Clear ghost photo */ - CLEAR_GHOST_PHOTO = 22, + CLEAR_GHOST_PHOTO: 22, /** * Invisible object */ - INVISIBLE_OBJECT = 23, + INVISIBLE_OBJECT: 23, /** * Low contrast object */ - LOW_CONTRAST_OBJECT = 24, + LOW_CONTRAST_OBJECT: 24, /** * Photo color check */ - PHOTO_COLOR = 25, + PHOTO_COLOR: 25, /** * Photo squareness */ - PHOTO_SHAPE = 26, + PHOTO_SHAPE: 26, /** * Photo corners shape */ - PHOTO_CORNERS = 27, + PHOTO_CORNERS: 27, /** * OCR */ - OCR = 28, + OCR: 28, /** * External vs main portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_VISUAL = 29, + PORTRAIT_COMPARISON_EXT_VS_VISUAL: 29, /** * External vs RFID portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_RFID = 30, + PORTRAIT_COMPARISON_EXT_VS_RFID: 30, /** * External vs live camera portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_CAMERA = 31, + PORTRAIT_COMPARISON_EXT_VS_CAMERA: 31, /** * Portrait Depth */ - LIVENESS_DEPTH = 32, + LIVENESS_DEPTH: 32, /** * Micro text */ - MICRO_TEXT = 33, + MICRO_TEXT: 33, /** * Fluorescent Object */ - FLUORESCENT_OBJECT = 34, + FLUORESCENT_OBJECT: 34, /** * Facial landmarks check */ - LANDMARK_CHECK = 35, + LANDMARK_CHECK: 35, /** * Facial image presence */ - FACE_PRESENCE = 36, + FACE_PRESENCE: 36, /** * Facial image absence */ - FACE_ABSENCE = 38, + FACE_ABSENCE: 38, /** * Liveness screen capture. Deprecated. LIVENESS_ELECTRONIC_DEVICE is used instead. */ - LIVENESS_SCREEN_CAPTURE = 39, + LIVENESS_SCREEN_CAPTURE: 39, /** * Liveness electronic device */ - LIVENESS_ELECTRONIC_DEVICE = 40, + LIVENESS_ELECTRONIC_DEVICE: 40, /** * Liveness OVI */ - LIVENESS_OVI = 41, + LIVENESS_OVI: 41, /** * Barcode size check */ - BARCODE_SIZE_CHECK = 42, + BARCODE_SIZE_CHECK: 42, /** * LASINK */ - LASINK = 43, + LASINK: 43, /** * Liveness MLI */ - LIVENESS_MLI = 44, + LIVENESS_MLI: 44, /** * Liveness barcode background */ - LIVENESS_BARCODE_BACKGROUND = 45, + LIVENESS_BARCODE_BACKGROUND: 45, /** * Visual zone portrait image vs. image from barcode */ - PORTRAIT_COMPARISON_VS_BARCODE = 46, + PORTRAIT_COMPARISON_VS_BARCODE: 46, /** * Image from barcode vs. image from RFID */ - PORTRAIT_COMPARISON_RFID_VS_BARCODE = 47, + PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47, /** * Image from barcode vs. external source image */ - PORTRAIT_COMPARISON_EXT_VS_BARCODE = 48, + PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48, /** * Image from barcode vs. photo from camera */ - PORTRAIT_COMPARISON_BARCODE_VS_CAMERA = 49, + PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49, /** * Digital signature check */ - CHECK_DIGITAL_SIGNATURE = 50, + CHECK_DIGITAL_SIGNATURE: 50, /** * Contact chip check */ - CONTACT_CHIP_CLASSIFICATION = 51 -} - + CONTACT_CHIP_CLASSIFICATION: 51 +} as const; +export type SecurityFeatureType = typeof SecurityFeatureType[keyof typeof SecurityFeatureType]; diff --git a/src/models/source-validity.ts b/src/models/source-validity.ts old mode 100755 new mode 100644 index 1bb84d06..b5ffe144 --- a/src/models/source-validity.ts +++ b/src/models/source-validity.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,25 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** - * - * @export - * @interface SourceValidity - */ +* +* @export +* @interface SourceValidity +*/ export interface SourceValidity { /** - * - * @type {Source} - * @memberof SourceValidity - */ + * + * @type {Source} + * @memberof SourceValidity + */ source: Source; /** - * - * @type {CheckResult} - * @memberof SourceValidity - */ + * + * @type {CheckResult} + * @memberof SourceValidity + */ status: CheckResult; } - - diff --git a/src/models/source.ts b/src/models/source.ts old mode 100755 new mode 100644 index 3e59e489..aea844eb --- a/src/models/source.ts +++ b/src/models/source.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,32 +15,37 @@ /** - * Document data sources - * @export - * @enum {string} - */ -export enum Source { +* Document data sources +* @export +* @enum {string} +*/ + +export const Source = { /** * Machine readable zone (MRZ) */ - MRZ = 'MRZ', + MRZ: 'MRZ', /** * Visual zone */ - VISUAL = 'VISUAL', + VISUAL: 'VISUAL', /** * Barcode */ - BARCODE = 'BARCODE', + BARCODE: 'BARCODE', /** * RFID */ - RFID = 'RFID', + RFID: 'RFID', /** * Magnetic */ - MAGNETIC = 'MAGNETIC' -} - + MAGNETIC: 'MAGNETIC', + /** + * External + */ + EXTERNAL: 'EXTERNAL' +} as const; +export type Source = typeof Source[keyof typeof Source]; diff --git a/src/models/status-result-all-of.ts b/src/models/status-result-all-of.ts old mode 100755 new mode 100644 index 8ee175f0..ce791e03 --- a/src/models/status-result-all-of.ts +++ b/src/models/status-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { Status } from './status'; +import type { Status } from './status'; /** - * - * @export - * @interface StatusResultAllOf - */ +* +* @export +* @interface StatusResultAllOf +*/ export interface StatusResultAllOf { /** - * - * @type {Status} - * @memberof StatusResultAllOf - */ + * + * @type {Status} + * @memberof StatusResultAllOf + */ Status: Status; } - - diff --git a/src/models/status-result.ts b/src/models/status-result.ts old mode 100755 new mode 100644 index 64a7b857..e8f2ca59 --- a/src/models/status-result.ts +++ b/src/models/status-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { Status } from './status'; -import { StatusResultAllOf } from './status-result-all-of'; -import { TextDataResult } from './text-data-result'; -import { TextResult } from './text-result'; +import type { ResultItem } from './result-item'; +import type { Status } from './status'; +import type { StatusResultAllOf } from './status-result-all-of'; /** * @type StatusResult @@ -37,5 +23,3 @@ import { TextResult } from './text-result'; */ export type StatusResult = ResultItem & StatusResultAllOf; - - diff --git a/src/models/status.ts b/src/models/status.ts old mode 100755 new mode 100644 index f0587e4d..d2a95e32 --- a/src/models/status.ts +++ b/src/models/status.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,58 +13,56 @@ */ -import { CheckResult } from './check-result'; -import { DetailsOptical } from './details-optical'; -import { DetailsRFID } from './details-rfid'; +import type { CheckResult } from './check-result'; +import type { DetailsOptical } from './details-optical'; +import type { DetailsRFID } from './details-rfid'; /** - * - * @export - * @interface Status - */ +* +* @export +* @interface Status +*/ export interface Status { /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ optical: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ - portrait?: CheckResult; + * + * @type {CheckResult} + * @memberof Status + */ + portrait: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ - rfid?: CheckResult; + * + * @type {CheckResult} + * @memberof Status + */ + rfid: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ - stopList?: CheckResult; + * + * @type {CheckResult} + * @memberof Status + */ + stopList: CheckResult; /** - * - * @type {DetailsRFID} - * @memberof Status - */ + * + * @type {DetailsRFID} + * @memberof Status + */ detailsRFID?: DetailsRFID; /** - * - * @type {DetailsOptical} - * @memberof Status - */ + * + * @type {DetailsOptical} + * @memberof Status + */ detailsOptical: DetailsOptical; } - - diff --git a/src/models/string-recognition-result.ts b/src/models/string-recognition-result.ts old mode 100755 new mode 100644 index 0507fe3e..1e859b00 --- a/src/models/string-recognition-result.ts +++ b/src/models/string-recognition-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,42 @@ */ -import { SymbolRecognitionResult } from './symbol-recognition-result'; +import type { SymbolRecognitionResult } from './symbol-recognition-result'; /** - * Describes single row recognition results in multi-line text field of a document - * @export - * @interface StringRecognitionResult - */ +* Describes single row recognition results in multi-line text field of a document +* @export +* @interface StringRecognitionResult +*/ export interface StringRecognitionResult { /** - * Array of recognition results for individual characters of a string - * @type {Array} - * @memberof StringRecognitionResult - */ + * Number of StringResult array elements + * @type {number} + * @memberof StringRecognitionResult + */ + SymbolsCount: number; + /** + * + * @type {any} + * @memberof StringRecognitionResult + */ + Reserved?: any | null; + /** + * Array of recognition results for individual characters of a string + * @type {Array} + * @memberof StringRecognitionResult + */ StringResult: Array; + /** + * Buf_Text text string length + * @type {number} + * @memberof StringRecognitionResult + */ + Buf_Length?: number; + /** + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' + * @type {string} + * @memberof StringRecognitionResult + */ + Buf_Text?: string; } - - diff --git a/src/models/symbol-candidate.ts b/src/models/symbol-candidate.ts old mode 100755 new mode 100644 index 4f21d6dc..2da355be --- a/src/models/symbol-candidate.ts +++ b/src/models/symbol-candidate.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,23 +15,27 @@ /** - * Describes an individual character recognition candidate - * @export - * @interface SymbolCandidate - */ +* Describes an individual character recognition candidate +* @export +* @interface SymbolCandidate +*/ export interface SymbolCandidate { /** - * Unicode symbol code - * @type {number} - * @memberof SymbolCandidate - */ + * Unicode symbol code + * @type {number} + * @memberof SymbolCandidate + */ SymbolCode: number; /** - * character recognition probability (0–100,%) - * @type {number} - * @memberof SymbolCandidate - */ + * character recognition probability (0–100,%) + * @type {number} + * @memberof SymbolCandidate + */ SymbolProbability: number; + /** + * + * @type {any} + * @memberof SymbolCandidate + */ + Reserved?: any | null; } - - diff --git a/src/models/symbol-recognition-result.ts b/src/models/symbol-recognition-result.ts old mode 100755 new mode 100644 index a35c40ac..05843bed --- a/src/models/symbol-recognition-result.ts +++ b/src/models/symbol-recognition-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,27 +13,37 @@ */ -import { RectangleCoordinates } from './rectangle-coordinates'; -import { SymbolCandidate } from './symbol-candidate'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { SymbolCandidate } from './symbol-candidate'; /** - * Describes a single character recognition results in the text field line - * @export - * @interface SymbolRecognitionResult - */ +* Describes a single character recognition results in the text field line +* @export +* @interface SymbolRecognitionResult +*/ export interface SymbolRecognitionResult { /** - * - * @type {RectangleCoordinates} - * @memberof SymbolRecognitionResult - */ + * + * @type {RectangleCoordinates} + * @memberof SymbolRecognitionResult + */ SymbolRect: RectangleCoordinates; /** - * Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability) - * @type {Array} - * @memberof SymbolRecognitionResult - */ + * Number of significant elements of ListOfCandidates array + * @type {number} + * @memberof SymbolRecognitionResult + */ + CandidatesCount: number; + /** + * Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability) + * @type {Array} + * @memberof SymbolRecognitionResult + */ ListOfCandidates: Array; + /** + * + * @type {any} + * @memberof SymbolRecognitionResult + */ + Reserved?: any | null; } - - diff --git a/src/models/tdoc-binary-info.ts b/src/models/tdoc-binary-info.ts new file mode 100644 index 00000000..5352ba38 --- /dev/null +++ b/src/models/tdoc-binary-info.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { BinaryData } from './binary-data'; + +/** +* +* @export +* @interface TDocBinaryInfo +*/ +export interface TDocBinaryInfo { + /** + * + * @type {BinaryData} + * @memberof TDocBinaryInfo + */ + RFID_BINARY_DATA: BinaryData; +} diff --git a/src/models/text-available-source.ts b/src/models/text-available-source.ts old mode 100755 new mode 100644 index 2a2ca34b..a151dc5c --- a/src/models/text-available-source.ts +++ b/src/models/text-available-source.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,33 +13,31 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** - * - * @export - * @interface TextAvailableSource - */ +* +* @export +* @interface TextAvailableSource +*/ export interface TextAvailableSource { /** - * - * @type {Source} - * @memberof TextAvailableSource - */ + * + * @type {Source} + * @memberof TextAvailableSource + */ source: Source; /** - * - * @type {CheckResult} - * @memberof TextAvailableSource - */ + * + * @type {CheckResult} + * @memberof TextAvailableSource + */ validityStatus: CheckResult; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof TextAvailableSource - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof TextAvailableSource + */ containerType?: number; } - - diff --git a/src/models/text-data-result-all-of.ts b/src/models/text-data-result-all-of.ts old mode 100755 new mode 100644 index 345e8324..ebf1a554 --- a/src/models/text-data-result-all-of.ts +++ b/src/models/text-data-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; +import type { DocVisualExtendedInfo } from './doc-visual-extended-info'; /** - * - * @export - * @interface TextDataResultAllOf - */ +* +* @export +* @interface TextDataResultAllOf +*/ export interface TextDataResultAllOf { /** - * - * @type {DocVisualExtendedInfo} - * @memberof TextDataResultAllOf - */ - DocVisualExtendedInfo?: DocVisualExtendedInfo; + * + * @type {DocVisualExtendedInfo} + * @memberof TextDataResultAllOf + */ + DocVisualExtendedInfo: DocVisualExtendedInfo; } - - diff --git a/src/models/text-data-result.ts b/src/models/text-data-result.ts old mode 100755 new mode 100644 index 87967dd1..042a2920 --- a/src/models/text-data-result.ts +++ b/src/models/text-data-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { TextDataResultAllOf } from './text-data-result-all-of'; -import { TextResult } from './text-result'; +import type { DocVisualExtendedInfo } from './doc-visual-extended-info'; +import type { ResultItem } from './result-item'; +import type { TextDataResultAllOf } from './text-data-result-all-of'; /** * @type TextDataResult @@ -38,5 +24,3 @@ import { TextResult } from './text-result'; */ export type TextDataResult = ResultItem & TextDataResultAllOf; - - diff --git a/src/models/text-field-type.ts b/src/models/text-field-type.ts old mode 100755 new mode 100644 index aaabbea8..d23e61b2 --- a/src/models/text-field-type.ts +++ b/src/models/text-field-type.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,2564 +15,2565 @@ /** - * - * @export - * @enum {string} - */ -export enum TextFieldType { +* +* @export +* @enum {string} +*/ + +export const TextFieldType = { /** * Document class code */ - DOCUMENT_CLASS_CODE = 0, + DOCUMENT_CLASS_CODE: 0, /** * Issuing state code */ - ISSUING_STATE_CODE = 1, + ISSUING_STATE_CODE: 1, /** * Document number */ - DOCUMENT_NUMBER = 2, + DOCUMENT_NUMBER: 2, /** * Date of expiry */ - DATE_OF_EXPIRY = 3, + DATE_OF_EXPIRY: 3, /** * Date of issue */ - DATE_OF_ISSUE = 4, + DATE_OF_ISSUE: 4, /** * Date of birth */ - DATE_OF_BIRTH = 5, + DATE_OF_BIRTH: 5, /** * Place of birth */ - PLACE_OF_BIRTH = 6, + PLACE_OF_BIRTH: 6, /** * Personal number */ - PERSONAL_NUMBER = 7, + PERSONAL_NUMBER: 7, /** * Surname */ - SURNAME = 8, + SURNAME: 8, /** * Given name(s) */ - GIVEN_NAMES = 9, + GIVEN_NAMES: 9, /** * Mother's name */ - MOTHERS_NAME = 10, + MOTHERS_NAME: 10, /** * Nationality */ - NATIONALITY = 11, + NATIONALITY: 11, /** * Sex */ - SEX = 12, + SEX: 12, /** * Height */ - HEIGHT = 13, + HEIGHT: 13, /** * Weight */ - WEIGHT = 14, + WEIGHT: 14, /** * Eyes color */ - EYES_COLOR = 15, + EYES_COLOR: 15, /** * Hair color */ - HAIR_COLOR = 16, + HAIR_COLOR: 16, /** * Address */ - ADDRESS = 17, + ADDRESS: 17, /** * Donor */ - DONOR = 18, + DONOR: 18, /** * Social security number */ - SOCIAL_SECURITY_NUMBER = 19, + SOCIAL_SECURITY_NUMBER: 19, /** * DL class */ - DL_CLASS = 20, + DL_CLASS: 20, /** * DL endorsement code */ - DL_ENDORSED = 21, + DL_ENDORSED: 21, /** * DL restriction code */ - DL_RESTRICTION_CODE = 22, + DL_RESTRICTION_CODE: 22, /** * Date of 21st birthday */ - DL_UNDER_21_DATE = 23, + DL_UNDER_21_DATE: 23, /** * Issuing authority */ - AUTHORITY = 24, + AUTHORITY: 24, /** * Surname and given names */ - SURNAME_AND_GIVEN_NAMES = 25, + SURNAME_AND_GIVEN_NAMES: 25, /** * Nationality code */ - NATIONALITY_CODE = 26, + NATIONALITY_CODE: 26, /** * Passport number */ - PASSPORT_NUMBER = 27, + PASSPORT_NUMBER: 27, /** * Invitation number */ - INVITATION_NUMBER = 28, + INVITATION_NUMBER: 28, /** * Visa ID */ - VISA_ID = 29, + VISA_ID: 29, /** * Visa class */ - VISA_CLASS = 30, + VISA_CLASS: 30, /** * Visa subclass */ - VISA_SUBCLASS = 31, + VISA_SUBCLASS: 31, /** * MRZ type */ - MRZ_TYPE = 35, + MRZ_TYPE: 35, /** * Optional data */ - OPTIONAL_DATA = 36, + OPTIONAL_DATA: 36, /** * Document class name */ - DOCUMENT_CLASS_NAME = 37, + DOCUMENT_CLASS_NAME: 37, /** * Issuing state name */ - ISSUING_STATE_NAME = 38, + ISSUING_STATE_NAME: 38, /** * Place of issue */ - PLACE_OF_ISSUE = 39, + PLACE_OF_ISSUE: 39, /** * Document number checksum */ - DOCUMENT_NUMBER_CHECKSUM = 40, + DOCUMENT_NUMBER_CHECKSUM: 40, /** * Date of birth checksum */ - DATE_OF_BIRTH_CHECKSUM = 41, + DATE_OF_BIRTH_CHECKSUM: 41, /** * Date of expiry checksum */ - DATE_OF_EXPIRY_CHECKSUM = 42, + DATE_OF_EXPIRY_CHECKSUM: 42, /** * Personal number checksum */ - PERSONAL_NUMBER_CHECKSUM = 43, + PERSONAL_NUMBER_CHECKSUM: 43, /** * Final checksum */ - FINAL_CHECKSUM = 44, + FINAL_CHECKSUM: 44, /** * Passport number checksum */ - PASSPORT_NUMBER_CHECKSUM = 45, + PASSPORT_NUMBER_CHECKSUM: 45, /** * Invitation number checksum */ - INVITATION_NUMBER_CHECKSUM = 46, + INVITATION_NUMBER_CHECKSUM: 46, /** * Visa ID checksum */ - VISA_ID_CHECKSUM = 47, + VISA_ID_CHECKSUM: 47, /** * Surname and given names checksum */ - SURNAME_AND_GIVEN_NAMES_CHECKSUM = 48, + SURNAME_AND_GIVEN_NAMES_CHECKSUM: 48, /** * Visa valid until checksum */ - VISA_VALID_UNTIL_CHECKSUM = 49, + VISA_VALID_UNTIL_CHECKSUM: 49, /** * Other */ - OTHER = 50, + OTHER: 50, /** * MRZ strings */ - MRZ_STRINGS = 51, + MRZ_STRINGS: 51, /** * Name suffix */ - NAME_SUFFIX = 52, + NAME_SUFFIX: 52, /** * Name prefix */ - NAME_PREFIX = 53, + NAME_PREFIX: 53, /** * Date of issue checksum */ - DATE_OF_ISSUE_CHECKSUM = 54, + DATE_OF_ISSUE_CHECKSUM: 54, /** * Date of issue check digit */ - DATE_OF_ISSUE_CHECK_DIGIT = 55, + DATE_OF_ISSUE_CHECK_DIGIT: 55, /** * Document series */ - DOCUMENT_SERIES = 56, + DOCUMENT_SERIES: 56, /** * Registration number */ - REG_CERT_REG_NUMBER = 57, + REG_CERT_REG_NUMBER: 57, /** * Vehicle model */ - REG_CERT_CAR_MODEL = 58, + REG_CERT_CAR_MODEL: 58, /** * Vehicle color */ - REG_CERT_CAR_COLOR = 59, + REG_CERT_CAR_COLOR: 59, /** * Vehicle body number */ - REG_CERT_BODY_NUMBER = 60, + REG_CERT_BODY_NUMBER: 60, /** * Vehicle type */ - REG_CERT_CAR_TYPE = 61, + REG_CERT_CAR_TYPE: 61, /** * Max permissible weight */ - REG_CERT_MAX_WEIGHT = 62, + REG_CERT_MAX_WEIGHT: 62, /** * Unladen mass */ - REG_CERT_WEIGHT = 63, + REG_CERT_WEIGHT: 63, /** * Address: area */ - ADDRESS_AREA = 64, + ADDRESS_AREA: 64, /** * Address: state */ - ADDRESS_STATE = 65, + ADDRESS_STATE: 65, /** * Address: building */ - ADDRESS_BUILDING = 66, + ADDRESS_BUILDING: 66, /** * Address: house */ - ADDRESS_HOUSE = 67, + ADDRESS_HOUSE: 67, /** * Address: flat */ - ADDRESS_FLAT = 68, + ADDRESS_FLAT: 68, /** * Place of registration */ - PLACE_OF_REGISTRATION = 69, + PLACE_OF_REGISTRATION: 69, /** * Date of registration */ - DATE_OF_REGISTRATION = 70, + DATE_OF_REGISTRATION: 70, /** * Resident from */ - RESIDENT_FROM = 71, + RESIDENT_FROM: 71, /** * Resident until */ - RESIDENT_UNTIL = 72, + RESIDENT_UNTIL: 72, /** * Issuing authority code */ - AUTHORITY_CODE = 73, + AUTHORITY_CODE: 73, /** * Place of birth: area */ - PLACE_OF_BIRTH_AREA = 74, + PLACE_OF_BIRTH_AREA: 74, /** * Place of birth: state code */ - PLACE_OF_BIRTH_STATE_CODE = 75, + PLACE_OF_BIRTH_STATE_CODE: 75, /** * Address: street */ - ADDRESS_STREET = 76, + ADDRESS_STREET: 76, /** * Address: city */ - ADDRESS_CITY = 77, + ADDRESS_CITY: 77, /** * Address: jurisdiction code */ - ADDRESS_JURISDICTION_CODE = 78, + ADDRESS_JURISDICTION_CODE: 78, /** * Address: postal code */ - ADDRESS_POSTAL_CODE = 79, + ADDRESS_POSTAL_CODE: 79, /** * Document number check digit */ - DOCUMENT_NUMBER_CHECK_DIGIT = 80, + DOCUMENT_NUMBER_CHECK_DIGIT: 80, /** * Date of birth check digit */ - DATE_OF_BIRTH_CHECK_DIGIT = 81, + DATE_OF_BIRTH_CHECK_DIGIT: 81, /** * Date of expiry check digit */ - DATE_OF_EXPIRY_CHECK_DIGIT = 82, + DATE_OF_EXPIRY_CHECK_DIGIT: 82, /** * Personal number check digit */ - PERSONAL_NUMBER_CHECK_DIGIT = 83, + PERSONAL_NUMBER_CHECK_DIGIT: 83, /** * Final check digit */ - FINAL_CHECK_DIGIT = 84, + FINAL_CHECK_DIGIT: 84, /** * Passport number check digit */ - PASSPORT_NUMBER_CHECK_DIGIT = 85, + PASSPORT_NUMBER_CHECK_DIGIT: 85, /** * Invitation number check digit */ - INVITATION_NUMBER_CHECK_DIGIT = 86, + INVITATION_NUMBER_CHECK_DIGIT: 86, /** * Visa ID check digit */ - VISA_ID_CHECK_DIGIT = 87, + VISA_ID_CHECK_DIGIT: 87, /** * Surname and given names check digit */ - SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT = 88, + SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT: 88, /** * Visa valid until check digit */ - VISA_VALID_UNTIL_CHECK_DIGIT = 89, + VISA_VALID_UNTIL_CHECK_DIGIT: 89, /** * Permit class */ - PERMIT_DL_CLASS = 90, + PERMIT_DL_CLASS: 90, /** * Permit expiry date */ - PERMIT_DATE_OF_EXPIRY = 91, + PERMIT_DATE_OF_EXPIRY: 91, /** * Permit identifier */ - PERMIT_IDENTIFIER = 92, + PERMIT_IDENTIFIER: 92, /** * Permit issue date */ - PERMIT_DATE_OF_ISSUE = 93, + PERMIT_DATE_OF_ISSUE: 93, /** * Permit restriction code */ - PERMIT_RESTRICTION_CODE = 94, + PERMIT_RESTRICTION_CODE: 94, /** * Permit endorsement code */ - PERMIT_ENDORSED = 95, + PERMIT_ENDORSED: 95, /** * Issue timestamp */ - ISSUE_TIMESTAMP = 96, + ISSUE_TIMESTAMP: 96, /** * Number of duplicates */ - NUMBER_OF_DUPLICATES = 97, + NUMBER_OF_DUPLICATES: 97, /** * Medical indicator codes */ - MEDICAL_INDICATOR_CODES = 98, + MEDICAL_INDICATOR_CODES: 98, /** * Non-resident indicator */ - NON_RESIDENT_INDICATOR = 99, + NON_RESIDENT_INDICATOR: 99, /** * Visa type */ - VISA_TYPE = 100, + VISA_TYPE: 100, /** * Visa valid from */ - VISA_VALID_FROM = 101, + VISA_VALID_FROM: 101, /** * Visa valid until */ - VISA_VALID_UNTIL = 102, + VISA_VALID_UNTIL: 102, /** * Duration of stay */ - DURATION_OF_STAY = 103, + DURATION_OF_STAY: 103, /** * Number of entries */ - NUMBER_OF_ENTRIES = 104, + NUMBER_OF_ENTRIES: 104, /** * Day */ - DAY = 105, + DAY: 105, /** * Month */ - MONTH = 106, + MONTH: 106, /** * Year */ - YEAR = 107, + YEAR: 107, /** * Unique customer identifier */ - UNIQUE_CUSTOMER_IDENTIFIER = 108, + UNIQUE_CUSTOMER_IDENTIFIER: 108, /** * Commercial vehicle code */ - COMMERCIAL_VEHICLE_CODES = 109, + COMMERCIAL_VEHICLE_CODES: 109, /** * AKA: date of birth */ - AKA_DATE_OF_BIRTH = 110, + AKA_DATE_OF_BIRTH: 110, /** * AKA: social insurance number */ - AKA_SOCIAL_SECURITY_NUMBER = 111, + AKA_SOCIAL_SECURITY_NUMBER: 111, /** * AKA: surname */ - AKA_SURNAME = 112, + AKA_SURNAME: 112, /** * AKA: given name(s) */ - AKA_GIVEN_NAMES = 113, + AKA_GIVEN_NAMES: 113, /** * AKA: name suffix */ - AKA_NAME_SUFFIX = 114, + AKA_NAME_SUFFIX: 114, /** * AKA: name prefix */ - AKA_NAME_PREFIX = 115, + AKA_NAME_PREFIX: 115, /** * Mailing address: street */ - MAILING_ADDRESS_STREET = 116, + MAILING_ADDRESS_STREET: 116, /** * Mailing address: city */ - MAILING_ADDRESS_CITY = 117, + MAILING_ADDRESS_CITY: 117, /** * Mailing address: jurisdiction code */ - MAILING_ADDRESS_JURISDICTION_CODE = 118, + MAILING_ADDRESS_JURISDICTION_CODE: 118, /** * Mailing address: postal code */ - MAILING_ADDRESS_POSTAL_CODE = 119, + MAILING_ADDRESS_POSTAL_CODE: 119, /** * Number for validation */ - AUDIT_INFORMATION = 120, + AUDIT_INFORMATION: 120, /** * Inventory number */ - INVENTORY_NUMBER = 121, + INVENTORY_NUMBER: 121, /** * Race ethnicity */ - RACE_ETHNICITY = 122, + RACE_ETHNICITY: 122, /** * Jurisdiction vehicle class */ - JURISDICTION_VEHICLE_CLASS = 123, + JURISDICTION_VEHICLE_CLASS: 123, /** * Jurisdiction endorsement code */ - JURISDICTION_ENDORSEMENT_CODE = 124, + JURISDICTION_ENDORSEMENT_CODE: 124, /** * Jurisdiction restriction code */ - JURISDICTION_RESTRICTION_CODE = 125, + JURISDICTION_RESTRICTION_CODE: 125, /** * Family name */ - FAMILY_NAME = 126, + FAMILY_NAME: 126, /** * Given name(s) (national) */ - GIVEN_NAMES_RUS = 127, + GIVEN_NAMES_RUS: 127, /** * Visa ID (national) */ - VISA_ID_RUS = 128, + VISA_ID_RUS: 128, /** * Father's name */ - FATHERS_NAME = 129, + FATHERS_NAME: 129, /** * Father's name (national) */ - FATHERS_NAME_RUS = 130, + FATHERS_NAME_RUS: 130, /** * Surname and given names (national) */ - SURNAME_AND_GIVEN_NAMES_RUS = 131, + SURNAME_AND_GIVEN_NAMES_RUS: 131, /** * Place of birth (national) */ - PLACE_OF_BIRTH_RUS = 132, + PLACE_OF_BIRTH_RUS: 132, /** * Issuing authority (national) */ - AUTHORITY_RUS = 133, + AUTHORITY_RUS: 133, /** * Issuing state code (numeric) */ - ISSUING_STATE_CODE_NUMERIC = 134, + ISSUING_STATE_CODE_NUMERIC: 134, /** * Nationality code (numeric) */ - NATIONALITY_CODE_NUMERIC = 135, + NATIONALITY_CODE_NUMERIC: 135, /** * Engine power */ - ENGINE_POWER = 136, + ENGINE_POWER: 136, /** * Engine volume */ - ENGINE_VOLUME = 137, + ENGINE_VOLUME: 137, /** * Chassis number */ - CHASSIS_NUMBER = 138, + CHASSIS_NUMBER: 138, /** * Engine number */ - ENGINE_NUMBER = 139, + ENGINE_NUMBER: 139, /** * Engine model */ - ENGINE_MODEL = 140, + ENGINE_MODEL: 140, /** * Vehicle category */ - VEHICLE_CATEGORY = 141, + VEHICLE_CATEGORY: 141, /** * Identity card number */ - IDENTITY_CARD_NUMBER = 142, + IDENTITY_CARD_NUMBER: 142, /** * Control number */ - CONTROL_NUMBER = 143, + CONTROL_NUMBER: 143, /** * Parents' given names */ - PARENTS_GIVEN_NAMES = 144, + PARENTS_GIVEN_NAMES: 144, /** * Second surname */ - SECOND_SURNAME = 145, + SECOND_SURNAME: 145, /** * Middle name */ - MIDDLE_NAME = 146, + MIDDLE_NAME: 146, /** * Vehicle identification number */ - REG_CERT_VIN = 147, + REG_CERT_VIN: 147, /** * VIN check digit */ - REG_CERT_VIN_CHECK_DIGIT = 148, + REG_CERT_VIN_CHECK_DIGIT: 148, /** * VIN checksum */ - REG_CERT_VIN_CHECKSUM = 149, + REG_CERT_VIN_CHECKSUM: 149, /** * Line 1 check digit */ - LINE_1_CHECK_DIGIT = 150, + LINE_1_CHECK_DIGIT: 150, /** * Line 2 check digit */ - LINE_2_CHECK_DIGIT = 151, + LINE_2_CHECK_DIGIT: 151, /** * Line 3 check digit */ - LINE_3_CHECK_DIGIT = 152, + LINE_3_CHECK_DIGIT: 152, /** * Line 1 checksum */ - LINE_1_CHECKSUM = 153, + LINE_1_CHECKSUM: 153, /** * Line 2 checksum */ - LINE_2_CHECKSUM = 154, + LINE_2_CHECKSUM: 154, /** * Line 3 checksum */ - LINE_3_CHECKSUM = 155, + LINE_3_CHECKSUM: 155, /** * Registration number check digit */ - REG_CERT_REG_NUMBER_CHECK_DIGIT = 156, + REG_CERT_REG_NUMBER_CHECK_DIGIT: 156, /** * Registration number checksum */ - REG_CERT_REG_NUMBER_CHECKSUM = 157, + REG_CERT_REG_NUMBER_CHECKSUM: 157, /** * Vehicle ITS code */ - REG_CERT_VEHICLE_ITS_CODE = 158, + REG_CERT_VEHICLE_ITS_CODE: 158, /** * Card access number */ - CARD_ACCESS_NUMBER = 159, + CARD_ACCESS_NUMBER: 159, /** * Marital status */ - MARITAL_STATUS = 160, + MARITAL_STATUS: 160, /** * Company name */ - COMPANY_NAME = 161, + COMPANY_NAME: 161, /** * Special notes */ - SPECIAL_NOTES = 162, + SPECIAL_NOTES: 162, /** * Spouse's surname */ - SURNAME_OF_SPOUSE = 163, + SURNAME_OF_SPOUSE: 163, /** * Tracking number */ - TRACKING_NUMBER = 164, + TRACKING_NUMBER: 164, /** * Booklet number */ - BOOKLET_NUMBER = 165, + BOOKLET_NUMBER: 165, /** * Children */ - CHILDREN = 166, + CHILDREN: 166, /** * Copy */ - COPY = 167, + COPY: 167, /** * Serial number */ - SERIAL_NUMBER = 168, + SERIAL_NUMBER: 168, /** * Dossier number */ - DOSSIER_NUMBER = 169, + DOSSIER_NUMBER: 169, /** * AKA: surname and given names */ - AKA_SURNAME_AND_GIVEN_NAMES = 170, + AKA_SURNAME_AND_GIVEN_NAMES: 170, /** * Territorial validity */ - TERRITORIAL_VALIDITY = 171, + TERRITORIAL_VALIDITY: 171, /** * MRZ strings with correct checksums */ - MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS = 172, + MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS: 172, /** * CDL restriction code */ - DL_CDL_RESTRICTION_CODE = 173, + DL_CDL_RESTRICTION_CODE: 173, /** * Date of 18th birthday */ - DL_UNDER_18_DATE = 174, + DL_UNDER_18_DATE: 174, /** * DL record created */ - DL_RECORD_CREATED = 175, + DL_RECORD_CREATED: 175, /** * DL date of duplicate issue */ - DL_DUPLICATE_DATE = 176, + DL_DUPLICATE_DATE: 176, /** * Card type */ - DL_ISSUE_TYPE = 177, + DL_ISSUE_TYPE: 177, /** * Military ID number */ - MILITARY_BOOK_NUMBER = 178, + MILITARY_BOOK_NUMBER: 178, /** * Destination */ - DESTINATION = 179, + DESTINATION: 179, /** * Blood group */ - BLOOD_GROUP = 180, + BLOOD_GROUP: 180, /** * Sequence number */ - SEQUENCE_NUMBER = 181, + SEQUENCE_NUMBER: 181, /** * Body type */ - REG_CERT_BODY_TYPE = 182, + REG_CERT_BODY_TYPE: 182, /** * Vehicle make */ - REG_CERT_CAR_MARK = 183, + REG_CERT_CAR_MARK: 183, /** * Transaction number */ - TRANSACTION_NUMBER = 184, + TRANSACTION_NUMBER: 184, /** * Age */ - AGE = 185, + AGE: 185, /** * Folio number */ - FOLIO_NUMBER = 186, + FOLIO_NUMBER: 186, /** * Voter key */ - VOTER_KEY = 187, + VOTER_KEY: 187, /** * Address: municipality */ - ADDRESS_MUNICIPALITY = 188, + ADDRESS_MUNICIPALITY: 188, /** * Address: location */ - ADDRESS_LOCATION = 189, + ADDRESS_LOCATION: 189, /** * Section */ - SECTION = 190, + SECTION: 190, /** * OCR number */ - OCR_NUMBER = 191, + OCR_NUMBER: 191, /** * Federal elections */ - FEDERAL_ELECTIONS = 192, + FEDERAL_ELECTIONS: 192, /** * Reference number */ - REFERENCE_NUMBER = 193, + REFERENCE_NUMBER: 193, /** * Optional data checksum */ - OPTIONAL_DATA_CHECKSUM = 194, + OPTIONAL_DATA_CHECKSUM: 194, /** * Optional data check digit */ - OPTIONAL_DATA_CHECK_DIGIT = 195, + OPTIONAL_DATA_CHECK_DIGIT: 195, /** * Visa number */ - VISA_NUMBER = 196, + VISA_NUMBER: 196, /** * Visa number checksum */ - VISA_NUMBER_CHECKSUM = 197, + VISA_NUMBER_CHECKSUM: 197, /** * Visa number check digit */ - VISA_NUMBER_CHECK_DIGIT = 198, + VISA_NUMBER_CHECK_DIGIT: 198, /** * Voter */ - VOTER = 199, + VOTER: 199, /** * Type of the previous document */ - PREVIOUS_TYPE = 200, + PREVIOUS_TYPE: 200, /** * Field from MRZ */ - FIELD_FROM_MRZ = 220, + FIELD_FROM_MRZ: 220, /** * Current date */ - CURRENT_DATE = 221, + CURRENT_DATE: 221, /** * Status date of expiry */ - STATUS_DATE_OF_EXPIRY = 251, + STATUS_DATE_OF_EXPIRY: 251, /** * Banknote number */ - BANKNOTE_NUMBER = 252, + BANKNOTE_NUMBER: 252, /** * CSC code */ - CSC_CODE = 253, + CSC_CODE: 253, /** * Pseudonym */ - ARTISTIC_NAME = 254, + ARTISTIC_NAME: 254, /** * Academic title */ - ACADEMIC_TITLE = 255, + ACADEMIC_TITLE: 255, /** * Address country */ - ADDRESS_COUNTRY = 256, + ADDRESS_COUNTRY: 256, /** * Address ZIP code */ - ADDRESS_ZIP_CODE = 257, + ADDRESS_ZIP_CODE: 257, /** * eID residence permit 1 */ - E_ID_RESIDENCE_PERMIT_1 = 258, + E_ID_RESIDENCE_PERMIT_1: 258, /** * eID residence permit 2 */ - E_ID_RESIDENCE_PERMIT_2 = 259, + E_ID_RESIDENCE_PERMIT_2: 259, /** * eID place of birth: street */ - E_ID_PLACE_OF_BIRTH_STREET = 260, + E_ID_PLACE_OF_BIRTH_STREET: 260, /** * eID place of birth: city */ - E_ID_PLACE_OF_BIRTH_CITY = 261, + E_ID_PLACE_OF_BIRTH_CITY: 261, /** * eID place of birth: state */ - E_ID_PLACE_OF_BIRTH_STATE = 262, + E_ID_PLACE_OF_BIRTH_STATE: 262, /** * eID place of birth: country */ - E_ID_PLACE_OF_BIRTH_COUNTRY = 263, + E_ID_PLACE_OF_BIRTH_COUNTRY: 263, /** * eID place of birth: postal code */ - E_ID_PLACE_OF_BIRTH_ZIP_CODE = 264, + E_ID_PLACE_OF_BIRTH_ZIP_CODE: 264, /** * CDL class */ - CDL_CLASS = 265, + CDL_CLASS: 265, /** * Date of 19th birthday */ - DL_UNDER_19_DATE = 266, + DL_UNDER_19_DATE: 266, /** * Weight (pound) */ - WEIGHT_POUNDS = 267, + WEIGHT_POUNDS: 267, /** * Indicator of document limited duration */ - LIMITED_DURATION_DOCUMENT_INDICATOR = 268, + LIMITED_DURATION_DOCUMENT_INDICATOR: 268, /** * Endorsement expiration date */ - ENDORSEMENT_EXPIRATION_DATE = 269, + ENDORSEMENT_EXPIRATION_DATE: 269, /** * Revision date */ - REVISION_DATE = 270, + REVISION_DATE: 270, /** * Compliance type */ - COMPLIANCE_TYPE = 271, + COMPLIANCE_TYPE: 271, /** * Family name truncation */ - FAMILY_NAME_TRUNCATION = 272, + FAMILY_NAME_TRUNCATION: 272, /** * First name truncation */ - FIRST_NAME_TRUNCATION = 273, + FIRST_NAME_TRUNCATION: 273, /** * Middle name truncation */ - MIDDLE_NAME_TRUNCATION = 274, + MIDDLE_NAME_TRUNCATION: 274, /** * Exam date */ - EXAM_DATE = 275, + EXAM_DATE: 275, /** * Organization */ - ORGANIZATION = 276, + ORGANIZATION: 276, /** * Department */ - DEPARTMENT = 277, + DEPARTMENT: 277, /** * Pay grade */ - PAY_GRADE = 278, + PAY_GRADE: 278, /** * Rank */ - RANK = 279, + RANK: 279, /** * Benefits number */ - BENEFITS_NUMBER = 280, + BENEFITS_NUMBER: 280, /** * Sponsor service */ - SPONSOR_SERVICE = 281, + SPONSOR_SERVICE: 281, /** * Sponsor status */ - SPONSOR_STATUS = 282, + SPONSOR_STATUS: 282, /** * Sponsor */ - SPONSOR = 283, + SPONSOR: 283, /** * Relationship */ - RELATIONSHIP = 284, + RELATIONSHIP: 284, /** * USCIS */ - USCIS = 285, + USCIS: 285, /** * Category */ - CATEGORY = 286, + CATEGORY: 286, /** * Conditions */ - CONDITIONS = 287, + CONDITIONS: 287, /** * Identifier */ - IDENTIFIER = 288, + IDENTIFIER: 288, /** * Configuration */ - CONFIGURATION = 289, + CONFIGURATION: 289, /** * Discretionary data */ - DISCRETIONARY_DATA = 290, + DISCRETIONARY_DATA: 290, /** * Line 1 optional data */ - LINE_1_OPTIONAL_DATA = 291, + LINE_1_OPTIONAL_DATA: 291, /** * Line 2 optional data */ - LINE_2_OPTIONAL_DATA = 292, + LINE_2_OPTIONAL_DATA: 292, /** * Line 3 optional data */ - LINE_3_OPTIONAL_DATA = 293, + LINE_3_OPTIONAL_DATA: 293, /** * EQV code */ - EQV_CODE = 294, + EQV_CODE: 294, /** * ALT code */ - ALT_CODE = 295, + ALT_CODE: 295, /** * Binary code */ - BINARY_CODE = 296, + BINARY_CODE: 296, /** * Pseudo code */ - PSEUDO_CODE = 297, + PSEUDO_CODE: 297, /** * Fee */ - FEE = 298, + FEE: 298, /** * Stamp number */ - STAMP_NUMBER = 299, + STAMP_NUMBER: 299, /** * SBH security options */ - SBH_SECURITY_OPTIONS = 300, + SBH_SECURITY_OPTIONS: 300, /** * SBH integrity options */ - SBH_INTEGRITY_OPTIONS = 301, + SBH_INTEGRITY_OPTIONS: 301, /** * Date of creation */ - DATE_OF_CREATION = 302, + DATE_OF_CREATION: 302, /** * Validity period */ - VALIDITY_PERIOD = 303, + VALIDITY_PERIOD: 303, /** * Patron header version */ - PATRON_HEADER_VERSION = 304, + PATRON_HEADER_VERSION: 304, /** * BDB type */ - BDB_TYPE = 305, + BDB_TYPE: 305, /** * Biometric type */ - BIOMETRIC_TYPE = 306, + BIOMETRIC_TYPE: 306, /** * Biometric subtype */ - BIOMETRIC_SUBTYPE = 307, + BIOMETRIC_SUBTYPE: 307, /** * Biometric product ID */ - BIOMETRIC_PRODUCT_ID = 308, + BIOMETRIC_PRODUCT_ID: 308, /** * Biometric format owner */ - BIOMETRIC_FORMAT_OWNER = 309, + BIOMETRIC_FORMAT_OWNER: 309, /** * Biometric format type */ - BIOMETRIC_FORMAT_TYPE = 310, + BIOMETRIC_FORMAT_TYPE: 310, /** * Phone */ - PHONE = 311, + PHONE: 311, /** * Profession */ - PROFESSION = 312, + PROFESSION: 312, /** * Position */ - TITLE = 313, + TITLE: 313, /** * Personal data summary */ - PERSONAL_SUMMARY = 314, + PERSONAL_SUMMARY: 314, /** * Other valid ID */ - OTHER_VALID_ID = 315, + OTHER_VALID_ID: 315, /** * Custody info */ - CUSTODY_INFO = 316, + CUSTODY_INFO: 316, /** * Other name */ - OTHER_NAME = 317, + OTHER_NAME: 317, /** * Observations */ - OBSERVATIONS = 318, + OBSERVATIONS: 318, /** * Tax */ - TAX = 319, + TAX: 319, /** * Personalization date */ - DATE_OF_PERSONALIZATION = 320, + DATE_OF_PERSONALIZATION: 320, /** * Personalization SN */ - PERSONALIZATION_SN = 321, + PERSONALIZATION_SN: 321, /** * Other person name */ - OTHER_PERSON_NAME = 322, + OTHER_PERSON_NAME: 322, /** * Notify person: date of record */ - PERSON_TO_NOTIFY_DATE_OF_RECORD = 323, + PERSON_TO_NOTIFY_DATE_OF_RECORD: 323, /** * Notify person: name */ - PERSON_TO_NOTIFY_NAME = 324, + PERSON_TO_NOTIFY_NAME: 324, /** * Notify person: phone */ - PERSON_TO_NOTIFY_PHONE = 325, + PERSON_TO_NOTIFY_PHONE: 325, /** * Notify person: address */ - PERSON_TO_NOTIFY_ADDRESS = 326, + PERSON_TO_NOTIFY_ADDRESS: 326, /** * DS certificate issuer */ - DS_CERTIFICATE_ISSUER = 327, + DS_CERTIFICATE_ISSUER: 327, /** * DS certificate subject */ - DS_CERTIFICATE_SUBJECT = 328, + DS_CERTIFICATE_SUBJECT: 328, /** * DS certificate valid from */ - DS_CERTIFICATE_VALID_FROM = 329, + DS_CERTIFICATE_VALID_FROM: 329, /** * DS certificate valid to */ - DS_CERTIFICATE_VALID_TO = 330, + DS_CERTIFICATE_VALID_TO: 330, /** * Vehicle data from the DG1 data group */ - VRC_DATA_OBJECT_ENTRY = 331, + VRC_DATA_OBJECT_ENTRY: 331, /** * Type of approval number */ - TYPE_APPROVAL_NUMBER = 332, + TYPE_APPROVAL_NUMBER: 332, /** * Administrative number */ - ADMINISTRATIVE_NUMBER = 333, + ADMINISTRATIVE_NUMBER: 333, /** * Document discriminator */ - DOCUMENT_DISCRIMINATOR = 334, + DOCUMENT_DISCRIMINATOR: 334, /** * Data discriminator */ - DATA_DISCRIMINATOR = 335, + DATA_DISCRIMINATOR: 335, /** * ID number of ISO issuer */ - ISO_ISSUER_ID_NUMBER = 336, + ISO_ISSUER_ID_NUMBER: 336, /** * GNIB number */ - GNIB_NUMBER = 340, + GNIB_NUMBER: 340, /** * Department number */ - DEPT_NUMBER = 341, + DEPT_NUMBER: 341, /** * Telegraph code */ - TELEX_CODE = 342, + TELEX_CODE: 342, /** * Allergies */ - ALLERGIES = 343, + ALLERGIES: 343, /** * Special code */ - SP_CODE = 344, + SP_CODE: 344, /** * Court code */ - COURT_CODE = 345, + COURT_CODE: 345, /** * County */ - CTY = 346, + CTY: 346, /** * Sponsor SSN */ - SPONSOR_SSN = 347, + SPONSOR_SSN: 347, /** * DoD number */ - DOD_NUMBER = 348, + DOD_NUMBER: 348, /** * Expiry date of Motorcycle Novice status */ - MC_NOVICE_DATE = 349, + MC_NOVICE_DATE: 349, /** * DUF number */ - DUF_NUMBER = 350, + DUF_NUMBER: 350, /** * AGY */ - AGY = 351, + AGY: 351, /** * PNR code */ - PNR_CODE = 352, + PNR_CODE: 352, /** * Code of the airport of departure */ - FROM_AIRPORT_CODE = 353, + FROM_AIRPORT_CODE: 353, /** * Code of the airport of arrival */ - TO_AIRPORT_CODE = 354, + TO_AIRPORT_CODE: 354, /** * Flight number */ - FLIGHT_NUMBER = 355, + FLIGHT_NUMBER: 355, /** * Date of flight */ - DATE_OF_FLIGHT = 356, + DATE_OF_FLIGHT: 356, /** * Seat number */ - SEAT_NUMBER = 357, + SEAT_NUMBER: 357, /** * Date of boarding pass issue */ - DATE_OF_ISSUE_BOARDING_PASS = 358, + DATE_OF_ISSUE_BOARDING_PASS: 358, /** * CCW until */ - CCW_UNTIL = 359, + CCW_UNTIL: 359, /** * Reference number checksum */ - REFERENCE_NUMBER_CHECKSUM = 360, + REFERENCE_NUMBER_CHECKSUM: 360, /** * Reference number check digit */ - REFERENCE_NUMBER_CHECK_DIGIT = 361, + REFERENCE_NUMBER_CHECK_DIGIT: 361, /** * Room number */ - ROOM_NUMBER = 362, + ROOM_NUMBER: 362, /** * Religion */ - RELIGION = 363, + RELIGION: 363, /** * Months to expire */ - REMAINDER_TERM = 364, + REMAINDER_TERM: 364, /** * Electronic ticket indicator */ - ELECTRONIC_TICKET_INDICATOR = 365, + ELECTRONIC_TICKET_INDICATOR: 365, /** * Compartment code */ - COMPARTMENT_CODE = 366, + COMPARTMENT_CODE: 366, /** * Check-in sequence number */ - CHECK_IN_SEQUENCE_NUMBER = 367, + CHECK_IN_SEQUENCE_NUMBER: 367, /** * Airline designator of boarding pass issuer */ - AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER = 368, + AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER: 368, /** * Airline numeric code */ - AIRLINE_NUMERIC_CODE = 369, + AIRLINE_NUMERIC_CODE: 369, /** * Ticket number */ - TICKET_NUMBER = 370, + TICKET_NUMBER: 370, /** * Frequent flyer airline designator */ - FREQUENT_FLYER_AIRLINE_DESIGNATOR = 371, + FREQUENT_FLYER_AIRLINE_DESIGNATOR: 371, /** * Frequent flyer number */ - FREQUENT_FLYER_NUMBER = 372, + FREQUENT_FLYER_NUMBER: 372, /** * Free baggage allowance */ - FREE_BAGGAGE_ALLOWANCE = 373, + FREE_BAGGAGE_ALLOWANCE: 373, /** * PDF417 codec */ - PDF417_CODEC = 374, + PDF417_CODEC: 374, /** * Identity card number checksum */ - IDENTITY_CARD_NUMBER_CHECKSUM = 375, + IDENTITY_CARD_NUMBER_CHECKSUM: 375, /** * Identity card number check digit */ - IDENTITY_CARD_NUMBER_CHECK_DIGIT = 376, + IDENTITY_CARD_NUMBER_CHECK_DIGIT: 376, /** * Veteran */ - VETERAN = 377, + VETERAN: 377, /** * DL category A1 valid from */ - DL_CLASS_CODE_A1_FROM = 378, + DL_CLASS_CODE_A1_FROM: 378, /** * DL category A1 valid to */ - DL_CLASS_CODE_A1_TO = 379, + DL_CLASS_CODE_A1_TO: 379, /** * DL category A1 codes */ - DL_CLASS_CODE_A1_NOTES = 380, + DL_CLASS_CODE_A1_NOTES: 380, /** * DL category A valid from */ - DL_CLASS_CODE_A_FROM = 381, + DL_CLASS_CODE_A_FROM: 381, /** * DL category A valid to */ - DL_CLASS_CODE_A_TO = 382, + DL_CLASS_CODE_A_TO: 382, /** * DL category A codes */ - DL_CLASS_CODE_A_NOTES = 383, + DL_CLASS_CODE_A_NOTES: 383, /** * DL category B valid from */ - DL_CLASS_CODE_B_FROM = 384, + DL_CLASS_CODE_B_FROM: 384, /** * DL category B valid to */ - DL_CLASS_CODE_B_TO = 385, + DL_CLASS_CODE_B_TO: 385, /** * DL category B codes */ - DL_CLASS_CODE_B_NOTES = 386, + DL_CLASS_CODE_B_NOTES: 386, /** * DL category C1 valid from */ - DL_CLASS_CODE_C1_FROM = 387, + DL_CLASS_CODE_C1_FROM: 387, /** * DL category C1 valid to */ - DL_CLASS_CODE_C1_TO = 388, + DL_CLASS_CODE_C1_TO: 388, /** * DL category C1 codes */ - DL_CLASS_CODE_C1_NOTES = 389, + DL_CLASS_CODE_C1_NOTES: 389, /** * DL category C valid from */ - DL_CLASS_CODE_C_FROM = 390, + DL_CLASS_CODE_C_FROM: 390, /** * DL category C valid to */ - DL_CLASS_CODE_C_TO = 391, + DL_CLASS_CODE_C_TO: 391, /** * DL category C codes */ - DL_CLASS_CODE_C_NOTES = 392, + DL_CLASS_CODE_C_NOTES: 392, /** * DL category D1 valid from */ - DL_CLASS_CODE_D1_FROM = 393, + DL_CLASS_CODE_D1_FROM: 393, /** * DL category D1 valid to */ - DL_CLASS_CODE_D1_TO = 394, + DL_CLASS_CODE_D1_TO: 394, /** * DL category D1 codes */ - DL_CLASS_CODE_D1_NOTES = 395, + DL_CLASS_CODE_D1_NOTES: 395, /** * DL category D valid from */ - DL_CLASS_CODE_D_FROM = 396, + DL_CLASS_CODE_D_FROM: 396, /** * DL category D valid to */ - DL_CLASS_CODE_D_TO = 397, + DL_CLASS_CODE_D_TO: 397, /** * DL category D codes */ - DL_CLASS_CODE_D_NOTES = 398, + DL_CLASS_CODE_D_NOTES: 398, /** * DL category BE valid from */ - DL_CLASS_CODE_BE_FROM = 399, + DL_CLASS_CODE_BE_FROM: 399, /** * DL category BE valid to */ - DL_CLASS_CODE_BE_TO = 400, + DL_CLASS_CODE_BE_TO: 400, /** * DL category BE codes */ - DL_CLASS_CODE_BE_NOTES = 401, + DL_CLASS_CODE_BE_NOTES: 401, /** * DL category C1E valid from */ - DL_CLASS_CODE_C1E_FROM = 402, + DL_CLASS_CODE_C1E_FROM: 402, /** * DL category C1E valid to */ - DL_CLASS_CODE_C1E_TO = 403, + DL_CLASS_CODE_C1E_TO: 403, /** * DL category C1E codes */ - DL_CLASS_CODE_C1E_NOTES = 404, + DL_CLASS_CODE_C1E_NOTES: 404, /** * DL category CE valid from */ - DL_CLASS_CODE_CE_FROM = 405, + DL_CLASS_CODE_CE_FROM: 405, /** * DL category CE valid to */ - DL_CLASS_CODE_CE_TO = 406, + DL_CLASS_CODE_CE_TO: 406, /** * DL category CE codes */ - DL_CLASS_CODE_CE_NOTES = 407, + DL_CLASS_CODE_CE_NOTES: 407, /** * DL category D1E valid from */ - DL_CLASS_CODE_D1E_FROM = 408, + DL_CLASS_CODE_D1E_FROM: 408, /** * DL category D1E valid to */ - DL_CLASS_CODE_D1E_TO = 409, + DL_CLASS_CODE_D1E_TO: 409, /** * DL category D1E codes */ - DL_CLASS_CODE_D1E_NOTES = 410, + DL_CLASS_CODE_D1E_NOTES: 410, /** * DL category DE valid from */ - DL_CLASS_CODE_DE_FROM = 411, + DL_CLASS_CODE_DE_FROM: 411, /** * DL category DE valid to */ - DL_CLASS_CODE_DE_TO = 412, + DL_CLASS_CODE_DE_TO: 412, /** * DL category DE codes */ - DL_CLASS_CODE_DE_NOTES = 413, + DL_CLASS_CODE_DE_NOTES: 413, /** * DL category M valid from */ - DL_CLASS_CODE_M_FROM = 414, + DL_CLASS_CODE_M_FROM: 414, /** * DL category M valid to */ - DL_CLASS_CODE_M_TO = 415, + DL_CLASS_CODE_M_TO: 415, /** * DL category M codes */ - DL_CLASS_CODE_M_NOTES = 416, + DL_CLASS_CODE_M_NOTES: 416, /** * DL category L valid from */ - DL_CLASS_CODE_L_FROM = 417, + DL_CLASS_CODE_L_FROM: 417, /** * DL category L valid to */ - DL_CLASS_CODE_L_TO = 418, + DL_CLASS_CODE_L_TO: 418, /** * DL category L codes */ - DL_CLASS_CODE_L_NOTES = 419, + DL_CLASS_CODE_L_NOTES: 419, /** * DL category T valid from */ - DL_CLASS_CODE_T_FROM = 420, + DL_CLASS_CODE_T_FROM: 420, /** * DL category T valid to */ - DL_CLASS_CODE_T_TO = 421, + DL_CLASS_CODE_T_TO: 421, /** * DL category T codes */ - DL_CLASS_CODE_T_NOTES = 422, + DL_CLASS_CODE_T_NOTES: 422, /** * DL category AM valid from */ - DL_CLASS_CODE_AM_FROM = 423, + DL_CLASS_CODE_AM_FROM: 423, /** * DL category AM valid to */ - DL_CLASS_CODE_AM_TO = 424, + DL_CLASS_CODE_AM_TO: 424, /** * DL category AM codes */ - DL_CLASS_CODE_AM_NOTES = 425, + DL_CLASS_CODE_AM_NOTES: 425, /** * DL category A2 valid from */ - DL_CLASS_CODE_A2_FROM = 426, + DL_CLASS_CODE_A2_FROM: 426, /** * DL category A2 valid to */ - DL_CLASS_CODE_A2_TO = 427, + DL_CLASS_CODE_A2_TO: 427, /** * DL category A2 codes */ - DL_CLASS_CODE_A2_NOTES = 428, + DL_CLASS_CODE_A2_NOTES: 428, /** * DL category B1 valid from */ - DL_CLASS_CODE_B1_FROM = 429, + DL_CLASS_CODE_B1_FROM: 429, /** * DL category B1 valid to */ - DL_CLASS_CODE_B1_TO = 430, + DL_CLASS_CODE_B1_TO: 430, /** * DL category B1 codes */ - DL_CLASS_CODE_B1_NOTES = 431, + DL_CLASS_CODE_B1_NOTES: 431, /** * Surname at birth */ - SURNAME_AT_BIRTH = 432, + SURNAME_AT_BIRTH: 432, /** * Civil status */ - CIVIL_STATUS = 433, + CIVIL_STATUS: 433, /** * Number of seats */ - NUMBER_OF_SEATS = 434, + NUMBER_OF_SEATS: 434, /** * Number of standing places */ - NUMBER_OF_STANDING_PLACES = 435, + NUMBER_OF_STANDING_PLACES: 435, /** * Max speed */ - MAX_SPEED = 436, + MAX_SPEED: 436, /** * Fuel type */ - FUEL_TYPE = 437, + FUEL_TYPE: 437, /** * Vehicle environmental type */ - EC_ENVIRONMENTAL_TYPE = 438, + EC_ENVIRONMENTAL_TYPE: 438, /** * Power-to-weight ratio */ - POWER_WEIGHT_RATIO = 439, + POWER_WEIGHT_RATIO: 439, /** * Max mass of trailer (braked) */ - MAX_MASS_OF_TRAILER_BRAKED = 440, + MAX_MASS_OF_TRAILER_BRAKED: 440, /** * Max mass of trailer (unbraked) */ - MAX_MASS_OF_TRAILER_UNBRAKED = 441, + MAX_MASS_OF_TRAILER_UNBRAKED: 441, /** * Transmission type */ - TRANSMISSION_TYPE = 442, + TRANSMISSION_TYPE: 442, /** * Trailer hitch */ - TRAILER_HITCH = 443, + TRAILER_HITCH: 443, /** * Accompanied by */ - ACCOMPANIED_BY = 444, + ACCOMPANIED_BY: 444, /** * Police district */ - POLICE_DISTRICT = 445, + POLICE_DISTRICT: 445, /** * First issue date */ - FIRST_ISSUE_DATE = 446, + FIRST_ISSUE_DATE: 446, /** * Payload capacity */ - PAYLOAD_CAPACITY = 447, + PAYLOAD_CAPACITY: 447, /** * Number of axles */ - NUMBER_OF_AXLES = 448, + NUMBER_OF_AXLES: 448, /** * Permissible axle load */ - PERMISSIBLE_AXLE_LOAD = 449, + PERMISSIBLE_AXLE_LOAD: 449, /** * Precinct */ - PRECINCT = 450, + PRECINCT: 450, /** * Invited by */ - INVITED_BY = 451, + INVITED_BY: 451, /** * Purpose of entry */ - PURPOSE_OF_ENTRY = 452, + PURPOSE_OF_ENTRY: 452, /** * Skin color */ - SKIN_COLOR = 453, + SKIN_COLOR: 453, /** * Complexion */ - COMPLEXION = 454, + COMPLEXION: 454, /** * Airport of departure */ - AIRPORT_FROM = 455, + AIRPORT_FROM: 455, /** * Airport of arrival */ - AIRPORT_TO = 456, + AIRPORT_TO: 456, /** * Airline name */ - AIRLINE_NAME = 457, + AIRLINE_NAME: 457, /** * Airline loyalty program for frequent flyers */ - AIRLINE_NAME_FREQUENT_FLYER = 458, + AIRLINE_NAME_FREQUENT_FLYER: 458, /** * License number */ - LICENSE_NUMBER = 459, + LICENSE_NUMBER: 459, /** * In tanks */ - IN_TANKS = 460, + IN_TANKS: 460, /** * Other than tanks */ - EXCEPT_IN_TANKS = 461, + EXCEPT_IN_TANKS: 461, /** * Fast Track service */ - FAST_TRACK = 462, + FAST_TRACK: 462, /** * Owner */ - OWNER = 463, + OWNER: 463, /** * MRZ strings from ICAO RFID */ - MRZ_STRINGS_ICAO_RFID = 464, + MRZ_STRINGS_ICAO_RFID: 464, /** * Number of card issuances */ - NUMBER_OF_CARD_ISSUANCE = 465, + NUMBER_OF_CARD_ISSUANCE: 465, /** * Number of card issuances checksum */ - NUMBER_OF_CARD_ISSUANCE_CHECKSUM = 466, + NUMBER_OF_CARD_ISSUANCE_CHECKSUM: 466, /** * Number of card issuances check digit */ - NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT = 467, + NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT: 467, /** * Century of birth */ - CENTURY_DATE_OF_BIRTH = 468, + CENTURY_DATE_OF_BIRTH: 468, /** * DL category A3 valid from */ - DL_CLASS_CODE_A3_FROM = 469, + DL_CLASS_CODE_A3_FROM: 469, /** * DL category A3 valid to */ - DL_CLASS_CODE_A3_TO = 470, + DL_CLASS_CODE_A3_TO: 470, /** * DL category A3 codes */ - DL_CLASS_CODE_A3_NOTES = 471, + DL_CLASS_CODE_A3_NOTES: 471, /** * DL category C2 valid from */ - DL_CLASS_CODE_C2_FROM = 472, + DL_CLASS_CODE_C2_FROM: 472, /** * DL category C2 valid to */ - DL_CLASS_CODE_C2_TO = 473, + DL_CLASS_CODE_C2_TO: 473, /** * DL category C2 codes */ - DL_CLASS_CODE_C2_NOTES = 474, + DL_CLASS_CODE_C2_NOTES: 474, /** * DL category B2 valid from */ - DL_CLASS_CODE_B2_FROM = 475, + DL_CLASS_CODE_B2_FROM: 475, /** * DL category B2 valid to */ - DL_CLASS_CODE_B2_TO = 476, + DL_CLASS_CODE_B2_TO: 476, /** * DL category B2 codes */ - DL_CLASS_CODE_B2_NOTES = 477, + DL_CLASS_CODE_B2_NOTES: 477, /** * DL category D2 valid from */ - DL_CLASS_CODE_D2_FROM = 478, + DL_CLASS_CODE_D2_FROM: 478, /** * DL category D2 valid to */ - DL_CLASS_CODE_D2_TO = 479, + DL_CLASS_CODE_D2_TO: 479, /** * DL category D2 codes */ - DL_CLASS_CODE_D2_NOTES = 480, + DL_CLASS_CODE_D2_NOTES: 480, /** * DL category B2E valid from */ - DL_CLASS_CODE_B2E_FROM = 481, + DL_CLASS_CODE_B2E_FROM: 481, /** * DL category B2E valid to */ - DL_CLASS_CODE_B2E_TO = 482, + DL_CLASS_CODE_B2E_TO: 482, /** * DL category B2E codes */ - DL_CLASS_CODE_B2E_NOTES = 483, + DL_CLASS_CODE_B2E_NOTES: 483, /** * DL category G valid from */ - DL_CLASS_CODE_G_FROM = 484, + DL_CLASS_CODE_G_FROM: 484, /** * DL category G valid to */ - DL_CLASS_CODE_G_TO = 485, + DL_CLASS_CODE_G_TO: 485, /** * DL category G codes */ - DL_CLASS_CODE_G_NOTES = 486, + DL_CLASS_CODE_G_NOTES: 486, /** * DL category J valid from */ - DL_CLASS_CODE_J_FROM = 487, + DL_CLASS_CODE_J_FROM: 487, /** * DL category J valid to */ - DL_CLASS_CODE_J_TO = 488, + DL_CLASS_CODE_J_TO: 488, /** * DL category J codes */ - DL_CLASS_CODE_J_NOTES = 489, + DL_CLASS_CODE_J_NOTES: 489, /** * DL category LC valid from */ - DL_CLASS_CODE_LC_FROM = 490, + DL_CLASS_CODE_LC_FROM: 490, /** * DL category LC valid to */ - DL_CLASS_CODE_LC_TO = 491, + DL_CLASS_CODE_LC_TO: 491, /** * DL category LC codes */ - DL_CLASS_CODE_LC_NOTES = 492, + DL_CLASS_CODE_LC_NOTES: 492, /** * Bank card number */ - BANK_CARD_NUMBER = 493, + BANK_CARD_NUMBER: 493, /** * Bank card validity */ - BANK_CARD_VALID_THRU = 494, + BANK_CARD_VALID_THRU: 494, /** * Tax number */ - TAX_NUMBER = 495, + TAX_NUMBER: 495, /** * Health insurance number */ - HEALTH_NUMBER = 496, + HEALTH_NUMBER: 496, /** * Grandfather's name */ - GRANDFATHER_NAME = 497, + GRANDFATHER_NAME: 497, /** * Selectee indicator */ - SELECTEE_INDICATOR = 498, + SELECTEE_INDICATOR: 498, /** * Mother's surname */ - MOTHER_SURNAME = 499, + MOTHER_SURNAME: 499, /** * Mother's name */ - MOTHER_GIVEN_NAME = 500, + MOTHER_GIVEN_NAME: 500, /** * Father's surname */ - FATHER_SURNAME = 501, + FATHER_SURNAME: 501, /** * Father's name */ - FATHER_GIVEN_NAME = 502, + FATHER_GIVEN_NAME: 502, /** * Mother's date of birth */ - MOTHER_DATE_OF_BIRTH = 503, + MOTHER_DATE_OF_BIRTH: 503, /** * Father's date of birth */ - FATHER_DATE_OF_BIRTH = 504, + FATHER_DATE_OF_BIRTH: 504, /** * Mother's personal number */ - MOTHER_PERSONAL_NUMBER = 505, + MOTHER_PERSONAL_NUMBER: 505, /** * Father's personal number */ - FATHER_PERSONAL_NUMBER = 506, + FATHER_PERSONAL_NUMBER: 506, /** * Mother's place of birth */ - MOTHER_PLACE_OF_BIRTH = 507, + MOTHER_PLACE_OF_BIRTH: 507, /** * Father's place of birth */ - FATHER_PLACE_OF_BIRTH = 508, + FATHER_PLACE_OF_BIRTH: 508, /** * Mother's country of birth */ - MOTHER_COUNTRY_OF_BIRTH = 509, + MOTHER_COUNTRY_OF_BIRTH: 509, /** * Father's country of birth */ - FATHER_COUNTRY_OF_BIRTH = 510, + FATHER_COUNTRY_OF_BIRTH: 510, /** * Date of first renewal */ - DATE_FIRST_RENEWAL = 511, + DATE_FIRST_RENEWAL: 511, /** * Date of second renewal */ - DATE_SECOND_RENEWAL = 512, + DATE_SECOND_RENEWAL: 512, /** * Place of examination */ - PLACE_OF_EXAMINATION = 513, + PLACE_OF_EXAMINATION: 513, /** * Application number */ - APPLICATION_NUMBER = 514, + APPLICATION_NUMBER: 514, /** * Voucher number */ - VOUCHER_NUMBER = 515, + VOUCHER_NUMBER: 515, /** * Authorization number */ - AUTHORIZATION_NUMBER = 516, + AUTHORIZATION_NUMBER: 516, /** * Faculty */ - FACULTY = 517, + FACULTY: 517, /** * Form of education */ - FORM_OF_EDUCATION = 518, + FORM_OF_EDUCATION: 518, /** * DNI number */ - DNI_NUMBER = 519, + DNI_NUMBER: 519, /** * Retirement number */ - RETIREMENT_NUMBER = 520, + RETIREMENT_NUMBER: 520, /** * Professional id number */ - PROFESSIONAL_ID_NUMBER = 521, + PROFESSIONAL_ID_NUMBER: 521, /** * Age at issue */ - AGE_AT_ISSUE = 522, + AGE_AT_ISSUE: 522, /** * Years since issue */ - YEARS_SINCE_ISSUE = 523, + YEARS_SINCE_ISSUE: 523, /** * DL category BTP valid from */ - DL_CLASS_CODE_BTP_FROM = 524, + DL_CLASS_CODE_BTP_FROM: 524, /** * DL category BTP codes */ - DL_CLASS_CODE_BTP_NOTES = 525, + DL_CLASS_CODE_BTP_NOTES: 525, /** * DL category BTP valid to */ - DL_CLASS_CODE_BTP_TO = 526, + DL_CLASS_CODE_BTP_TO: 526, /** * DL category C3 valid from */ - DL_CLASS_CODE_C3_FROM = 527, + DL_CLASS_CODE_C3_FROM: 527, /** * DL category C3 codes */ - DL_CLASS_CODE_C3_NOTES = 528, + DL_CLASS_CODE_C3_NOTES: 528, /** * DL category C3 valid to */ - DL_CLASS_CODE_C3_TO = 529, + DL_CLASS_CODE_C3_TO: 529, /** * DL category E valid from */ - DL_CLASS_CODE_E_FROM = 530, + DL_CLASS_CODE_E_FROM: 530, /** * DL category E codes */ - DL_CLASS_CODE_E_NOTES = 531, + DL_CLASS_CODE_E_NOTES: 531, /** * DL category E valid to */ - DL_CLASS_CODE_E_TO = 532, + DL_CLASS_CODE_E_TO: 532, /** * DL category F valid from */ - DL_CLASS_CODE_F_FROM = 533, + DL_CLASS_CODE_F_FROM: 533, /** * DL category F codes */ - DL_CLASS_CODE_F_NOTES = 534, + DL_CLASS_CODE_F_NOTES: 534, /** * DL category F valid to */ - DL_CLASS_CODE_F_TO = 535, + DL_CLASS_CODE_F_TO: 535, /** * DL category FA valid from */ - DL_CLASS_CODE_FA_FROM = 536, + DL_CLASS_CODE_FA_FROM: 536, /** * DL category FA codes */ - DL_CLASS_CODE_FA_NOTES = 537, + DL_CLASS_CODE_FA_NOTES: 537, /** * DL category FA valid to */ - DL_CLASS_CODE_FA_TO = 538, + DL_CLASS_CODE_FA_TO: 538, /** * DL category FA1 valid from */ - DL_CLASS_CODE_FA1_FROM = 539, + DL_CLASS_CODE_FA1_FROM: 539, /** * DL category FA1 codes */ - DL_CLASS_CODE_FA1_NOTES = 540, + DL_CLASS_CODE_FA1_NOTES: 540, /** * DL category FA1 valid to */ - DL_CLASS_CODE_FA1_TO = 541, + DL_CLASS_CODE_FA1_TO: 541, /** * DL category FB valid from */ - DL_CLASS_CODE_FB_FROM = 542, + DL_CLASS_CODE_FB_FROM: 542, /** * DL category FB codes */ - DL_CLASS_CODE_FB_NOTES = 543, + DL_CLASS_CODE_FB_NOTES: 543, /** * DL category FB valid to */ - DL_CLASS_CODE_FB_TO = 544, + DL_CLASS_CODE_FB_TO: 544, /** * DL category G1 valid from */ - DL_CLASS_CODE_G1_FROM = 545, + DL_CLASS_CODE_G1_FROM: 545, /** * DL category G1 codes */ - DL_CLASS_CODE_G1_NOTES = 546, + DL_CLASS_CODE_G1_NOTES: 546, /** * DL category G1 valid to */ - DL_CLASS_CODE_G1_TO = 547, + DL_CLASS_CODE_G1_TO: 547, /** * DL category H valid from */ - DL_CLASS_CODE_H_FROM = 548, + DL_CLASS_CODE_H_FROM: 548, /** * DL category H codes */ - DL_CLASS_CODE_H_NOTES = 549, + DL_CLASS_CODE_H_NOTES: 549, /** * DL category H valid to */ - DL_CLASS_CODE_H_TO = 550, + DL_CLASS_CODE_H_TO: 550, /** * DL category I valid from */ - DL_CLASS_CODE_I_FROM = 551, + DL_CLASS_CODE_I_FROM: 551, /** * DL category I codes */ - DL_CLASS_CODE_I_NOTES = 552, + DL_CLASS_CODE_I_NOTES: 552, /** * DL category I valid to */ - DL_CLASS_CODE_I_TO = 553, + DL_CLASS_CODE_I_TO: 553, /** * DL category K valid from */ - DL_CLASS_CODE_K_FROM = 554, + DL_CLASS_CODE_K_FROM: 554, /** * DL category K codes */ - DL_CLASS_CODE_K_NOTES = 555, + DL_CLASS_CODE_K_NOTES: 555, /** * DL category K valid to */ - DL_CLASS_CODE_K_TO = 556, + DL_CLASS_CODE_K_TO: 556, /** * DL category LK valid from */ - DL_CLASS_CODE_LK_FROM = 557, + DL_CLASS_CODE_LK_FROM: 557, /** * DL category LK codes */ - DL_CLASS_CODE_LK_NOTES = 558, + DL_CLASS_CODE_LK_NOTES: 558, /** * DL category LK valid to */ - DL_CLASS_CODE_LK_TO = 559, + DL_CLASS_CODE_LK_TO: 559, /** * DL category N valid from */ - DL_CLASS_CODE_N_FROM = 560, + DL_CLASS_CODE_N_FROM: 560, /** * DL category N codes */ - DL_CLASS_CODE_N_NOTES = 561, + DL_CLASS_CODE_N_NOTES: 561, /** * DL category N valid to */ - DL_CLASS_CODE_N_TO = 562, + DL_CLASS_CODE_N_TO: 562, /** * DL category S valid from */ - DL_CLASS_CODE_S_FROM = 563, + DL_CLASS_CODE_S_FROM: 563, /** * DL category S codes */ - DL_CLASS_CODE_S_NOTES = 564, + DL_CLASS_CODE_S_NOTES: 564, /** * DL category S valid to */ - DL_CLASS_CODE_S_TO = 565, + DL_CLASS_CODE_S_TO: 565, /** * DL category TB valid from */ - DL_CLASS_CODE_TB_FROM = 566, + DL_CLASS_CODE_TB_FROM: 566, /** * DL category TB codes */ - DL_CLASS_CODE_TB_NOTES = 567, + DL_CLASS_CODE_TB_NOTES: 567, /** * DL category TB valid to */ - DL_CLASS_CODE_TB_TO = 568, + DL_CLASS_CODE_TB_TO: 568, /** * DL category TM valid from */ - DL_CLASS_CODE_TM_FROM = 569, + DL_CLASS_CODE_TM_FROM: 569, /** * DL category TM codes */ - DL_CLASS_CODE_TM_NOTES = 570, + DL_CLASS_CODE_TM_NOTES: 570, /** * DL category TM valid to */ - DL_CLASS_CODE_TM_TO = 571, + DL_CLASS_CODE_TM_TO: 571, /** * DL category TR valid from */ - DL_CLASS_CODE_TR_FROM = 572, + DL_CLASS_CODE_TR_FROM: 572, /** * DL category TR codes */ - DL_CLASS_CODE_TR_NOTES = 573, + DL_CLASS_CODE_TR_NOTES: 573, /** * DL category TR valid to */ - DL_CLASS_CODE_TR_TO = 574, + DL_CLASS_CODE_TR_TO: 574, /** * DL category TV valid from */ - DL_CLASS_CODE_TV_FROM = 575, + DL_CLASS_CODE_TV_FROM: 575, /** * DL category TV codes */ - DL_CLASS_CODE_TV_NOTES = 576, + DL_CLASS_CODE_TV_NOTES: 576, /** * DL category TV valid to */ - DL_CLASS_CODE_TV_TO = 577, + DL_CLASS_CODE_TV_TO: 577, /** * DL category V valid from */ - DL_CLASS_CODE_V_FROM = 578, + DL_CLASS_CODE_V_FROM: 578, /** * DL category V codes */ - DL_CLASS_CODE_V_NOTES = 579, + DL_CLASS_CODE_V_NOTES: 579, /** * DL category V valid to */ - DL_CLASS_CODE_V_TO = 580, + DL_CLASS_CODE_V_TO: 580, /** * DL category W valid from */ - DL_CLASS_CODE_W_FROM = 581, + DL_CLASS_CODE_W_FROM: 581, /** * DL category W codes */ - DL_CLASS_CODE_W_NOTES = 582, + DL_CLASS_CODE_W_NOTES: 582, /** * DL category W valid to */ - DL_CLASS_CODE_W_TO = 583, + DL_CLASS_CODE_W_TO: 583, /** * URL */ - URL = 584, + URL: 584, /** * Caliber */ - CALIBER = 585, + CALIBER: 585, /** * Model */ - MODEL = 586, + MODEL: 586, /** * Make */ - MAKE = 587, + MAKE: 587, /** * Number of cylinders */ - NUMBER_OF_CYLINDERS = 588, + NUMBER_OF_CYLINDERS: 588, /** * Surname of husband after registration */ - SURNAME_OF_HUSBAND_AFTER_REGISTRATION = 589, + SURNAME_OF_HUSBAND_AFTER_REGISTRATION: 589, /** * Surname of wife after registration */ - SURNAME_OF_WIFE_AFTER_REGISTRATION = 590, + SURNAME_OF_WIFE_AFTER_REGISTRATION: 590, /** * Date of birth of wife */ - DATE_OF_BIRTH_OF_WIFE = 591, + DATE_OF_BIRTH_OF_WIFE: 591, /** * Date of birth of husband */ - DATE_OF_BIRTH_OF_HUSBAND = 592, + DATE_OF_BIRTH_OF_HUSBAND: 592, /** * Citizenship of first person */ - CITIZENSHIP_OF_FIRST_PERSON = 593, + CITIZENSHIP_OF_FIRST_PERSON: 593, /** * Citizenship of second person */ - CITIZENSHIP_OF_SECOND_PERSON = 594, + CITIZENSHIP_OF_SECOND_PERSON: 594, /** * CVV code */ - CVV = 595, + CVV: 595, /** * Date of insurance expiry */ - DATE_OF_INSURANCE_EXPIRY = 596, + DATE_OF_INSURANCE_EXPIRY: 596, /** * Mortgage by */ - MORTGAGE_BY = 597, + MORTGAGE_BY: 597, /** * Old document number */ - OLD_DOCUMENT_NUMBER = 598, + OLD_DOCUMENT_NUMBER: 598, /** * Old date of issue */ - OLD_DATE_OF_ISSUE = 599, + OLD_DATE_OF_ISSUE: 599, /** * Old place of issue */ - OLD_PLACE_OF_ISSUE = 600, + OLD_PLACE_OF_ISSUE: 600, /** * DL category LR valid from */ - DL_CLASS_CODE_LR_FROM = 601, + DL_CLASS_CODE_LR_FROM: 601, /** * DL category LR valid to */ - DL_CLASS_CODE_LR_TO = 602, + DL_CLASS_CODE_LR_TO: 602, /** * DL category LR codes */ - DL_CLASS_CODE_LR_NOTES = 603, + DL_CLASS_CODE_LR_NOTES: 603, /** * DL category MR valid from */ - DL_CLASS_CODE_MR_FROM = 604, + DL_CLASS_CODE_MR_FROM: 604, /** * DL category MR valid to */ - DL_CLASS_CODE_MR_TO = 605, + DL_CLASS_CODE_MR_TO: 605, /** * DL category MR codes */ - DL_CLASS_CODE_MR_NOTES = 606, + DL_CLASS_CODE_MR_NOTES: 606, /** * DL category HR valid from */ - DL_CLASS_CODE_HR_FROM = 607, + DL_CLASS_CODE_HR_FROM: 607, /** * DL category HR valid to */ - DL_CLASS_CODE_HR_TO = 608, + DL_CLASS_CODE_HR_TO: 608, /** * DL category HR codes */ - DL_CLASS_CODE_HR_NOTES = 609, + DL_CLASS_CODE_HR_NOTES: 609, /** * DL category HC valid from */ - DL_CLASS_CODE_HC_FROM = 610, + DL_CLASS_CODE_HC_FROM: 610, /** * DL category HC valid to */ - DL_CLASS_CODE_HC_TO = 611, + DL_CLASS_CODE_HC_TO: 611, /** * DL category HC codes */ - DL_CLASS_CODE_HC_NOTES = 612, + DL_CLASS_CODE_HC_NOTES: 612, /** * DL category MC valid from */ - DL_CLASS_CODE_MC_FROM = 613, + DL_CLASS_CODE_MC_FROM: 613, /** * DL category MC valid to */ - DL_CLASS_CODE_MC_TO = 614, + DL_CLASS_CODE_MC_TO: 614, /** * DL category MC codes */ - DL_CLASS_CODE_MC_NOTES = 615, + DL_CLASS_CODE_MC_NOTES: 615, /** * DL category RE valid from */ - DL_CLASS_CODE_RE_FROM = 616, + DL_CLASS_CODE_RE_FROM: 616, /** * DL category RE valid to */ - DL_CLASS_CODE_RE_TO = 617, + DL_CLASS_CODE_RE_TO: 617, /** * DL category RE codes */ - DL_CLASS_CODE_RE_NOTES = 618, + DL_CLASS_CODE_RE_NOTES: 618, /** * DL category R valid from */ - DL_CLASS_CODE_R_FROM = 619, + DL_CLASS_CODE_R_FROM: 619, /** * DL category R valid to */ - DL_CLASS_CODE_R_TO = 620, + DL_CLASS_CODE_R_TO: 620, /** * DL category R codes */ - DL_CLASS_CODE_R_NOTES = 621, + DL_CLASS_CODE_R_NOTES: 621, /** * DL category CA valid from */ - DL_CLASS_CODE_CA_FROM = 622, + DL_CLASS_CODE_CA_FROM: 622, /** * DL category CA valid to */ - DL_CLASS_CODE_CA_TO = 623, + DL_CLASS_CODE_CA_TO: 623, /** * DL category CA codes */ - DL_CLASS_CODE_CA_NOTES = 624, + DL_CLASS_CODE_CA_NOTES: 624, /** * Citizenship status */ - CITIZENSHIP_STATUS = 625, + CITIZENSHIP_STATUS: 625, /** * Military service from */ - MILITARY_SERVICE_FROM = 626, + MILITARY_SERVICE_FROM: 626, /** * Military service to */ - MILITARY_SERVICE_TO = 627, + MILITARY_SERVICE_TO: 627, /** * DL category NT valid from */ - DL_CLASS_CODE_NT_FROM = 628, + DL_CLASS_CODE_NT_FROM: 628, /** * DL category NT valid to */ - DL_CLASS_CODE_NT_TO = 629, + DL_CLASS_CODE_NT_TO: 629, /** * DL category NT codes */ - DL_CLASS_CODE_NT_NOTES = 630, + DL_CLASS_CODE_NT_NOTES: 630, /** * DL category TN valid from */ - DL_CLASS_CODE_TN_FROM = 631, + DL_CLASS_CODE_TN_FROM: 631, /** * DL category TN valid to */ - DL_CLASS_CODE_TN_TO = 632, + DL_CLASS_CODE_TN_TO: 632, /** * DL category TN codes */ - DL_CLASS_CODE_TN_NOTES = 633, + DL_CLASS_CODE_TN_NOTES: 633, /** * DL category D3 valid from */ - DL_CLASS_CODE_D3_FROM = 634, + DL_CLASS_CODE_D3_FROM: 634, /** * DL category D3 valid to */ - DL_CLASS_CODE_D3_TO = 635, + DL_CLASS_CODE_D3_TO: 635, /** * DL category D3 codes */ - DL_CLASS_CODE_D3_NOTES = 636, + DL_CLASS_CODE_D3_NOTES: 636, /** * Alternative date of expiry */ - ALT_DATE_OF_EXPIRY = 637, + ALT_DATE_OF_EXPIRY: 637, /** * DL category CD valid from */ - DL_CLASS_CODE_CD_FROM = 638, + DL_CLASS_CODE_CD_FROM: 638, /** * DL category CD valid to */ - DL_CLASS_CODE_CD_TO = 639, + DL_CLASS_CODE_CD_TO: 639, /** * DL category CD codes */ - DL_CLASS_CODE_CD_NOTES = 640, + DL_CLASS_CODE_CD_NOTES: 640, /** * Issuer identification number */ - ISSUER_IDENTIFICATION_NUMBER = 641, + ISSUER_IDENTIFICATION_NUMBER: 641, /** * Payment period from */ - PAYMENT_PERIOD_FROM = 642, + PAYMENT_PERIOD_FROM: 642, /** * Payment period to */ - PAYMENT_PERIOD_TO = 643, + PAYMENT_PERIOD_TO: 643, /** * Vaccination certificate identifier */ - VACCINATION_CERTIFICATE_IDENTIFIER = 644, + VACCINATION_CERTIFICATE_IDENTIFIER: 644, /** * First name */ - FIRST_NAME = 645, + FIRST_NAME: 645, /** * Date of arrival */ - DATE_OF_ARRIVAL = 646, + DATE_OF_ARRIVAL: 646, /** * Second name */ - SECOND_NAME = 647, + SECOND_NAME: 647, /** * Third name */ - THIRD_NAME = 648, + THIRD_NAME: 648, /** * Fourth name */ - FOURTH_NAME = 649, + FOURTH_NAME: 649, /** * Last name */ - LAST_NAME = 650, + LAST_NAME: 650, /** * DL category RM valid from */ - DL_CLASS_CODE_RM_FROM = 651, + DL_CLASS_CODE_RM_FROM: 651, /** * DL category RM codes */ - DL_CLASS_CODE_RM_NOTES = 652, + DL_CLASS_CODE_RM_NOTES: 652, /** * DL category RM valid to */ - DL_CLASS_CODE_RM_TO = 653, + DL_CLASS_CODE_RM_TO: 653, /** * DL category PW valid from */ - DL_CLASS_CODE_PW_FROM = 654, + DL_CLASS_CODE_PW_FROM: 654, /** * DL category PW codes */ - DL_CLASS_CODE_PW_NOTES = 655, + DL_CLASS_CODE_PW_NOTES: 655, /** * DL category PW valid to */ - DL_CLASS_CODE_PW_TO = 656, + DL_CLASS_CODE_PW_TO: 656, /** * DL category EB valid from */ - DL_CLASS_CODE_EB_FROM = 657, + DL_CLASS_CODE_EB_FROM: 657, /** * DL category EB codes */ - DL_CLASS_CODE_EB_NOTES = 658, + DL_CLASS_CODE_EB_NOTES: 658, /** * DL category EB valid to */ - DL_CLASS_CODE_EB_TO = 659, + DL_CLASS_CODE_EB_TO: 659, /** * DL category EC valid from */ - DL_CLASS_CODE_EC_FROM = 660, + DL_CLASS_CODE_EC_FROM: 660, /** * DL category EC codes */ - DL_CLASS_CODE_EC_NOTES = 661, + DL_CLASS_CODE_EC_NOTES: 661, /** * DL category EC valid to */ - DL_CLASS_CODE_EC_TO = 662, + DL_CLASS_CODE_EC_TO: 662, /** * DL category EC1 valid from */ - DL_CLASS_CODE_EC1_FROM = 663, + DL_CLASS_CODE_EC1_FROM: 663, /** * DL category EC1 codes */ - DL_CLASS_CODE_EC1_NOTES = 664, + DL_CLASS_CODE_EC1_NOTES: 664, /** * DL category EC1 valid to */ - DL_CLASS_CODE_EC1_TO = 665, + DL_CLASS_CODE_EC1_TO: 665, /** * Place of birth city */ - PLACE_OF_BIRTH_CITY = 666, + PLACE_OF_BIRTH_CITY: 666, /** * Year of birth */ - YEAR_OF_BIRTH = 667, + YEAR_OF_BIRTH: 667, /** * Year of expiry */ - YEAR_OF_EXPIRY = 668, + YEAR_OF_EXPIRY: 668, /** * Grandfather's name (maternal) */ - GRANDFATHER_NAME_MATERNAL = 669, + GRANDFATHER_NAME_MATERNAL: 669, /** * First surname */ - FIRST_SURNAME = 670, + FIRST_SURNAME: 670, /** * Month of birth */ - MONTH_OF_BIRTH = 671, + MONTH_OF_BIRTH: 671, /** * Floor number */ - ADDRESS_FLOOR_NUMBER = 672, + ADDRESS_FLOOR_NUMBER: 672, /** * Entrance number */ - ADDRESS_ENTRANCE = 673, + ADDRESS_ENTRANCE: 673, /** * Block number */ - ADDRESS_BLOCK_NUMBER = 674, + ADDRESS_BLOCK_NUMBER: 674, /** * Street number */ - ADDRESS_STREET_NUMBER = 675, + ADDRESS_STREET_NUMBER: 675, /** * Street type */ - ADDRESS_STREET_TYPE = 676, + ADDRESS_STREET_TYPE: 676, /** * City sector */ - ADDRESS_CITY_SECTOR = 677, + ADDRESS_CITY_SECTOR: 677, /** * County type */ - ADDRESS_COUNTY_TYPE = 678, + ADDRESS_COUNTY_TYPE: 678, /** * City type */ - ADDRESS_CITY_TYPE = 679, + ADDRESS_CITY_TYPE: 679, /** * Building type */ - ADDRESS_BUILDING_TYPE = 680, + ADDRESS_BUILDING_TYPE: 680, /** * Date of Retirement */ - DATE_OF_RETIREMENT = 681, + DATE_OF_RETIREMENT: 681, /** * Document Status */ - DOCUMENT_STATUS = 682, + DOCUMENT_STATUS: 682, /** * Signature */ - SIGNATURE = 683, + SIGNATURE: 683, /** * Unique Certificate Identifier */ - FT_UNIQUE_CERTIFICATE_IDENTIFIER = 684, + FT_UNIQUE_CERTIFICATE_IDENTIFIER: 684, /** * Email */ - FT_EMAIL = 685, + FT_EMAIL: 685, /** * Date of Specimen Collection */ - FT_DATE_OF_SPECIMEN_COLLECTION = 686, + FT_DATE_OF_SPECIMEN_COLLECTION: 686, /** * Type Of Testing */ - FT_TYPE_OF_TESTING = 687, + FT_TYPE_OF_TESTING: 687, /** * Result Of Testing */ - FT_RESULT_OF_TESTING = 688, + FT_RESULT_OF_TESTING: 688, /** * Method Of Testing */ - FT_METHOD_OF_TESTING = 689, + FT_METHOD_OF_TESTING: 689, /** * Digital Travel Authorization Number */ - FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER = 690, + FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690, /** * Date of First Positive Test Result */ - FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT = 691 -} - + FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691 +} as const; +export type TextFieldType = typeof TextFieldType[keyof typeof TextFieldType]; diff --git a/src/models/text-field-value.ts b/src/models/text-field-value.ts old mode 100755 new mode 100644 index 78bdc4ce..a6ab489b --- a/src/models/text-field-value.ts +++ b/src/models/text-field-value.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,65 +13,70 @@ */ -import { OriginalSymbol } from './original-symbol'; -import { RectangleCoordinates } from './rectangle-coordinates'; -import { RfidOrigin } from './rfid-origin'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { OriginalSymbol } from './original-symbol'; +import type { RectangleCoordinates } from './rectangle-coordinates'; +import type { RfidOrigin } from './rfid-origin'; +import type { Source } from './source'; /** - * - * @export - * @interface TextFieldValue - */ +* +* @export +* @interface TextFieldValue +*/ export interface TextFieldValue { /** - * - * @type {Source} - * @memberof TextFieldValue - */ + * + * @type {Source} + * @memberof TextFieldValue + */ source: Source; /** - * Parsed/processed value. Date format converted for output, delimiters removed - * @type {string} - * @memberof TextFieldValue - */ + * Parsed/processed value. Date format converted for output, delimiters removed + * @type {string} + * @memberof TextFieldValue + */ value: string; /** - * Original value as seen in the document - * @type {string} - * @memberof TextFieldValue - */ + * Original value as seen in the document + * @type {string} + * @memberof TextFieldValue + */ originalValue?: string; /** - * - * @type {Array} - * @memberof TextFieldValue - */ + * + * @type {CheckResult} + * @memberof TextFieldValue + */ + originalValidity: CheckResult; + /** + * + * @type {Array} + * @memberof TextFieldValue + */ originalSymbols?: Array; /** - * Page index of the image from input list - * @type {number} - * @memberof TextFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof TextFieldValue + */ pageIndex: number; /** - * Min recognition probability. Combined minimum probability from single characters probabilities - * @type {number} - * @memberof TextFieldValue - */ - probability?: number; + * Min recognition probability. Combined minimum probability from single characters probabilities + * @type {number} + * @memberof TextFieldValue + */ + probability: number; /** - * - * @type {RectangleCoordinates} - * @memberof TextFieldValue - */ + * + * @type {RectangleCoordinates} + * @memberof TextFieldValue + */ fieldRect?: RectangleCoordinates; /** - * - * @type {RfidOrigin} - * @memberof TextFieldValue - */ + * + * @type {RfidOrigin} + * @memberof TextFieldValue + */ rfidOrigin?: RfidOrigin; } - - diff --git a/src/models/text-field.ts b/src/models/text-field.ts old mode 100755 new mode 100644 index 3624a661..5b3a954f --- a/src/models/text-field.ts +++ b/src/models/text-field.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,79 +13,83 @@ */ -import { CheckResult } from './check-result'; -import { CrossSourceValueComparison } from './cross-source-value-comparison'; -import { LCID } from './lcid'; -import { SourceValidity } from './source-validity'; -import { TextFieldType } from './text-field-type'; -import { TextFieldValue } from './text-field-value'; +import type { CheckResult } from './check-result'; +import type { CrossSourceValueComparison } from './cross-source-value-comparison'; +import type { LCID } from './lcid'; +import type { SourceValidity } from './source-validity'; +import type { TextFieldType } from './text-field-type'; +import type { TextFieldValue } from './text-field-value'; /** - * - * @export - * @interface TextField - */ +* +* @export +* @interface TextField +*/ export interface TextField { /** - * - * @type {TextFieldType} - * @memberof TextField - */ + * + * @type {TextFieldType} + * @memberof TextField + */ fieldType: TextFieldType; /** - * Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup. - * @type {string} - * @memberof TextField - */ + * Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup. + * @type {string} + * @memberof TextField + */ fieldName: string; /** - * - * @type {LCID} - * @memberof TextField - */ - lcid?: LCID; + * + * @type {LCID} + * @memberof TextField + */ + lcid: LCID; + /** + * LCID name + * @type {string} + * @memberof TextField + */ + lcidName: string; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ status: CheckResult; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ validityStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ comparisonStatus: CheckResult; /** - * The most confidence value, selected from valueList - * @type {string} - * @memberof TextField - */ + * The most confidence value, selected from valueList + * @type {string} + * @memberof TextField + */ value: string; /** - * - * @type {Array} - * @memberof TextField - */ + * + * @type {Array} + * @memberof TextField + */ valueList: Array; /** - * Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error. - * @type {Array} - * @memberof TextField - */ + * Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error. + * @type {Array} + * @memberof TextField + */ validityList: Array; /** - * - * @type {Array} - * @memberof TextField - */ + * + * @type {Array} + * @memberof TextField + */ comparisonList: Array; } - - diff --git a/src/models/text-post-processing.ts b/src/models/text-post-processing.ts index f2669a83..0aa1123b 100644 --- a/src/models/text-post-processing.ts +++ b/src/models/text-post-processing.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,28 +15,29 @@ /** - * - * @export - * @enum {string} - */ -export enum TextPostProcessing { +* +* @export +* @enum {string} +*/ + +export const TextPostProcessing = { /** * Do not change */ - NO_CHANGE = 0, + NO_CHANGE: 0, /** * Uppercase */ - UPPERCASE = 1, + UPPERCASE: 1, /** * Lowercase */ - LOWERCASE = 2, + LOWERCASE: 2, /** * Capital */ - CAPITAL = 3 -} - + CAPITAL: 3 +} as const; +export type TextPostProcessing = typeof TextPostProcessing[keyof typeof TextPostProcessing]; diff --git a/src/models/text-result-all-of.ts b/src/models/text-result-all-of.ts old mode 100755 new mode 100644 index 9c29ea02..ca84222a --- a/src/models/text-result-all-of.ts +++ b/src/models/text-result-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { Text } from './text'; +import type { Text } from './text'; /** - * - * @export - * @interface TextResultAllOf - */ +* +* @export +* @interface TextResultAllOf +*/ export interface TextResultAllOf { /** - * - * @type {Text} - * @memberof TextResultAllOf - */ + * + * @type {Text} + * @memberof TextResultAllOf + */ Text: Text; } - - diff --git a/src/models/text-result.ts b/src/models/text-result.ts old mode 100755 new mode 100644 index e16b4876..3571631d --- a/src/models/text-result.ts +++ b/src/models/text-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,23 +13,9 @@ */ -import { AuthenticityResult } from './authenticity-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocBarCodeInfo } from './doc-bar-code-info'; -import { DocumentImageResult } from './document-image-result'; -import { DocumentPositionResult } from './document-position-result'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { EncryptedRCLResult } from './encrypted-rclresult'; -import { GraphicsResult } from './graphics-result'; -import { ImageQualityResult } from './image-quality-result'; -import { ImagesResult } from './images-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { LicenseResult } from './license-result'; -import { ResultItem } from './result-item'; -import { StatusResult } from './status-result'; -import { Text } from './text'; -import { TextDataResult } from './text-data-result'; -import { TextResultAllOf } from './text-result-all-of'; +import type { ResultItem } from './result-item'; +import type { Text } from './text'; +import type { TextResultAllOf } from './text-result-all-of'; /** * @type TextResult @@ -37,5 +23,3 @@ import { TextResultAllOf } from './text-result-all-of'; */ export type TextResult = ResultItem & TextResultAllOf; - - diff --git a/src/models/text.ts b/src/models/text.ts old mode 100755 new mode 100644 index 78a3eec9..cb15ae59 --- a/src/models/text.ts +++ b/src/models/text.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,46 +13,50 @@ */ -import { CheckResult } from './check-result'; -import { TextAvailableSource } from './text-available-source'; -import { TextField } from './text-field'; +import type { CheckResult } from './check-result'; +import type { TextAvailableSource } from './text-available-source'; +import type { TextField } from './text-field'; /** - * Contains all document text fields data with validity and cross-source compare checks - * @export - * @interface Text - */ +* Contains all document text fields data with validity and cross-source compare checks +* @export +* @interface Text +*/ export interface Text { /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ status: CheckResult; /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ validityStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ comparisonStatus: CheckResult; /** - * - * @type {Array} - * @memberof Text - */ + * Date format + * @type {string} + * @memberof Text + */ + dateFormat: string; + /** + * + * @type {Array} + * @memberof Text + */ fieldList: Array; /** - * - * @type {Array} - * @memberof Text - */ + * + * @type {Array} + * @memberof Text + */ availableSourceList: Array; } - - diff --git a/src/models/tfdsidlist.ts b/src/models/tfdsidlist.ts deleted file mode 100755 index 4e0f0fe9..00000000 --- a/src/models/tfdsidlist.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.2.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { DocumentFormat } from './document-format'; -import { DocumentType } from './document-type'; - -/** - * Extended document type info and Regula\'s \'Information Reference Systems\' links - * @export - * @interface TFDSIDList - */ -export interface TFDSIDList { - /** - * ICAO code of the issuing country - * @type {string} - * @memberof TFDSIDList - */ - ICAO?: string; - /** - * Document identifiers in \'Information Reference Systems\' - * @type {Array} - * @memberof TFDSIDList - */ - List?: Array; - /** - * - * @type {DocumentType} - * @memberof TFDSIDList - */ - dType?: DocumentType; - /** - * - * @type {DocumentFormat} - * @memberof TFDSIDList - */ - dFormat?: DocumentFormat; - /** - * Flag indicating the presence of MRZ on the document - * @type {boolean} - * @memberof TFDSIDList - */ - dMRZ?: boolean; - /** - * Document description - * @type {string} - * @memberof TFDSIDList - */ - dDescription?: string; - /** - * Year of publication of the document - * @type {string} - * @memberof TFDSIDList - */ - dYear?: string; - /** - * Issuing country name - * @type {string} - * @memberof TFDSIDList - */ - dCountryName?: string; - /** - * Issuing state code - * @type {string} - * @memberof TFDSIDList - */ - dStateCode?: string; - /** - * Issuing state name - * @type {string} - * @memberof TFDSIDList - */ - dStateName?: string; -} - - diff --git a/src/models/toriginal-rfidgraphics.ts b/src/models/toriginal-rfidgraphics.ts deleted file mode 100644 index efbf1190..00000000 --- a/src/models/toriginal-rfidgraphics.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * 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 - * - * The version of the OpenAPI document: 7.2.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TOriginalRFIDGraphics - */ -export interface TOriginalRFIDGraphics { - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - FieldType?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - GraphicsType?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - RFID_OriginDG?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - RFID_OriginDGTag?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - RFID_OriginTagEntry?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - RFID_OriginEntryView?: number; - /** - * - * @type {number} - * @memberof TOriginalRFIDGraphics - */ - Buf_Length?: number; - /** - * - * @type {string} - * @memberof TOriginalRFIDGraphics - */ - Buffer?: string; -} - - diff --git a/src/models/transaction-image.ts b/src/models/transaction-image.ts index d7e23470..2d657574 100644 --- a/src/models/transaction-image.ts +++ b/src/models/transaction-image.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,20 +13,18 @@ */ -import { ImagesFieldValue } from './images-field-value'; +import type { ImagesFieldValue } from './images-field-value'; /** - * - * @export - * @interface TransactionImage - */ +* +* @export +* @interface TransactionImage +*/ export interface TransactionImage { /** - * - * @type {ImagesFieldValue} - * @memberof TransactionImage - */ + * + * @type {ImagesFieldValue} + * @memberof TransactionImage + */ image?: ImagesFieldValue; } - - diff --git a/src/models/transaction-images-field-value.ts b/src/models/transaction-images-field-value.ts deleted file mode 100644 index 1137cfa2..00000000 --- a/src/models/transaction-images-field-value.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * 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 - * - * The version of the OpenAPI document: 7.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { GraphicFieldType } from './graphic-field-type'; -import { Light } from './light'; - -/** - * - * @export - * @interface TransactionImagesFieldValue - */ -export interface TransactionImagesFieldValue { - /** - * - * @type {GraphicFieldType} - * @memberof TransactionImagesFieldValue - */ - fieldType?: GraphicFieldType; - /** - * - * @type {Light} - * @memberof TransactionImagesFieldValue - */ - light?: Light; - /** - * - * @type {number} - * @memberof TransactionImagesFieldValue - */ - listIdx?: number; - /** - * Page index of the image from input list - * @type {number} - * @memberof TransactionImagesFieldValue - */ - pageIdx?: number; - /** - * Image url - * @type {string} - * @memberof TransactionImagesFieldValue - */ - url?: string; -} - - diff --git a/src/models/transaction-info.ts b/src/models/transaction-info.ts old mode 100755 new mode 100644 index 60c7fd9a..d269b228 --- a/src/models/transaction-info.ts +++ b/src/models/transaction-info.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,37 +13,60 @@ */ +import type { DocumentsDatabase } from './documents-database'; /** - * - * @export - * @interface TransactionInfo - */ +* +* @export +* @interface TransactionInfo +*/ export interface TransactionInfo { /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ ComputerName?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ DateTime?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {DocumentsDatabase} + * @memberof TransactionInfo + */ + DocumentsDatabase?: DocumentsDatabase; + /** + * + * @type {string} + * @memberof TransactionInfo + */ + SystemInfo?: string; + /** + * + * @type {string} + * @memberof TransactionInfo + */ + Tag?: string; + /** + * + * @type {string} + * @memberof TransactionInfo + */ TransactionID?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ UserName?: string; + /** + * + * @type {string} + * @memberof TransactionInfo + */ + Version?: string; } - - diff --git a/src/models/transaction-process-get-response.ts b/src/models/transaction-process-get-response.ts index c383b095..fa6c3921 100644 --- a/src/models/transaction-process-get-response.ts +++ b/src/models/transaction-process-get-response.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,39 +13,37 @@ */ -import { InData } from './in-data'; -import { OutData } from './out-data'; +import type { InData } from './in-data'; +import type { OutData } from './out-data'; /** - * - * @export - * @interface TransactionProcessGetResponse - */ +* +* @export +* @interface TransactionProcessGetResponse +*/ export interface TransactionProcessGetResponse { /** - * - * @type {number} - * @memberof TransactionProcessGetResponse - */ + * + * @type {number} + * @memberof TransactionProcessGetResponse + */ transactionId?: number; /** - * - * @type {string} - * @memberof TransactionProcessGetResponse - */ + * + * @type {string} + * @memberof TransactionProcessGetResponse + */ tag?: string; /** - * - * @type {OutData} - * @memberof TransactionProcessGetResponse - */ + * + * @type {OutData} + * @memberof TransactionProcessGetResponse + */ outData?: OutData; /** - * - * @type {InData} - * @memberof TransactionProcessGetResponse - */ + * + * @type {InData} + * @memberof TransactionProcessGetResponse + */ inData?: InData; } - - diff --git a/src/models/transaction-process-request.ts b/src/models/transaction-process-request.ts index 661b91f1..c72f18e7 100644 --- a/src/models/transaction-process-request.ts +++ b/src/models/transaction-process-request.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,59 +13,57 @@ */ -import { ContainerList } from './container-list'; -import { ProcessParams } from './process-params'; -import { ProcessRequestImage } from './process-request-image'; -import { ProcessSystemInfo } from './process-system-info'; +import type { ContainerList } from './container-list'; +import type { ProcessParams } from './process-params'; +import type { ProcessRequestImage } from './process-request-image'; +import type { ProcessSystemInfo } from './process-system-info'; /** - * - * @export - * @interface TransactionProcessRequest - */ +* +* @export +* @interface TransactionProcessRequest +*/ export interface TransactionProcessRequest { /** - * - * @type {ProcessParams} - * @memberof TransactionProcessRequest - */ + * + * @type {ProcessParams} + * @memberof TransactionProcessRequest + */ processParam: ProcessParams; /** - * - * @type {Array} - * @memberof TransactionProcessRequest - */ + * + * @type {Array} + * @memberof TransactionProcessRequest + */ List?: Array; /** - * Live portrait photo - * @type {string} - * @memberof TransactionProcessRequest - */ + * Live portrait photo + * @type {string} + * @memberof TransactionProcessRequest + */ livePortrait?: string; /** - * Portrait photo from an external source - * @type {string} - * @memberof TransactionProcessRequest - */ + * Portrait photo from an external source + * @type {string} + * @memberof TransactionProcessRequest + */ extPortrait?: string; /** - * - * @type {ContainerList} - * @memberof TransactionProcessRequest - */ + * + * @type {ContainerList} + * @memberof TransactionProcessRequest + */ ContainerList?: ContainerList; /** - * - * @type {ProcessSystemInfo} - * @memberof TransactionProcessRequest - */ + * + * @type {ProcessSystemInfo} + * @memberof TransactionProcessRequest + */ systemInfo?: ProcessSystemInfo; /** - * 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. - * @type {{ [key: string]: object; }} - * @memberof TransactionProcessRequest - */ + * 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. + * @type {{ [key: string]: object; }} + * @memberof TransactionProcessRequest + */ passBackObject?: { [key: string]: object; }; } - - diff --git a/src/models/in-data-rfid-session.ts b/src/models/transaction-process-response-all-of.ts similarity index 74% rename from src/models/in-data-rfid-session.ts rename to src/models/transaction-process-response-all-of.ts index 13348d97..46e84cd2 100644 --- a/src/models/in-data-rfid-session.ts +++ b/src/models/transaction-process-response-all-of.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.1.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,17 +15,15 @@ /** - * - * @export - * @interface InDataRfidSession - */ -export interface InDataRfidSession { +* +* @export +* @interface TransactionProcessResponseAllOf +*/ +export interface TransactionProcessResponseAllOf { /** - * Image url - * @type {string} - * @memberof InDataRfidSession - */ - url?: string; + * + * @type {number} + * @memberof TransactionProcessResponseAllOf + */ + CoreLibResultCode: number; } - - diff --git a/src/models/transaction-process-response.ts b/src/models/transaction-process-response.ts new file mode 100644 index 00000000..433741e9 --- /dev/null +++ b/src/models/transaction-process-response.ts @@ -0,0 +1,28 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { ContainerList } from './container-list'; +import type { ProcessResponse } from './process-response'; +import type { ProcessingStatus } from './processing-status'; +import type { RfidLocation } from './rfid-location'; +import type { TransactionInfo } from './transaction-info'; +import type { TransactionProcessResponseAllOf } from './transaction-process-response-all-of'; + +/** + * @type TransactionProcessResponse + * @export + */ +export type TransactionProcessResponse = ProcessResponse & TransactionProcessResponseAllOf; + diff --git a/src/models/inline-response200.ts b/src/models/transaction-process-result.ts similarity index 62% rename from src/models/inline-response200.ts rename to src/models/transaction-process-result.ts index 2161f047..48a7c0ab 100644 --- a/src/models/inline-response200.ts +++ b/src/models/transaction-process-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,39 +13,37 @@ */ -import { InData } from './in-data'; -import { OutData } from './out-data'; +import type { InData } from './in-data'; +import type { OutData } from './out-data'; /** - * - * @export - * @interface InlineResponse200 - */ -export interface InlineResponse200 { +* +* @export +* @interface TransactionProcessResult +*/ +export interface TransactionProcessResult { /** - * - * @type {OutData} - * @memberof InlineResponse200 - */ + * + * @type {OutData} + * @memberof TransactionProcessResult + */ OutData?: OutData; /** - * - * @type {InData} - * @memberof InlineResponse200 - */ + * + * @type {InData} + * @memberof TransactionProcessResult + */ InData?: InData; /** - * - * @type {string} - * @memberof InlineResponse200 - */ + * + * @type {string} + * @memberof TransactionProcessResult + */ tag?: string; /** - * - * @type {string} - * @memberof InlineResponse200 - */ + * + * @type {string} + * @memberof TransactionProcessResult + */ transactionId?: string; } - - diff --git a/src/models/trf-ft-bytes.ts b/src/models/trf-ft-bytes.ts new file mode 100644 index 00000000..c11f922d --- /dev/null +++ b/src/models/trf-ft-bytes.ts @@ -0,0 +1,49 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { GraphicFieldType } from './graphic-field-type'; +import type { TextFieldType } from './text-field-type'; + +/** +* Structure is used to store an array of binary information that is a part of one of the informational data groups +* @export +* @interface TrfFtBytes +*/ +export interface TrfFtBytes { + /** + * Logical type of the field + * @type {GraphicFieldType | TextFieldType} + * @memberof TrfFtBytes + */ + Type: GraphicFieldType | TextFieldType; + /** + * Result of logical analysis of compliance of the contents of the field with the requirements of the specification + * @type {number} + * @memberof TrfFtBytes + */ + Status: number; + /** + * Length of Data array + * @type {number} + * @memberof TrfFtBytes + */ + Length: number; + /** + * Binary data array. Base64 encoded. + * @type {string} + * @memberof TrfFtBytes + */ + Data: string; +} diff --git a/src/models/trf-ft-string.ts b/src/models/trf-ft-string.ts new file mode 100644 index 00000000..da34739c --- /dev/null +++ b/src/models/trf-ft-string.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { GraphicFieldType } from './graphic-field-type'; +import type { ParsingErrorCodes } from './parsing-error-codes'; +import type { ParsingNotificationCodes } from './parsing-notification-codes'; +import type { TextFieldType } from './text-field-type'; + +/** +* Structure is used to store information about the numeric field (4 bytes) that is a part of one of the informational data groups. +* @export +* @interface TrfFtString +*/ +export interface TrfFtString { + /** + * + * @type {GraphicFieldType | TextFieldType} + * @memberof TrfFtString + */ + Type: GraphicFieldType | TextFieldType; + /** + * Result of logical analysis of compliance of the contents of the field with the requirements of the specification + * @type {ParsingNotificationCodes | ParsingErrorCodes} + * @memberof TrfFtString + */ + Status: ParsingNotificationCodes | ParsingErrorCodes; + /** + * Mask of format of text information (for example, «YYMMDD» for date of birth) + * @type {string} + * @memberof TrfFtString + */ + Format: string; + /** + * Numeric value. + * @type {string} + * @memberof TrfFtString + */ + Data: string; +} diff --git a/src/models/verification-result.ts b/src/models/verification-result.ts old mode 100755 new mode 100644 index 30a0292d..df2b024d --- a/src/models/verification-result.ts +++ b/src/models/verification-result.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,32 +15,33 @@ /** - * - * @export - * @enum {string} - */ -export enum VerificationResult { +* +* @export +* @enum {string} +*/ + +export const VerificationResult = { /** * Comparison result unknown */ - DISABLED = 0, + DISABLED: 0, /** * Verification passed */ - VERIFIED = 1, + VERIFIED: 1, /** * Verification failed */ - NOT_VERIFIED = 2, + NOT_VERIFIED: 2, /** * Positive comparison result */ - COMPARE_MATCH = 3, + COMPARE_MATCH: 3, /** * Negative comparison result */ - COMPARE_NOT_MATCH = 4 -} - + COMPARE_NOT_MATCH: 4 +} as const; +export type VerificationResult = typeof VerificationResult[keyof typeof VerificationResult]; diff --git a/src/models/verified-field-map.ts b/src/models/verified-field-map.ts old mode 100755 new mode 100644 index ea5a2cbf..ddfae2cb --- a/src/models/verified-field-map.ts +++ b/src/models/verified-field-map.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,58 +13,56 @@ */ -import { LCID } from './lcid'; -import { TextFieldType } from './text-field-type'; -import { VerificationResult } from './verification-result'; +import type { LCID } from './lcid'; +import type { TextFieldType } from './text-field-type'; +import type { VerificationResult } from './verification-result'; /** - * - * @export - * @interface VerifiedFieldMap - */ +* +* @export +* @interface VerifiedFieldMap +*/ export interface VerifiedFieldMap { /** - * - * @type {TextFieldType} - * @memberof VerifiedFieldMap - */ - wFieldType?: TextFieldType; + * + * @type {TextFieldType} + * @memberof VerifiedFieldMap + */ + wFieldType: TextFieldType; /** - * - * @type {LCID} - * @memberof VerifiedFieldMap - */ - wLCID?: LCID; + * + * @type {LCID} + * @memberof VerifiedFieldMap + */ + wLCID: LCID; /** - * Field data extracted from mrz(machine readable zone) - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from mrz(machine readable zone) + * @type {string} + * @memberof VerifiedFieldMap + */ Field_MRZ?: string; /** - * Field data extracted from visual zone - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from visual zone + * @type {string} + * @memberof VerifiedFieldMap + */ Field_Visual?: string; /** - * Field data extracted from barcode - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from barcode + * @type {string} + * @memberof VerifiedFieldMap + */ Field_Barcode?: string; /** - * Field data extracted from rfid chip - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from rfid chip + * @type {string} + * @memberof VerifiedFieldMap + */ Field_RFID?: string; /** - * results comparison matrix. Elements of the matrix with indices 0, 1, 2, 3 take one of the values Disabled(0), Verified(1) or Not_Verified(2), elements with indices 4, 5, 6, 7, 8 are one of the values Disabled(0), Compare_Match(3) or Compare_Not_Match(4). Elements of the Matrix matrix have the following semantic meaning: - element with index 0 –– the result of verification of data from the MRZ; - 1 –– the result of verification of data from the RFID microcircuit; - 2 –– the result of verification of data from text areas of the document; - 3 –– the result of verification data from barcodes; - 4 - the result of comparing MRZ data and RFID microcircuits; - 5 - the result of comparing MRZ data and text areas of document filling; - 6 - the result of comparing MRZ data and bar codes; - 7 - the result of comparing the data of text areas of the document and the RFID chip; - 8 - the result of comparing the data of the text areas of the document and barcodes; - 9 - the result of comparing the data of the RFID chip and barcodes. - * @type {Array} - * @memberof VerifiedFieldMap - */ - Matrix?: Array; + * results comparison matrix. Elements of the matrix with indices 0, 1, 2, 3 take one of the values Disabled(0), Verified(1) or Not_Verified(2), elements with indices 4, 5, 6, 7, 8 are one of the values Disabled(0), Compare_Match(3) or Compare_Not_Match(4). Elements of the Matrix matrix have the following semantic meaning: - element with index 0 –– the result of verification of data from the MRZ; - 1 –– the result of verification of data from the RFID microcircuit; - 2 –– the result of verification of data from text areas of the document; - 3 –– the result of verification data from barcodes; - 4 - the result of comparing MRZ data and RFID microcircuits; - 5 - the result of comparing MRZ data and text areas of document filling; - 6 - the result of comparing MRZ data and bar codes; - 7 - the result of comparing the data of text areas of the document and the RFID chip; - 8 - the result of comparing the data of the text areas of the document and barcodes; - 9 - the result of comparing the data of the RFID chip and barcodes. + * @type {Array} + * @memberof VerifiedFieldMap + */ + Matrix: Array; } - - diff --git a/src/models/visibility.ts b/src/models/visibility.ts index 8fb304c9..b03f4b86 100644 --- a/src/models/visibility.ts +++ b/src/models/visibility.ts @@ -4,7 +4,7 @@ * Regula Document Reader Web API * 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 * - * The version of the OpenAPI document: 7.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,32 +15,33 @@ /** - * Enumeration contains visibility status of the security element - * @export - * @enum {string} - */ -export enum Visibility { +* Enumeration contains visibility status of the security element +* @export +* @enum {string} +*/ + +export const Visibility = { /** * Invisible */ - INVISIBLE = 0, + INVISIBLE: 0, /** * Visible */ - VISIBLE = 1, + VISIBLE: 1, /** * Colored */ - COLORED = 2, + COLORED: 2, /** * Grayscale */ - GRAYSCALE = 4, + GRAYSCALE: 4, /** * Visible vs IR match */ - WHITE_IR_MATCHING = 8 -} - + WHITE_IR_MATCHING: 8 +} as const; +export type Visibility = typeof Visibility[keyof typeof Visibility]; diff --git a/src/models/visual-ocr-extended-result.ts b/src/models/visual-ocr-extended-result.ts deleted file mode 100755 index 1edff533..00000000 --- a/src/models/visual-ocr-extended-result.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Regula Document Reader Web API - * Regula Document Reader Web API - * - * The version of the OpenAPI document: 5.1.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -import { BarcodeTextDataResult } from './barcode-text-data-result'; -import { ChosenDocumentTypeResult } from './chosen-document-type-result'; -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; -import { DocumentTypesCandidatesResult } from './document-types-candidates-result'; -import { GraphicsResult } from './graphics-result'; -import { LexicalAnalysisResult } from './lexical-analysis-result'; -import { MrzOcrExtendedResult } from './mrz-ocr-extended-result'; -import { MrzOcrExtendedResultAllOf } from './mrz-ocr-extended-result-all-of'; -import { RawImageResult } from './raw-image-result'; -import { ResultItem } from './result-item'; -import { RfidTextDataResult } from './rfid-text-data-result'; -import { StatusResult } from './status-result'; -import { TextResult } from './text-result'; - -/** - * @type VisualOcrExtendedResult - * Text fields from document OCR with symbol probabilities - * @export - */ -export type VisualOcrExtendedResult = MrzOcrExtendedResultAllOf & ResultItem; - - - diff --git a/update-models.sh b/update-models.sh index 530c7ec5..04b0543a 100755 --- a/update-models.sh +++ b/update-models.sh @@ -2,35 +2,13 @@ DOCS_DEFINITION_FOLDER="${PWD}/../DocumentReader-web-openapi" \ \ -&& docker run --user "$(id -u):$(id -g)" --rm -v "${PWD}:/client" -v "$DOCS_DEFINITION_FOLDER:/definitions" \ +&& docker run --user "$(id -u):$(id -g)" --rm \ +-v "${PWD}:/client" \ +-v "$DOCS_DEFINITION_FOLDER:/definitions" \ openapitools/openapi-generator-cli:v5.0.0 generate -g typescript-axios \ --i /definitions/index.yml -o /client/src -c /client/ts-generator-config.json \ +-i /definitions/index.yml \ +-o /client/src \ +-c /client/ts-generator-config.json \ -t /client/generator-templates/ || exit 1 -sed -i '/import { TextResult } /d' ./src/models/text-result.ts -sed -i '/import { TextDataResult } /d' ./src/models/text-data-result.ts -sed -i '/import { StatusResult } /d' ./src/models/status-result.ts -sed -i '/import { SecurityFeatureResult } /d' ./src/models/security-feature-result.ts -sed -i '/import { PhotoIdentResult } /d' ./src/models/photo-ident-result.ts -sed -i '/import { OCRSecurityTextResult } /d' ./src/models/ocrsecurity-text-result.ts -sed -i '/import { LexicalAnalysisResult } /d' ./src/models/lexical-analysis-result.ts -sed -i '/import { ImagesResult } /d' ./src/models/images-result.ts -sed -i '/import { IdentResult } /d' ./src/models/ident-result.ts -sed -i '/import { GraphicsResult } /d' ./src/models/graphics-result.ts -sed -i '/import { FiberResult } /d' ./src/models/fiber-result.ts -sed -i '/import { DocumentTypesCandidatesResult } /d' ./src/models/document-types-candidates-result.ts -sed -i '/import { DocumentImageResult } /d' ./src/models/document-image-result.ts -sed -i '/import { ChosenDocumentTypeResult } /d' ./src/models/chosen-document-type-result.ts -sed -i '/import { AuthenticityResult } /d' ./src/models/authenticity-result.ts -sed -i '/import { ImageQualityResult } /d' ./src/models/image-quality-result.ts -sed -i '/import { DocumentPositionResult } /d' ./src/models/document-position-result.ts -sed -i '/import { DocBarCodeInfo } /d' ./src/models/doc-bar-code-info.ts -sed -i '/import { EncryptedRCLResult } /d' ./src/models/encrypted-rclresult.ts -sed -i '/import { LicenseResult } /d' ./src/models/license-result.ts - -sed -i "s+from '../models'+from '../models.js'+g" ./src/api/default-api.ts -sed -i "s+from '../base'+from '../base.js'+g" ./src/api/default-api.ts -sed -i "s+from '../base'+from '../base.js'+g" ./src/api/process-api.ts -sed -i "s+from '../models'+from '../models.js'+g" ./src/api/process-api.ts - npm run format || exit 0 From 9e93eeec980a8d2cf01a9afdb40d4b5e4965dac2 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Mon, 21 Oct 2024 17:14:39 +0300 Subject: [PATCH 2/4] SP-18211 - update models --- generator-templates/modelEnum.mustache | 25 - generator-templates/modelGeneric.mustache | 42 - src/.openapi-generator/FILES | 3 +- src/models/area-array.ts | 32 +- src/models/area-container.ts | 32 +- src/models/auth-params.ts | 128 +- src/models/authenticity-check-list.ts | 24 +- src/models/authenticity-check-result-item.ts | 40 +- src/models/authenticity-check-result.ts | 40 +- src/models/authenticity-result-all-of.ts | 16 +- src/models/authenticity-result-type.ts | 69 +- src/models/bar-code-module-type.ts | 25 +- src/models/barcode-type.ts | 57 +- src/models/bc-pdf417-info.ts | 56 +- src/models/bc-roidetect.ts | 40 +- src/models/binary-data.ts | 410 +++++- src/models/check-diagnose.ts | 257 ++-- src/models/check-result.ts | 21 +- .../chosen-document-type-result-all-of.ts | 24 +- src/models/chosen-document-type.ts | 96 +- src/models/container-list.ts | 24 +- src/models/critical.ts | 19 +- src/models/cross-source-value-comparison.ts | 32 +- src/models/data-module.ts | 48 +- src/models/details-optical.ts | 72 +- src/models/details-rfid.ts | 64 +- src/models/device-info-deprecated.ts | 59 + src/models/device-info.ts | 74 +- src/models/doc-bar-code-info-all-of.ts | 16 +- src/models/doc-bar-code-info-fields-list.ts | 24 +- .../doc-visual-extended-field-rect-all-of.ts | 16 +- .../doc-visual-extended-field-rfid-all-of.ts | 40 +- src/models/doc-visual-extended-field.ts | 104 +- src/models/doc-visual-extended-info.ts | 24 +- .../document-binary-info-result-all-of.ts | 16 +- src/models/document-format.ts | 43 +- src/models/document-image-result-all-of.ts | 16 +- src/models/document-image.ts | 16 +- src/models/document-position-result-all-of.ts | 16 +- src/models/document-position.ts | 88 +- .../document-type-recognition-result.ts | 21 +- src/models/document-type.ts | 475 +++--- src/models/document-types-candidates-list.ts | 24 +- ...document-types-candidates-result-all-of.ts | 16 +- src/models/document-types-candidates.ts | 24 +- src/models/documents-database.ts | 40 +- src/models/encrypted-rclresult-all-of.ts | 16 +- src/models/face-api-search.ts | 32 +- src/models/face-api.ts | 72 +- src/models/fdsidlist.ts | 104 +- src/models/fiber-result-all-of.ts | 80 +- .../get-transactions-by-tag-response.ts | 32 +- src/models/graphic-field-rfid-all-of.ts | 40 +- src/models/graphic-field-type.ts | 69 +- src/models/graphic-field.ts | 32 +- src/models/graphic-fields-list.ts | 24 +- src/models/graphics-result-all-of.ts | 16 +- src/models/ident-result-all-of.ts | 56 +- src/models/image-data.ts | 16 +- src/models/image-qa.ts | 72 +- src/models/image-quality-check-list.ts | 32 +- src/models/image-quality-check-type.ts | 31 +- src/models/image-quality-check.ts | 64 +- src/models/image-quality-result-all-of.ts | 16 +- src/models/image-transaction-data.ts | 16 +- src/models/images-available-source.ts | 24 +- src/models/images-field-value.ts | 80 +- src/models/images-field.ts | 40 +- src/models/images-result-all-of.ts | 16 +- src/models/images.ts | 40 +- .../in-data-transaction-images-field-value.ts | 40 +- src/models/in-data-video.ts | 24 +- src/models/in-data.ts | 24 +- src/models/index.ts | 1 + src/models/lcid.ts | 347 +++-- src/models/lexical-analysis-result-all-of.ts | 16 +- src/models/license-result-all-of.ts | 16 +- src/models/light.ts | 99 +- .../list-transactions-by-tag-response.ts | 24 +- src/models/list-verified-fields.ts | 24 +- src/models/liveness-params.ts | 40 +- src/models/log-level.ts | 25 +- src/models/measure-system.ts | 19 +- src/models/mrz-detect-mode-enum.ts | 21 +- src/models/mrzformat.ts | 27 +- src/models/ocrsecurity-text-result-all-of.ts | 96 +- src/models/one-candidate.ts | 96 +- src/models/original-symbol.ts | 32 +- ...out-data-transaction-images-field-value.ts | 48 +- src/models/out-data.ts | 24 +- src/models/parray-field.ts | 88 +- src/models/parsing-error-codes.ts | 267 ++-- src/models/parsing-notification-codes.ts | 459 +++--- src/models/per-document-config.ts | 24 +- src/models/photo-ident-result-all-of.ts | 96 +- src/models/point-array.ts | 16 +- src/models/point.ts | 24 +- src/models/points-container.ts | 24 +- src/models/process-params-rfid.ts | 16 +- src/models/process-params.ts | 458 +++--- src/models/process-request-image.ts | 32 +- src/models/process-request.ts | 96 +- src/models/process-response.ts | 80 +- src/models/process-system-info.ts | 24 +- src/models/processing-status.ts | 21 +- .../raw-image-container-field-list-all-of.ts | 16 +- src/models/raw-image-container-list.ts | 24 +- src/models/rectangle-coordinates.ts | 40 +- src/models/result-item.ts | 48 +- src/models/result.ts | 79 +- src/models/rfid-access-control-info.ts | 48 +- .../rfid-access-control-procedure-type.ts | 31 +- src/models/rfid-access-key.ts | 40 +- src/models/rfid-achip.ts | 27 +- src/models/rfid-application-type.ts | 27 +- src/models/rfid-application.ts | 64 +- src/models/rfid-attribute-data.ts | 24 +- src/models/rfid-attribute-name.ts | 24 +- .../rfid-authentication-procedure-type.ts | 23 +- src/models/rfid-baud-rate.ts | 25 +- src/models/rfid-card-properties-ext.ts | 120 +- src/models/rfid-certificate-ex.ts | 112 +- src/models/rfid-certificate-origin.ts | 33 +- src/models/rfid-certificate-type.ts | 31 +- src/models/rfid-data-file-type.ts | 189 ++- src/models/rfid-data-file.ts | 88 +- src/models/rfid-data-group-type-tag.ts | 125 +- src/models/rfid-dg1.ts | 136 +- src/models/rfid-distinguished-name.ts | 32 +- src/models/rfid-location.ts | 21 +- src/models/rfid-origin.ts | 40 +- src/models/rfid-password-type.ts | 29 +- src/models/rfid-pki-extension.ts | 24 +- src/models/rfid-security-object.ts | 48 +- src/models/rfid-session-data.ts | 136 +- src/models/rfid-signer-info-ex.ts | 104 +- src/models/rfid-terminal-type.ts | 25 +- src/models/rfid-terminal.ts | 32 +- src/models/rfid-type.ts | 21 +- src/models/rfid-validity.ts | 24 +- src/models/rfiderror-codes.ts | 243 ++-- src/models/scenario.ts | 51 +- src/models/security-feature-result-all-of.ts | 56 +- src/models/security-feature-type.ts | 117 +- src/models/source-validity.ts | 24 +- src/models/source.ts | 27 +- src/models/status-result-all-of.ts | 16 +- src/models/status.ts | 64 +- src/models/string-recognition-result.ts | 48 +- src/models/symbol-candidate.ts | 32 +- src/models/symbol-recognition-result.ts | 40 +- src/models/tdoc-binary-info.ts | 16 +- src/models/text-available-source.ts | 32 +- src/models/text-data-result-all-of.ts | 16 +- src/models/text-field-type.ts | 1291 ++++++++--------- src/models/text-field-value.ts | 80 +- src/models/text-field.ts | 96 +- src/models/text-post-processing.ts | 23 +- src/models/text-result-all-of.ts | 16 +- src/models/text.ts | 56 +- src/models/transaction-image.ts | 16 +- src/models/transaction-info.ts | 72 +- .../transaction-process-get-response.ts | 40 +- src/models/transaction-process-request.ts | 64 +- .../transaction-process-response-all-of.ts | 16 +- src/models/transaction-process-result.ts | 40 +- src/models/trf-ft-bytes.ts | 40 +- src/models/trf-ft-string.ts | 40 +- src/models/verification-result.ts | 25 +- src/models/verified-field-map.ts | 64 +- src/models/visibility.ts | 25 +- 171 files changed, 5790 insertions(+), 5542 deletions(-) delete mode 100644 generator-templates/modelEnum.mustache delete mode 100644 generator-templates/modelGeneric.mustache create mode 100644 src/models/device-info-deprecated.ts diff --git a/generator-templates/modelEnum.mustache b/generator-templates/modelEnum.mustache deleted file mode 100644 index 68e9c05f..00000000 --- a/generator-templates/modelEnum.mustache +++ /dev/null @@ -1,25 +0,0 @@ -/** -* {{{description}}} -* @export -* @enum {string} -*/ -{{#isBoolean}} -export type {{classname}} = {{#allowableValues}}{{#enumVars}}{{{value}}}{{^-last}} | {{/-last}}{{/enumVars}}{{/allowableValues}} -{{/isBoolean}} - -{{^isBoolean}} -export const {{classname}} = { -{{#allowableValues}} - {{#enumVars}} - {{#enumDescription}} - /** - * {{.}} - */ - {{/enumDescription}} - {{{name}}}: {{{value}}}{{^-last}},{{/-last}} - {{/enumVars}} -{{/allowableValues}} -} as const; - -export type {{classname}} = typeof {{classname}}[keyof typeof {{classname}}]; -{{/isBoolean}} \ No newline at end of file diff --git a/generator-templates/modelGeneric.mustache b/generator-templates/modelGeneric.mustache deleted file mode 100644 index dfd9218e..00000000 --- a/generator-templates/modelGeneric.mustache +++ /dev/null @@ -1,42 +0,0 @@ -/** -* {{{description}}} -* @export -* @interface {{classname}} -*/ -export interface {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{ -{{#additionalPropertiesType}} - [key: string]: {{{additionalPropertiesType}}}{{#hasVars}} | any{{/hasVars}}; - -{{/additionalPropertiesType}} -{{#vars}} - /** - * {{{description}}} - * @type {{=<% %>=}}{<%&datatype%>}<%={{ }}=%> - * @memberof {{classname}} - {{#deprecated}} - * @deprecated - {{/deprecated}} - */ - {{name}}{{^required}}?{{/required}}: {{#isEnum}}{{{datatypeWithEnum}}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{#isNullable}} | null{{/isNullable}}{{/isEnum}}; -{{/vars}} -}{{#hasEnums}} - -{{#vars}} -{{#isEnum}} -export const {{enumName}} = { -{{#allowableValues}} - {{#enumVars}} - {{#enumDescription}} - /** - * {{enumDescription}} - */ - {{/enumDescription}} - {{{name}}}: {{{value}}}{{^-last}},{{/-last}} - {{/enumVars}} -{{/allowableValues}} -} as const; - -export type {{enumName}} = typeof {{enumName}}[keyof typeof {{enumName}}]; -{{/isEnum}} -{{/vars}} -{{/hasEnums}} \ No newline at end of file diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index 1f6b1e7a..08304040 100755 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -1,4 +1,4 @@ -api/default-api.ts +api/healthcheck-api.ts api/process-api.ts api/transaction-api.ts base.ts @@ -28,6 +28,7 @@ models/cross-source-value-comparison.ts models/data-module.ts models/details-optical.ts models/details-rfid.ts +models/device-info-deprecated.ts models/device-info.ts models/doc-bar-code-info-all-of.ts models/doc-bar-code-info-fields-list.ts diff --git a/src/models/area-array.ts b/src/models/area-array.ts index 2f539612..20aab6ac 100644 --- a/src/models/area-array.ts +++ b/src/models/area-array.ts @@ -17,27 +17,27 @@ import type { PointArray } from './point-array'; import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface AreaArray -*/ + * + * @export + * @interface AreaArray + */ export interface AreaArray { /** - * Number of elements in List and Points - * @type {number} - * @memberof AreaArray - */ + * Number of elements in List and Points + * @type {number} + * @memberof AreaArray + */ Count: number; /** - * - * @type {Array} - * @memberof AreaArray - */ + * + * @type {Array} + * @memberof AreaArray + */ List: Array; /** - * - * @type {Array} - * @memberof AreaArray - */ + * + * @type {Array} + * @memberof AreaArray + */ Points: Array; } diff --git a/src/models/area-container.ts b/src/models/area-container.ts index 4d51caf3..f74b1a45 100644 --- a/src/models/area-container.ts +++ b/src/models/area-container.ts @@ -17,27 +17,27 @@ import type { PointsContainer } from './points-container'; import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* Checked fragment coordinates -* @export -* @interface AreaContainer -*/ + * Checked fragment coordinates + * @export + * @interface AreaContainer + */ export interface AreaContainer { /** - * - * @type {number} - * @memberof AreaContainer - */ + * + * @type {number} + * @memberof AreaContainer + */ Count: number; /** - * - * @type {Array} - * @memberof AreaContainer - */ + * + * @type {Array} + * @memberof AreaContainer + */ List: Array; /** - * - * @type {Array} - * @memberof AreaContainer - */ + * + * @type {Array} + * @memberof AreaContainer + */ Points: Array; } diff --git a/src/models/auth-params.ts b/src/models/auth-params.ts index 2fa74e3a..719a5bd5 100644 --- a/src/models/auth-params.ts +++ b/src/models/auth-params.ts @@ -16,99 +16,99 @@ import type { LivenessParams } from './liveness-params'; /** -* -* @export -* @interface AuthParams -*/ + * + * @export + * @interface AuthParams + */ export interface AuthParams { /** - * This parameter is used to enable document liveness check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable document liveness check + * @type {boolean} + * @memberof AuthParams + */ checkLiveness?: boolean; /** - * - * @type {LivenessParams} - * @memberof AuthParams - */ + * + * @type {LivenessParams} + * @memberof AuthParams + */ livenessParams?: LivenessParams; /** - * This parameter is used to enable Document luminescence check in UV light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Document luminescence check in UV light + * @type {boolean} + * @memberof AuthParams + */ checkUVLuminiscence?: boolean; /** - * This parameter is used to enable B900 ink MRZ contrast check in IR light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable B900 ink MRZ contrast check in IR light + * @type {boolean} + * @memberof AuthParams + */ checkIRB900?: boolean; /** - * This parameter is used to enable Image patterns presence/absence check (position, shape, color) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Image patterns presence/absence check (position, shape, color) + * @type {boolean} + * @memberof AuthParams + */ checkImagePatterns?: boolean; /** - * This parameter is used to enable Fibers detection - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Fibers detection + * @type {boolean} + * @memberof AuthParams + */ checkFibers?: boolean; /** - * This parameter is used to enable Extended MRZ Check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Extended MRZ Check + * @type {boolean} + * @memberof AuthParams + */ checkExtMRZ?: boolean; /** - * This parameter is used to enable Extended OCR Check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Extended OCR Check + * @type {boolean} + * @memberof AuthParams + */ checkExtOCR?: boolean; /** - * This parameter is used to enable laminate integrity check in axial light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable laminate integrity check in axial light + * @type {boolean} + * @memberof AuthParams + */ checkAxial?: boolean; /** - * This parameter is used to enable Barcode format check (code metadata, data format, contents format, etc.) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Barcode format check (code metadata, data format, contents format, etc.) + * @type {boolean} + * @memberof AuthParams + */ checkBarcodeFormat?: boolean; /** - * This parameter is used to enable Document elements visibility check in IR light - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Document elements visibility check in IR light + * @type {boolean} + * @memberof AuthParams + */ checkIRVisibility?: boolean; /** - * This parameter is used to enable Invisible Personal Information (IPI) check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Invisible Personal Information (IPI) check + * @type {boolean} + * @memberof AuthParams + */ checkIPI?: boolean; /** - * This parameter is used to enable Owner\'s photo embedding check (is photo printed or sticked) - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Owner\'s photo embedding check (is photo printed or sticked) + * @type {boolean} + * @memberof AuthParams + */ checkPhotoEmbedding?: boolean; /** - * This parameter is used to enable Portrait comparison check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable Portrait comparison check + * @type {boolean} + * @memberof AuthParams + */ checkPhotoComparison?: boolean; /** - * This parameter is used to enable LetterScreen check - * @type {boolean} - * @memberof AuthParams - */ + * This parameter is used to enable LetterScreen check + * @type {boolean} + * @memberof AuthParams + */ checkLetterScreen?: boolean; } diff --git a/src/models/authenticity-check-list.ts b/src/models/authenticity-check-list.ts index 0734bcca..8a8797fd 100644 --- a/src/models/authenticity-check-list.ts +++ b/src/models/authenticity-check-list.ts @@ -16,21 +16,21 @@ import type { AuthenticityCheckResult } from './authenticity-check-result'; /** -* -* @export -* @interface AuthenticityCheckList -*/ + * + * @export + * @interface AuthenticityCheckList + */ export interface AuthenticityCheckList { /** - * Count of items in List - * @type {number} - * @memberof AuthenticityCheckList - */ + * Count of items in List + * @type {number} + * @memberof AuthenticityCheckList + */ Count: number; /** - * Authenticity Check - * @type {Array} - * @memberof AuthenticityCheckList - */ + * Authenticity Check + * @type {Array} + * @memberof AuthenticityCheckList + */ List: Array; } diff --git a/src/models/authenticity-check-result-item.ts b/src/models/authenticity-check-result-item.ts index 541a6bdd..a5625d93 100644 --- a/src/models/authenticity-check-result-item.ts +++ b/src/models/authenticity-check-result-item.ts @@ -17,33 +17,33 @@ import type { CheckDiagnose } from './check-diagnose'; import type { CheckResult } from './check-result'; /** -* Common fields for all authenticity result objects -* @export -* @interface AuthenticityCheckResultItem -*/ + * Common fields for all authenticity result objects + * @export + * @interface AuthenticityCheckResultItem + */ export interface AuthenticityCheckResultItem { /** - * Same as authenticity result type, but used for safe parsing of not-described values: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ - * @type {number} - * @memberof AuthenticityCheckResultItem - */ + * Same as authenticity result type, but used for safe parsing of not-described values: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/ + * @type {number} + * @memberof AuthenticityCheckResultItem + */ Type: number; /** - * - * @type {CheckResult} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {CheckResult} + * @memberof AuthenticityCheckResultItem + */ ElementResult?: CheckResult; /** - * - * @type {CheckDiagnose} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {CheckDiagnose} + * @memberof AuthenticityCheckResultItem + */ ElementDiagnose?: CheckDiagnose; /** - * - * @type {number} - * @memberof AuthenticityCheckResultItem - */ + * + * @type {number} + * @memberof AuthenticityCheckResultItem + */ PercentValue?: number; } diff --git a/src/models/authenticity-check-result.ts b/src/models/authenticity-check-result.ts index a7a2b24d..281e79cd 100644 --- a/src/models/authenticity-check-result.ts +++ b/src/models/authenticity-check-result.ts @@ -22,33 +22,33 @@ import type { PhotoIdentResult } from './photo-ident-result'; import type { SecurityFeatureResult } from './security-feature-result'; /** -* -* @export -* @interface AuthenticityCheckResult -*/ + * + * @export + * @interface AuthenticityCheckResult + */ export interface AuthenticityCheckResult { /** - * - * @type {AuthenticityResultType} - * @memberof AuthenticityCheckResult - */ + * + * @type {AuthenticityResultType} + * @memberof AuthenticityCheckResult + */ Type: AuthenticityResultType; /** - * - * @type {CheckResult} - * @memberof AuthenticityCheckResult - */ + * + * @type {CheckResult} + * @memberof AuthenticityCheckResult + */ Result: CheckResult; /** - * Count of items in List - * @type {number} - * @memberof AuthenticityCheckResult - */ + * Count of items in List + * @type {number} + * @memberof AuthenticityCheckResult + */ Count?: number; /** - * - * @type {Array} - * @memberof AuthenticityCheckResult - */ + * + * @type {Array} + * @memberof AuthenticityCheckResult + */ List: Array; } diff --git a/src/models/authenticity-result-all-of.ts b/src/models/authenticity-result-all-of.ts index cf56710c..adcc40d4 100644 --- a/src/models/authenticity-result-all-of.ts +++ b/src/models/authenticity-result-all-of.ts @@ -16,15 +16,15 @@ import type { AuthenticityCheckList } from './authenticity-check-list'; /** -* -* @export -* @interface AuthenticityResultAllOf -*/ + * + * @export + * @interface AuthenticityResultAllOf + */ export interface AuthenticityResultAllOf { /** - * - * @type {AuthenticityCheckList} - * @memberof AuthenticityResultAllOf - */ + * + * @type {AuthenticityCheckList} + * @memberof AuthenticityResultAllOf + */ AuthenticityCheckList: AuthenticityCheckList; } diff --git a/src/models/authenticity-result-type.ts b/src/models/authenticity-result-type.ts index 93bfe93b..6adff1c4 100644 --- a/src/models/authenticity-result-type.ts +++ b/src/models/authenticity-result-type.ts @@ -15,121 +15,118 @@ /** -* Enumeration describes available authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/. -* @export -* @enum {string} -*/ - -export const AuthenticityResultType = { + * Enumeration describes available authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/authenticity-result-type/. + * @export + * @enum {string} + */ +export enum AuthenticityResultType { /** * No authenticity control procedure */ - NONE: 0, + NONE = 0, /** * Document luminescence check in UV light */ - UV_LUMINESCENCE: 1, + UV_LUMINESCENCE = 1, /** * B900 ink MRZ contrast check in IR light */ - IR_B900: 2, + IR_B900 = 2, /** * Image patterns presence/absence check (position, shape, color) */ - IMAGE_PATTERN: 4, + IMAGE_PATTERN = 4, /** * Confirm laminate integrity check in axial light */ - AXIAL_PROTECTION: 8, + AXIAL_PROTECTION = 8, /** * Protection fibers presence check (color, density) in UV light */ - UV_FIBERS: 16, + UV_FIBERS = 16, /** * Document elements visibility check in IR light */ - IR_VISIBILITY: 32, + IR_VISIBILITY = 32, /** * OCR for the text field in UV light comparison with other text sources check */ - OCR_SECURITY_TEXT: 64, + OCR_SECURITY_TEXT = 64, /** * Invisible Personal Information (IPI) visualization */ - IPI: 128, + IPI = 128, /** * Document photo check in IR light */ - IR_PHOTO: 256, + IR_PHOTO = 256, /** * Owner's photo embedding check (is photo printed or sticked) */ - PHOTO_EMBED_TYPE: 512, + PHOTO_EMBED_TYPE = 512, /** * OVI check. Deprecated, use Document liveness check instead */ - OVI: 1024, + OVI = 1024, /** * IR luminescence check */ - IR_LUMINESCENCE: 2048, + IR_LUMINESCENCE = 2048, /** * Hologram presence check. Deprecated */ - HOLOGRAMS: 4096, + HOLOGRAMS = 4096, /** * Owner's photo area advanced check (photo shape, size, position, etc.) */ - PHOTO_AREA: 8192, + PHOTO_AREA = 8192, /** * UV background check */ - UV_BACKGROUND: 16384, + UV_BACKGROUND = 16384, /** * Portrait comparison check (document printed vs chip vs live) */ - PORTRAIT_COMPARISON: 32768, + PORTRAIT_COMPARISON = 32768, /** * Barcode format check (code metadata, data format, contents format, etc.) */ - BARCODE_FORMAT_CHECK: 65536, + BARCODE_FORMAT_CHECK = 65536, /** * Kinegram check */ - KINEGRAM: 131072, + KINEGRAM = 131072, /** * LetterScreen check */ - LETTER_SCREEN: 262144, + LETTER_SCREEN = 262144, /** * Hologram detection and validation check */ - HOLOGRAM_DETECTION: 524288, + HOLOGRAM_DETECTION = 524288, /** * Fingerprint comparison check */ - FINGERPRINT_COMPARISON: 1048576, + FINGERPRINT_COMPARISON = 1048576, /** * Document liveness check */ - LIVENESS: 2097152, + LIVENESS = 2097152, /** * Extended OCR Check */ - EXTENDED_OCR_CHECK: 4194304, + EXTENDED_OCR_CHECK = 4194304, /** * Extended MRZ check */ - EXTENDED_MRZ_CHECK: 8388608, + EXTENDED_MRZ_CHECK = 8388608, /** * Encrypted IPI */ - ENCRYPTED_IPI: 16777216, + ENCRYPTED_IPI = 16777216, /** * Flag for status-only authenticity */ - STATUS_ONLY: 2147483648 -} as const; - -export type AuthenticityResultType = typeof AuthenticityResultType[keyof typeof AuthenticityResultType]; + STATUS_ONLY = 2147483648 +} diff --git a/src/models/bar-code-module-type.ts b/src/models/bar-code-module-type.ts index c5ba2d65..5e363aee 100644 --- a/src/models/bar-code-module-type.ts +++ b/src/models/bar-code-module-type.ts @@ -15,33 +15,30 @@ /** -* -* @export -* @enum {string} -*/ - -export const BarCodeModuleType = { + * + * @export + * @enum {string} + */ +export enum BarCodeModuleType { /** * Module contains text data */ - TEXT: 0, + TEXT = 0, /** * Module contains byte data */ - BYTE: 1, + BYTE = 1, /** * Module contains numeric data */ - NUM: 2, + NUM = 2, /** * Shifts in byte compaction mode (for PDF417) */ - SHIFT: 3, + SHIFT = 3, /** * Module contains any data */ - ALL: 4 -} as const; - -export type BarCodeModuleType = typeof BarCodeModuleType[keyof typeof BarCodeModuleType]; + ALL = 4 +} diff --git a/src/models/barcode-type.ts b/src/models/barcode-type.ts index e87b358e..78443750 100644 --- a/src/models/barcode-type.ts +++ b/src/models/barcode-type.ts @@ -15,97 +15,94 @@ /** -* Enumeration contains the types of barcodes that can be processed -* @export -* @enum {string} -*/ - -export const BarcodeType = { + * Enumeration contains the types of barcodes that can be processed + * @export + * @enum {string} + */ +export enum BarcodeType { /** * Unknown type */ - UNKNOWN: 0, + UNKNOWN = 0, /** * One-dimensional bar-code, ISO 15417 (ANSI/AIM BC4-1999 Code 128) */ - CODE128: 1, + CODE128 = 1, /** * One-dimensional bar-code, ISO 16388 (ANSI/AIM BC1-1995 Code 39) */ - CODE39: 2, + CODE39 = 2, /** * One-dimensional bar-code, EAN8, ISO 15418 */ - EAN8: 3, + EAN8 = 3, /** * One-dimensional bar-code, Interleaved 2 of 5, ISO 16390 (ANSI/AIM BC2-1995 Interleaved 2 of 5) */ - ITF: 4, + ITF = 4, /** * Two-dimensional bar-code, ISO 15438 (AIM USS PDF417) */ - PDF417: 5, + PDF417 = 5, /** * One-dimensional bar-code, Standard 2 of 5 (Industrial) */ - STF: 6, + STF = 6, /** * One-dimensional bar-code, Matrix 2 of 5 */ - MTF: 7, + MTF = 7, /** * One-dimensional bar-code, IATA 2 of 5 (Airline) */ - IATA: 8, + IATA = 8, /** * One-dimensional bar-code, (ANSI/AIM BC3-1995, USS - Codabar) */ - CODABAR: 9, + CODABAR = 9, /** * One-dimensional bar-code, UPC-A */ - UPCA: 10, + UPCA = 10, /** * One-dimensional bar-code, (ANSI/AIM BC5-1995, USS - Code 93) */ - CODE93: 11, + CODE93 = 11, /** * One-dimensional bar-code, UPC-E */ - UPCE: 12, + UPCE = 12, /** * One-dimensional bar-code, EAN13, ISO 15418 */ - EAN13: 13, + EAN13 = 13, /** * Two-dimensional QRCODE bar-code */ - QRCODE: 14, + QRCODE = 14, /** * Two-dimensional AZTEC bar-code */ - AZTEC: 15, + AZTEC = 15, /** * Two-dimensional DATAMATRIX bar-code */ - DATAMATRIX: 16, + DATAMATRIX = 16, /** * Type for internal use, representing all 1D bar-codes */ - ALL_1D: 17, + ALL_1D = 17, /** * One-dimensional bar-code CODE11 */ - CODE11: 18, + CODE11 = 18, /** * JAB code */ - JABCODE: 19, + JABCODE = 19, /** * For internal use */ - END: 20 -} as const; - -export type BarcodeType = typeof BarcodeType[keyof typeof BarcodeType]; + END = 20 +} diff --git a/src/models/bc-pdf417-info.ts b/src/models/bc-pdf417-info.ts index 3ebe559a..d62885cb 100644 --- a/src/models/bc-pdf417-info.ts +++ b/src/models/bc-pdf417-info.ts @@ -15,45 +15,45 @@ /** -* -* @export -* @interface BcPDF417INFO -*/ + * + * @export + * @interface BcPDF417INFO + */ export interface BcPDF417INFO { /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ Angle: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ bcColumn: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ bcErrorLevel: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ bcRow: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ minX: number; /** - * - * @type {number} - * @memberof BcPDF417INFO - */ + * + * @type {number} + * @memberof BcPDF417INFO + */ minY: number; } diff --git a/src/models/bc-roidetect.ts b/src/models/bc-roidetect.ts index 01cf02b8..2cbbfb5c 100644 --- a/src/models/bc-roidetect.ts +++ b/src/models/bc-roidetect.ts @@ -15,33 +15,33 @@ /** -* -* @export -* @interface BcROIDETECT -*/ + * + * @export + * @interface BcROIDETECT + */ export interface BcROIDETECT { /** - * - * @type {number} - * @memberof BcROIDETECT - */ + * + * @type {number} + * @memberof BcROIDETECT + */ bottom: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ + * + * @type {number} + * @memberof BcROIDETECT + */ left: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ + * + * @type {number} + * @memberof BcROIDETECT + */ right: number; /** - * - * @type {number} - * @memberof BcROIDETECT - */ + * + * @type {number} + * @memberof BcROIDETECT + */ top: number; } diff --git a/src/models/binary-data.ts b/src/models/binary-data.ts index 036b58a7..47ed4682 100644 --- a/src/models/binary-data.ts +++ b/src/models/binary-data.ts @@ -13,31 +13,399 @@ */ +import type { DetailsRFID } from './details-rfid'; import type { RfidDG1 } from './rfid-dg1'; +import type { RfidDataFileType } from './rfid-data-file-type'; import type { RfidSessionData } from './rfid-session-data'; /** -* Structure is used for storing the results of one bar-code module reading. -* @export -* @interface BinaryData -*/ + * Structure is used for storing the results of one bar-code module reading. + * @export + * @interface BinaryData + */ export interface BinaryData { /** - * - * @type {RfidDG1} - * @memberof BinaryData - */ - RFID_DG1: RfidDG1; - /** - * - * @type {RfidSessionData} - * @memberof BinaryData - */ - RFID_Session_Data: RfidSessionData; - /** - * Indexes of groups that aren\'t read - * @type {Array} - * @memberof BinaryData - */ - RFID_ePassp_Directory: Array; + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_Authentication_Info?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_MIFARE_Data_Validity?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_MIFARE_Data?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_EF_COM?: { [key: string]: object; }; + /** + * + * @type {RfidDG1} + * @memberof BinaryData + */ + RFID_DG1?: RfidDG1; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG2?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG3?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG4?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG5?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG6?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG7?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG8?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG9?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG10?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG11?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG12?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG13?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG14?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG15?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_DG16?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + RFID_EF_SOD?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG1?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG2?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG3?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG4?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG5?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG6?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG7?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG8?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG9?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG10?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG11?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG12?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG13?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG14?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG15?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG16?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG17?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG18?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG19?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG20?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eID_DG21?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_COM?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_SOD?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG1?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG2?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG3?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG4?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG5?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG6?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG7?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG8?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG9?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG10?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG11?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG12?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG13?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + eDL_DG14?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + Visible_Digital_Seal?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + Visible_Digital_Seal_NC?: { [key: string]: object; }; + /** + * + * @type {{ [key: string]: object; }} + * @memberof BinaryData + */ + Digital_Signature?: { [key: string]: object; }; + /** + * + * @type {RfidSessionData} + * @memberof BinaryData + */ + RFID_Session_Data?: RfidSessionData; + /** + * + * @type {DetailsRFID} + * @memberof BinaryData + */ + RFID_Session_Data_Status?: DetailsRFID; + /** + * Indexes of groups that aren\'t read + * @type {Array} + * @memberof BinaryData + */ + RFID_ePassp_Directory?: Array; } diff --git a/src/models/check-diagnose.ts b/src/models/check-diagnose.ts index 2103a837..b4f2f7c7 100644 --- a/src/models/check-diagnose.ts +++ b/src/models/check-diagnose.ts @@ -15,134 +15,131 @@ /** -* Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/ -* @export -* @enum {string} -*/ - -export const CheckDiagnose = { - UNKNOWN: 0, - PASS: 1, - INVALID_INPUT_DATA: 2, - INTERNAL_ERROR: 3, - EXCEPTION_IN_MODULE: 4, - UNCERTAIN_VERIFICATION: 5, - NECESSARY_IMAGE_NOT_FOUND: 7, - PHOTO_SIDES_NOT_FOUND: 8, - INVALID_CHECKSUM: 10, - SYNTAX_ERROR: 11, - LOGIC_ERROR: 12, - SOURCES_COMPARISON_ERROR: 13, - FIELDS_COMPARISON_LOGIC_ERROR: 14, - INVALID_FIELD_FORMAT: 15, - TRUE_LUMINESCENCE_ERROR: 20, - FALSE_LUMINESCENCE_ERROR: 21, - FIXED_PATTERN_ERROR: 22, - LOW_CONTRAST_IN_IR_LIGHT: 23, - INCORRECT_BACKGROUND_LIGHT: 24, - BACKGROUND_COMPARISON_ERROR: 25, - INCORRECT_TEXT_COLOR: 26, - PHOTO_FALSE_LUMINESCENCE: 27, - TOO_MUCH_SHIFT: 28, - CONTACT_CHIP_TYPE_MISMATCH: 29, - FIBERS_NOT_FOUND: 30, - TOO_MANY_OBJECTS: 31, - SPECKS_IN_UV: 33, - TOO_LOW_RESOLUTION: 34, - INVISIBLE_ELEMENT_PRESENT: 40, - VISIBLE_ELEMENT_ABSENT: 41, - ELEMENT_SHOULD_BE_COLORED: 42, - ELEMENT_SHOULD_BE_GRAYSCALE: 43, - PHOTO_WHITE_IR_DONT_MATCH: 44, - UV_DULL_PAPER_MRZ: 50, - FALSE_LUMINESCENCE_IN_MRZ: 51, - UV_DULL_PAPER_PHOTO: 52, - UV_DULL_PAPER_BLANK: 53, - UV_DULL_PAPER_ERROR: 54, - FALSE_LUMINESCENCE_IN_BLANK: 55, - BAD_AREA_IN_AXIAL: 60, - FALSE_IPI_PARAMETERS: 65, - ENCRYPTED_IPI_NOT_FOUND: 66, - ENCRYPTED_IPI_DATA_DONT_MATCH: 67, - FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80, - FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81, - FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82, - FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83, - FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84, - FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85, - OVI_IR_INVISIBLE: 90, - OVI_INSUFFICIENT_AREA: 91, - OVI_COLOR_INVARIABLE: 92, - OVI_BAD_COLOR_FRONT: 93, - OVI_BAD_COLOR_SIDE: 94, - OVI_WIDE_COLOR_SPREAD: 95, - OVI_BAD_COLOR_PERCENT: 96, - HOLOGRAM_ELEMENT_ABSENT: 100, - HOLOGRAM_SIDE_TOP_IMAGES_ABSENT: 101, - HOLOGRAM_ELEMENT_PRESENT: 102, - HOLOGRAM_FRAMES_IS_ABSENT: 103, - HOLOGRAM_HOLO_FIELD_IS_ABSENT: 104, - PHOTO_PATTERN_INTERRUPTED: 110, - PHOTO_PATTERN_SHIFTED: 111, - PHOTO_PATTERN_DIFFERENT_COLORS: 112, - PHOTO_PATTERN_IR_VISIBLE: 113, - PHOTO_PATTERN_NOT_INTERSECT: 114, - PHOTO_SIZE_IS_WRONG: 115, - PHOTO_PATTERN_INVALID_COLOR: 116, - PHOTO_PATTERN_SHIFTED_VERT: 117, - PHOTO_PATTERN_PATTERN_NOT_FOUND: 118, - PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS: 119, - PHOTO_IS_NOT_RECTANGLE: 120, - PHOTO_CORNERS_IS_WRONG: 121, - DOCUMENT_IS_CANCELLING: 122, - TEXT_COLOR_SHOULD_BE_BLUE: 130, - TEXT_COLOR_SHOULD_BE_GREEN: 131, - TEXT_COLOR_SHOULD_BE_RED: 132, - TEXT_SHOULD_BE_BLACK: 133, - BARCODE_WAS_READ_WITH_ERRORS: 140, - BARCODE_DATA_FORMAT_ERROR: 141, - BARCODE_SIZE_PARAMS_ERROR: 142, - NOT_ALL_BARCODES_READ: 143, - GLARES_IN_BARCODE_AREA: 144, - PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150, - PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151, - PORTRAIT_COMPARISON_SERVICE_ERROR: 152, - PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES: 153, - PORTRAIT_COMPARISON_NO_LIVE_PHOTO: 154, - PORTRAIT_COMPARISON_NO_SERVICE_LICENSE: 155, - PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED: 156, - MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS: 160, - MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE: 161, - FINGERPRINTS_COMPARISON_MISMATCH: 170, - HOLO_PHOTO_FACE_NOT_DETECTED: 180, - HOLO_PHOTO_FACE_COMPARISON_FAILED: 181, - HOLO_PHOTO_GLARE_IN_CENTER_ABSENT: 182, - HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR: 183, - HOLO_PHOTO_ALGORITHMS_STEPS_ERROR: 184, - HOLO_PHOTO_HOLO_AREAS_NOT_LOADED: 185, - HOLO_PHOTO_FINISHED_BY_TIMEOUT: 186, - HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME: 187, - LIVENESS_DEPTH_CHECK_FAILED: 190, - MRZ_QUALITY_WRONG_SYMBOL_POSITION: 200, - MRZ_QUALITY_WRONG_BACKGROUND: 201, - MRZ_QUALITY_WRONG_MRZ_WIDTH: 202, - MRZ_QUALITY_WRONG_MRZ_HEIGHT: 203, - MRZ_QUALITY_WRONG_LINE_POSITION: 204, - MRZ_QUALITY_WRONG_FONT_TYPE: 205, - OCR_QUALITY_TEXT_POSITION: 220, - OCR_QUALITY_INVALID_FONT: 221, - OCR_QUALITY_INVALID_BACKGROUND: 222, - LASINK_INVALID_LINES_FREQUENCY: 230, - DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240, - DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241, - CHD_ICAO_IDB_BASE32_ERROR: 243, - CHD_ICAO_IDB_ZIPPED_ERROR: 244, - CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY: 245, - CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246, - CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247, - CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248, - CHD_INCORRECT_OBJECT_COLOR: 250 -} as const; - -export type CheckDiagnose = typeof CheckDiagnose[keyof typeof CheckDiagnose]; + * Enumeration contains identifiers which determinate the single document element authenticity check outcome reason: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/check-diagnose/ + * @export + * @enum {string} + */ +export enum CheckDiagnose { + UNKNOWN = 0, + PASS = 1, + INVALID_INPUT_DATA = 2, + INTERNAL_ERROR = 3, + EXCEPTION_IN_MODULE = 4, + UNCERTAIN_VERIFICATION = 5, + NECESSARY_IMAGE_NOT_FOUND = 7, + PHOTO_SIDES_NOT_FOUND = 8, + INVALID_CHECKSUM = 10, + SYNTAX_ERROR = 11, + LOGIC_ERROR = 12, + SOURCES_COMPARISON_ERROR = 13, + FIELDS_COMPARISON_LOGIC_ERROR = 14, + INVALID_FIELD_FORMAT = 15, + TRUE_LUMINESCENCE_ERROR = 20, + FALSE_LUMINESCENCE_ERROR = 21, + FIXED_PATTERN_ERROR = 22, + LOW_CONTRAST_IN_IR_LIGHT = 23, + INCORRECT_BACKGROUND_LIGHT = 24, + BACKGROUND_COMPARISON_ERROR = 25, + INCORRECT_TEXT_COLOR = 26, + PHOTO_FALSE_LUMINESCENCE = 27, + TOO_MUCH_SHIFT = 28, + CONTACT_CHIP_TYPE_MISMATCH = 29, + FIBERS_NOT_FOUND = 30, + TOO_MANY_OBJECTS = 31, + SPECKS_IN_UV = 33, + TOO_LOW_RESOLUTION = 34, + INVISIBLE_ELEMENT_PRESENT = 40, + VISIBLE_ELEMENT_ABSENT = 41, + ELEMENT_SHOULD_BE_COLORED = 42, + ELEMENT_SHOULD_BE_GRAYSCALE = 43, + PHOTO_WHITE_IR_DONT_MATCH = 44, + UV_DULL_PAPER_MRZ = 50, + FALSE_LUMINESCENCE_IN_MRZ = 51, + UV_DULL_PAPER_PHOTO = 52, + UV_DULL_PAPER_BLANK = 53, + UV_DULL_PAPER_ERROR = 54, + FALSE_LUMINESCENCE_IN_BLANK = 55, + BAD_AREA_IN_AXIAL = 60, + FALSE_IPI_PARAMETERS = 65, + ENCRYPTED_IPI_NOT_FOUND = 66, + ENCRYPTED_IPI_DATA_DONT_MATCH = 67, + FIELD_POS_CORRECTOR_HIGHLIGHT_IR = 80, + FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA = 81, + FIELD_POS_CORRECTOR_PHOTO_REPLACED = 82, + FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR = 83, + FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR = 84, + FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR = 85, + OVI_IR_INVISIBLE = 90, + OVI_INSUFFICIENT_AREA = 91, + OVI_COLOR_INVARIABLE = 92, + OVI_BAD_COLOR_FRONT = 93, + OVI_BAD_COLOR_SIDE = 94, + OVI_WIDE_COLOR_SPREAD = 95, + OVI_BAD_COLOR_PERCENT = 96, + HOLOGRAM_ELEMENT_ABSENT = 100, + HOLOGRAM_SIDE_TOP_IMAGES_ABSENT = 101, + HOLOGRAM_ELEMENT_PRESENT = 102, + HOLOGRAM_FRAMES_IS_ABSENT = 103, + HOLOGRAM_HOLO_FIELD_IS_ABSENT = 104, + PHOTO_PATTERN_INTERRUPTED = 110, + PHOTO_PATTERN_SHIFTED = 111, + PHOTO_PATTERN_DIFFERENT_COLORS = 112, + PHOTO_PATTERN_IR_VISIBLE = 113, + PHOTO_PATTERN_NOT_INTERSECT = 114, + PHOTO_SIZE_IS_WRONG = 115, + PHOTO_PATTERN_INVALID_COLOR = 116, + PHOTO_PATTERN_SHIFTED_VERT = 117, + PHOTO_PATTERN_PATTERN_NOT_FOUND = 118, + PHOTO_PATTERN_DIFFERENT_LINES_THICKNESS = 119, + PHOTO_IS_NOT_RECTANGLE = 120, + PHOTO_CORNERS_IS_WRONG = 121, + DOCUMENT_IS_CANCELLING = 122, + TEXT_COLOR_SHOULD_BE_BLUE = 130, + TEXT_COLOR_SHOULD_BE_GREEN = 131, + TEXT_COLOR_SHOULD_BE_RED = 132, + TEXT_SHOULD_BE_BLACK = 133, + BARCODE_WAS_READ_WITH_ERRORS = 140, + BARCODE_DATA_FORMAT_ERROR = 141, + BARCODE_SIZE_PARAMS_ERROR = 142, + NOT_ALL_BARCODES_READ = 143, + GLARES_IN_BARCODE_AREA = 144, + PORTRAIT_COMPARISON_PORTRAITS_DIFFER = 150, + PORTRAIT_COMPARISON_NO_SERVICE_REPLY = 151, + PORTRAIT_COMPARISON_SERVICE_ERROR = 152, + PORTRAIT_COMPARISON_NOT_ENOUGH_IMAGES = 153, + PORTRAIT_COMPARISON_NO_LIVE_PHOTO = 154, + PORTRAIT_COMPARISON_NO_SERVICE_LICENSE = 155, + PORTRAIT_COMPARISON_NO_PORTRAIT_DETECTED = 156, + MOBILE_IMAGES_UNSUITABLE_LIGHT_CONDITIONS = 160, + MOBILE_IMAGES_WHITE_UV_NO_DIFFERENCE = 161, + FINGERPRINTS_COMPARISON_MISMATCH = 170, + HOLO_PHOTO_FACE_NOT_DETECTED = 180, + HOLO_PHOTO_FACE_COMPARISON_FAILED = 181, + HOLO_PHOTO_GLARE_IN_CENTER_ABSENT = 182, + HOLO_PHOTO_HOLO_ELEMENT_SHAPE_ERROR = 183, + HOLO_PHOTO_ALGORITHMS_STEPS_ERROR = 184, + HOLO_PHOTO_HOLO_AREAS_NOT_LOADED = 185, + HOLO_PHOTO_FINISHED_BY_TIMEOUT = 186, + HOLO_PHOTO_DOCUMENT_OUTSIDE_FRAME = 187, + LIVENESS_DEPTH_CHECK_FAILED = 190, + MRZ_QUALITY_WRONG_SYMBOL_POSITION = 200, + MRZ_QUALITY_WRONG_BACKGROUND = 201, + MRZ_QUALITY_WRONG_MRZ_WIDTH = 202, + MRZ_QUALITY_WRONG_MRZ_HEIGHT = 203, + MRZ_QUALITY_WRONG_LINE_POSITION = 204, + MRZ_QUALITY_WRONG_FONT_TYPE = 205, + OCR_QUALITY_TEXT_POSITION = 220, + OCR_QUALITY_INVALID_FONT = 221, + OCR_QUALITY_INVALID_BACKGROUND = 222, + LASINK_INVALID_LINES_FREQUENCY = 230, + DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED = 240, + DOC_LIVENESS_INVALID_BARCODE_BACKGROUND = 241, + CHD_ICAO_IDB_BASE32_ERROR = 243, + CHD_ICAO_IDB_ZIPPED_ERROR = 244, + CHD_ICAO_IDB_MESSAGE_ZONE_EMPTY = 245, + CHD_ICAO_IDB_SIGNATURE_MUST_BE_PRESENT = 246, + CHD_ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT = 247, + CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT = 248, + CHD_INCORRECT_OBJECT_COLOR = 250 +} diff --git a/src/models/check-result.ts b/src/models/check-result.ts index 4d7ed1c7..b5b5d224 100644 --- a/src/models/check-result.ts +++ b/src/models/check-result.ts @@ -15,25 +15,22 @@ /** -* 0 - result is negative; 1 - result is positive; 2 - сheck was not performed -* @export -* @enum {string} -*/ - -export const CheckResult = { + * 0 - result is negative; 1 - result is positive; 2 - сheck was not performed + * @export + * @enum {string} + */ +export enum CheckResult { /** * Check was performed and result is NEGATIVE */ - ERROR: 0, + ERROR = 0, /** * Check was performed and result is POSITIVE */ - OK: 1, + OK = 1, /** * Check was NOT PERFORMED */ - WAS_NOT_DONE: 2 -} as const; - -export type CheckResult = typeof CheckResult[keyof typeof CheckResult]; + WAS_NOT_DONE = 2 +} diff --git a/src/models/chosen-document-type-result-all-of.ts b/src/models/chosen-document-type-result-all-of.ts index 11f37bb4..067600ad 100644 --- a/src/models/chosen-document-type-result-all-of.ts +++ b/src/models/chosen-document-type-result-all-of.ts @@ -16,21 +16,21 @@ import type { OneCandidate } from './one-candidate'; /** -* -* @export -* @interface ChosenDocumentTypeResultAllOf -*/ + * + * @export + * @interface ChosenDocumentTypeResultAllOf + */ export interface ChosenDocumentTypeResultAllOf { /** - * - * @type {OneCandidate} - * @memberof ChosenDocumentTypeResultAllOf - */ + * + * @type {OneCandidate} + * @memberof ChosenDocumentTypeResultAllOf + */ OneCandidate: OneCandidate; /** - * - * @type {string} - * @memberof ChosenDocumentTypeResultAllOf - */ + * + * @type {string} + * @memberof ChosenDocumentTypeResultAllOf + */ XML_buffer?: string; } diff --git a/src/models/chosen-document-type.ts b/src/models/chosen-document-type.ts index 2863a642..a296fc7d 100644 --- a/src/models/chosen-document-type.ts +++ b/src/models/chosen-document-type.ts @@ -17,75 +17,75 @@ import type { FDSIDList } from './fdsidlist'; import type { RfidLocation } from './rfid-location'; /** -* Contains information about one document type candidate -* @export -* @interface ChosenDocumentType -*/ + * Contains information about one document type candidate + * @export + * @interface ChosenDocumentType + */ export interface ChosenDocumentType { /** - * Document name - * @type {string} - * @memberof ChosenDocumentType - */ + * Document name + * @type {string} + * @memberof ChosenDocumentType + */ DocumentName: string; /** - * Unique document type template identifier (Regula\'s internal numeric code) - * @type {number} - * @memberof ChosenDocumentType - */ + * Unique document type template identifier (Regula\'s internal numeric code) + * @type {number} + * @memberof ChosenDocumentType + */ ID: number; /** - * A measure of the likelihood of correct recognition in the analysis of this type of document - * @type {number} - * @memberof ChosenDocumentType - */ + * A measure of the likelihood of correct recognition in the analysis of this type of document + * @type {number} + * @memberof ChosenDocumentType + */ P: number; /** - * true if the document of the given type is rotated by 180 degrees - * @type {boolean} - * @memberof ChosenDocumentType - */ + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof ChosenDocumentType + */ Rotated180: boolean; /** - * - * @type {RfidLocation} - * @memberof ChosenDocumentType - */ + * + * @type {RfidLocation} + * @memberof ChosenDocumentType + */ RFID_Presence: RfidLocation; /** - * - * @type {FDSIDList} - * @memberof ChosenDocumentType - */ + * + * @type {FDSIDList} + * @memberof ChosenDocumentType + */ FDSIDList: FDSIDList; /** - * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document - * @type {number} - * @memberof ChosenDocumentType - */ + * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document + * @type {number} + * @memberof ChosenDocumentType + */ NecessaryLights: number; /** - * Set of authentication options provided for this type of document (combination of Authenticity enum) - * @type {number} - * @memberof ChosenDocumentType - */ + * Set of authentication options provided for this type of document (combination of Authenticity enum) + * @type {number} + * @memberof ChosenDocumentType + */ CheckAuthenticity: number; /** - * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme - * @type {number} - * @memberof ChosenDocumentType - */ + * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme + * @type {number} + * @memberof ChosenDocumentType + */ UVExp: number; /** - * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity - * @type {number} - * @memberof ChosenDocumentType - */ + * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity + * @type {number} + * @memberof ChosenDocumentType + */ AuthenticityNecessaryLights: number; /** - * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme - * @type {number} - * @memberof ChosenDocumentType - */ + * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme + * @type {number} + * @memberof ChosenDocumentType + */ OVIExp: number; } diff --git a/src/models/container-list.ts b/src/models/container-list.ts index b33b5b59..f3420df8 100644 --- a/src/models/container-list.ts +++ b/src/models/container-list.ts @@ -31,21 +31,21 @@ import type { TextDataResult } from './text-data-result'; import type { TextResult } from './text-result'; /** -* List with various objects, containing processing results -* @export -* @interface ContainerList -*/ + * List with various objects, containing processing results + * @export + * @interface ContainerList + */ export interface ContainerList { /** - * Length of list (Count for items) - * @type {number} - * @memberof ContainerList - */ + * Length of list (Count for items) + * @type {number} + * @memberof ContainerList + */ Count: number; /** - * - * @type {Array} - * @memberof ContainerList - */ + * + * @type {Array} + * @memberof ContainerList + */ List: Array; } diff --git a/src/models/critical.ts b/src/models/critical.ts index 8603850c..b13054b5 100644 --- a/src/models/critical.ts +++ b/src/models/critical.ts @@ -15,21 +15,18 @@ /** -* Enumeration contains identifiers determining the criticality of the security element -* @export -* @enum {string} -*/ - -export const Critical = { + * Enumeration contains identifiers determining the criticality of the security element + * @export + * @enum {string} + */ +export enum Critical { /** * Security element may be absent in a valid document */ - NOT_CRITICAL: 0, + NOT_CRITICAL = 0, /** * Security element must be present in a valid document */ - CRITICAL: 1 -} as const; - -export type Critical = typeof Critical[keyof typeof Critical]; + CRITICAL = 1 +} diff --git a/src/models/cross-source-value-comparison.ts b/src/models/cross-source-value-comparison.ts index cdcb620a..4e6e9056 100644 --- a/src/models/cross-source-value-comparison.ts +++ b/src/models/cross-source-value-comparison.ts @@ -17,27 +17,27 @@ import type { CheckResult } from './check-result'; import type { Source } from './source'; /** -* -* @export -* @interface CrossSourceValueComparison -*/ + * + * @export + * @interface CrossSourceValueComparison + */ export interface CrossSourceValueComparison { /** - * - * @type {Source} - * @memberof CrossSourceValueComparison - */ + * + * @type {Source} + * @memberof CrossSourceValueComparison + */ sourceLeft: Source; /** - * - * @type {Source} - * @memberof CrossSourceValueComparison - */ + * + * @type {Source} + * @memberof CrossSourceValueComparison + */ sourceRight: Source; /** - * - * @type {CheckResult} - * @memberof CrossSourceValueComparison - */ + * + * @type {CheckResult} + * @memberof CrossSourceValueComparison + */ status: CheckResult; } diff --git a/src/models/data-module.ts b/src/models/data-module.ts index f3f5a459..6c4c730d 100644 --- a/src/models/data-module.ts +++ b/src/models/data-module.ts @@ -16,39 +16,39 @@ import type { BarCodeModuleType } from './bar-code-module-type'; /** -* -* @export -* @interface DataModule -*/ + * + * @export + * @interface DataModule + */ export interface DataModule { /** - * - * @type {string} - * @memberof DataModule - */ + * + * @type {string} + * @memberof DataModule + */ mData: string; /** - * - * @type {number} - * @memberof DataModule - */ + * + * @type {number} + * @memberof DataModule + */ mLength: number; /** - * - * @type {number} - * @memberof DataModule - */ + * + * @type {number} + * @memberof DataModule + */ mReserved1?: number; /** - * - * @type {number} - * @memberof DataModule - */ + * + * @type {number} + * @memberof DataModule + */ mReserver2?: number; /** - * - * @type {BarCodeModuleType} - * @memberof DataModule - */ + * + * @type {BarCodeModuleType} + * @memberof DataModule + */ mType: BarCodeModuleType; } diff --git a/src/models/details-optical.ts b/src/models/details-optical.ts index 982bd772..bfd285ec 100644 --- a/src/models/details-optical.ts +++ b/src/models/details-optical.ts @@ -16,57 +16,57 @@ import type { CheckResult } from './check-result'; /** -* -* @export -* @interface DetailsOptical -*/ + * + * @export + * @interface DetailsOptical + */ export interface DetailsOptical { /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ docType: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ expiry: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ imageQA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ mrz: CheckResult; /** - * Number of processed pages in the document - * @type {number} - * @memberof DetailsOptical - */ + * Number of processed pages in the document + * @type {number} + * @memberof DetailsOptical + */ pagesCount: number; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ security: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsOptical - */ + * + * @type {CheckResult} + * @memberof DetailsOptical + */ text: CheckResult; } diff --git a/src/models/details-rfid.ts b/src/models/details-rfid.ts index ac5e0471..9d9342bf 100644 --- a/src/models/details-rfid.ts +++ b/src/models/details-rfid.ts @@ -16,51 +16,51 @@ import type { CheckResult } from './check-result'; /** -* -* @export -* @interface DetailsRFID -*/ + * + * @export + * @interface DetailsRFID + */ export interface DetailsRFID { /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ AA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ BAC: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ CA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ PA: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ PACE: CheckResult; /** - * - * @type {CheckResult} - * @memberof DetailsRFID - */ + * + * @type {CheckResult} + * @memberof DetailsRFID + */ TA: CheckResult; } diff --git a/src/models/device-info-deprecated.ts b/src/models/device-info-deprecated.ts new file mode 100644 index 00000000..5e550b3e --- /dev/null +++ b/src/models/device-info-deprecated.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface DeviceInfoDeprecated + */ +export interface DeviceInfoDeprecated { + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + app_name?: string; + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + version?: string; + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + license_id?: string; + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + license_serial?: string; + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + valid_until?: string; + /** + * + * @type {string} + * @memberof DeviceInfoDeprecated + */ + server_time?: string; +} diff --git a/src/models/device-info.ts b/src/models/device-info.ts index 23b22441..e4c87c70 100644 --- a/src/models/device-info.ts +++ b/src/models/device-info.ts @@ -15,45 +15,51 @@ /** -* -* @export -* @interface DeviceInfo -*/ + * + * @export + * @interface DeviceInfo + */ export interface DeviceInfo { /** - * - * @type {string} - * @memberof DeviceInfo - */ - app_name?: string; + * + * @type {string} + * @memberof DeviceInfo + */ + app?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ - version?: string; + * + * @type {string} + * @memberof DeviceInfo + */ + licenseId?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ - license_id?: string; + * + * @type {string} + * @memberof DeviceInfo + */ + licenseType?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ - license_serial?: string; + * + * @type {string} + * @memberof DeviceInfo + */ + licenseSerial?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ - valid_until?: string; + * + * @type {string} + * @memberof DeviceInfo + */ + licenseValidUntil?: string; /** - * - * @type {string} - * @memberof DeviceInfo - */ - server_time?: string; + * + * @type {Array} + * @memberof DeviceInfo + */ + scenarios?: Array; + /** + * + * @type {string} + * @memberof DeviceInfo + */ + version?: string; } diff --git a/src/models/doc-bar-code-info-all-of.ts b/src/models/doc-bar-code-info-all-of.ts index 0c697f4c..da452bb8 100644 --- a/src/models/doc-bar-code-info-all-of.ts +++ b/src/models/doc-bar-code-info-all-of.ts @@ -16,15 +16,15 @@ import type { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; /** -* -* @export -* @interface DocBarCodeInfoAllOf -*/ + * + * @export + * @interface DocBarCodeInfoAllOf + */ export interface DocBarCodeInfoAllOf { /** - * - * @type {DocBarCodeInfoFieldsList} - * @memberof DocBarCodeInfoAllOf - */ + * + * @type {DocBarCodeInfoFieldsList} + * @memberof DocBarCodeInfoAllOf + */ DocBarCodeInfo: DocBarCodeInfoFieldsList; } diff --git a/src/models/doc-bar-code-info-fields-list.ts b/src/models/doc-bar-code-info-fields-list.ts index cf07a65c..a0854498 100644 --- a/src/models/doc-bar-code-info-fields-list.ts +++ b/src/models/doc-bar-code-info-fields-list.ts @@ -16,21 +16,21 @@ import type { PArrayField } from './parray-field'; /** -* -* @export -* @interface DocBarCodeInfoFieldsList -*/ + * + * @export + * @interface DocBarCodeInfoFieldsList + */ export interface DocBarCodeInfoFieldsList { /** - * Count of array fields - * @type {number} - * @memberof DocBarCodeInfoFieldsList - */ + * Count of array fields + * @type {number} + * @memberof DocBarCodeInfoFieldsList + */ nFields: number; /** - * Data from barcode - * @type {Array} - * @memberof DocBarCodeInfoFieldsList - */ + * Data from barcode + * @type {Array} + * @memberof DocBarCodeInfoFieldsList + */ pArrayFields: Array; } diff --git a/src/models/doc-visual-extended-field-rect-all-of.ts b/src/models/doc-visual-extended-field-rect-all-of.ts index 8cad6c1e..b2f602d9 100644 --- a/src/models/doc-visual-extended-field-rect-all-of.ts +++ b/src/models/doc-visual-extended-field-rect-all-of.ts @@ -16,15 +16,15 @@ import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface DocVisualExtendedFieldRectAllOf -*/ + * + * @export + * @interface DocVisualExtendedFieldRectAllOf + */ export interface DocVisualExtendedFieldRectAllOf { /** - * - * @type {RectangleCoordinates} - * @memberof DocVisualExtendedFieldRectAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof DocVisualExtendedFieldRectAllOf + */ FieldRect?: RectangleCoordinates; } diff --git a/src/models/doc-visual-extended-field-rfid-all-of.ts b/src/models/doc-visual-extended-field-rfid-all-of.ts index c2cfdea2..22645e80 100644 --- a/src/models/doc-visual-extended-field-rfid-all-of.ts +++ b/src/models/doc-visual-extended-field-rfid-all-of.ts @@ -16,33 +16,33 @@ import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; /** -* -* @export -* @interface DocVisualExtendedFieldRfidAllOf -*/ + * + * @export + * @interface DocVisualExtendedFieldRfidAllOf + */ export interface DocVisualExtendedFieldRfidAllOf { /** - * - * @type {RfidDataGroupTypeTag} - * @memberof DocVisualExtendedFieldRfidAllOf - */ + * + * @type {RfidDataGroupTypeTag} + * @memberof DocVisualExtendedFieldRfidAllOf + */ RFID_OriginDG: RfidDataGroupTypeTag; /** - * - * @type {any} - * @memberof DocVisualExtendedFieldRfidAllOf - */ + * + * @type {any} + * @memberof DocVisualExtendedFieldRfidAllOf + */ RFID_OriginDGTag?: any | null; /** - * Record index of the text field source in the data group - * @type {number} - * @memberof DocVisualExtendedFieldRfidAllOf - */ + * Record index of the text field source in the data group + * @type {number} + * @memberof DocVisualExtendedFieldRfidAllOf + */ RFID_OriginTagEntry: number; /** - * - * @type {any} - * @memberof DocVisualExtendedFieldRfidAllOf - */ + * + * @type {any} + * @memberof DocVisualExtendedFieldRfidAllOf + */ RFID_OriginEntryView?: any | null; } diff --git a/src/models/doc-visual-extended-field.ts b/src/models/doc-visual-extended-field.ts index a160272c..e346faa4 100644 --- a/src/models/doc-visual-extended-field.ts +++ b/src/models/doc-visual-extended-field.ts @@ -17,81 +17,81 @@ import type { StringRecognitionResult } from './string-recognition-result'; import type { TextFieldType } from './text-field-type'; /** -* -* @export -* @interface DocVisualExtendedField -*/ + * + * @export + * @interface DocVisualExtendedField + */ export interface DocVisualExtendedField { /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ FieldType: any | null; /** - * - * @type {TextFieldType} - * @memberof DocVisualExtendedField - */ + * + * @type {TextFieldType} + * @memberof DocVisualExtendedField + */ wFieldType: TextFieldType; /** - * Field symbolic name (null-terminated string) - * @type {string} - * @memberof DocVisualExtendedField - */ + * Field symbolic name (null-terminated string) + * @type {string} + * @memberof DocVisualExtendedField + */ FieldName: string; /** - * Number of StringsResult array elements - * @type {number} - * @memberof DocVisualExtendedField - */ + * Number of StringsResult array elements + * @type {number} + * @memberof DocVisualExtendedField + */ StringsCount: number; /** - * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. - * @type {Array} - * @memberof DocVisualExtendedField - */ + * Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. + * @type {Array} + * @memberof DocVisualExtendedField + */ StringsResult: Array; /** - * Buf_Text text string length - * @type {number} - * @memberof DocVisualExtendedField - */ + * Buf_Text text string length + * @type {number} + * @memberof DocVisualExtendedField + */ Buf_Length: number; /** - * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' - * @type {string} - * @memberof DocVisualExtendedField - */ + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' + * @type {string} + * @memberof DocVisualExtendedField + */ Buf_Text: string; /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ FieldMask?: any | null; /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ Validity?: any | null; /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ InComparison?: any | null; /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ Reserved2?: any | null; /** - * - * @type {any} - * @memberof DocVisualExtendedField - */ + * + * @type {any} + * @memberof DocVisualExtendedField + */ Reserved3?: any | null; } diff --git a/src/models/doc-visual-extended-info.ts b/src/models/doc-visual-extended-info.ts index e11e6bdf..55580cd2 100644 --- a/src/models/doc-visual-extended-info.ts +++ b/src/models/doc-visual-extended-info.ts @@ -17,21 +17,21 @@ import type { DocVisualExtendedFieldRect } from './doc-visual-extended-field-rec import type { DocVisualExtendedFieldRfid } from './doc-visual-extended-field-rfid'; /** -* Container for extracted text fields. Fields are identified by type and language -* @export -* @interface DocVisualExtendedInfo -*/ + * Container for extracted text fields. Fields are identified by type and language + * @export + * @interface DocVisualExtendedInfo + */ export interface DocVisualExtendedInfo { /** - * Number of pArrayFields array elements - * @type {number} - * @memberof DocVisualExtendedInfo - */ + * Number of pArrayFields array elements + * @type {number} + * @memberof DocVisualExtendedInfo + */ nFields: number; /** - * - * @type {Array} - * @memberof DocVisualExtendedInfo - */ + * + * @type {Array} + * @memberof DocVisualExtendedInfo + */ pArrayFields: Array; } diff --git a/src/models/document-binary-info-result-all-of.ts b/src/models/document-binary-info-result-all-of.ts index cc584396..3e5e7b91 100644 --- a/src/models/document-binary-info-result-all-of.ts +++ b/src/models/document-binary-info-result-all-of.ts @@ -16,15 +16,15 @@ import type { TDocBinaryInfo } from './tdoc-binary-info'; /** -* Structure is used to store the data reading results from the RFID-chip in a form of a list of the logically separated data groups. -* @export -* @interface DocumentBinaryInfoResultAllOf -*/ + * Structure is used to store the data reading results from the RFID-chip in a form of a list of the logically separated data groups. + * @export + * @interface DocumentBinaryInfoResultAllOf + */ export interface DocumentBinaryInfoResultAllOf { /** - * - * @type {TDocBinaryInfo} - * @memberof DocumentBinaryInfoResultAllOf - */ + * + * @type {TDocBinaryInfo} + * @memberof DocumentBinaryInfoResultAllOf + */ TDocBinaryInfo: TDocBinaryInfo; } diff --git a/src/models/document-format.ts b/src/models/document-format.ts index 836ff5fd..82f6baa4 100644 --- a/src/models/document-format.ts +++ b/src/models/document-format.ts @@ -15,69 +15,66 @@ /** -* Defining the geometric format of documents in accordance with ISO / IEC 7810 -* @export -* @enum {string} -*/ - -export const DocumentFormat = { + * Defining the geometric format of documents in accordance with ISO / IEC 7810 + * @export + * @enum {string} + */ +export enum DocumentFormat { /** * Unknown document format */ - UNKNOWN: -1, + UNKNOWN = -1, /** * ID1 document format */ - ID1: 0, + ID1 = 0, /** * ID2 document format */ - ID2: 1, + ID2 = 1, /** * ID3 document format */ - ID3: 2, + ID3 = 2, /** * Undefined document format */ - NON: 3, + NON = 3, /** * A4 document format */ - A4: 4, + A4 = 4, /** * ID3 double document format */ - ID3_X2: 5, + ID3_X2 = 5, /** * ID1 format document rotated 90 ° */ - ID1_90: 10, + ID1_90 = 10, /** * ID1 format document rotated 180 ° */ - ID1_180: 11, + ID1_180 = 11, /** * ID1 format document rotated 270 ° */ - ID1_270: 12, + ID1_270 = 12, /** * ID2 format document rotated 90 ° */ - ID2_180: 13, + ID2_180 = 13, /** * ID3 format document rotated 180 ° */ - ID3_180: 14, + ID3_180 = 14, /** * Arbitrary format */ - CUSTOM: 1000, + CUSTOM = 1000, /** * Flexible format. Standard formats can be resized during cropping, depending on various factors: light, background... */ - FLEXIBLE: 1002 -} as const; - -export type DocumentFormat = typeof DocumentFormat[keyof typeof DocumentFormat]; + FLEXIBLE = 1002 +} diff --git a/src/models/document-image-result-all-of.ts b/src/models/document-image-result-all-of.ts index 3f9cd082..d887c1eb 100644 --- a/src/models/document-image-result-all-of.ts +++ b/src/models/document-image-result-all-of.ts @@ -16,15 +16,15 @@ import type { RawImageContainerFieldList } from './raw-image-container-field-list'; /** -* -* @export -* @interface DocumentImageResultAllOf -*/ + * + * @export + * @interface DocumentImageResultAllOf + */ export interface DocumentImageResultAllOf { /** - * - * @type {RawImageContainerFieldList} - * @memberof DocumentImageResultAllOf - */ + * + * @type {RawImageContainerFieldList} + * @memberof DocumentImageResultAllOf + */ RawImageContainer: RawImageContainerFieldList; } diff --git a/src/models/document-image.ts b/src/models/document-image.ts index cd81a663..12b87fca 100644 --- a/src/models/document-image.ts +++ b/src/models/document-image.ts @@ -15,15 +15,15 @@ /** -* -* @export -* @interface DocumentImage -*/ + * + * @export + * @interface DocumentImage + */ export interface DocumentImage { /** - * Base64 encoded image - * @type {string} - * @memberof DocumentImage - */ + * Base64 encoded image + * @type {string} + * @memberof DocumentImage + */ image: string; } diff --git a/src/models/document-position-result-all-of.ts b/src/models/document-position-result-all-of.ts index b78ed9ad..92888d47 100644 --- a/src/models/document-position-result-all-of.ts +++ b/src/models/document-position-result-all-of.ts @@ -16,15 +16,15 @@ import type { DocumentPosition } from './document-position'; /** -* -* @export -* @interface DocumentPositionResultAllOf -*/ + * + * @export + * @interface DocumentPositionResultAllOf + */ export interface DocumentPositionResultAllOf { /** - * - * @type {DocumentPosition} - * @memberof DocumentPositionResultAllOf - */ + * + * @type {DocumentPosition} + * @memberof DocumentPositionResultAllOf + */ DocumentPosition: DocumentPosition; } diff --git a/src/models/document-position.ts b/src/models/document-position.ts index 20ea3c4d..fa4b52b5 100644 --- a/src/models/document-position.ts +++ b/src/models/document-position.ts @@ -17,69 +17,69 @@ import type { DocumentFormat } from './document-format'; import type { Point } from './point'; /** -* -* @export -* @interface DocumentPosition -*/ + * + * @export + * @interface DocumentPosition + */ export interface DocumentPosition { /** - * - * @type {DocumentFormat} - * @memberof DocumentPosition - */ + * + * @type {DocumentFormat} + * @memberof DocumentPosition + */ docFormat: DocumentFormat; /** - * Document rotation angle - * @type {number} - * @memberof DocumentPosition - */ + * Document rotation angle + * @type {number} + * @memberof DocumentPosition + */ Angle: number; /** - * Document width - * @type {number} - * @memberof DocumentPosition - */ + * Document width + * @type {number} + * @memberof DocumentPosition + */ Width: number; /** - * Document height - * @type {number} - * @memberof DocumentPosition - */ + * Document height + * @type {number} + * @memberof DocumentPosition + */ Height: number; /** - * - * @type {Point} - * @memberof DocumentPosition - */ + * + * @type {Point} + * @memberof DocumentPosition + */ Center: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ + * + * @type {Point} + * @memberof DocumentPosition + */ LeftBottom: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ + * + * @type {Point} + * @memberof DocumentPosition + */ LeftTop: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ + * + * @type {Point} + * @memberof DocumentPosition + */ RightBottom: Point; /** - * - * @type {Point} - * @memberof DocumentPosition - */ + * + * @type {Point} + * @memberof DocumentPosition + */ RightTop: Point; /** - * - * @type {number} - * @memberof DocumentPosition - */ + * + * @type {number} + * @memberof DocumentPosition + */ Dpi: number; } diff --git a/src/models/document-type-recognition-result.ts b/src/models/document-type-recognition-result.ts index e63f530c..8aa1268b 100644 --- a/src/models/document-type-recognition-result.ts +++ b/src/models/document-type-recognition-result.ts @@ -15,25 +15,22 @@ /** -* -* @export -* @enum {string} -*/ - -export const DocumentTypeRecognitionResult = { + * + * @export + * @enum {string} + */ +export enum DocumentTypeRecognitionResult { /** * Document type determined. The first element in candidates array is recognition result */ - OK: 0, + OK = 0, /** * Document type was not determined. Ongoing processing is not possible */ - UNKNOWN: 15, + UNKNOWN = 15, /** * To determine document type user should provide more images with different light sources (UV, for example) */ - NEED_MORE_IMAGES: 29 -} as const; - -export type DocumentTypeRecognitionResult = typeof DocumentTypeRecognitionResult[keyof typeof DocumentTypeRecognitionResult]; + NEED_MORE_IMAGES = 29 +} diff --git a/src/models/document-type.ts b/src/models/document-type.ts index a1a6b921..c3a9c2cd 100644 --- a/src/models/document-type.ts +++ b/src/models/document-type.ts @@ -15,933 +15,930 @@ /** -* Possible values for document types -* @export -* @enum {string} -*/ - -export const DocumentType = { + * Possible values for document types + * @export + * @enum {string} + */ +export enum DocumentType { /** * Not defined */ - NOT_DEFINED: 0, + NOT_DEFINED = 0, /** * Passport */ - PASSPORT: 11, + PASSPORT = 11, /** * Identity card */ - IDENTITY_CARD: 12, + IDENTITY_CARD = 12, /** * Diplomatic passport */ - DIPLOMATIC_PASSPORT: 13, + DIPLOMATIC_PASSPORT = 13, /** * Service passport */ - SERVICE_PASSPORT: 14, + SERVICE_PASSPORT = 14, /** * Seamans identity document */ - SEAMANS_IDENTITY_DOCUMENT: 15, + SEAMANS_IDENTITY_DOCUMENT = 15, /** * Identity card for residence */ - IDENTITY_CARD_FOR_RESIDENCE: 16, + IDENTITY_CARD_FOR_RESIDENCE = 16, /** * Travel document */ - TRAVEL_DOCUMENT: 17, + TRAVEL_DOCUMENT = 17, /** * National identity card */ - NATIONAL_IDENTITY_CARD: 20, + NATIONAL_IDENTITY_CARD = 20, /** * Social identity card */ - SOCIAL_IDENTITY_CARD: 21, + SOCIAL_IDENTITY_CARD = 21, /** * Alien's identity card */ - ALIENS_IDENTITY_CARD: 22, + ALIENS_IDENTITY_CARD = 22, /** * Privileged identity card */ - PRIVILEGED_IDENTITY_CARD: 23, + PRIVILEGED_IDENTITY_CARD = 23, /** * Residence permit identity card */ - RESIDENCE_PERMIT_IDENTITY_CARD: 24, + RESIDENCE_PERMIT_IDENTITY_CARD = 24, /** * Origin card */ - ORIGIN_CARD: 25, + ORIGIN_CARD = 25, /** * Emergency passport */ - EMERGENCY_PASSPORT: 26, + EMERGENCY_PASSPORT = 26, /** * Alien's passport */ - ALIENS_PASSPORT: 27, + ALIENS_PASSPORT = 27, /** * Alternative identity card */ - ALTERNATIVE_IDENTITY_CARD: 28, + ALTERNATIVE_IDENTITY_CARD = 28, /** * Visa ID2 */ - VISA_ID2: 29, + VISA_ID2 = 29, /** * Visa ID3 */ - VISA_ID3: 30, + VISA_ID3 = 30, /** * Authorization card */ - AUTHORIZATION_CARD: 32, + AUTHORIZATION_CARD = 32, /** * Beginner permit */ - BEGINNER_PERMIT: 33, + BEGINNER_PERMIT = 33, /** * Border crossing card */ - BORDER_CROSSING_CARD: 34, + BORDER_CROSSING_CARD = 34, /** * Chauffeur license */ - CHAUFFEUR_LICENSE: 35, + CHAUFFEUR_LICENSE = 35, /** * Chauffeur license under 18 */ - CHAUFFEUR_LICENSE_UNDER_18: 36, + CHAUFFEUR_LICENSE_UNDER_18 = 36, /** * Chauffeur license under 21 */ - CHAUFFEUR_LICENSE_UNDER_21: 37, + CHAUFFEUR_LICENSE_UNDER_21 = 37, /** * Commercial driving license */ - COMMERCIAL_DRIVING_LICENSE: 38, + COMMERCIAL_DRIVING_LICENSE = 38, /** * Commercial driving license instructional permit */ - COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT: 39, + COMMERCIAL_DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 39, /** * Commercial driving license under 18 */ - COMMERCIAL_DRIVING_LICENSE_UNDER_18: 40, + COMMERCIAL_DRIVING_LICENSE_UNDER_18 = 40, /** * Commercial driving license under 21 */ - COMMERCIAL_DRIVING_LICENSE_UNDER_21: 41, + COMMERCIAL_DRIVING_LICENSE_UNDER_21 = 41, /** * Commercial instruction permit */ - COMMERCIAL_INSTRUCTION_PERMIT: 42, + COMMERCIAL_INSTRUCTION_PERMIT = 42, /** * Commercial new permit */ - COMMERCIAL_NEW_PERMIT: 43, + COMMERCIAL_NEW_PERMIT = 43, /** * Concealed carry license */ - CONCEALED_CARRY_LICENSE: 44, + CONCEALED_CARRY_LICENSE = 44, /** * Concealed firearm permit */ - CONCEALED_FIREARM_PERMIT: 45, + CONCEALED_FIREARM_PERMIT = 45, /** * Conditional driving license */ - CONDITIONAL_DRIVING_LICENSE: 46, + CONDITIONAL_DRIVING_LICENSE = 46, /** * Department of veterans affairs identity card */ - DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD: 47, + DEPARTMENT_OF_VETERANS_AFFAIRS_IDENTITY_CARD = 47, /** * Diplomatic driving license */ - DIPLOMATIC_DRIVING_LICENSE: 48, + DIPLOMATIC_DRIVING_LICENSE = 48, /** * Driving license */ - DRIVING_LICENSE: 49, + DRIVING_LICENSE = 49, /** * Driving license instructional permit */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT: 50, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT = 50, /** * Driving license instructional permit under 18 */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18: 51, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_18 = 51, /** * Driving license instructional permit under 21 */ - DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21: 52, + DRIVING_LICENSE_INSTRUCTIONAL_PERMIT_UNDER_21 = 52, /** * Driving license learners permit */ - DRIVING_LICENSE_LEARNERS_PERMIT: 53, + DRIVING_LICENSE_LEARNERS_PERMIT = 53, /** * Driving license learners permit under 18 */ - DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18: 54, + DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_18 = 54, /** * Driving license learners permit under 21 */ - DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21: 55, + DRIVING_LICENSE_LEARNERS_PERMIT_UNDER_21 = 55, /** * Driving license novice */ - DRIVING_LICENSE_NOVICE: 56, + DRIVING_LICENSE_NOVICE = 56, /** * Driving license novice under 18 */ - DRIVING_LICENSE_NOVICE_UNDER_18: 57, + DRIVING_LICENSE_NOVICE_UNDER_18 = 57, /** * Driving license novice under 21 */ - DRIVING_LICENSE_NOVICE_UNDER_21: 58, + DRIVING_LICENSE_NOVICE_UNDER_21 = 58, /** * Driving license registered offender */ - DRIVING_LICENSE_REGISTERED_OFFENDER: 59, + DRIVING_LICENSE_REGISTERED_OFFENDER = 59, /** * Driving license restricted under 18 */ - DRIVING_LICENSE_RESTRICTED_UNDER_18: 60, + DRIVING_LICENSE_RESTRICTED_UNDER_18 = 60, /** * Driving license restricted under 21 */ - DRIVING_LICENSE_RESTRICTED_UNDER_21: 61, + DRIVING_LICENSE_RESTRICTED_UNDER_21 = 61, /** * Driving license temporary visitor */ - DRIVING_LICENSE_TEMPORARY_VISITOR: 62, + DRIVING_LICENSE_TEMPORARY_VISITOR = 62, /** * Driving license temporary visitor under 18 */ - DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18: 63, + DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_18 = 63, /** * Driving license temporary visitor under 21 */ - DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21: 64, + DRIVING_LICENSE_TEMPORARY_VISITOR_UNDER_21 = 64, /** * Driving license under 18 */ - DRIVING_LICENSE_UNDER_18: 65, + DRIVING_LICENSE_UNDER_18 = 65, /** * Driving license under 21 */ - DRIVING_LICENSE_UNDER_21: 66, + DRIVING_LICENSE_UNDER_21 = 66, /** * Employment driving permit */ - EMPLOYMENT_DRIVING_PERMIT: 67, + EMPLOYMENT_DRIVING_PERMIT = 67, /** * Enhanced chauffeur license */ - ENHANCED_CHAUFFEUR_LICENSE: 68, + ENHANCED_CHAUFFEUR_LICENSE = 68, /** * Enhanced chauffeur license under 18 */ - ENHANCED_CHAUFFEUR_LICENSE_UNDER_18: 69, + ENHANCED_CHAUFFEUR_LICENSE_UNDER_18 = 69, /** * Enhanced chauffeur license under 21 */ - ENHANCED_CHAUFFEUR_LICENSE_UNDER_21: 70, + ENHANCED_CHAUFFEUR_LICENSE_UNDER_21 = 70, /** * Enhanced commercial driving license */ - ENHANCED_COMMERCIAL_DRIVING_LICENSE: 71, + ENHANCED_COMMERCIAL_DRIVING_LICENSE = 71, /** * Enhanced driving license */ - ENHANCED_DRIVING_LICENSE: 72, + ENHANCED_DRIVING_LICENSE = 72, /** * Enhanced driving license under 18 */ - ENHANCED_DRIVING_LICENSE_UNDER_18: 73, + ENHANCED_DRIVING_LICENSE_UNDER_18 = 73, /** * Enhanced driving license under 21 */ - ENHANCED_DRIVING_LICENSE_UNDER_21: 74, + ENHANCED_DRIVING_LICENSE_UNDER_21 = 74, /** * Enhanced identity card */ - ENHANCED_IDENTITY_CARD: 75, + ENHANCED_IDENTITY_CARD = 75, /** * Enhanced identity card under 18 */ - ENHANCED_IDENTITY_CARD_UNDER_18: 76, + ENHANCED_IDENTITY_CARD_UNDER_18 = 76, /** * Enhanced identity card under 21 */ - ENHANCED_IDENTITY_CARD_UNDER_21: 77, + ENHANCED_IDENTITY_CARD_UNDER_21 = 77, /** * Enhanced operators license */ - ENHANCED_OPERATORS_LICENSE: 78, + ENHANCED_OPERATORS_LICENSE = 78, /** * Firearms permit */ - FIREARMS_PERMIT: 79, + FIREARMS_PERMIT = 79, /** * Full provisional license */ - FULL_PROVISIONAL_LICENSE: 80, + FULL_PROVISIONAL_LICENSE = 80, /** * Full provisional license under 18 */ - FULL_PROVISIONAL_LICENSE_UNDER_18: 81, + FULL_PROVISIONAL_LICENSE_UNDER_18 = 81, /** * Full provisional license under 21 */ - FULL_PROVISIONAL_LICENSE_UNDER_21: 82, + FULL_PROVISIONAL_LICENSE_UNDER_21 = 82, /** * Geneva conventions identity card */ - GENEVA_CONVENTIONS_IDENTITY_CARD: 83, + GENEVA_CONVENTIONS_IDENTITY_CARD = 83, /** * Graduated driving license under 18 */ - GRADUATED_DRIVING_LICENSE_UNDER_18: 84, + GRADUATED_DRIVING_LICENSE_UNDER_18 = 84, /** * Graduated driving license under 21 */ - GRADUATED_DRIVING_LICENSE_UNDER_21: 85, + GRADUATED_DRIVING_LICENSE_UNDER_21 = 85, /** * Graduated instruction permit under 18 */ - GRADUATED_INSTRUCTION_PERMIT_UNDER_18: 86, + GRADUATED_INSTRUCTION_PERMIT_UNDER_18 = 86, /** * Graduated instruction permit under 21 */ - GRADUATED_INSTRUCTION_PERMIT_UNDER_21: 87, + GRADUATED_INSTRUCTION_PERMIT_UNDER_21 = 87, /** * Graduated license under 18 */ - GRADUATED_LICENSE_UNDER_18: 88, + GRADUATED_LICENSE_UNDER_18 = 88, /** * Graduated license under 21 */ - GRADUATED_LICENSE_UNDER_21: 89, + GRADUATED_LICENSE_UNDER_21 = 89, /** * Handgun carry permit */ - HANDGUN_CARRY_PERMIT: 90, + HANDGUN_CARRY_PERMIT = 90, /** * Identity and privilege card */ - IDENTITY_AND_PRIVILEGE_CARD: 91, + IDENTITY_AND_PRIVILEGE_CARD = 91, /** * Identity card mobility impaired */ - IDENTITY_CARD_MOBILITY_IMPAIRED: 92, + IDENTITY_CARD_MOBILITY_IMPAIRED = 92, /** * Identity card registered offender */ - IDENTITY_CARD_REGISTERED_OFFENDER: 93, + IDENTITY_CARD_REGISTERED_OFFENDER = 93, /** * Identity card temporary visitor */ - IDENTITY_CARD_TEMPORARY_VISITOR: 94, + IDENTITY_CARD_TEMPORARY_VISITOR = 94, /** * Identity card temporary visitor under 18 */ - IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18: 95, + IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_18 = 95, /** * Identity card temporary visitor under 21 */ - IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21: 96, + IDENTITY_CARD_TEMPORARY_VISITOR_UNDER_21 = 96, /** * Identity card under 18 */ - IDENTITY_CARD_UNDER_18: 97, + IDENTITY_CARD_UNDER_18 = 97, /** * Identity card under 21 */ - IDENTITY_CARD_UNDER_21: 98, + IDENTITY_CARD_UNDER_21 = 98, /** * Other */ - OTHER: 99, + OTHER = 99, /** * Ignition interlock permit */ - IGNITION_INTERLOCK_PERMIT: 100, + IGNITION_INTERLOCK_PERMIT = 100, /** * Immigrant visa */ - IMMIGRANT_VISA: 101, + IMMIGRANT_VISA = 101, /** * Instruction permit */ - INSTRUCTION_PERMIT: 102, + INSTRUCTION_PERMIT = 102, /** * Instruction permit under 18 */ - INSTRUCTION_PERMIT_UNDER_18: 103, + INSTRUCTION_PERMIT_UNDER_18 = 103, /** * Instruction permit under 21 */ - INSTRUCTION_PERMIT_UNDER_21: 104, + INSTRUCTION_PERMIT_UNDER_21 = 104, /** * Interim driving license */ - INTERIM_DRIVING_LICENSE: 105, + INTERIM_DRIVING_LICENSE = 105, /** * Interim identity card */ - INTERIM_IDENTITY_CARD: 106, + INTERIM_IDENTITY_CARD = 106, /** * Intermediate driving license */ - INTERMEDIATE_DRIVING_LICENSE: 107, + INTERMEDIATE_DRIVING_LICENSE = 107, /** * Intermediate driving license under 18 */ - INTERMEDIATE_DRIVING_LICENSE_UNDER_18: 108, + INTERMEDIATE_DRIVING_LICENSE_UNDER_18 = 108, /** * Intermediate driving license under 21 */ - INTERMEDIATE_DRIVING_LICENSE_UNDER_21: 109, + INTERMEDIATE_DRIVING_LICENSE_UNDER_21 = 109, /** * Junior driving license */ - JUNIOR_DRIVING_LICENSE: 110, + JUNIOR_DRIVING_LICENSE = 110, /** * Learner instructional permit */ - LEARNER_INSTRUCTIONAL_PERMIT: 111, + LEARNER_INSTRUCTIONAL_PERMIT = 111, /** * Learner license */ - LEARNER_LICENSE: 112, + LEARNER_LICENSE = 112, /** * Learner license under 18 */ - LEARNER_LICENSE_UNDER_18: 113, + LEARNER_LICENSE_UNDER_18 = 113, /** * Learner license under 21 */ - LEARNER_LICENSE_UNDER_21: 114, + LEARNER_LICENSE_UNDER_21 = 114, /** * Learner permit */ - LEARNER_PERMIT: 115, + LEARNER_PERMIT = 115, /** * Learner permit under 18 */ - LEARNER_PERMIT_UNDER_18: 116, + LEARNER_PERMIT_UNDER_18 = 116, /** * Learner permit under 21 */ - LEARNER_PERMIT_UNDER_21: 117, + LEARNER_PERMIT_UNDER_21 = 117, /** * Limited license */ - LIMITED_LICENSE: 118, + LIMITED_LICENSE = 118, /** * Limited permit */ - LIMITED_PERMIT: 119, + LIMITED_PERMIT = 119, /** * Limited term driving license */ - LIMITED_TERM_DRIVING_LICENSE: 120, + LIMITED_TERM_DRIVING_LICENSE = 120, /** * Limited term identity card */ - LIMITED_TERM_IDENTITY_CARD: 121, + LIMITED_TERM_IDENTITY_CARD = 121, /** * Liquor identity card */ - LIQUOR_IDENTITY_CARD: 122, + LIQUOR_IDENTITY_CARD = 122, /** * New permit */ - NEW_PERMIT: 123, + NEW_PERMIT = 123, /** * New permit under 18 */ - NEW_PERMIT_UNDER_18: 124, + NEW_PERMIT_UNDER_18 = 124, /** * New permit under 21 */ - NEW_PERMIT_UNDER_21: 125, + NEW_PERMIT_UNDER_21 = 125, /** * Non-US citizen driving license */ - NON_US_CITIZEN_DRIVING_LICENSE: 126, + NON_US_CITIZEN_DRIVING_LICENSE = 126, /** * Occupational driving license */ - OCCUPATIONAL_DRIVING_LICENSE: 127, + OCCUPATIONAL_DRIVING_LICENSE = 127, /** * Oneida tribe of indians identity card */ - ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD: 128, + ONEIDA_TRIBE_OF_INDIANS_IDENTITY_CARD = 128, /** * Operator license */ - OPERATOR_LICENSE: 129, + OPERATOR_LICENSE = 129, /** * Operator license under 18 */ - OPERATOR_LICENSE_UNDER_18: 130, + OPERATOR_LICENSE_UNDER_18 = 130, /** * Operator license under 21 */ - OPERATOR_LICENSE_UNDER_21: 131, + OPERATOR_LICENSE_UNDER_21 = 131, /** * Permanent driving license */ - PERMANENT_DRIVING_LICENSE: 132, + PERMANENT_DRIVING_LICENSE = 132, /** * Permit to re-enter */ - PERMIT_TO_REENTER: 133, + PERMIT_TO_REENTER = 133, /** * Probationary auto license */ - PROBATIONARY_AUTO_LICENSE: 134, + PROBATIONARY_AUTO_LICENSE = 134, /** * Probationary driving license under 18 */ - PROBATIONARY_DRIVING_LICENSE_UNDER_18: 135, + PROBATIONARY_DRIVING_LICENSE_UNDER_18 = 135, /** * Probationary driving license under 21 */ - PROBATIONARY_DRIVING_LICENSE_UNDER_21: 136, + PROBATIONARY_DRIVING_LICENSE_UNDER_21 = 136, /** * Probationary vehicle sales person license */ - PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE: 137, + PROBATIONARY_VEHICLE_SALES_PERSON_LICENSE = 137, /** * Provisional driving license */ - PROVISIONAL_DRIVING_LICENSE: 138, + PROVISIONAL_DRIVING_LICENSE = 138, /** * Provisional driving license under 18 */ - PROVISIONAL_DRIVING_LICENSE_UNDER_18: 139, + PROVISIONAL_DRIVING_LICENSE_UNDER_18 = 139, /** * Provisional driving license under 21 */ - PROVISIONAL_DRIVING_LICENSE_UNDER_21: 140, + PROVISIONAL_DRIVING_LICENSE_UNDER_21 = 140, /** * Provisional license */ - PROVISIONAL_LICENSE: 141, + PROVISIONAL_LICENSE = 141, /** * Provisional license under 18 */ - PROVISIONAL_LICENSE_UNDER_18: 142, + PROVISIONAL_LICENSE_UNDER_18 = 142, /** * Provisional license under 21 */ - PROVISIONAL_LICENSE_UNDER_21: 143, + PROVISIONAL_LICENSE_UNDER_21 = 143, /** * Public passenger chauffeur license */ - PUBLIC_PASSENGER_CHAUFFEUR_LICENSE: 144, + PUBLIC_PASSENGER_CHAUFFEUR_LICENSE = 144, /** * Racing and gaming comission card */ - RACING_AND_GAMING_COMISSION_CARD: 145, + RACING_AND_GAMING_COMISSION_CARD = 145, /** * Refugee travel document */ - REFUGEE_TRAVEL_DOCUMENT: 146, + REFUGEE_TRAVEL_DOCUMENT = 146, /** * Renewal permit */ - RENEWAL_PERMIT: 147, + RENEWAL_PERMIT = 147, /** * Restricted commercial driver license */ - RESTRICTED_COMMERCIAL_DRIVER_LICENSE: 148, + RESTRICTED_COMMERCIAL_DRIVER_LICENSE = 148, /** * Restricted driver license */ - RESTRICTED_DRIVER_LICENSE: 149, + RESTRICTED_DRIVER_LICENSE = 149, /** * Restricted permit */ - RESTRICTED_PERMIT: 150, + RESTRICTED_PERMIT = 150, /** * Seasonal permit */ - SEASONAL_PERMIT: 151, + SEASONAL_PERMIT = 151, /** * Seasonal resident identity card */ - SEASONAL_RESIDENT_IDENTITY_CARD: 152, + SEASONAL_RESIDENT_IDENTITY_CARD = 152, /** * Seasonal citizen identity card */ - SEASONAL_CITIZEN_IDENTITY_CARD: 153, + SEASONAL_CITIZEN_IDENTITY_CARD = 153, /** * Sex offender */ - SEX_OFFENDER: 154, + SEX_OFFENDER = 154, /** * Social security card */ - SOCIAL_SECURITY_CARD: 155, + SOCIAL_SECURITY_CARD = 155, /** * Temporary driving license */ - TEMPORARY_DRIVING_LICENSE: 156, + TEMPORARY_DRIVING_LICENSE = 156, /** * Temporary driving license under 18 */ - TEMPORARY_DRIVING_LICENSE_UNDER_18: 157, + TEMPORARY_DRIVING_LICENSE_UNDER_18 = 157, /** * Temporary driving license under 21 */ - TEMPORARY_DRIVING_LICENSE_UNDER_21: 158, + TEMPORARY_DRIVING_LICENSE_UNDER_21 = 158, /** * Temporary identity card */ - TEMPORARY_IDENTITY_CARD: 159, + TEMPORARY_IDENTITY_CARD = 159, /** * Temporary instruction permit identity card */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD: 160, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD = 160, /** * Temporary instruction permit identity card under 18 */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18: 161, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_18 = 161, /** * Temporary instruction permit identity card under 21 */ - TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21: 162, + TEMPORARY_INSTRUCTION_PERMIT_IDENTITY_CARD_UNDER_21 = 162, /** * Temporary visitor driving license */ - TEMPORARY_VISITOR_DRIVING_LICENSE: 163, + TEMPORARY_VISITOR_DRIVING_LICENSE = 163, /** * Temporary visitor driving license under 18 */ - TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18: 164, + TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_18 = 164, /** * Temporary visitor driving license under 21 */ - TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21: 165, + TEMPORARY_VISITOR_DRIVING_LICENSE_UNDER_21 = 165, /** * Uniformed services identity card */ - UNIFORMED_SERVICES_IDENTITY_CARD: 166, + UNIFORMED_SERVICES_IDENTITY_CARD = 166, /** * Vehicle sales person license */ - VEHICLE_SALES_PERSON_LICENSE: 167, + VEHICLE_SALES_PERSON_LICENSE = 167, /** * Worker identification credential */ - WORKER_IDENTIFICATION_CREDENTIAL: 168, + WORKER_IDENTIFICATION_CREDENTIAL = 168, /** * Commercial driving license novice */ - COMMERCIAL_DRIVING_LICENSE_NOVICE: 169, + COMMERCIAL_DRIVING_LICENSE_NOVICE = 169, /** * Commercial driving license novice under 18 */ - COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18: 170, + COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_18 = 170, /** * Commercial driving license novice under 21 */ - COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21: 171, + COMMERCIAL_DRIVING_LICENSE_NOVICE_UNDER_21 = 171, /** * Passport card */ - PASSPORT_CARD: 172, + PASSPORT_CARD = 172, /** * Passport resident card */ - PASSPORT_RESIDENT_CARD: 173, + PASSPORT_RESIDENT_CARD = 173, /** * Personal identification verification */ - PERSONAL_IDENTIFICATION_VERIFICATION: 174, + PERSONAL_IDENTIFICATION_VERIFICATION = 174, /** * Temporary operator license */ - TEMPORARY_OPERATOR_LICENSE: 175, + TEMPORARY_OPERATOR_LICENSE = 175, /** * Driving license under 19 */ - DRIVING_LICENSE_UNDER_19: 176, + DRIVING_LICENSE_UNDER_19 = 176, /** * Identity card under 19 */ - IDENTITY_CARD_UNDER_19: 177, + IDENTITY_CARD_UNDER_19 = 177, /** * Visa */ - VISA: 178, + VISA = 178, /** * Temporary passport */ - TEMPORARY_PASSPORT: 179, + TEMPORARY_PASSPORT = 179, /** * Voting card */ - VOTING_CARD: 180, + VOTING_CARD = 180, /** * Health card */ - HEALTH_CARD: 181, + HEALTH_CARD = 181, /** * Certificate of citizenship */ - CERTIFICATE_OF_CITIZENSHIP: 182, + CERTIFICATE_OF_CITIZENSHIP = 182, /** * Address card */ - ADDRESS_CARD: 183, + ADDRESS_CARD = 183, /** * Airport immigration card */ - AIRPORT_IMMIGRATION_CARD: 184, + AIRPORT_IMMIGRATION_CARD = 184, /** * Alien registration card */ - ALIEN_REGISTRATION_CARD: 185, + ALIEN_REGISTRATION_CARD = 185, /** * APEH card */ - APEH_CARD: 186, + APEH_CARD = 186, /** * Coupon to driving license */ - COUPON_TO_DRIVING_LICENSE: 187, + COUPON_TO_DRIVING_LICENSE = 187, /** * Crew member certificate */ - CREW_MEMBER_CERTIFICATE: 188, + CREW_MEMBER_CERTIFICATE = 188, /** * Document for return */ - DOCUMENT_FOR_RETURN: 189, + DOCUMENT_FOR_RETURN = 189, /** * E-card */ - E_CARD: 190, + E_CARD = 190, /** * Employment card */ - EMPLOYMENT_CARD: 191, + EMPLOYMENT_CARD = 191, /** * HKSAR immigration form */ - HKSAR_IMMIGRATION_FORM: 192, + HKSAR_IMMIGRATION_FORM = 192, /** * Immigrant card */ - IMMIGRANT_CARD: 193, + IMMIGRANT_CARD = 193, /** * Labour card */ - LABOUR_CARD: 194, + LABOUR_CARD = 194, /** * Laissez passer */ - LAISSEZ_PASSER: 195, + LAISSEZ_PASSER = 195, /** * Lawyer identity certificate */ - LAWYER_IDENTITY_CERTIFICATE: 196, + LAWYER_IDENTITY_CERTIFICATE = 196, /** * License card */ - LICENSE_CARD: 197, + LICENSE_CARD = 197, /** * Passport stateless */ - PASSPORT_STATELESS: 198, + PASSPORT_STATELESS = 198, /** * Passport child */ - PASSPORT_CHILD: 199, + PASSPORT_CHILD = 199, /** * Passport consular */ - PASSPORT_CONSULAR: 200, + PASSPORT_CONSULAR = 200, /** * Passport diplomatic service */ - PASSPORT_DIPLOMATIC_SERVICE: 201, + PASSPORT_DIPLOMATIC_SERVICE = 201, /** * Passport official */ - PASSPORT_OFFICIAL: 202, + PASSPORT_OFFICIAL = 202, /** * Passport provisional */ - PASSPORT_PROVISIONAL: 203, + PASSPORT_PROVISIONAL = 203, /** * Passport special */ - PASSPORT_SPECIAL: 204, + PASSPORT_SPECIAL = 204, /** * Permission to the local border traffic */ - PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC: 205, + PERMISSION_TO_THE_LOCAL_BORDER_TRAFFIC = 205, /** * Registration certificate */ - REGISTRATION_CERTIFICATE: 206, + REGISTRATION_CERTIFICATE = 206, /** * Sedesol card */ - SEDESOL_CARD: 207, + SEDESOL_CARD = 207, /** * Social card */ - SOCIAL_CARD: 208, + SOCIAL_CARD = 208, /** * TB card */ - TB_CARD: 209, + TB_CARD = 209, /** * Vehicle passport */ - VEHICLE_PASSPORT: 210, + VEHICLE_PASSPORT = 210, /** * W document */ - W_DOCUMENT: 211, + W_DOCUMENT = 211, /** * Diplomatic identity card */ - DIPLOMATIC_IDENTITY_CARD: 212, + DIPLOMATIC_IDENTITY_CARD = 212, /** * Consular identity card */ - CONSULAR_IDENTITY_CARD: 213, + CONSULAR_IDENTITY_CARD = 213, /** * Income tax card */ - INCOME_TAX_CARD: 214, + INCOME_TAX_CARD = 214, /** * Residence permit */ - RESIDENCE_PERMIT: 215, + RESIDENCE_PERMIT = 215, /** * Document of identity */ - DOCUMENT_OF_IDENTITY: 216, + DOCUMENT_OF_IDENTITY = 216, /** * Border crossing permit */ - BORDER_CROSSING_PERMIT: 217, + BORDER_CROSSING_PERMIT = 217, /** * Passport limited validity */ - PASSPORT_LIMITED_VALIDITY: 218, + PASSPORT_LIMITED_VALIDITY = 218, /** * Sim card */ - SIM_CARD: 219, + SIM_CARD = 219, /** * Tax card */ - TAX_CARD: 220, + TAX_CARD = 220, /** * Company card */ - COMPANY_CARD: 221, + COMPANY_CARD = 221, /** * Domestic passport */ - DOMESTIC_PASSPORT: 222, + DOMESTIC_PASSPORT = 222, /** * Identity certificate */ - IDENTITY_CERTIFICATE: 223, + IDENTITY_CERTIFICATE = 223, /** * Resident id card */ - RESIDENT_ID_CARD: 224, + RESIDENT_ID_CARD = 224, /** * Armed forces identity card */ - ARMED_FORCES_IDENTITY_CARD: 225, + ARMED_FORCES_IDENTITY_CARD = 225, /** * Professional card */ - PROFESSIONAL_CARD: 226, + PROFESSIONAL_CARD = 226, /** * Registration stamp */ - REGISTRATION_STAMP: 227, + REGISTRATION_STAMP = 227, /** * Driver card */ - DRIVER_CARD: 228, + DRIVER_CARD = 228, /** * Driver training certificate */ - DRIVER_TRAINING_CERTIFICATE: 229, + DRIVER_TRAINING_CERTIFICATE = 229, /** * Qualification driving license */ - QUALIFICATION_DRIVING_LICENSE: 230, + QUALIFICATION_DRIVING_LICENSE = 230, /** * Membership card */ - MEMBERSHIP_CARD: 231, + MEMBERSHIP_CARD = 231, /** * Public vehicle driver authority card */ - PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD: 232, + PUBLIC_VEHICLE_DRIVER_AUTHORITY_CARD = 232, /** * Marine license */ - MARINE_LICENSE: 233, + MARINE_LICENSE = 233, /** * Temporary learner license */ - TEMPORARY_LEARNER_LICENSE: 234, + TEMPORARY_LEARNER_LICENSE = 234, /** * Temporary commercial driving license */ - TEMPORARY_COMMERCIAL_DRIVING_LICENSE: 235, + TEMPORARY_COMMERCIAL_DRIVING_LICENSE = 235, /** * Interim instructional permit */ - INTERIM_INSTRUCTIONAL_PERMIT: 236, + INTERIM_INSTRUCTIONAL_PERMIT = 236, /** * Certificate of competency */ - CERTIFICATE_OF_COMPETENCY: 237, + CERTIFICATE_OF_COMPETENCY = 237, /** * Certificate of proficiency */ - CERTIFICATE_OF_PROFICIENCY: 238, + CERTIFICATE_OF_PROFICIENCY = 238, /** * Trade license */ - TRADE_LICENSE: 239, + TRADE_LICENSE = 239, /** * Passport page */ - PASSPORT_PAGE: 240, + PASSPORT_PAGE = 240, /** * Invoice */ - INVOICE: 241, + INVOICE = 241, /** * Passenger locator form */ - PASSENGER_LOCATOR_FORM: 242 -} as const; - -export type DocumentType = typeof DocumentType[keyof typeof DocumentType]; + PASSENGER_LOCATOR_FORM = 242 +} diff --git a/src/models/document-types-candidates-list.ts b/src/models/document-types-candidates-list.ts index 0dd7734a..d76483a2 100644 --- a/src/models/document-types-candidates-list.ts +++ b/src/models/document-types-candidates-list.ts @@ -17,21 +17,21 @@ import type { DocumentTypeRecognitionResult } from './document-type-recognition- import type { OneCandidate } from './one-candidate'; /** -* -* @export -* @interface DocumentTypesCandidatesList -*/ + * + * @export + * @interface DocumentTypesCandidatesList + */ export interface DocumentTypesCandidatesList { /** - * - * @type {DocumentTypeRecognitionResult} - * @memberof DocumentTypesCandidatesList - */ + * + * @type {DocumentTypeRecognitionResult} + * @memberof DocumentTypesCandidatesList + */ RecResult?: DocumentTypeRecognitionResult; /** - * - * @type {Array} - * @memberof DocumentTypesCandidatesList - */ + * + * @type {Array} + * @memberof DocumentTypesCandidatesList + */ Candidates?: Array; } diff --git a/src/models/document-types-candidates-result-all-of.ts b/src/models/document-types-candidates-result-all-of.ts index 94aa0cfd..4a75b24d 100644 --- a/src/models/document-types-candidates-result-all-of.ts +++ b/src/models/document-types-candidates-result-all-of.ts @@ -16,15 +16,15 @@ import type { DocumentTypesCandidatesList } from './document-types-candidates-list'; /** -* -* @export -* @interface DocumentTypesCandidatesResultAllOf -*/ + * + * @export + * @interface DocumentTypesCandidatesResultAllOf + */ export interface DocumentTypesCandidatesResultAllOf { /** - * - * @type {DocumentTypesCandidatesList} - * @memberof DocumentTypesCandidatesResultAllOf - */ + * + * @type {DocumentTypesCandidatesList} + * @memberof DocumentTypesCandidatesResultAllOf + */ CandidatesList?: DocumentTypesCandidatesList; } diff --git a/src/models/document-types-candidates.ts b/src/models/document-types-candidates.ts index fe0aeaae..bca21335 100644 --- a/src/models/document-types-candidates.ts +++ b/src/models/document-types-candidates.ts @@ -17,21 +17,21 @@ import type { DocumentTypeRecognitionResult } from './document-type-recognition- import type { OneCandidate } from './one-candidate'; /** -* -* @export -* @interface DocumentTypesCandidates -*/ + * + * @export + * @interface DocumentTypesCandidates + */ export interface DocumentTypesCandidates { /** - * - * @type {DocumentTypeRecognitionResult} - * @memberof DocumentTypesCandidates - */ + * + * @type {DocumentTypeRecognitionResult} + * @memberof DocumentTypesCandidates + */ RecResult?: DocumentTypeRecognitionResult; /** - * - * @type {Array} - * @memberof DocumentTypesCandidates - */ + * + * @type {Array} + * @memberof DocumentTypesCandidates + */ Candidates?: Array; } diff --git a/src/models/documents-database.ts b/src/models/documents-database.ts index d67aa748..c7023ad7 100644 --- a/src/models/documents-database.ts +++ b/src/models/documents-database.ts @@ -15,33 +15,33 @@ /** -* -* @export -* @interface DocumentsDatabase -*/ + * + * @export + * @interface DocumentsDatabase + */ export interface DocumentsDatabase { /** - * - * @type {string} - * @memberof DocumentsDatabase - */ + * + * @type {string} + * @memberof DocumentsDatabase + */ Description?: string; /** - * - * @type {string} - * @memberof DocumentsDatabase - */ + * + * @type {string} + * @memberof DocumentsDatabase + */ ExportDate?: string; /** - * - * @type {string} - * @memberof DocumentsDatabase - */ + * + * @type {string} + * @memberof DocumentsDatabase + */ ID?: string; /** - * - * @type {string} - * @memberof DocumentsDatabase - */ + * + * @type {string} + * @memberof DocumentsDatabase + */ Version?: string; } diff --git a/src/models/encrypted-rclresult-all-of.ts b/src/models/encrypted-rclresult-all-of.ts index b77294d0..d7e5ca7d 100644 --- a/src/models/encrypted-rclresult-all-of.ts +++ b/src/models/encrypted-rclresult-all-of.ts @@ -15,15 +15,15 @@ /** -* Contains encrypted result container list -* @export -* @interface EncryptedRCLResultAllOf -*/ + * Contains encrypted result container list + * @export + * @interface EncryptedRCLResultAllOf + */ export interface EncryptedRCLResultAllOf { /** - * Base64 encoded data - * @type {string} - * @memberof EncryptedRCLResultAllOf - */ + * Base64 encoded data + * @type {string} + * @memberof EncryptedRCLResultAllOf + */ EncryptedRCL: string; } diff --git a/src/models/face-api-search.ts b/src/models/face-api-search.ts index f8120c3e..ed601a08 100644 --- a/src/models/face-api-search.ts +++ b/src/models/face-api-search.ts @@ -15,27 +15,27 @@ /** -* A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the OpenAPI documentation. -* @export -* @interface FaceApiSearch -*/ + * A search filter that can be applied if the \"match+search\" mode is enabled. May include limit, threshold, group_ids. If the group_ids are specified, the search is performed only in these groups. Find more information in the OpenAPI documentation. + * @export + * @interface FaceApiSearch + */ export interface FaceApiSearch { /** - * The maximum number of results to be returned. - * @type {number} - * @memberof FaceApiSearch - */ + * The maximum number of results to be returned. + * @type {number} + * @memberof FaceApiSearch + */ limit?: number; /** - * The similarity threshold. - * @type {number} - * @memberof FaceApiSearch - */ + * The similarity threshold. + * @type {number} + * @memberof FaceApiSearch + */ threshold?: number; /** - * The groups where to conduct the search. - * @type {Array} - * @memberof FaceApiSearch - */ + * The groups where to conduct the search. + * @type {Array} + * @memberof FaceApiSearch + */ group_ids?: Array; } diff --git a/src/models/face-api.ts b/src/models/face-api.ts index 2efad702..56322251 100644 --- a/src/models/face-api.ts +++ b/src/models/face-api.ts @@ -16,57 +16,57 @@ import type { FaceApiSearch } from './face-api-search'; /** -* -* @export -* @interface FaceApi -*/ + * + * @export + * @interface FaceApi + */ export interface FaceApi { /** - * The URL of the Regula Face Web service to be used. - * @type {string} - * @memberof FaceApi - */ + * The URL of the Regula Face Web service to be used. + * @type {string} + * @memberof FaceApi + */ url?: string; /** - * The processing mode: \"match\" or \"match+search\". - * @type {string} - * @memberof FaceApi - */ + * The processing mode: \"match\" or \"match+search\". + * @type {string} + * @memberof FaceApi + */ mode?: string; /** - * - * @type {FaceApiSearch} - * @memberof FaceApi - */ + * + * @type {FaceApiSearch} + * @memberof FaceApi + */ search?: FaceApiSearch; /** - * The similarity threshold, 0-100. Above 75 means that the faces\' similarity is verified, below 75 is not. - * @type {number} - * @memberof FaceApi - */ + * The similarity threshold, 0-100. Above 75 means that the faces\' similarity is verified, below 75 is not. + * @type {number} + * @memberof FaceApi + */ threshold?: number; /** - * The Regula Face Web service requests timeout, ms. - * @type {number} - * @memberof FaceApi - */ + * The Regula Face Web service requests timeout, ms. + * @type {number} + * @memberof FaceApi + */ serviceTimeout?: number; /** - * Proxy to use, should be set according to the cURL standard. - * @type {string} - * @memberof FaceApi - */ + * Proxy to use, should be set according to the cURL standard. + * @type {string} + * @memberof FaceApi + */ proxy?: string; /** - * Username and password to use for proxy authentication, should be set according to the cURL standard. - * @type {string} - * @memberof FaceApi - */ + * Username and password to use for proxy authentication, should be set according to the cURL standard. + * @type {string} + * @memberof FaceApi + */ proxy_userpwd?: string; /** - * Proxy protocol type, should be set according to the cURL standard. - * @type {number} - * @memberof FaceApi - */ + * Proxy protocol type, should be set according to the cURL standard. + * @type {number} + * @memberof FaceApi + */ proxy_type?: number; } diff --git a/src/models/fdsidlist.ts b/src/models/fdsidlist.ts index f6897fe0..fbf3e471 100644 --- a/src/models/fdsidlist.ts +++ b/src/models/fdsidlist.ts @@ -17,81 +17,81 @@ import type { DocumentFormat } from './document-format'; import type { DocumentType } from './document-type'; /** -* Extended document type info and Regula\'s \'Information Reference Systems\' links -* @export -* @interface FDSIDList -*/ + * Extended document type info and Regula\'s \'Information Reference Systems\' links + * @export + * @interface FDSIDList + */ export interface FDSIDList { /** - * ICAO code of the issuing country - * @type {string} - * @memberof FDSIDList - */ + * ICAO code of the issuing country + * @type {string} + * @memberof FDSIDList + */ ICAOCode: string; /** - * Number of elements in the List - * @type {number} - * @memberof FDSIDList - */ + * Number of elements in the List + * @type {number} + * @memberof FDSIDList + */ Count: number; /** - * Document identifiers in \'Information Reference Systems\' - * @type {Array} - * @memberof FDSIDList - */ + * Document identifiers in \'Information Reference Systems\' + * @type {Array} + * @memberof FDSIDList + */ List: Array; /** - * - * @type {DocumentType} - * @memberof FDSIDList - */ + * + * @type {DocumentType} + * @memberof FDSIDList + */ dType: DocumentType; /** - * - * @type {DocumentFormat} - * @memberof FDSIDList - */ + * + * @type {DocumentFormat} + * @memberof FDSIDList + */ dFormat: DocumentFormat; /** - * Flag indicating the presence of MRZ on the document - * @type {boolean} - * @memberof FDSIDList - */ + * Flag indicating the presence of MRZ on the document + * @type {boolean} + * @memberof FDSIDList + */ dMRZ: boolean; /** - * Document description - * @type {string} - * @memberof FDSIDList - */ + * Document description + * @type {string} + * @memberof FDSIDList + */ dDescription?: string; /** - * Year of publication of the document - * @type {string} - * @memberof FDSIDList - */ + * Year of publication of the document + * @type {string} + * @memberof FDSIDList + */ dYear: string; /** - * Issuing country name - * @type {string} - * @memberof FDSIDList - */ + * Issuing country name + * @type {string} + * @memberof FDSIDList + */ dCountryName: string; /** - * Issuing state code - * @type {string} - * @memberof FDSIDList - */ + * Issuing state code + * @type {string} + * @memberof FDSIDList + */ dStateCode?: string; /** - * Issuing state name - * @type {string} - * @memberof FDSIDList - */ + * Issuing state name + * @type {string} + * @memberof FDSIDList + */ dStateName?: string; /** - * Whether the document is deprecated - * @type {boolean} - * @memberof FDSIDList - */ + * Whether the document is deprecated + * @type {boolean} + * @memberof FDSIDList + */ isDeprecated: boolean; } diff --git a/src/models/fiber-result-all-of.ts b/src/models/fiber-result-all-of.ts index d457bcdd..5acfeaa0 100644 --- a/src/models/fiber-result-all-of.ts +++ b/src/models/fiber-result-all-of.ts @@ -17,63 +17,63 @@ import type { Light } from './light'; import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface FiberResultAllOf -*/ + * + * @export + * @interface FiberResultAllOf + */ export interface FiberResultAllOf { /** - * For UV_Fibers authenticity result type - * @type {number} - * @memberof FiberResultAllOf - */ + * For UV_Fibers authenticity result type + * @type {number} + * @memberof FiberResultAllOf + */ RectCount: number; /** - * Expected fibers number. For UV_Fibers authentication result type - * @type {number} - * @memberof FiberResultAllOf - */ + * Expected fibers number. For UV_Fibers authentication result type + * @type {number} + * @memberof FiberResultAllOf + */ ExpectedCount: number; /** - * - * @type {Light} - * @memberof FiberResultAllOf - */ + * + * @type {Light} + * @memberof FiberResultAllOf + */ LightValue?: Light; /** - * For UV_Background authentication result type - * @type {number} - * @memberof FiberResultAllOf - */ + * For UV_Background authentication result type + * @type {number} + * @memberof FiberResultAllOf + */ LightDisp?: number; /** - * Coordinates of located areas for defined fibers type - * @type {Array} - * @memberof FiberResultAllOf - */ + * Coordinates of located areas for defined fibers type + * @type {Array} + * @memberof FiberResultAllOf + */ RectArray: Array; /** - * Fibers width value for located areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ + * Fibers width value for located areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ Width: Array; /** - * Fibers length value for located areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ + * Fibers length value for located areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ Length: Array; /** - * Fibers value for areas (in pixels) - * @type {Array} - * @memberof FiberResultAllOf - */ + * Fibers value for areas (in pixels) + * @type {Array} + * @memberof FiberResultAllOf + */ Area: Array; /** - * Fibers color value - * @type {Array} - * @memberof FiberResultAllOf - */ + * Fibers color value + * @type {Array} + * @memberof FiberResultAllOf + */ ColorValues: Array; } diff --git a/src/models/get-transactions-by-tag-response.ts b/src/models/get-transactions-by-tag-response.ts index 49cd36c8..de2be647 100644 --- a/src/models/get-transactions-by-tag-response.ts +++ b/src/models/get-transactions-by-tag-response.ts @@ -15,27 +15,27 @@ /** -* -* @export -* @interface GetTransactionsByTagResponse -*/ + * + * @export + * @interface GetTransactionsByTagResponse + */ export interface GetTransactionsByTagResponse { /** - * Transaction id - * @type {number} - * @memberof GetTransactionsByTagResponse - */ + * Transaction id + * @type {number} + * @memberof GetTransactionsByTagResponse + */ id?: number; /** - * Transaction status - * @type {number} - * @memberof GetTransactionsByTagResponse - */ + * Transaction status + * @type {number} + * @memberof GetTransactionsByTagResponse + */ state?: number; /** - * Last time updated - * @type {string} - * @memberof GetTransactionsByTagResponse - */ + * Last time updated + * @type {string} + * @memberof GetTransactionsByTagResponse + */ updatedAt?: string; } diff --git a/src/models/graphic-field-rfid-all-of.ts b/src/models/graphic-field-rfid-all-of.ts index 0c7779e2..c907505c 100644 --- a/src/models/graphic-field-rfid-all-of.ts +++ b/src/models/graphic-field-rfid-all-of.ts @@ -16,33 +16,33 @@ import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; /** -* -* @export -* @interface GraphicFieldRfidAllOf -*/ + * + * @export + * @interface GraphicFieldRfidAllOf + */ export interface GraphicFieldRfidAllOf { /** - * - * @type {RfidDataGroupTypeTag} - * @memberof GraphicFieldRfidAllOf - */ + * + * @type {RfidDataGroupTypeTag} + * @memberof GraphicFieldRfidAllOf + */ RFID_OriginDG?: RfidDataGroupTypeTag; /** - * Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicFieldRfidAllOf - */ + * Index of the source record of the image with biometric information in the information data group. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ RFID_OriginDGTag?: number; /** - * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicFieldRfidAllOf - */ + * Index of the template in the record with biometric data. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ RFID_OriginTagEntry?: number; /** - * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicFieldRfidAllOf - */ + * Index of the variant of the biometric data template. Only for Result.RFID_GRAPHICS result. + * @type {number} + * @memberof GraphicFieldRfidAllOf + */ RFID_OriginEntryView?: number; } diff --git a/src/models/graphic-field-type.ts b/src/models/graphic-field-type.ts index 3f39de22..6f26be7b 100644 --- a/src/models/graphic-field-type.ts +++ b/src/models/graphic-field-type.ts @@ -15,121 +15,118 @@ /** -* -* @export -* @enum {string} -*/ - -export const GraphicFieldType = { + * + * @export + * @enum {string} + */ +export enum GraphicFieldType { /** * Document holder photo */ - PORTRAIT: 201, + PORTRAIT = 201, /** * Fingerprint of document holder */ - FINGERPRINT: 202, + FINGERPRINT = 202, /** * Image of the iris of document holder */ - EYE: 203, + EYE = 203, /** * Signature of document holder */ - SIGNATURE: 204, + SIGNATURE = 204, /** * Barcode image */ - BAR_CODE: 205, + BAR_CODE = 205, /** * Image of document confirming owner citizenship */ - PROOF_OF_CITIZENSHIP: 206, + PROOF_OF_CITIZENSHIP = 206, /** * Cropped and rotated with perspective compensation (front side) of a document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most coordinates in other types defined on that image. */ - DOCUMENT_FRONT: 207, + DOCUMENT_FRONT = 207, /** * Image of the rear side of the document */ - DOCUMENT_REAR: 208, + DOCUMENT_REAR = 208, /** * Area with dynamic color change */ - COLOR_DYNAMIC: 209, + COLOR_DYNAMIC = 209, /** * Additional Portrait */ - GHOST_PORTRAIT: 210, + GHOST_PORTRAIT = 210, /** * Stamp */ - STAMP: 211, + STAMP = 211, /** * Portrait of child */ - PORTRAIT_OF_CHILD: 212, + PORTRAIT_OF_CHILD = 212, /** * Contact chip */ - CONTACT_CHIP: 213, + CONTACT_CHIP = 213, /** * Undefined image type */ - OTHER: 250, + OTHER = 250, /** * Fingerprint (thumb, left hand) */ - FINGER_LEFT_THUMB: 300, + FINGER_LEFT_THUMB = 300, /** * Fingerprint (index, left hand) */ - FINGER_LEFT_INDEX: 301, + FINGER_LEFT_INDEX = 301, /** * Fingerprint (middle, left hand) */ - FINGER_LEFT_MIDDLE: 302, + FINGER_LEFT_MIDDLE = 302, /** * Fingerprint (ring, left hand) */ - FINGER_LEFT_RING: 303, + FINGER_LEFT_RING = 303, /** * Fingerprint (little, left hand) */ - FINGER_LEFT_LITTLE: 304, + FINGER_LEFT_LITTLE = 304, /** * Fingerprint (thumb, right hand) */ - FINGER_RIGHT_THUMB: 305, + FINGER_RIGHT_THUMB = 305, /** * Fingerprint (index, right hand) */ - FINGER_RIGHT_INDEX: 306, + FINGER_RIGHT_INDEX = 306, /** * Fingerprint (middle, right hand) */ - FINGER_RIGHT_MIDDLE: 307, + FINGER_RIGHT_MIDDLE = 307, /** * Fingerprint (ring, right hand) */ - FINGER_RIGHT_RING: 308, + FINGER_RIGHT_RING = 308, /** * Fingerprint (little, right hand) */ - FINGER_RIGHT_LITTLE: 309, + FINGER_RIGHT_LITTLE = 309, /** * Fingerprint (four without thumb on right hand) */ - FINGER_RIGHT_FOUR_FINGERS: 313, + FINGER_RIGHT_FOUR_FINGERS = 313, /** * Fingerprint (four without thumb on left hand */ - FINGER_LEFT_FOUR_FINGERS: 314, + FINGER_LEFT_FOUR_FINGERS = 314, /** * Fingerprint (two thumbs) */ - FINGER_TWO_THUMBS: 315 -} as const; - -export type GraphicFieldType = typeof GraphicFieldType[keyof typeof GraphicFieldType]; + FINGER_TWO_THUMBS = 315 +} diff --git a/src/models/graphic-field.ts b/src/models/graphic-field.ts index 1bf5be24..3b5cd9e1 100644 --- a/src/models/graphic-field.ts +++ b/src/models/graphic-field.ts @@ -17,27 +17,27 @@ import type { GraphicFieldType } from './graphic-field-type'; import type { ImageData } from './image-data'; /** -* Information about one graphic field - abstract class -* @export -* @interface GraphicField -*/ + * Information about one graphic field - abstract class + * @export + * @interface GraphicField + */ export interface GraphicField { /** - * - * @type {GraphicFieldType} - * @memberof GraphicField - */ + * + * @type {GraphicFieldType} + * @memberof GraphicField + */ FieldType: GraphicFieldType; /** - * Graphic field symbolic name - * @type {string} - * @memberof GraphicField - */ + * Graphic field symbolic name + * @type {string} + * @memberof GraphicField + */ FieldName: string; /** - * - * @type {ImageData} - * @memberof GraphicField - */ + * + * @type {ImageData} + * @memberof GraphicField + */ image: ImageData; } diff --git a/src/models/graphic-fields-list.ts b/src/models/graphic-fields-list.ts index 0ac85836..40234624 100644 --- a/src/models/graphic-fields-list.ts +++ b/src/models/graphic-fields-list.ts @@ -17,21 +17,21 @@ import type { GraphicFieldRect } from './graphic-field-rect'; import type { GraphicFieldRfid } from './graphic-field-rfid'; /** -* -* @export -* @interface GraphicFieldsList -*/ + * + * @export + * @interface GraphicFieldsList + */ export interface GraphicFieldsList { /** - * - * @type {Array} - * @memberof GraphicFieldsList - */ + * + * @type {Array} + * @memberof GraphicFieldsList + */ pArrayFields: Array; /** - * Number of pArrayFields array elements - * @type {number} - * @memberof GraphicFieldsList - */ + * Number of pArrayFields array elements + * @type {number} + * @memberof GraphicFieldsList + */ nFields: number; } diff --git a/src/models/graphics-result-all-of.ts b/src/models/graphics-result-all-of.ts index 4f90348c..3e1ba9b9 100644 --- a/src/models/graphics-result-all-of.ts +++ b/src/models/graphics-result-all-of.ts @@ -16,15 +16,15 @@ import type { GraphicFieldsList } from './graphic-fields-list'; /** -* -* @export -* @interface GraphicsResultAllOf -*/ + * + * @export + * @interface GraphicsResultAllOf + */ export interface GraphicsResultAllOf { /** - * - * @type {GraphicFieldsList} - * @memberof GraphicsResultAllOf - */ + * + * @type {GraphicFieldsList} + * @memberof GraphicsResultAllOf + */ DocGraphicsInfo?: GraphicFieldsList; } diff --git a/src/models/ident-result-all-of.ts b/src/models/ident-result-all-of.ts index 3f9130fa..f1149b45 100644 --- a/src/models/ident-result-all-of.ts +++ b/src/models/ident-result-all-of.ts @@ -20,45 +20,45 @@ import type { RectangleCoordinates } from './rectangle-coordinates'; import type { SecurityFeatureType } from './security-feature-type'; /** -* -* @export -* @interface IdentResultAllOf -*/ + * + * @export + * @interface IdentResultAllOf + */ export interface IdentResultAllOf { /** - * - * @type {SecurityFeatureType} - * @memberof IdentResultAllOf - */ + * + * @type {SecurityFeatureType} + * @memberof IdentResultAllOf + */ ElementType: SecurityFeatureType; /** - * - * @type {Light} - * @memberof IdentResultAllOf - */ + * + * @type {Light} + * @memberof IdentResultAllOf + */ LightIndex: Light; /** - * - * @type {RectangleCoordinates} - * @memberof IdentResultAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof IdentResultAllOf + */ Area: RectangleCoordinates; /** - * - * @type {ImageData} - * @memberof IdentResultAllOf - */ + * + * @type {ImageData} + * @memberof IdentResultAllOf + */ Image: ImageData; /** - * - * @type {ImageData} - * @memberof IdentResultAllOf - */ + * + * @type {ImageData} + * @memberof IdentResultAllOf + */ EtalonImage: ImageData; /** - * - * @type {AreaContainer} - * @memberof IdentResultAllOf - */ + * + * @type {AreaContainer} + * @memberof IdentResultAllOf + */ AreaList?: AreaContainer; } diff --git a/src/models/image-data.ts b/src/models/image-data.ts index 2f6a3efb..9d417fe1 100644 --- a/src/models/image-data.ts +++ b/src/models/image-data.ts @@ -15,15 +15,15 @@ /** -* -* @export -* @interface ImageData -*/ + * + * @export + * @interface ImageData + */ export interface ImageData { /** - * Base64 encoded image - * @type {string} - * @memberof ImageData - */ + * Base64 encoded image + * @type {string} + * @memberof ImageData + */ image: string; } diff --git a/src/models/image-qa.ts b/src/models/image-qa.ts index 685d30d8..b335a4f7 100644 --- a/src/models/image-qa.ts +++ b/src/models/image-qa.ts @@ -15,57 +15,57 @@ /** -* -* @export -* @interface ImageQA -*/ + * + * @export + * @interface ImageQA + */ export interface ImageQA { /** - * Set the threshold for an actual document brightness below which the check fails - * @type {number} - * @memberof ImageQA - */ + * Set the threshold for an actual document brightness below which the check fails + * @type {number} + * @memberof ImageQA + */ brightnessThreshold?: number; /** - * This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail. - * @type {number} - * @memberof ImageQA - */ + * This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail. + * @type {number} + * @memberof ImageQA + */ dpiThreshold?: number; /** - * This parameter sets threshold for Image QA check of the presented document perspective angle in degrees. If actual document perspective angle is above this threshold, check will fail. - * @type {number} - * @memberof ImageQA - */ + * This parameter sets threshold for Image QA check of the presented document perspective angle in degrees. If actual document perspective angle is above this threshold, check will fail. + * @type {number} + * @memberof ImageQA + */ angleThreshold?: number; /** - * This option enables focus check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables focus check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ focusCheck?: boolean; /** - * This option enables glares check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables glares check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ glaresCheck?: boolean; /** - * This option enables colorness check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables colorness check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ colornessCheck?: boolean; /** - * This option enables screen capture (moire patterns) check while performing image quality validation. - * @type {boolean} - * @memberof ImageQA - */ + * This option enables screen capture (moire patterns) check while performing image quality validation. + * @type {boolean} + * @memberof ImageQA + */ moireCheck?: boolean; /** - * This parameter specifies the necessary margin. Default 0. - * @type {number} - * @memberof ImageQA - */ + * This parameter specifies the necessary margin. Default 0. + * @type {number} + * @memberof ImageQA + */ documentPositionIndent?: number; } diff --git a/src/models/image-quality-check-list.ts b/src/models/image-quality-check-list.ts index c00b585e..f7f619e5 100644 --- a/src/models/image-quality-check-list.ts +++ b/src/models/image-quality-check-list.ts @@ -17,27 +17,27 @@ import type { CheckResult } from './check-result'; import type { ImageQualityCheck } from './image-quality-check'; /** -* -* @export -* @interface ImageQualityCheckList -*/ + * + * @export + * @interface ImageQualityCheckList + */ export interface ImageQualityCheckList { /** - * - * @type {CheckResult} - * @memberof ImageQualityCheckList - */ + * + * @type {CheckResult} + * @memberof ImageQualityCheckList + */ result: CheckResult; /** - * - * @type {Array} - * @memberof ImageQualityCheckList - */ + * + * @type {Array} + * @memberof ImageQualityCheckList + */ List: Array; /** - * Number of List array elements - * @type {number} - * @memberof ImageQualityCheckList - */ + * Number of List array elements + * @type {number} + * @memberof ImageQualityCheckList + */ Count: number; } diff --git a/src/models/image-quality-check-type.ts b/src/models/image-quality-check-type.ts index 6a9b97fd..dd88ac4f 100644 --- a/src/models/image-quality-check-type.ts +++ b/src/models/image-quality-check-type.ts @@ -15,45 +15,42 @@ /** -* Image quality check type -* @export -* @enum {string} -*/ - -export const ImageQualityCheckType = { + * Image quality check type + * @export + * @enum {string} + */ +export enum ImageQualityCheckType { /** * Signals glare presence on the image */ - ImageGlares: 0, + ImageGlares = 0, /** * Signals whether image is in focus */ - ImageFocus: 1, + ImageFocus = 1, /** * Signals if image resolution is below threshold */ - ImageResolution: 2, + ImageResolution = 2, /** * Signals if image is colorless */ - ImageColorness: 3, + ImageColorness = 3, /** * Signals if document in the image has prespective distortion above threshold */ - Perspective: 4, + Perspective = 4, /** * Signals if document is not fully present in the image */ - Bounds: 5, + Bounds = 5, /** * Signals if the portrait is present */ - Portrait: 7, + Portrait = 7, /** * Signals if the document image is bright enough */ - Brightness: 9 -} as const; - -export type ImageQualityCheckType = typeof ImageQualityCheckType[keyof typeof ImageQualityCheckType]; + Brightness = 9 +} diff --git a/src/models/image-quality-check.ts b/src/models/image-quality-check.ts index ae90032e..cba629d1 100644 --- a/src/models/image-quality-check.ts +++ b/src/models/image-quality-check.ts @@ -19,51 +19,51 @@ import type { ImageQualityCheckType } from './image-quality-check-type'; import type { SecurityFeatureType } from './security-feature-type'; /** -* -* @export -* @interface ImageQualityCheck -*/ + * + * @export + * @interface ImageQualityCheck + */ export interface ImageQualityCheck { /** - * - * @type {ImageQualityCheckType} - * @memberof ImageQualityCheck - */ + * + * @type {ImageQualityCheckType} + * @memberof ImageQualityCheck + */ type: ImageQualityCheckType; /** - * - * @type {CheckResult} - * @memberof ImageQualityCheck - */ + * + * @type {CheckResult} + * @memberof ImageQualityCheck + */ result: CheckResult; /** - * - * @type {SecurityFeatureType} - * @memberof ImageQualityCheck - */ + * + * @type {SecurityFeatureType} + * @memberof ImageQualityCheck + */ featureType: SecurityFeatureType; /** - * - * @type {AreaArray} - * @memberof ImageQualityCheck - */ + * + * @type {AreaArray} + * @memberof ImageQualityCheck + */ areas?: AreaArray; /** - * Check mean value - * @type {number} - * @memberof ImageQualityCheck - */ + * Check mean value + * @type {number} + * @memberof ImageQualityCheck + */ mean: number; /** - * Check deviation value - * @type {number} - * @memberof ImageQualityCheck - */ + * Check deviation value + * @type {number} + * @memberof ImageQualityCheck + */ std_dev: number; /** - * Check probability value - * @type {number} - * @memberof ImageQualityCheck - */ + * Check probability value + * @type {number} + * @memberof ImageQualityCheck + */ probability: number; } diff --git a/src/models/image-quality-result-all-of.ts b/src/models/image-quality-result-all-of.ts index fbe72093..be5bc708 100644 --- a/src/models/image-quality-result-all-of.ts +++ b/src/models/image-quality-result-all-of.ts @@ -16,15 +16,15 @@ import type { ImageQualityCheckList } from './image-quality-check-list'; /** -* -* @export -* @interface ImageQualityResultAllOf -*/ + * + * @export + * @interface ImageQualityResultAllOf + */ export interface ImageQualityResultAllOf { /** - * - * @type {ImageQualityCheckList} - * @memberof ImageQualityResultAllOf - */ + * + * @type {ImageQualityCheckList} + * @memberof ImageQualityResultAllOf + */ ImageQualityCheckList: ImageQualityCheckList; } diff --git a/src/models/image-transaction-data.ts b/src/models/image-transaction-data.ts index 08d39c46..dd90514d 100644 --- a/src/models/image-transaction-data.ts +++ b/src/models/image-transaction-data.ts @@ -16,15 +16,15 @@ import type { ImagesFieldValue } from './images-field-value'; /** -* -* @export -* @interface ImageTransactionData -*/ + * + * @export + * @interface ImageTransactionData + */ export interface ImageTransactionData { /** - * - * @type {ImagesFieldValue} - * @memberof ImageTransactionData - */ + * + * @type {ImagesFieldValue} + * @memberof ImageTransactionData + */ image?: ImagesFieldValue; } diff --git a/src/models/images-available-source.ts b/src/models/images-available-source.ts index cdb92f48..79b56eb7 100644 --- a/src/models/images-available-source.ts +++ b/src/models/images-available-source.ts @@ -16,21 +16,21 @@ import type { Source } from './source'; /** -* -* @export -* @interface ImagesAvailableSource -*/ + * + * @export + * @interface ImagesAvailableSource + */ export interface ImagesAvailableSource { /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ImagesAvailableSource - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ImagesAvailableSource + */ containerType: number; /** - * - * @type {Source} - * @memberof ImagesAvailableSource - */ + * + * @type {Source} + * @memberof ImagesAvailableSource + */ source: Source; } diff --git a/src/models/images-field-value.ts b/src/models/images-field-value.ts index a7f35b58..b9a6ce48 100644 --- a/src/models/images-field-value.ts +++ b/src/models/images-field-value.ts @@ -19,63 +19,63 @@ import type { RfidOrigin } from './rfid-origin'; import type { Source } from './source'; /** -* -* @export -* @interface ImagesFieldValue -*/ + * + * @export + * @interface ImagesFieldValue + */ export interface ImagesFieldValue { /** - * - * @type {Source} - * @memberof ImagesFieldValue - */ + * + * @type {Source} + * @memberof ImagesFieldValue + */ source: Source; /** - * Base64 encoded image - * @type {string} - * @memberof ImagesFieldValue - */ + * Base64 encoded image + * @type {string} + * @memberof ImagesFieldValue + */ value?: string; /** - * Base64 encoded image - * @type {string} - * @memberof ImagesFieldValue - */ + * Base64 encoded image + * @type {string} + * @memberof ImagesFieldValue + */ originalValue?: string; /** - * Original page index - * @type {number} - * @memberof ImagesFieldValue - */ + * Original page index + * @type {number} + * @memberof ImagesFieldValue + */ originalPageIndex?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof ImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof ImagesFieldValue + */ pageIndex: number; /** - * - * @type {Light} - * @memberof ImagesFieldValue - */ + * + * @type {Light} + * @memberof ImagesFieldValue + */ lightIndex: Light; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ImagesFieldValue - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ImagesFieldValue + */ containerType: number; /** - * - * @type {RectangleCoordinates} - * @memberof ImagesFieldValue - */ + * + * @type {RectangleCoordinates} + * @memberof ImagesFieldValue + */ fieldRect?: RectangleCoordinates; /** - * - * @type {RfidOrigin} - * @memberof ImagesFieldValue - */ + * + * @type {RfidOrigin} + * @memberof ImagesFieldValue + */ rfidOrigin?: RfidOrigin; } diff --git a/src/models/images-field.ts b/src/models/images-field.ts index e006b972..bc705779 100644 --- a/src/models/images-field.ts +++ b/src/models/images-field.ts @@ -17,33 +17,33 @@ import type { GraphicFieldType } from './graphic-field-type'; import type { ImagesFieldValue } from './images-field-value'; /** -* -* @export -* @interface ImagesField -*/ + * + * @export + * @interface ImagesField + */ export interface ImagesField { /** - * Human readable field name. Do not bind to this name - use GraphicFieldType instead. - * @type {string} - * @memberof ImagesField - */ + * Human readable field name. Do not bind to this name - use GraphicFieldType instead. + * @type {string} + * @memberof ImagesField + */ fieldName: string; /** - * - * @type {GraphicFieldType} - * @memberof ImagesField - */ + * + * @type {GraphicFieldType} + * @memberof ImagesField + */ fieldType: GraphicFieldType; /** - * - * @type {Array} - * @memberof ImagesField - */ + * + * @type {Array} + * @memberof ImagesField + */ valueList: Array; /** - * Field value count - * @type {number} - * @memberof ImagesField - */ + * Field value count + * @type {number} + * @memberof ImagesField + */ valueCount: number; } diff --git a/src/models/images-result-all-of.ts b/src/models/images-result-all-of.ts index 2ce23116..8d4c7a4e 100644 --- a/src/models/images-result-all-of.ts +++ b/src/models/images-result-all-of.ts @@ -16,15 +16,15 @@ import type { Images } from './images'; /** -* -* @export -* @interface ImagesResultAllOf -*/ + * + * @export + * @interface ImagesResultAllOf + */ export interface ImagesResultAllOf { /** - * - * @type {Images} - * @memberof ImagesResultAllOf - */ + * + * @type {Images} + * @memberof ImagesResultAllOf + */ Images: Images; } diff --git a/src/models/images.ts b/src/models/images.ts index 3429a2b3..85976e9a 100644 --- a/src/models/images.ts +++ b/src/models/images.ts @@ -17,33 +17,33 @@ import type { ImagesAvailableSource } from './images-available-source'; import type { ImagesField } from './images-field'; /** -* -* @export -* @interface Images -*/ + * + * @export + * @interface Images + */ export interface Images { /** - * Fields count - * @type {number} - * @memberof Images - */ + * Fields count + * @type {number} + * @memberof Images + */ fieldCount: number; /** - * Available sources count - * @type {number} - * @memberof Images - */ + * Available sources count + * @type {number} + * @memberof Images + */ availableSourceCount: number; /** - * - * @type {Array} - * @memberof Images - */ + * + * @type {Array} + * @memberof Images + */ availableSourceList: Array; /** - * - * @type {Array} - * @memberof Images - */ + * + * @type {Array} + * @memberof Images + */ fieldList: Array; } diff --git a/src/models/in-data-transaction-images-field-value.ts b/src/models/in-data-transaction-images-field-value.ts index c8cbec18..ffb92838 100644 --- a/src/models/in-data-transaction-images-field-value.ts +++ b/src/models/in-data-transaction-images-field-value.ts @@ -16,33 +16,33 @@ import type { Light } from './light'; /** -* -* @export -* @interface InDataTransactionImagesFieldValue -*/ + * + * @export + * @interface InDataTransactionImagesFieldValue + */ export interface InDataTransactionImagesFieldValue { /** - * - * @type {Light} - * @memberof InDataTransactionImagesFieldValue - */ + * + * @type {Light} + * @memberof InDataTransactionImagesFieldValue + */ light?: Light; /** - * - * @type {number} - * @memberof InDataTransactionImagesFieldValue - */ + * + * @type {number} + * @memberof InDataTransactionImagesFieldValue + */ listIdx?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof InDataTransactionImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof InDataTransactionImagesFieldValue + */ pageIdx?: number; /** - * Image url - * @type {string} - * @memberof InDataTransactionImagesFieldValue - */ + * Image url + * @type {string} + * @memberof InDataTransactionImagesFieldValue + */ url?: string; } diff --git a/src/models/in-data-video.ts b/src/models/in-data-video.ts index 2c41c00c..d7c913ab 100644 --- a/src/models/in-data-video.ts +++ b/src/models/in-data-video.ts @@ -15,21 +15,21 @@ /** -* Video -* @export -* @interface InDataVideo -*/ + * Video + * @export + * @interface InDataVideo + */ export interface InDataVideo { /** - * A free-form object containing video\'s extended attributes. - * @type {{ [key: string]: object; }} - * @memberof InDataVideo - */ + * A free-form object containing video\'s extended attributes. + * @type {{ [key: string]: object; }} + * @memberof InDataVideo + */ metadata?: { [key: string]: object; }; /** - * Video url - * @type {string} - * @memberof InDataVideo - */ + * Video url + * @type {string} + * @memberof InDataVideo + */ url?: string; } diff --git a/src/models/in-data.ts b/src/models/in-data.ts index 9c52297f..f886ad3a 100644 --- a/src/models/in-data.ts +++ b/src/models/in-data.ts @@ -17,21 +17,21 @@ import type { InDataTransactionImagesFieldValue } from './in-data-transaction-im import type { InDataVideo } from './in-data-video'; /** -* -* @export -* @interface InData -*/ + * + * @export + * @interface InData + */ export interface InData { /** - * - * @type {InDataVideo} - * @memberof InData - */ + * + * @type {InDataVideo} + * @memberof InData + */ video?: InDataVideo; /** - * - * @type {Array} - * @memberof InData - */ + * + * @type {Array} + * @memberof InData + */ images?: Array; } diff --git a/src/models/index.ts b/src/models/index.ts index 5d28b209..23940d55 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -24,6 +24,7 @@ export * from './data-module'; export * from './details-optical'; export * from './details-rfid'; export * from './device-info'; +export * from './device-info-deprecated'; export * from './doc-bar-code-info'; export * from './doc-bar-code-info-all-of'; export * from './doc-bar-code-info-fields-list'; diff --git a/src/models/lcid.ts b/src/models/lcid.ts index 7795d004..30e7fed3 100644 --- a/src/models/lcid.ts +++ b/src/models/lcid.ts @@ -15,677 +15,674 @@ /** -* Locale id. Used to tag same typed fields declared in several languages. For example: name can be provided in both native and latin variants. Based on Microsoft locale id (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f). -* @export -* @enum {string} -*/ - -export const LCID = { + * Locale id. Used to tag same typed fields declared in several languages. For example: name can be provided in both native and latin variants. Based on Microsoft locale id (https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/70feba9f-294e-491e-b6eb-56532684c37f). + * @export + * @enum {string} + */ +export enum LCID { /** * Latin */ - LATIN: 0, + LATIN = 0, /** * Afrikaans */ - AFRIKAANS: 1078, + AFRIKAANS = 1078, /** * Albanian */ - ALBANIAN: 1052, + ALBANIAN = 1052, /** * Arabic (Algeria) */ - ARABIC_ALGERIA: 5121, + ARABIC_ALGERIA = 5121, /** * Arabic (Bahrain) */ - ARABIC_BAHRAIN: 15361, + ARABIC_BAHRAIN = 15361, /** * Arabic (Egypt) */ - ARABIC_EGYPT: 3073, + ARABIC_EGYPT = 3073, /** * Arabic (Iraq) */ - ARABIC_IRAQ: 2049, + ARABIC_IRAQ = 2049, /** * Arabic (Jordan) */ - ARABIC_JORDAN: 11265, + ARABIC_JORDAN = 11265, /** * Arabic (Kuwait) */ - ARABIC_KUWAIT: 13313, + ARABIC_KUWAIT = 13313, /** * Arabic (Lebanon) */ - ARABIC_LEBANON: 12289, + ARABIC_LEBANON = 12289, /** * Arabic (Libya) */ - ARABIC_LIBYA: 4097, + ARABIC_LIBYA = 4097, /** * Arabic (Morocco) */ - ARABIC_MOROCCO: 6145, + ARABIC_MOROCCO = 6145, /** * Arabic (Oman) */ - ARABIC_OMAN: 8193, + ARABIC_OMAN = 8193, /** * Arabic (Qatar) */ - ARABIC_QATAR: 16385, + ARABIC_QATAR = 16385, /** * Arabic (Saudi Arabia) */ - ARABIC_SAUDI_ARABIA: 1025, + ARABIC_SAUDI_ARABIA = 1025, /** * Arabic (Syria) */ - ARABIC_SYRIA: 10241, + ARABIC_SYRIA = 10241, /** * Arabic (Tunisia) */ - ARABIC_TUNISIA: 7169, + ARABIC_TUNISIA = 7169, /** * Arabic (U.A.E.) */ - ARABIC_UAE: 14337, + ARABIC_UAE = 14337, /** * Arabic (Yemen) */ - ARABIC_YEMEN: 9217, + ARABIC_YEMEN = 9217, /** * Armenian */ - ARABIC_ARMENIAN: 1067, + ARABIC_ARMENIAN = 1067, /** * Azeri (Cyrillic) */ - AZERI_CYRILIC: 2092, + AZERI_CYRILIC = 2092, /** * Azeri (Latin) */ - AZERI_LATIN: 1068, + AZERI_LATIN = 1068, /** * Basque */ - BASQUE: 1069, + BASQUE = 1069, /** * Belarusian */ - BELARUSIAN: 1059, + BELARUSIAN = 1059, /** * Bulgarian */ - BULGARIAN: 1026, + BULGARIAN = 1026, /** * Burmese */ - BURMESE: 1109, + BURMESE = 1109, /** * Catalan */ - CATALAN: 1027, + CATALAN = 1027, /** * Chinese (HongKong S.A.R.) */ - CHINESE_HONGKONG_SAR: 3076, + CHINESE_HONGKONG_SAR = 3076, /** * Chinese (Macao S.A.R.) */ - CHINESE_MACAO_SAR: 5124, + CHINESE_MACAO_SAR = 5124, /** * Chinese */ - CHINESE: 2052, + CHINESE = 2052, /** * Chinese (Singapore) */ - CHINESE_SINGAPORE: 4100, + CHINESE_SINGAPORE = 4100, /** * Chinese (Taiwan) */ - CHINESE_TAIWAN: 1028, + CHINESE_TAIWAN = 1028, /** * Croatian */ - CROATIAN: 1050, + CROATIAN = 1050, /** * Czech */ - CZECH: 1029, + CZECH = 1029, /** * Danish */ - DANISH: 1030, + DANISH = 1030, /** * Divehi */ - DIVEHI: 1125, + DIVEHI = 1125, /** * Dutch (Belgium) */ - DUTCH_BELGIUM: 2067, + DUTCH_BELGIUM = 2067, /** * Dutch (Netherlands) */ - DUTCH_NETHERLANDS: 1043, + DUTCH_NETHERLANDS = 1043, /** * English (Australia) */ - ENGLISH_AUSTRALIA: 3081, + ENGLISH_AUSTRALIA = 3081, /** * English (Belize) */ - ENGLISH_BELIZE: 10249, + ENGLISH_BELIZE = 10249, /** * English (Canada) */ - ENGLISH_CANADA: 4105, + ENGLISH_CANADA = 4105, /** * English (Caribbean) */ - ENGLISH_CARRIBEAN: 9225, + ENGLISH_CARRIBEAN = 9225, /** * English (Ireland) */ - ENGLISH_IRELAND: 6153, + ENGLISH_IRELAND = 6153, /** * English (Jamaica) */ - ENGLISH_JAMAICA: 8201, + ENGLISH_JAMAICA = 8201, /** * English (New Zealand) */ - ENGLISH_NEW_ZEALAND: 5129, + ENGLISH_NEW_ZEALAND = 5129, /** * English (Philippines) */ - ENGLISH_PHILIPPINES: 13321, + ENGLISH_PHILIPPINES = 13321, /** * English (South Africa) */ - ENGLISH_SOUTH_AFRICA: 7177, + ENGLISH_SOUTH_AFRICA = 7177, /** * English (Trinidad) */ - ENGLISH_TRINIDAD: 11273, + ENGLISH_TRINIDAD = 11273, /** * English (United Kingdom) */ - ENGLISH_UK: 2057, + ENGLISH_UK = 2057, /** * English (United States) */ - ENGLISH_US: 1033, + ENGLISH_US = 1033, /** * English (Zimbabwe) */ - ENGLISH_ZIMBABWE: 12297, + ENGLISH_ZIMBABWE = 12297, /** * Estonian */ - ESTONIAN: 1061, + ESTONIAN = 1061, /** * Faeroese */ - FAEROESE: 1080, + FAEROESE = 1080, /** * Farsi */ - FARSI: 1065, + FARSI = 1065, /** * Finnish */ - FINNISH: 1035, + FINNISH = 1035, /** * French (Belgium) */ - FRENCH_BELGIUM: 2060, + FRENCH_BELGIUM = 2060, /** * French (Canada) */ - FRENCH_CANADA: 3084, + FRENCH_CANADA = 3084, /** * French (France) */ - FRENCH_FRANCE: 1036, + FRENCH_FRANCE = 1036, /** * French (Luxembourg) */ - FRENCH_LUXEMBOURG: 5132, + FRENCH_LUXEMBOURG = 5132, /** * French (Monaco) */ - FRENCH_MONACO: 6156, + FRENCH_MONACO = 6156, /** * French (Switzerland) */ - FRENCH_SWITZERLAND: 4108, + FRENCH_SWITZERLAND = 4108, /** * FYRO Macedonian */ - FYRO_MACEDONIAN: 1071, + FYRO_MACEDONIAN = 1071, /** * Galician */ - GALICIAN: 1110, + GALICIAN = 1110, /** * Georgian */ - GEORGIAN: 1079, + GEORGIAN = 1079, /** * German (Austria) */ - GERMAN_AUSTRIA: 3079, + GERMAN_AUSTRIA = 3079, /** * German (Germany) */ - GERMAN_GERMANY: 1031, + GERMAN_GERMANY = 1031, /** * German (Liechtenstein) */ - GERMAN_LIECHTENSTEIN: 5127, + GERMAN_LIECHTENSTEIN = 5127, /** * German (Luxembourg) */ - GERMAN_LUXEMBOURG: 4103, + GERMAN_LUXEMBOURG = 4103, /** * German (Switzerland) */ - GERMAN_SWITZERLAND: 2055, + GERMAN_SWITZERLAND = 2055, /** * Greek */ - GREEK: 1032, + GREEK = 1032, /** * Gujarati */ - GUJARATI: 1095, + GUJARATI = 1095, /** * Hebrew */ - HEBREW: 1037, + HEBREW = 1037, /** * Hindi (India) */ - HINDI_INDIA: 1081, + HINDI_INDIA = 1081, /** * Hungarian */ - HUNGARIAN: 1038, + HUNGARIAN = 1038, /** * Icelandic */ - ICELANDIC: 1039, + ICELANDIC = 1039, /** * Indonesian */ - INDONESIAN: 1057, + INDONESIAN = 1057, /** * Italian (Italy) */ - ITALIAN_ITALY: 1040, + ITALIAN_ITALY = 1040, /** * Italian (Switzerland) */ - ITALIAN_SWITZERLAND: 2064, + ITALIAN_SWITZERLAND = 2064, /** * Japanese */ - JAPANESE: 1041, + JAPANESE = 1041, /** * Kannada */ - KANNADA: 1099, + KANNADA = 1099, /** * Kazakh */ - KAZAKH: 1087, + KAZAKH = 1087, /** * Khmer */ - KHMER: 1107, + KHMER = 1107, /** * Konkani */ - KONKANI: 1111, + KONKANI = 1111, /** * Korean */ - KOREAN: 1042, + KOREAN = 1042, /** * Kyrgyz (Cyrillic) */ - KYRGYZ_CYRILICK: 1088, + KYRGYZ_CYRILICK = 1088, /** * Latvian */ - LATVIAN: 1062, + LATVIAN = 1062, /** * Lithuanian */ - LITHUANIAN: 1063, + LITHUANIAN = 1063, /** * Malay (Malaysia) */ - MALAY_MALAYSIA: 1086, + MALAY_MALAYSIA = 1086, /** * Malay (Brunei Darussalam) */ - MALAY_BRUNEI_DARUSSALAM: 2110, + MALAY_BRUNEI_DARUSSALAM = 2110, /** * Maltese */ - MALTESE: 1082, + MALTESE = 1082, /** * Marathi */ - MARATHI: 1102, + MARATHI = 1102, /** * Mongolian (Cyrillic) */ - MONGOLIAN_CYRILIC: 1104, + MONGOLIAN_CYRILIC = 1104, /** * Norwegian (Bokmal) */ - NORWEGIAN_BOKMAL: 1044, + NORWEGIAN_BOKMAL = 1044, /** * Norwegian (Nynorsk) */ - NORWEGIAN_NYORSK: 2068, + NORWEGIAN_NYORSK = 2068, /** * Polish */ - POLISH: 1045, + POLISH = 1045, /** * Portuguese (Brazil) */ - PORTUGUESE_BRAZIL: 1046, + PORTUGUESE_BRAZIL = 1046, /** * Portuguese (Portugal) */ - PORTUGUESE_PORTUGAL: 2070, + PORTUGUESE_PORTUGAL = 2070, /** * Punjabi */ - PUNJABI: 1094, + PUNJABI = 1094, /** * Rhaeto-Romanic */ - RHAETO_ROMANIC: 1047, + RHAETO_ROMANIC = 1047, /** * Romanian */ - ROMANIAN: 1048, + ROMANIAN = 1048, /** * Russian */ - RUSSIAN: 1049, + RUSSIAN = 1049, /** * Sanskrit */ - SANSKRIT: 1103, + SANSKRIT = 1103, /** * Serbian (Cyrillic) */ - SERBIAN_CYRILIC: 3098, + SERBIAN_CYRILIC = 3098, /** * Serbian (Latin) */ - SERBIAN_LATIN: 2074, + SERBIAN_LATIN = 2074, /** * Sinhala */ - SINHALA: 1115, + SINHALA = 1115, /** * Slovak */ - SLOVAK: 1051, + SLOVAK = 1051, /** * Slovenian */ - SLOVENIAN: 1060, + SLOVENIAN = 1060, /** * Spanish (Argentina) */ - SPANISH_ARGENTINA: 11274, + SPANISH_ARGENTINA = 11274, /** * Spanish (Bolivia) */ - SPANISH_BOLIVIA: 16394, + SPANISH_BOLIVIA = 16394, /** * Spanish (Chile) */ - SPANISH_CHILE: 13322, + SPANISH_CHILE = 13322, /** * Spanish (Colombia) */ - SPANICH_COLOMBIA: 9226, + SPANICH_COLOMBIA = 9226, /** * Spanish (Costa Rica) */ - SPANISH_COSTA_RICA: 5130, + SPANISH_COSTA_RICA = 5130, /** * Spanish (Dominican Republic) */ - SPANISH_DOMINICAN_REPUBLIC: 7178, + SPANISH_DOMINICAN_REPUBLIC = 7178, /** * Spanish (Ecuador) */ - SPANISH_ECUADOR: 12298, + SPANISH_ECUADOR = 12298, /** * Spanish (El Salvador) */ - SPANISH_EL_SALVADOR: 17418, + SPANISH_EL_SALVADOR = 17418, /** * Spanish (Guatemala) */ - SPANISH_GUATEMALA: 4106, + SPANISH_GUATEMALA = 4106, /** * Spanish (Honduras) */ - SPANISH_HONDURAS: 18442, + SPANISH_HONDURAS = 18442, /** * Spanish (Mexico) */ - SPANISH_MEXICO: 2058, + SPANISH_MEXICO = 2058, /** * Spanish (Nicaragua) */ - SPANISH_NICARAGUA: 19466, + SPANISH_NICARAGUA = 19466, /** * Spanish (Panama) */ - SPANISH_PANAMA: 6154, + SPANISH_PANAMA = 6154, /** * Spanish (Paraguay) */ - SPANISH_PARAGUAY: 15370, + SPANISH_PARAGUAY = 15370, /** * Spanish (Peru) */ - SPANISH_PERU: 10250, + SPANISH_PERU = 10250, /** * Spanish (Puerto Rico) */ - SPANISH_PUERTO_RICO: 20490, + SPANISH_PUERTO_RICO = 20490, /** * Spanish (Traditional Sort) */ - SPANISH_TRADITIONAL_SORT: 1034, + SPANISH_TRADITIONAL_SORT = 1034, /** * Spanish (International Sort) */ - SPANISH_INTERNATIONAL_SORT: 3082, + SPANISH_INTERNATIONAL_SORT = 3082, /** * Spanish (Uruguay) */ - SPANISH_URUGUAY: 14346, + SPANISH_URUGUAY = 14346, /** * Spanish (Venezuela) */ - SPANISH_VENEZUELA: 8202, + SPANISH_VENEZUELA = 8202, /** * Swahili */ - SWAHILI: 1089, + SWAHILI = 1089, /** * Swedish */ - SWEDISH: 1053, + SWEDISH = 1053, /** * Swedish (Finland) */ - SWEDISH_FINLAND: 2077, + SWEDISH_FINLAND = 2077, /** * Syriac */ - SYRIAC: 1114, + SYRIAC = 1114, /** * Tamil */ - TAMIL: 1097, + TAMIL = 1097, /** * Tatar */ - TATAR: 1092, + TATAR = 1092, /** * Telugu */ - TELUGU: 1098, + TELUGU = 1098, /** * Thai (Thailand) */ - THAI_THAILAND: 1054, + THAI_THAILAND = 1054, /** * Turkish */ - TURKISH: 1055, + TURKISH = 1055, /** * Tajik (Cyrillic) */ - TAJIK_CYRILLIC: 1064, + TAJIK_CYRILLIC = 1064, /** * Turkmen */ - TURKMEN: 1090, + TURKMEN = 1090, /** * Ukrainian */ - UKRAINIAN: 1058, + UKRAINIAN = 1058, /** * Urdu */ - URDU: 1056, + URDU = 1056, /** * Uzbek (Cyrillic) */ - UZBEK_CYRILIC: 2115, + UZBEK_CYRILIC = 2115, /** * Uzbek (Latin) */ - UZBEK_LATIN: 1091, + UZBEK_LATIN = 1091, /** * Vietnamese */ - VIETNAMESE: 1066, + VIETNAMESE = 1066, /** * CTC Simplified */ - CTC_SIMPLIFIED: 50001, + CTC_SIMPLIFIED = 50001, /** * CTC Traditional */ - CTC_TRADITIONAL: 50002, + CTC_TRADITIONAL = 50002, /** * Bengali (Bangladesh) */ - BENGALI_BANGLADESH: 2117, + BENGALI_BANGLADESH = 2117, /** * BengaliIndia */ - BENGALI_INDIA: 1093, + BENGALI_INDIA = 1093, /** * Assamese */ - ASSAMESE: 1101, + ASSAMESE = 1101, /** * Oriya */ - ORIYA: 1096, + ORIYA = 1096, /** * Malayalam */ - MALAYALAM: 1100, + MALAYALAM = 1100, /** * Lao */ - LAO: 1108, + LAO = 1108, /** * Sindhi (India) */ - SINDHI_INDIA: 1113, + SINDHI_INDIA = 1113, /** * Amharic */ - AMHARIC: 1118, + AMHARIC = 1118, /** * Kashmiri */ - KASHMIRI: 1120, + KASHMIRI = 1120, /** * Nepali */ - NEPALI: 1121, + NEPALI = 1121, /** * Pashto */ - PASHTO: 1123, + PASHTO = 1123, /** * Sindhi */ - SINDHI: 2137, + SINDHI = 2137, /** * Arabic (World) */ - ARABIC: 4096, + ARABIC = 4096, /** * Bank Card Number */ - BANK_CARD_NUMBER: 10000, + BANK_CARD_NUMBER = 10000, /** * Bank Card Expiry Date */ - BANK_CARD_EXPIRY_DATE: 10001, + BANK_CARD_EXPIRY_DATE = 10001, /** * Bank Card Name */ - BANK_CARD_NAME: 10002, + BANK_CARD_NAME = 10002, /** * Bank Card */ - BANK_CARD: 10003, + BANK_CARD = 10003, /** * Bank Card CVV2 */ - BANK_CARD_CVV2: 10004, + BANK_CARD_CVV2 = 10004, /** * Abkhazian (Cyrillic) */ - ABKHAZIAN: 10011, + ABKHAZIAN = 10011, /** * Karakalpak (Latin) */ - KARAKALPAK: 10012, + KARAKALPAK = 10012, /** * Urdu Detection */ - URDU_DETECTION: 10560 -} as const; - -export type LCID = typeof LCID[keyof typeof LCID]; + URDU_DETECTION = 10560 +} diff --git a/src/models/lexical-analysis-result-all-of.ts b/src/models/lexical-analysis-result-all-of.ts index fc78613b..2f20de33 100644 --- a/src/models/lexical-analysis-result-all-of.ts +++ b/src/models/lexical-analysis-result-all-of.ts @@ -16,15 +16,15 @@ import type { ListVerifiedFields } from './list-verified-fields'; /** -* -* @export -* @interface LexicalAnalysisResultAllOf -*/ + * + * @export + * @interface LexicalAnalysisResultAllOf + */ export interface LexicalAnalysisResultAllOf { /** - * - * @type {ListVerifiedFields} - * @memberof LexicalAnalysisResultAllOf - */ + * + * @type {ListVerifiedFields} + * @memberof LexicalAnalysisResultAllOf + */ ListVerifiedFields: ListVerifiedFields; } diff --git a/src/models/license-result-all-of.ts b/src/models/license-result-all-of.ts index 3fbe4bec..4e81e07b 100644 --- a/src/models/license-result-all-of.ts +++ b/src/models/license-result-all-of.ts @@ -15,15 +15,15 @@ /** -* Contains license -* @export -* @interface LicenseResultAllOf -*/ + * Contains license + * @export + * @interface LicenseResultAllOf + */ export interface LicenseResultAllOf { /** - * Base64 encoded data - * @type {string} - * @memberof LicenseResultAllOf - */ + * Base64 encoded data + * @type {string} + * @memberof LicenseResultAllOf + */ License: string; } diff --git a/src/models/light.ts b/src/models/light.ts index ad7c356b..32a1b53c 100644 --- a/src/models/light.ts +++ b/src/models/light.ts @@ -15,181 +15,178 @@ /** -* Image light index -* @export -* @enum {string} -*/ - -export const Light = { + * Image light index + * @export + * @enum {string} + */ +export enum Light { /** * Lighting schemes are off */ - OFF: 0, + OFF = 0, /** * OVI scheme */ - OVI: 1, + OVI = 1, /** * Upper/lower lighters of white light scheme */ - WHITE_TOP: 2, + WHITE_TOP = 2, /** * Side lighters of white light scheme */ - WHITE_SIDE: 4, + WHITE_SIDE = 4, /** * General white light without separate control of side and upper/lower lighters scheme */ - WHITE_FRONT: 8388608, + WHITE_FRONT = 8388608, /** * Upper/lower and side lighters of white light scheme */ - WHITE: 6, + WHITE = 6, /** * Upper/lower lighters of IR light scheme */ - IR_TOP: 8, + IR_TOP = 8, /** * Side lighters of IR light scheme */ - IR_SIDE: 16, + IR_SIDE = 16, /** * General IR light without separate control of side and upper/lower lighters scheme */ - IR_FRONT: 16777216, + IR_FRONT = 16777216, /** * Upper/lower and side lighters of IR light scheme */ - IR: 24, + IR = 24, /** * general white image converted to grayscale */ - WHITE_GRAY: 33554432, + WHITE_GRAY = 33554432, /** * General UV light scheme */ - UV: 128, + UV = 128, /** * OVD light for hologram visualization */ - OVD: 67108864, + OVD = 67108864, /** * Video detection light for internal use only */ - VIDEODETECTION: 134217728, + VIDEODETECTION = 134217728, /** * Light IR 870 oblique */ - IR_870_OBL: 268435456, + IR_870_OBL = 268435456, /** * IR luminescence */ - IR_LUMINESCENCE: 256, + IR_LUMINESCENCE = 256, /** * Left lighter of white coaxial light scheme */ - AXIAL_WHITE_LEFT: 1024, + AXIAL_WHITE_LEFT = 1024, /** * Right lighter of white coaxial light scheme */ - AXIAL_WHITE_RIGHT: 2048, + AXIAL_WHITE_RIGHT = 2048, /** * Coaxial white light without separate control of left and right lighters scheme */ - AXIAL_WHITE_FRONT: 512, + AXIAL_WHITE_FRONT = 512, /** * IR720 */ - IR_720: 4096, + IR_720 = 4096, /** * IR940 */ - IR_940: 8192, + IR_940 = 8192, /** * Right and left lighters of white coaxial light scheme */ - AXIAL_WHITE_FULL: 3072, + AXIAL_WHITE_FULL = 3072, /** * For internal use */ - RAW_DATA: 2147483648, + RAW_DATA = 2147483648, /** * For internal use */ - RAW_DATA_GRBG: 2415919104, + RAW_DATA_GRBG = 2415919104, /** * For internal use */ - RAW_DATA_GBGR: 2684354560, + RAW_DATA_GBGR = 2684354560, /** * For internal use */ - RAW_DATA_RGGB: 2952790016, + RAW_DATA_RGGB = 2952790016, /** * For internal use */ - RAW_DATA_BGGR: 3221225472, + RAW_DATA_BGGR = 3221225472, /** * Transmitted */ - TRANSMITTED: 32, + TRANSMITTED = 32, /** * Transmitted IR */ - TRANSMITTED_IR: 64, + TRANSMITTED_IR = 64, /** * Transmitted AntiStokes */ - ANTI_STOKES: 65536, + ANTI_STOKES = 65536, /** * Transmitted IR940 */ - TRANSMITTED_IR940: 16384, + TRANSMITTED_IR940 = 16384, /** * OVD right */ - OVD_RIGHT: 262144, + OVD_RIGHT = 262144, /** * OVD left */ - OVD_LEFT: 131072, + OVD_LEFT = 131072, /** * IR 700 */ - IR_700: 32768, + IR_700 = 32768, /** * Front IR870 (mod. 8803) */ - IR_870: 16777216, + IR_870 = 16777216, /** * OVD light (hologram visualization) (mod. 8850) */ - HOLO: 67108864, + HOLO = 67108864, /** * For internal use */ - IR_BOTTOM: 64, + IR_BOTTOM = 64, /** * For internal use */ - WHITE_BOTTOM: 32, + WHITE_BOTTOM = 32, /** * UVС 254 (mod. 88X0) */ - UVC: 524288, + UVC = 524288, /** * UVB 313 (mod. 88X0) */ - UVB: 1048576, + UVB = 1048576, /** * White oblique light */ - WHITE_OBL: 2097152, + WHITE_OBL = 2097152, /** * For internal use */ - WHITE_SPECIAL: 4194304 -} as const; - -export type Light = typeof Light[keyof typeof Light]; + WHITE_SPECIAL = 4194304 +} diff --git a/src/models/list-transactions-by-tag-response.ts b/src/models/list-transactions-by-tag-response.ts index 0c06cace..a9515351 100644 --- a/src/models/list-transactions-by-tag-response.ts +++ b/src/models/list-transactions-by-tag-response.ts @@ -16,21 +16,21 @@ import type { GetTransactionsByTagResponse } from './get-transactions-by-tag-response'; /** -* -* @export -* @interface ListTransactionsByTagResponse -*/ + * + * @export + * @interface ListTransactionsByTagResponse + */ export interface ListTransactionsByTagResponse { /** - * - * @type {Array} - * @memberof ListTransactionsByTagResponse - */ + * + * @type {Array} + * @memberof ListTransactionsByTagResponse + */ items?: Array; /** - * - * @type {{ [key: string]: object; }} - * @memberof ListTransactionsByTagResponse - */ + * + * @type {{ [key: string]: object; }} + * @memberof ListTransactionsByTagResponse + */ metadata?: { [key: string]: object; }; } diff --git a/src/models/list-verified-fields.ts b/src/models/list-verified-fields.ts index e354a64e..0508b3a7 100644 --- a/src/models/list-verified-fields.ts +++ b/src/models/list-verified-fields.ts @@ -16,21 +16,21 @@ import type { VerifiedFieldMap } from './verified-field-map'; /** -* -* @export -* @interface ListVerifiedFields -*/ + * + * @export + * @interface ListVerifiedFields + */ export interface ListVerifiedFields { /** - * Number of pFieldMaps array elements - * @type {number} - * @memberof ListVerifiedFields - */ + * Number of pFieldMaps array elements + * @type {number} + * @memberof ListVerifiedFields + */ Count: number; /** - * - * @type {Array} - * @memberof ListVerifiedFields - */ + * + * @type {Array} + * @memberof ListVerifiedFields + */ pFieldMaps: Array; } diff --git a/src/models/liveness-params.ts b/src/models/liveness-params.ts index 95bf8c28..ced45f40 100644 --- a/src/models/liveness-params.ts +++ b/src/models/liveness-params.ts @@ -15,33 +15,33 @@ /** -* -* @export -* @interface LivenessParams -*/ + * + * @export + * @interface LivenessParams + */ export interface LivenessParams { /** - * This parameter is used to enable OVI check - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable OVI check + * @type {boolean} + * @memberof LivenessParams + */ checkOVI?: boolean; /** - * This parameter is used to enable MLI check - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable MLI check + * @type {boolean} + * @memberof LivenessParams + */ checkMLI?: boolean; /** - * This parameter is used to enable Hologram detection - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable Hologram detection + * @type {boolean} + * @memberof LivenessParams + */ checkHolo?: boolean; /** - * This parameter is used to enable Electronic device detection - * @type {boolean} - * @memberof LivenessParams - */ + * This parameter is used to enable Electronic device detection + * @type {boolean} + * @memberof LivenessParams + */ checkED?: boolean; } diff --git a/src/models/log-level.ts b/src/models/log-level.ts index c5e4104e..80b035b7 100644 --- a/src/models/log-level.ts +++ b/src/models/log-level.ts @@ -15,33 +15,30 @@ /** -* -* @export -* @enum {string} -*/ - -export const LogLevel = { + * + * @export + * @enum {string} + */ +export enum LogLevel { /** * Fatal error */ - FATAL_ERROR: 'FatalError', + FATAL_ERROR = 'FatalError', /** * Error */ - ERROR: 'Error', + ERROR = 'Error', /** * Warning */ - WARNING: 'Warning', + WARNING = 'Warning', /** * Info */ - INFO: 'Info', + INFO = 'Info', /** * Debug */ - DEBUG: 'Debug' -} as const; - -export type LogLevel = typeof LogLevel[keyof typeof LogLevel]; + DEBUG = 'Debug' +} diff --git a/src/models/measure-system.ts b/src/models/measure-system.ts index 8fecc0e8..d719f654 100644 --- a/src/models/measure-system.ts +++ b/src/models/measure-system.ts @@ -15,21 +15,18 @@ /** -* -* @export -* @enum {string} -*/ - -export const MeasureSystem = { + * + * @export + * @enum {string} + */ +export enum MeasureSystem { /** * Metric system of measurement, where things are measured in meters and grams */ - METRIC: 0, + METRIC = 0, /** * Imperial System of Measurement, where things are measured in feet, inches and pounds */ - IMPERIAL: 1 -} as const; - -export type MeasureSystem = typeof MeasureSystem[keyof typeof MeasureSystem]; + IMPERIAL = 1 +} diff --git a/src/models/mrz-detect-mode-enum.ts b/src/models/mrz-detect-mode-enum.ts index a00df9d3..d12722da 100644 --- a/src/models/mrz-detect-mode-enum.ts +++ b/src/models/mrz-detect-mode-enum.ts @@ -15,16 +15,13 @@ /** -* Make better MRZ detection on complex noisy backgrounds, like BW photocopy of some documents. -* @export -* @enum {string} -*/ - -export const MrzDetectModeEnum = { - eMDM_Default: 0, - eMDM_ResizeBinarizeWindow: 1, - eMDM_BlurBeforeBinarization: 2 -} as const; - -export type MrzDetectModeEnum = typeof MrzDetectModeEnum[keyof typeof MrzDetectModeEnum]; + * Make better MRZ detection on complex noisy backgrounds, like BW photocopy of some documents. + * @export + * @enum {string} + */ +export enum MrzDetectModeEnum { + eMDM_Default = 0, + eMDM_ResizeBinarizeWindow = 1, + eMDM_BlurBeforeBinarization = 2 +} diff --git a/src/models/mrzformat.ts b/src/models/mrzformat.ts index 1ff48597..be3a4d0e 100644 --- a/src/models/mrzformat.ts +++ b/src/models/mrzformat.ts @@ -15,37 +15,34 @@ /** -* -* @export -* @enum {string} -*/ - -export const MRZFormat = { + * + * @export + * @enum {string} + */ +export enum MRZFormat { /** * 1x30 */ - IDL: '1x30', + IDL = '1x30', /** * 3x30 */ - ID1: '3x30', + ID1 = '3x30', /** * 2x36 */ - ID2: '2x36', + ID2 = '2x36', /** * 2x44 */ - ID3: '2x44', + ID3 = '2x44', /** * 1x6 */ - CAN: '1x6', + CAN = '1x6', /** * 2x30 */ - ID1_2_30: '2x30' -} as const; - -export type MRZFormat = typeof MRZFormat[keyof typeof MRZFormat]; + ID1_2_30 = '2x30' +} diff --git a/src/models/ocrsecurity-text-result-all-of.ts b/src/models/ocrsecurity-text-result-all-of.ts index 8171ec1b..61bbb89f 100644 --- a/src/models/ocrsecurity-text-result-all-of.ts +++ b/src/models/ocrsecurity-text-result-all-of.ts @@ -18,75 +18,75 @@ import type { Light } from './light'; import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface OCRSecurityTextResultAllOf -*/ + * + * @export + * @interface OCRSecurityTextResultAllOf + */ export interface OCRSecurityTextResultAllOf { /** - * - * @type {Critical} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {Critical} + * @memberof OCRSecurityTextResultAllOf + */ CriticalFlag: Critical; /** - * - * @type {Light} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {Light} + * @memberof OCRSecurityTextResultAllOf + */ LightType: Light; /** - * - * @type {RectangleCoordinates} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof OCRSecurityTextResultAllOf + */ FieldRect: RectangleCoordinates; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ EtalonResultType: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ EtalonFieldType: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ EtalonLightType: number; /** - * - * @type {RectangleCoordinates} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof OCRSecurityTextResultAllOf + */ EtalonFieldRect: RectangleCoordinates; /** - * - * @type {string} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {string} + * @memberof OCRSecurityTextResultAllOf + */ SecurityTextResultOCR: string; /** - * - * @type {string} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {string} + * @memberof OCRSecurityTextResultAllOf + */ EtalonResultOCR: string; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ Reserved1?: number; /** - * - * @type {number} - * @memberof OCRSecurityTextResultAllOf - */ + * + * @type {number} + * @memberof OCRSecurityTextResultAllOf + */ Reserved2?: number; } diff --git a/src/models/one-candidate.ts b/src/models/one-candidate.ts index cca02d0e..4a7f083c 100644 --- a/src/models/one-candidate.ts +++ b/src/models/one-candidate.ts @@ -17,75 +17,75 @@ import type { FDSIDList } from './fdsidlist'; import type { RfidLocation } from './rfid-location'; /** -* Contains information about one document type candidate -* @export -* @interface OneCandidate -*/ + * Contains information about one document type candidate + * @export + * @interface OneCandidate + */ export interface OneCandidate { /** - * Document name - * @type {string} - * @memberof OneCandidate - */ + * Document name + * @type {string} + * @memberof OneCandidate + */ DocumentName: string; /** - * Unique document type template identifier (Regula\'s internal numeric code) - * @type {number} - * @memberof OneCandidate - */ + * Unique document type template identifier (Regula\'s internal numeric code) + * @type {number} + * @memberof OneCandidate + */ ID: number; /** - * A measure of the likelihood of correct recognition in the analysis of this type of document - * @type {number} - * @memberof OneCandidate - */ + * A measure of the likelihood of correct recognition in the analysis of this type of document + * @type {number} + * @memberof OneCandidate + */ P: number; /** - * true if the document of the given type is rotated by 180 degrees - * @type {boolean} - * @memberof OneCandidate - */ + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof OneCandidate + */ Rotated180: boolean; /** - * - * @type {RfidLocation} - * @memberof OneCandidate - */ + * + * @type {RfidLocation} + * @memberof OneCandidate + */ RFID_Presence: RfidLocation; /** - * - * @type {FDSIDList} - * @memberof OneCandidate - */ + * + * @type {FDSIDList} + * @memberof OneCandidate + */ FDSIDList: FDSIDList; /** - * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document - * @type {number} - * @memberof OneCandidate - */ + * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document + * @type {number} + * @memberof OneCandidate + */ NecessaryLights: number; /** - * Set of authentication options provided for this type of document (combination of Authenticity enum) - * @type {number} - * @memberof OneCandidate - */ + * Set of authentication options provided for this type of document (combination of Authenticity enum) + * @type {number} + * @memberof OneCandidate + */ CheckAuthenticity: number; /** - * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme - * @type {number} - * @memberof OneCandidate - */ + * The required exposure value of the camera when receiving images of a document of this type for a UV lighting scheme + * @type {number} + * @memberof OneCandidate + */ UVExp: number; /** - * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity - * @type {number} - * @memberof OneCandidate - */ + * Combination of lighting scheme identifiers (combination of Light enum) needed to perform all authenticity checks specified in CheckAuthenticity + * @type {number} + * @memberof OneCandidate + */ AuthenticityNecessaryLights: number; /** - * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme - * @type {number} - * @memberof OneCandidate - */ + * Camera exposure value necessary when obtaining document images of the given type for AXIAL lighting scheme + * @type {number} + * @memberof OneCandidate + */ OVIExp: number; } diff --git a/src/models/original-symbol.ts b/src/models/original-symbol.ts index 31268b75..fd066eb6 100644 --- a/src/models/original-symbol.ts +++ b/src/models/original-symbol.ts @@ -16,27 +16,27 @@ import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface OriginalSymbol -*/ + * + * @export + * @interface OriginalSymbol + */ export interface OriginalSymbol { /** - * Unicode symbol code - * @type {number} - * @memberof OriginalSymbol - */ + * Unicode symbol code + * @type {number} + * @memberof OriginalSymbol + */ code: number; /** - * Probability of correctness reading of a single character - * @type {number} - * @memberof OriginalSymbol - */ + * Probability of correctness reading of a single character + * @type {number} + * @memberof OriginalSymbol + */ probability: number; /** - * - * @type {RectangleCoordinates} - * @memberof OriginalSymbol - */ + * + * @type {RectangleCoordinates} + * @memberof OriginalSymbol + */ rect?: RectangleCoordinates; } diff --git a/src/models/out-data-transaction-images-field-value.ts b/src/models/out-data-transaction-images-field-value.ts index 5da58fd7..8fd60d61 100644 --- a/src/models/out-data-transaction-images-field-value.ts +++ b/src/models/out-data-transaction-images-field-value.ts @@ -17,39 +17,39 @@ import type { GraphicFieldType } from './graphic-field-type'; import type { Light } from './light'; /** -* -* @export -* @interface OutDataTransactionImagesFieldValue -*/ + * + * @export + * @interface OutDataTransactionImagesFieldValue + */ export interface OutDataTransactionImagesFieldValue { /** - * - * @type {GraphicFieldType} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {GraphicFieldType} + * @memberof OutDataTransactionImagesFieldValue + */ fieldType?: GraphicFieldType; /** - * - * @type {Light} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {Light} + * @memberof OutDataTransactionImagesFieldValue + */ light?: Light; /** - * - * @type {number} - * @memberof OutDataTransactionImagesFieldValue - */ + * + * @type {number} + * @memberof OutDataTransactionImagesFieldValue + */ listIdx?: number; /** - * Page index of the image from input list - * @type {number} - * @memberof OutDataTransactionImagesFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof OutDataTransactionImagesFieldValue + */ pageIdx?: number; /** - * Image url - * @type {string} - * @memberof OutDataTransactionImagesFieldValue - */ + * Image url + * @type {string} + * @memberof OutDataTransactionImagesFieldValue + */ url?: string; } diff --git a/src/models/out-data.ts b/src/models/out-data.ts index f5085d13..27fc3c2f 100644 --- a/src/models/out-data.ts +++ b/src/models/out-data.ts @@ -16,21 +16,21 @@ import type { OutDataTransactionImagesFieldValue } from './out-data-transaction-images-field-value'; /** -* -* @export -* @interface OutData -*/ + * + * @export + * @interface OutData + */ export interface OutData { /** - * Response url - * @type {string} - * @memberof OutData - */ + * Response url + * @type {string} + * @memberof OutData + */ url?: string; /** - * - * @type {Array} - * @memberof OutData - */ + * + * @type {Array} + * @memberof OutData + */ images?: Array; } diff --git a/src/models/parray-field.ts b/src/models/parray-field.ts index 7d5d588b..c6b1e4e9 100644 --- a/src/models/parray-field.ts +++ b/src/models/parray-field.ts @@ -19,69 +19,69 @@ import type { BcROIDETECT } from './bc-roidetect'; import type { DataModule } from './data-module'; /** -* -* @export -* @interface PArrayField -*/ + * + * @export + * @interface PArrayField + */ export interface PArrayField { /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcAngle_DETECT: number; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcCodeResult: number; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcCountModule: number; /** - * - * @type {Array} - * @memberof PArrayField - */ + * + * @type {Array} + * @memberof PArrayField + */ bcDataModule: Array; /** - * - * @type {BcPDF417INFO} - * @memberof PArrayField - */ + * + * @type {BcPDF417INFO} + * @memberof PArrayField + */ bcPDF417INFO?: BcPDF417INFO; /** - * - * @type {BcROIDETECT} - * @memberof PArrayField - */ + * + * @type {BcROIDETECT} + * @memberof PArrayField + */ bcROI_DETECT: BcROIDETECT; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcTextDecoderTypes?: number; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcTextFieldType?: number; /** - * - * @type {BarcodeType} - * @memberof PArrayField - */ + * + * @type {BarcodeType} + * @memberof PArrayField + */ bcType_DECODE: BarcodeType; /** - * - * @type {number} - * @memberof PArrayField - */ + * + * @type {number} + * @memberof PArrayField + */ bcType_DETECT: number; } diff --git a/src/models/parsing-error-codes.ts b/src/models/parsing-error-codes.ts index 3d2dde0c..81654ab5 100644 --- a/src/models/parsing-error-codes.ts +++ b/src/models/parsing-error-codes.ts @@ -15,517 +15,514 @@ /** -* The enumeration contains error codes that can return during the RFID chip processing. -* @export -* @enum {string} -*/ - -export const ParsingErrorCodes = { + * The enumeration contains error codes that can return during the RFID chip processing. + * @export + * @enum {string} + */ +export enum ParsingErrorCodes { /** * OK */ - errLDS_Ok: 1, + errLDS_Ok = 1, /** * ASN: Incorrect data */ - errLDS_ASN_IncorrectData: 2147483649, + errLDS_ASN_IncorrectData = 2147483649, /** * ASN: Not enough data */ - errLDS_ASN_NotEnoughData: 2147483650, + errLDS_ASN_NotEnoughData = 2147483650, /** * ASN: Contents unexpected data */ - errLDS_ASN_Contents_UnexpectedData: 2147483651, + errLDS_ASN_Contents_UnexpectedData = 2147483651, /** * ASN Signed data: Incorrect data */ - errLDS_ASN_SignedData_IncorrectData: 2147483656, + errLDS_ASN_SignedData_IncorrectData = 2147483656, /** * ASN Signed data: Encap contents incorrect data */ - errLDS_ASN_SignedData_EncapContents_IncorrectData: 2147483657, + errLDS_ASN_SignedData_EncapContents_IncorrectData = 2147483657, /** * ASN Signed data: Version incorrect data */ - errLDS_ASN_SignedData_Version_IncorrectData: 2147483658, + errLDS_ASN_SignedData_Version_IncorrectData = 2147483658, /** * ASN Signed data: Digest algorithms incorrect data */ - errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData: 2147483665, + errLDS_ASN_SignedData_DigestAlgorithms_IncorrectData = 2147483665, /** * ASN LDS object: Incorrect data */ - errLDS_ASN_LDSObject_IncorrectData: 2147483667, + errLDS_ASN_LDSObject_IncorrectData = 2147483667, /** * ASN LDS object: Version incorrect data */ - errLDS_ASN_LDSObject_Version_IncorrectData: 2147483668, + errLDS_ASN_LDSObject_Version_IncorrectData = 2147483668, /** * ASN LDS object: Digest algorithm incorrect data */ - errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData: 2147483669, + errLDS_ASN_LDSObject_DigestAlgorithm_IncorrectData = 2147483669, /** * ASN LDS object: DG hashes incorrect data */ - errLDS_ASN_LDSObject_DGHashes_IncorrectData: 2147483670, + errLDS_ASN_LDSObject_DGHashes_IncorrectData = 2147483670, /** * ASN LDS object: Version info incorrect data */ - errLDS_ASN_LDSObject_VersionInfo_IncorrectData: 2147483666, + errLDS_ASN_LDSObject_VersionInfo_IncorrectData = 2147483666, /** * ASN Certificate: Incorrect data */ - errLDS_ASN_Certificate_IncorrectData: 2147483671, + errLDS_ASN_Certificate_IncorrectData = 2147483671, /** * ASN Certificate: Version incorrect data */ - errLDS_ASN_Certificate_Version_IncorrectData: 2147483672, + errLDS_ASN_Certificate_Version_IncorrectData = 2147483672, /** * ASN Certificate: SN incorrect data */ - errLDS_ASN_Certificate_SN_IncorrectData: 2147483673, + errLDS_ASN_Certificate_SN_IncorrectData = 2147483673, /** * ASN Certificate: Signature incorrect data */ - errLDS_ASN_Certificate_Signature_IncorrectData: 2147483674, + errLDS_ASN_Certificate_Signature_IncorrectData = 2147483674, /** * ASN Certificate: Issuer incorrect data */ - errLDS_ASN_Certificate_Issuer_IncorrectData: 2147483675, + errLDS_ASN_Certificate_Issuer_IncorrectData = 2147483675, /** * ASN Certificate: Validity incorrect data */ - errLDS_ASN_Certificate_Validity_IncorrectData: 2147483676, + errLDS_ASN_Certificate_Validity_IncorrectData = 2147483676, /** * ASN Certificate: Subject incorrect data */ - errLDS_ASN_Certificate_Subject_IncorrectData: 2147483677, + errLDS_ASN_Certificate_Subject_IncorrectData = 2147483677, /** * ASN Certificate: Subject PK incorrect data */ - errLDS_ASN_Certificate_SubjectPK_IncorrectData: 2147483678, + errLDS_ASN_Certificate_SubjectPK_IncorrectData = 2147483678, /** * ASN Certificate: Extensions incorrect data */ - errLDS_ASN_Certificate_Extensions_IncorrectData: 2147483679, + errLDS_ASN_Certificate_Extensions_IncorrectData = 2147483679, /** * ASN Signer info: Incorrect data */ - errLDS_ASN_SignerInfo_IncorrectData: 2147483680, + errLDS_ASN_SignerInfo_IncorrectData = 2147483680, /** * ASN Signer info: Version incorrect data */ - errLDS_ASN_SignerInfo_Version_IncorrectData: 2147483681, + errLDS_ASN_SignerInfo_Version_IncorrectData = 2147483681, /** * ASN Signer info: SID incorrect data */ - errLDS_ASN_SignerInfo_SID_IncorrectData: 2147483682, + errLDS_ASN_SignerInfo_SID_IncorrectData = 2147483682, /** * ASN Signer info: Digest algorithms incorrect data */ - errLDS_ASN_SignerInfo_DigestAlg_IncorrectData: 2147483683, + errLDS_ASN_SignerInfo_DigestAlg_IncorrectData = 2147483683, /** * ASN Signer info: Signed attributes incorrect data */ - errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData: 2147483684, + errLDS_ASN_SignerInfo_SignedAttrs_IncorrectData = 2147483684, /** * ASN Signer info: Sign algorithms incorrect data */ - errLDS_ASN_SignerInfo_SignAlg_IncorrectData: 2147483685, + errLDS_ASN_SignerInfo_SignAlg_IncorrectData = 2147483685, /** * ASN Signer info: Signature incorrect data */ - errLDS_ASN_SignerInfo_Signature_IncorrectData: 2147483686, + errLDS_ASN_SignerInfo_Signature_IncorrectData = 2147483686, /** * ASN Signer info: Unsigned attributes incorrect data */ - errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData: 2147483687, + errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687, /** * ICAO LDS object: Unsupported digest algorithm */ - errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm: 2147483696, + errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696, /** * ICAO Signed data: Signer info empty */ - errLDS_ICAO_SignedData_SignerInfos_Empty: 2147483697, + errLDS_ICAO_SignedData_SignerInfos_Empty = 2147483697, /** * ICAO Signer info: Unsupported digest algorithm */ - errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm: 2147483698, + errLDS_ICAO_SignerInfo_UnsupportedDigestAlgorithm = 2147483698, /** * ICAO Signer info: Unsupported signature algorithm */ - errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm: 2147483699, + errLDS_ICAO_SignerInfo_UnsupportedSignatureAlgorithm = 2147483699, /** * ICAO Signer info: Message digest error */ - errLDS_ICAO_SignerInfo_MessageDigestError: 2147483700, + errLDS_ICAO_SignerInfo_MessageDigestError = 2147483700, /** * ICAO Signer info: Signed attributes missed */ - errLDS_ICAO_SignerInfo_SignedAttrs_Missed: 2147483702, + errLDS_ICAO_SignerInfo_SignedAttrs_Missed = 2147483702, /** * Auth: Signer info cannot find certificate */ - errLDS_Auth_SignerInfo_CantFindCertificate: 2147483701, + errLDS_Auth_SignerInfo_CantFindCertificate = 2147483701, /** * Auth: Error */ - errLDS_Auth_Error: 2147483728, + errLDS_Auth_Error = 2147483728, /** * Auth: Unsupported signature algorithm */ - errLDS_Auth_UnsupportedSignatureAlgorithm: 2147483729, + errLDS_Auth_UnsupportedSignatureAlgorithm = 2147483729, /** * Auth: Unsupported public key algorithm */ - errLDS_Auth_UnsupportedPublicKeyAlgorithm: 2147483730, + errLDS_Auth_UnsupportedPublicKeyAlgorithm = 2147483730, /** * Auth: Messed algorithms */ - errLDS_Auth_MessedAlgorithms: 2147483731, + errLDS_Auth_MessedAlgorithms = 2147483731, /** * Auth: Public key data invalid */ - errLDS_Auth_PublicKeyDataInvalid: 2147483732, + errLDS_Auth_PublicKeyDataInvalid = 2147483732, /** * Auth: Algorithm parameters data invalid */ - errLDS_Auth_AlgorithmParametersDataInvalid: 2147483733, + errLDS_Auth_AlgorithmParametersDataInvalid = 2147483733, /** * Auth: Signature data invalid */ - errLDS_Auth_SignatureDataInvalid: 2147483734, + errLDS_Auth_SignatureDataInvalid = 2147483734, /** * Auth: Unsupported digest algorithm */ - errLDS_Auth_UnsupportedDigestAlgorithm: 2147483735, + errLDS_Auth_UnsupportedDigestAlgorithm = 2147483735, /** * Auth: Signature data incorrect */ - errLDS_Auth_SignatureDataIncorrect: 2147483736, + errLDS_Auth_SignatureDataIncorrect = 2147483736, /** * Auth: Algorithm parameters not defined */ - errLDS_Auth_AlgorithmParametersNotDefined: 2147483737, + errLDS_Auth_AlgorithmParametersNotDefined = 2147483737, /** * Auth: Signature check failed */ - errLDS_Auth_SignatureCheckFailed: 2147483738, + errLDS_Auth_SignatureCheckFailed = 2147483738, /** * DG: Wrong Tag */ - errLDS_DG_WrongTag: 2147483760, + errLDS_DG_WrongTag = 2147483760, /** * DG: Contents unexpected data */ - errLDS_DG_Contents_UnexpectedData: 2147483761, + errLDS_DG_Contents_UnexpectedData = 2147483761, /** * BAP: Symmetric Cypher Cannot Initialize */ - errLDS_BAP_SymmetricCypher_CantInitialize: 2164260881, + errLDS_BAP_SymmetricCypher_CantInitialize = 2164260881, /** * PACE: Info Not Available */ - errLDS_PACE_Info_NotAvailable: 2164260896, + errLDS_PACE_Info_NotAvailable = 2164260896, /** * PACE: Symmetric Cypher Cannot Initialize */ - errLDS_PACE_SymmetricCypher_CantInitialize: 2164260897, + errLDS_PACE_SymmetricCypher_CantInitialize = 2164260897, /** * PACE: Key Agreement Cannot Initialize */ - errLDS_PACE_KeyAgreement_CantInitialize: 2164260898, + errLDS_PACE_KeyAgreement_CantInitialize = 2164260898, /** * PACE: Ephemeral Keys Cannot Create */ - errLDS_PACE_EphemeralKeys_CantCreate: 2164260899, + errLDS_PACE_EphemeralKeys_CantCreate = 2164260899, /** * PACE: Mapping Cannot Decode Nonce */ - errLDS_PACE_Mapping_CantDecodeNonce: 2164260900, + errLDS_PACE_Mapping_CantDecodeNonce = 2164260900, /** * PACE: Shared Secret Cannot Create */ - errLDS_PACE_SharedSecret_CantCreate: 2164260901, + errLDS_PACE_SharedSecret_CantCreate = 2164260901, /** * PACE: Domain Params Unsupported Format */ - errLDS_PACE_DomainParams_UnsupportedFormat: 2164260902, + errLDS_PACE_DomainParams_UnsupportedFormat = 2164260902, /** * PACE: Ephemeral Keys Incorrect */ - errLDS_PACE_EphemeralKeys_Incorrect: 2164260903, + errLDS_PACE_EphemeralKeys_Incorrect = 2164260903, /** * PACE: Mapping Ephemeral Keys Incorrect */ - errLDS_PACE_Mapping_EphemeralKeys_Incorrect: 2164260904, + errLDS_PACE_Mapping_EphemeralKeys_Incorrect = 2164260904, /** * PACE: Mapping Cannot Perform */ - errLDS_PACE_Mapping_CantPerform: 2164260905, + errLDS_PACE_Mapping_CantPerform = 2164260905, /** * PACE: Non-Matching Auth Tokens */ - errLDS_PACE_NonMatchingAuthTokens: 2164260906, + errLDS_PACE_NonMatchingAuthTokens = 2164260906, /** * PACE: CAM data incorrect */ - errLDS_PACE_CAM_Data_Incorrect: 2164260907, + errLDS_PACE_CAM_Data_Incorrect = 2164260907, /** * PACE: CAM data cannot verify */ - errLDS_PACE_CAM_Data_CantVerify: 2164260908, + errLDS_PACE_CAM_Data_CantVerify = 2164260908, /** * PACE: CAM data non-matching */ - errLDS_PACE_CAM_Data_NonMatching: 2164260909, + errLDS_PACE_CAM_Data_NonMatching = 2164260909, /** * PACE: IM scheme incorrect */ - errLDS_PACE_IM_Scheme_Incorrect: 2164260910, + errLDS_PACE_IM_Scheme_Incorrect = 2164260910, /** * PACE: Random mapping failed */ - errLDS_PACE_IM_RandomMapping_Failed: 2164260911, + errLDS_PACE_IM_RandomMapping_Failed = 2164260911, /** * CA: Cannot Find Public Key */ - errLDS_CA_CantFindPublicKey: 2164260912, + errLDS_CA_CantFindPublicKey = 2164260912, /** * CA: Cannot Find Info */ - errLDS_CA_CantFindInfo: 2164260913, + errLDS_CA_CantFindInfo = 2164260913, /** * CA: Incorrect Version */ - errLDS_CA_IncorrectVersion: 2164260914, + errLDS_CA_IncorrectVersion = 2164260914, /** * CA: Cannot Find Domain Parameters */ - errLDS_CA_CantFindDomainParameters: 2164260915, + errLDS_CA_CantFindDomainParameters = 2164260915, /** * CA: Key Agreement Cannot Initialize */ - errLDS_CA_KeyAgreement_CantInitialize: 2164260916, + errLDS_CA_KeyAgreement_CantInitialize = 2164260916, /** * CA: Public Key Unsupported Algorithm */ - errLDS_CA_PublicKey_UnsupportedAlgorithm: 2164260917, + errLDS_CA_PublicKey_UnsupportedAlgorithm = 2164260917, /** * CA: Ephemeral Keys Cannot Create */ - errLDS_CA_EphemeralKeys_CantCreate: 2164260918, + errLDS_CA_EphemeralKeys_CantCreate = 2164260918, /** * CA: Shared Secret Cannot Create */ - errLDS_CA_SharedSecret_CantCreate: 2164260919, + errLDS_CA_SharedSecret_CantCreate = 2164260919, /** * CA: Non-Matching Auth Tokens */ - errLDS_CA_NonMatchingAuthTokens: 2164260920, + errLDS_CA_NonMatchingAuthTokens = 2164260920, /** * TA: Incorrect Version */ - errLDS_TA_IncorrectVersion: 2164260928, + errLDS_TA_IncorrectVersion = 2164260928, /** * TA: Cannot Build Certificate Chain */ - errLDS_TA_CantBuildCertificateChain: 2164260929, + errLDS_TA_CantBuildCertificateChain = 2164260929, /** * TA: Cannot Find IS Private Key */ - errLDS_TA_CantFindISPrivateKey: 2164260930, + errLDS_TA_CantFindISPrivateKey = 2164260930, /** * TA: Public Key Unsupported Algorithm */ - errLDS_TA_PublicKey_UnsupportedAlgorithm: 2164260931, + errLDS_TA_PublicKey_UnsupportedAlgorithm = 2164260931, /** * TA: Signature Building Error */ - errLDS_TA_SignatureBuildingError: 2164260932, + errLDS_TA_SignatureBuildingError = 2164260932, /** * TA: Invalid Key Algorithm Parameters */ - errLDS_TA_InvalidKeyAlgorithmParameters: 2164260933, + errLDS_TA_InvalidKeyAlgorithmParameters = 2164260933, /** * AA: Public Key Unsupported Algorithm */ - errLDS_AA_PublicKey_UnsupportedAlgorithm: 2164260944, + errLDS_AA_PublicKey_UnsupportedAlgorithm = 2164260944, /** * AA: Public Key Incorrect Data */ - errLDS_AA_PublicKey_IncorrectData: 2164260945, + errLDS_AA_PublicKey_IncorrectData = 2164260945, /** * AA: Public Key Incorrect Parameters */ - errLDS_AA_PublicKey_IncorrectParameters: 2164260946, + errLDS_AA_PublicKey_IncorrectParameters = 2164260946, /** * AA: Public Key Undefined Parameters */ - errLDS_AA_PublicKey_UndefinedParameters: 2164260947, + errLDS_AA_PublicKey_UndefinedParameters = 2164260947, /** * AA: Signature Incorrect Data */ - errLDS_AA_Signature_IncorrectData: 2164260948, + errLDS_AA_Signature_IncorrectData = 2164260948, /** * AA: Unsupported recovery scheme */ - errLDS_AA_UnsupportedRecoveryScheme: 2164260949, + errLDS_AA_UnsupportedRecoveryScheme = 2164260949, /** * AA: Incorrect Trailer */ - errLDS_AA_IncorrectTrailer: 2164260950, + errLDS_AA_IncorrectTrailer = 2164260950, /** * AA: Unsupported Digest Algorithm */ - errLDS_AA_UnsupportedDigestAlgorithm: 2164260951, + errLDS_AA_UnsupportedDigestAlgorithm = 2164260951, /** * RI: Sector Key Cannot Find */ - errLDS_RI_SectorKey_CantFind: 2164260976, + errLDS_RI_SectorKey_CantFind = 2164260976, /** * RI: Sector Key Incorrect Data */ - errLDS_RI_SectorKey_IncorrectData: 2164260977, + errLDS_RI_SectorKey_IncorrectData = 2164260977, /** * RI: Sector Key Incomplete Data */ - errLDS_RI_SectorKey_IncompleteData: 2164260978, + errLDS_RI_SectorKey_IncompleteData = 2164260978, /** * CV Certificate: Missing mandatory data PK */ - errLDS_CV_Certificate_MissingMandatoryData_PK: 2164260960, + errLDS_CV_Certificate_MissingMandatoryData_PK = 2164260960, /** * CV Certificate: Public key unsupported */ - errLDS_CV_Certificate_PublicKey_Unsupported: 2164260962, + errLDS_CV_Certificate_PublicKey_Unsupported = 2164260962, /** * CV Certificate: CHAT unsupported terminal type */ - errLDS_CV_Certificate_CHAT_UnsupportedTerminalType: 2164260963, + errLDS_CV_Certificate_CHAT_UnsupportedTerminalType = 2164260963, /** * CV Certificate: Private key unsupported */ - errLDS_CV_Certificate_PrivateKey_Unsupported: 2164260964, + errLDS_CV_Certificate_PrivateKey_Unsupported = 2164260964, /** * CV Certificate: Private key invalid params */ - errLDS_CV_Certificate_PrivateKey_InvalidParams: 2164260965, + errLDS_CV_Certificate_PrivateKey_InvalidParams = 2164260965, /** * CV Certificate: Incorrect data */ - errLDS_CV_Certificate_IncorrectData: 2164261216, + errLDS_CV_Certificate_IncorrectData = 2164261216, /** * CV Certificate: CPI incorrect data */ - errLDS_CV_Certificate_CPI_IncorrectData: 2164261217, + errLDS_CV_Certificate_CPI_IncorrectData = 2164261217, /** * CV Certificate: CAR incorrect data */ - errLDS_CV_Certificate_CAR_IncorrectData: 2164261218, + errLDS_CV_Certificate_CAR_IncorrectData = 2164261218, /** * CV Certificate: Public key incorrect data */ - errLDS_CV_Certificate_PublicKey_IncorrectData: 2164261219, + errLDS_CV_Certificate_PublicKey_IncorrectData = 2164261219, /** * CV Certificate: CHR incorrect data */ - errLDS_CV_Certificate_CHR_IncorrectData: 2164261220, + errLDS_CV_Certificate_CHR_IncorrectData = 2164261220, /** * CV Certificate: CHAT incorrect data */ - errLDS_CV_Certificate_CHAT_IncorrectData: 2164261221, + errLDS_CV_Certificate_CHAT_IncorrectData = 2164261221, /** * CV Certificate: Valid from incorrect data */ - errLDS_CV_Certificate_ValidFrom_IncorrectData: 2164261222, + errLDS_CV_Certificate_ValidFrom_IncorrectData = 2164261222, /** * CV Certificate: Valid to incorrect data */ - errLDS_CV_Certificate_ValidTo_IncorrectData: 2164261223, + errLDS_CV_Certificate_ValidTo_IncorrectData = 2164261223, /** * CV Certificate: Extensions incorrect data */ - errLDS_CV_Certificate_Extensions_IncorrectData: 2164261224, + errLDS_CV_Certificate_Extensions_IncorrectData = 2164261224, /** * CV Certificate: Private key incorrect data */ - errLDS_CV_Certificate_PrivateKey_IncorrectData: 2164261225, + errLDS_CV_Certificate_PrivateKey_IncorrectData = 2164261225, /** * CV Certificate: Private key missing */ - errLDS_CV_Certificate_PrivateKey_Missing: 2164261226, + errLDS_CV_Certificate_PrivateKey_Missing = 2164261226, /** * VDS: Unsupported version */ - errLDS_VDS_UnsupportedVersion: 2164261376, + errLDS_VDS_UnsupportedVersion = 2164261376, /** * VDS: Issuing country size */ - errLDS_VDS_Issuing_Country_Size: 2164261377, + errLDS_VDS_Issuing_Country_Size = 2164261377, /** * VDS: Issuing country incorrect data */ - errLDS_VDS_Issuing_Country_IncorrectData: 2164261378, + errLDS_VDS_Issuing_Country_IncorrectData = 2164261378, /** * VDS: Signature certificate size */ - errLDS_VDS_Signer_Certificate_Size: 2164261379, + errLDS_VDS_Signer_Certificate_Size = 2164261379, /** * VDS: Signature certificate data */ - errLDS_VDS_Signer_Certificate_Data: 2164261380, + errLDS_VDS_Signer_Certificate_Data = 2164261380, /** * VDS: Signature incorrect data */ - errLDS_VDS_Signature_IncorrectData: 2164261381, + errLDS_VDS_Signature_IncorrectData = 2164261381, /** * VDS: Incorrect data */ - errLDS_VDS_NC_IncorrectData: 2164261632, + errLDS_VDS_NC_IncorrectData = 2164261632, /** * VDS: Missing or incorrect data */ - errLDS_VDS_NC_MissingOrIncorrect_Data: 2164261633, + errLDS_VDS_NC_MissingOrIncorrect_Data = 2164261633, /** * VDS: Missing or incorrect header */ - errLDS_VDS_NC_MissingOrIncorrect_Header: 2164261634, + errLDS_VDS_NC_MissingOrIncorrect_Header = 2164261634, /** * VDS: Missing or incorrect type */ - errLDS_VDS_NC_MissingOrIncorrect_Type: 2164261635, + errLDS_VDS_NC_MissingOrIncorrect_Type = 2164261635, /** * VDS: Missing or incorrect version */ - errLDS_VDS_NC_MissingOrIncorrect_Version: 2164261636, + errLDS_VDS_NC_MissingOrIncorrect_Version = 2164261636, /** * VDS: Missing or incorrect issuing country */ - errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry: 2164261637, + errLDS_VDS_NC_MissingOrIncorrect_IssuingCountry = 2164261637, /** * VDS: Missing or incorrect message */ - errLDS_VDS_NC_MissingOrIncorrect_Message: 2164261638, + errLDS_VDS_NC_MissingOrIncorrect_Message = 2164261638, /** * VDS: Missing or incorrect signature */ - errLDS_VDS_NC_MissingOrIncorrect_Signature: 2164261639, + errLDS_VDS_NC_MissingOrIncorrect_Signature = 2164261639, /** * VDS: Missing or incorrect signature algorithm */ - errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm: 2164261640, + errLDS_VDS_NC_MissingOrIncorrect_SigAlgorithm = 2164261640, /** * VDS: Missing or incorrect certificate */ - errLDS_VDS_NC_MissingOrIncorrect_Certificate: 2164261641, + errLDS_VDS_NC_MissingOrIncorrect_Certificate = 2164261641, /** * VDS: Missing or incorrect signature value */ - errLDS_VDS_NC_MissingOrIncorrect_SigValue: 2164261642 -} as const; - -export type ParsingErrorCodes = typeof ParsingErrorCodes[keyof typeof ParsingErrorCodes]; + errLDS_VDS_NC_MissingOrIncorrect_SigValue = 2164261642 +} diff --git a/src/models/parsing-notification-codes.ts b/src/models/parsing-notification-codes.ts index aeebaac8..0ee719e1 100644 --- a/src/models/parsing-notification-codes.ts +++ b/src/models/parsing-notification-codes.ts @@ -15,901 +15,898 @@ /** -* The enumeration contains possible values of notification codes returned during the RFID chip processing. -* @export -* @enum {string} -*/ - -export const ParsingNotificationCodes = { + * The enumeration contains possible values of notification codes returned during the RFID chip processing. + * @export + * @enum {string} + */ +export enum ParsingNotificationCodes { /** * ASN certificate: Incorrect version */ - ntfLDS_ASN_Certificate_IncorrectVersion: 2415919105, + ntfLDS_ASN_Certificate_IncorrectVersion = 2415919105, /** * ASN certificate: Non-matching signature algorithm */ - ntfLDS_ASN_Certificate_NonMatchingSignatureAlgorithm: 2415919106, + ntfLDS_ASN_Certificate_NonMatchingSignatureAlgorithm = 2415919106, /** * ASN certificate: Incorrect time coding */ - ntfLDS_ASN_Certificate_IncorrectTimeCoding: 2415919107, + ntfLDS_ASN_Certificate_IncorrectTimeCoding = 2415919107, /** * ASN certificate: Incorrect use of generalized time */ - ntfLDS_ASN_Certificate_IncorrectUseOfGeneralizedTime: 2415919108, + ntfLDS_ASN_Certificate_IncorrectUseOfGeneralizedTime = 2415919108, /** * ASN certificate: Empty issuer */ - ntfLDS_ASN_Certificate_EmptyIssuer: 2415919109, + ntfLDS_ASN_Certificate_EmptyIssuer = 2415919109, /** * ASN certificate: Empty subject */ - ntfLDS_ASN_Certificate_EmptySubject: 2415919110, + ntfLDS_ASN_Certificate_EmptySubject = 2415919110, /** * ASN certificate: Unsupported critical extension */ - ntfLDS_ASN_Certificate_UnsupportedCriticalExtension: 2415919112, + ntfLDS_ASN_Certificate_UnsupportedCriticalExtension = 2415919112, /** * ASN certificate: Forced default CSCA role */ - ntfLDS_ASN_Certificate_ForcedDefaultCSCARole: 2415919118, + ntfLDS_ASN_Certificate_ForcedDefaultCSCARole = 2415919118, /** * ASN certificate: Forced Default DS role */ - ntfLDS_ASN_Certificate_ForcedDefaultDSRole: 2415919119, + ntfLDS_ASN_Certificate_ForcedDefaultDSRole = 2415919119, /** * ASN certificate: Incorrect issuer subject DS */ - ntfLDS_ASN_Certificate_IncorrectIssuerSubjectDS: 2415919120, + ntfLDS_ASN_Certificate_IncorrectIssuerSubjectDS = 2415919120, /** * ASN certificate: Duplicating extensions */ - ntfLDS_ASN_Certificate_DuplicatingExtensions: 2415919127, + ntfLDS_ASN_Certificate_DuplicatingExtensions = 2415919127, /** * ICAO certificate: Version missed */ - ntfLDS_ICAO_Certificate_Version_Missed: 2415919616, + ntfLDS_ICAO_Certificate_Version_Missed = 2415919616, /** * ICAO certificate: Version incorrect */ - ntfLDS_ICAO_Certificate_Version_Incorrect: 2415919617, + ntfLDS_ICAO_Certificate_Version_Incorrect = 2415919617, /** * ICAO certificate: Issuer country missed */ - ntfLDS_ICAO_Certificate_Issuer_Country_Missed: 2415919618, + ntfLDS_ICAO_Certificate_Issuer_Country_Missed = 2415919618, /** * ICAO certificate: Issuer common name missed */ - ntfLDS_ICAO_Certificate_Issuer_CommonName_Missed: 2415919619, + ntfLDS_ICAO_Certificate_Issuer_CommonName_Missed = 2415919619, /** * ICAO certificate: Issuer country non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_CountryNonCompliant: 2415919620, + ntfLDS_ICAO_Certificate_Issuer_CountryNonCompliant = 2415919620, /** * ICAO certificate: Subject country missed */ - ntfLDS_ICAO_Certificate_Subject_Country_Missed: 2415919621, + ntfLDS_ICAO_Certificate_Subject_Country_Missed = 2415919621, /** * ICAO certificate: Subject common name missed */ - ntfLDS_ICAO_Certificate_Subject_CommonName_Missed: 2415919622, + ntfLDS_ICAO_Certificate_Subject_CommonName_Missed = 2415919622, /** * ICAO certificate: Subject country non-compliant */ - ntfLDS_ICAO_Certificate_Subject_CountryNonCompliant: 2415919623, + ntfLDS_ICAO_Certificate_Subject_CountryNonCompliant = 2415919623, /** * ICAO certificate: Using non-compliant data */ - ntfLDS_ICAO_Certificate_UsingNonCompliantData: 2415919624, + ntfLDS_ICAO_Certificate_UsingNonCompliantData = 2415919624, /** * ICAO certificate: Unsupported signature algorithm */ - ntfLDS_ICAO_Certificate_UnsupportedSignatureAlgorithm: 2415919625, + ntfLDS_ICAO_Certificate_UnsupportedSignatureAlgorithm = 2415919625, /** * ICAO certificate: Unsupported public key algorithm */ - ntfLDS_ICAO_Certificate_UnsupportedPublicKeyAlgorithm: 2415919626, + ntfLDS_ICAO_Certificate_UnsupportedPublicKeyAlgorithm = 2415919626, /** * ICAO certificate: Missed extensions */ - ntfLDS_ICAO_Certificate_MissedExtensions: 2415919627, + ntfLDS_ICAO_Certificate_MissedExtensions = 2415919627, /** * ICAO certificate: Validity */ - ntfLDS_ICAO_Certificate_Validity: 2415919628, + ntfLDS_ICAO_Certificate_Validity = 2415919628, /** * ICAO certificate extension: Using non-compliant data */ - ntfLDS_ICAO_Certificate_Ext_UsingNonCompliantData: 2415919629, + ntfLDS_ICAO_Certificate_Ext_UsingNonCompliantData = 2415919629, /** * ICAO certificate extension: Key usage missed */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_Missed: 2415919630, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_Missed = 2415919630, /** * ICAO certificate extension: Key usage not critical */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_NotCritical: 2415919631, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_NotCritical = 2415919631, /** * ICAO certificate extension: Key usage incorrect data */ - ntfLDS_ICAO_Certificate_Ext_KeyUsage_IncorrectData: 2415919632, + ntfLDS_ICAO_Certificate_Ext_KeyUsage_IncorrectData = 2415919632, /** * ICAO certificate extension: Basic constraints missed */ - ntfLDS_ICAO_Certificate_Ext_BasicC_Missed: 2415919633, + ntfLDS_ICAO_Certificate_Ext_BasicC_Missed = 2415919633, /** * ICAO certificate extension: Basic constraints incorrect usage 1 */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage1: 2415919634, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage1 = 2415919634, /** * ICAO certificate extension: Basic constraints incorrect usage 2 */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage2: 2415919635, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectUsage2 = 2415919635, /** * ICAO certificate extension: Basic constraints not critical */ - ntfLDS_ICAO_Certificate_Ext_BasicC_NotCritical: 2415919636, + ntfLDS_ICAO_Certificate_Ext_BasicC_NotCritical = 2415919636, /** * ICAO certificate extension: Basic constraints incorrect data */ - ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectData: 2415919637, + ntfLDS_ICAO_Certificate_Ext_BasicC_IncorrectData = 2415919637, /** * ICAO certificate extension: Basic constraints path LenC missed */ - ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Missed: 2415919638, + ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Missed = 2415919638, /** * ICAO certificate extension: Basic constraints path LenC incorrect */ - ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Incorrect: 2415919639, + ntfLDS_ICAO_Certificate_Ext_BasicC_PathLenC_Incorrect = 2415919639, /** * ICAO certificate extension: Ext key usage not critical */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_NotCritical: 2415919640, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_NotCritical = 2415919640, /** * ICAO certificate extension: Ext key usage incorrect usage */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectUsage: 2415919641, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectUsage = 2415919641, /** * ICAO certificate extension: Ext key usage incorrect data */ - ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectData: 2415919642, + ntfLDS_ICAO_Certificate_Ext_ExtKeyUsage_IncorrectData = 2415919642, /** * ICAO certificate extension Auth key: ID missed */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed: 2415919643, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed = 2415919643, /** * ICAO certificate extension Auth key: Incorrect data */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData: 2415919644, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData = 2415919644, /** * ICAO certificate extension Auth key: Key ID missed */ - ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed: 2415919645, + ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed = 2415919645, /** * ICAO certificate extension: Subject key ID missed */ - ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_Missed: 2415919646, + ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_Missed = 2415919646, /** * ICAO certificate extension: Subject key ID incorrect data */ - ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_IncorrectData: 2415919647, + ntfLDS_ICAO_Certificate_Ext_SubjectKeyID_IncorrectData = 2415919647, /** * ICAO certificate extension: Private key UP missed */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Missed: 2415919648, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Missed = 2415919648, /** * ICAO certificate extension: Private key UP incorrect data */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_IncorrectData: 2415919649, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_IncorrectData = 2415919649, /** * ICAO certificate extension: Private key UP empty */ - ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Empty: 2415919650, + ntfLDS_ICAO_Certificate_Ext_PrivateKeyUP_Empty = 2415919650, /** * ICAO certificate extension: Subject alt name missed */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Missed: 2415919651, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Missed = 2415919651, /** * ICAO certificate extension: Subject alt name incorrect data */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_IncorrectData: 2415919652, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_IncorrectData = 2415919652, /** * ICAO certificate extension: Subject alt name empty */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Empty: 2415919653, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Empty = 2415919653, /** * ICAO certificate extension: Subject alt name non-compliant */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_NonCompliant: 2415919654, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_NonCompliant = 2415919654, /** * ICAO certificate extension: Subject alt name critical */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Critical: 2415919656, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_Critical = 2415919656, /** * ICAO certificate extension: Subject alt name DN empty */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Empty: 2415919657, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Empty = 2415919657, /** * ICAO certificate extension: Subject alt name DN incorrect */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Incorrect: 2415919658, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_Incorrect = 2415919658, /** * ICAO certificate extension: Subject alt name DN non-compliant */ - ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_NonCompliant: 2415919659, + ntfLDS_ICAO_Certificate_Ext_SubjectAltName_DN_NonCompliant = 2415919659, /** * ICAO certificate extension: Issuer alt name missed */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Missed: 2415919660, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Missed = 2415919660, /** * ICAO certificate extension: Issuer alt name incorrect data */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_IncorrectData: 2415919661, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_IncorrectData = 2415919661, /** * ICAO certificate extension: Issuer alt name empty */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Empty: 2415919662, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Empty = 2415919662, /** * ICAO certificate extension: Issuer alt name non-compliant */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_NonCompliant: 2415919663, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_NonCompliant = 2415919663, /** * ICAO certificate extension: Issuer alt name critical */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Critical: 2415919665, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_Critical = 2415919665, /** * ICAO certificate extension: Issuer alt name DN empty */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Empty: 2415919666, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Empty = 2415919666, /** * ICAO certificate extension: Issuer alt name DN incorrect */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Incorrect: 2415919667, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_Incorrect = 2415919667, /** * ICAO certificate extension: Issuer alt name DN non-compliant */ - ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_NonCompliant: 2415919668, + ntfLDS_ICAO_Certificate_Ext_IssuerAltName_DN_NonCompliant = 2415919668, /** * ICAO certificate extension Doc type list: Missed */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Missed: 2415919669, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Missed = 2415919669, /** * ICAO certificate extension Doc type list: Incorrect data */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_IncorrectData: 2415919670, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_IncorrectData = 2415919670, /** * ICAO certificate extension Doc type list: Version */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Version: 2415919671, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Version = 2415919671, /** * ICAO certificate extension Doc type list: Doc types */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes: 2415919672, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes = 2415919672, /** * ICAO certificate extension Doc type list: Doc types empty */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty: 2415919673, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty = 2415919673, /** * ICAO certificate extension: Dert policies incorrect data */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData: 2415919674, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData = 2415919674, /** * ICAO certificate extension: Cert policies empty */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_Empty: 2415919675, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_Empty = 2415919675, /** * ICAO certificate extension: Cert policies policy ID missed */ - ntfLDS_ICAO_Certificate_Ext_CertPolicies_PolicyID_Missed: 2415919676, + ntfLDS_ICAO_Certificate_Ext_CertPolicies_PolicyID_Missed = 2415919676, /** * ICAO certificate extension: CRL dist point missed */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Missed: 2415919677, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Missed = 2415919677, /** * ICAO certificate extension: CRL dist point incorrect data */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_IncorrectData: 2415919678, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_IncorrectData = 2415919678, /** * ICAO certificate extension: CRL dist point empty */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Empty: 2415919679, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_Empty = 2415919679, /** * ICAO certificate extension: CRL dist point point missed */ - ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_PointMissed: 2415919680, + ntfLDS_ICAO_Certificate_Ext_CRLDistPoint_PointMissed = 2415919680, /** * ICAO certificate: SN non-compliant */ - ntfLDS_ICAO_Certificate_SN_NonCompliant: 2415919681, + ntfLDS_ICAO_Certificate_SN_NonCompliant = 2415919681, /** * ICAO certificate: Issuer SN non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_SN_NonCompliant: 2415919682, + ntfLDS_ICAO_Certificate_Issuer_SN_NonCompliant = 2415919682, /** * ICAO certificate: Subject SN non-compliant */ - ntfLDS_ICAO_Certificate_Subject_SN_NonCompliant: 2415919683, + ntfLDS_ICAO_Certificate_Subject_SN_NonCompliant = 2415919683, /** * ICAO certificate: Issuer attribute non-compliant */ - ntfLDS_ICAO_Certificate_Issuer_AttributeNonCompliant: 2415919684, + ntfLDS_ICAO_Certificate_Issuer_AttributeNonCompliant = 2415919684, /** * ICAO certificate: Subject attribute non-compliant */ - ntfLDS_ICAO_Certificate_Subject_AttributeNonCompliant: 2415919685, + ntfLDS_ICAO_Certificate_Subject_AttributeNonCompliant = 2415919685, /** * ICAO certificate: Issuer subject country non-matching */ - ntfLDS_ICAO_Certificate_IssuerSubject_Country_NonMatching: 2415919686, + ntfLDS_ICAO_Certificate_IssuerSubject_Country_NonMatching = 2415919686, /** * ICAO certificate extension: CSCA alt names non-matching */ - ntfLDS_ICAO_Certificate_Ext_CSCA_AltNames_NonMatching: 2415919687, + ntfLDS_ICAO_Certificate_Ext_CSCA_AltNames_NonMatching = 2415919687, /** * ICAO certificate extension: Name change incorrect data */ - ntfLDS_ICAO_Certificate_Ext_NameChange_IncorrectData: 2415919688, + ntfLDS_ICAO_Certificate_Ext_NameChange_IncorrectData = 2415919688, /** * ICAO certificate extension: Name change non-compliant */ - ntfLDS_ICAO_Certificate_Ext_NameChange_NonCompliant: 2415919689, + ntfLDS_ICAO_Certificate_Ext_NameChange_NonCompliant = 2415919689, /** * ICAO certificate extension: Name change critical */ - ntfLDS_ICAO_Certificate_Ext_NameChange_Critical: 2415919690, + ntfLDS_ICAO_Certificate_Ext_NameChange_Critical = 2415919690, /** * ICAO certificate extension Doc type list: non-compliant */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant: 2415919691, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant = 2415919691, /** * ICAO certificate extension Doc type list: Critical */ - ntfLDS_ICAO_Certificate_Ext_DocTypeList_Critical: 2415919692, + ntfLDS_ICAO_Certificate_Ext_DocTypeList_Critical = 2415919692, /** * ICAO certificate extension: Optional critical */ - ntfLDS_ICAO_Certificate_Ext_Optional_Critical: 2415919693, + ntfLDS_ICAO_Certificate_Ext_Optional_Critical = 2415919693, /** * ICAO certificate: Subject non-compliant */ - ntfLDS_ICAO_Certificate_Subject_NonCompliant: 2415919694, + ntfLDS_ICAO_Certificate_Subject_NonCompliant = 2415919694, /** * ICAO certificate: Subject common name non-compliant */ - ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant: 2415919695, + ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant = 2415919695, /** * ICAO COM: LDS version incorrect */ - ntfLDS_ICAO_COM_LDS_Version_Incorrect: 2415919136, + ntfLDS_ICAO_COM_LDS_Version_Incorrect = 2415919136, /** * ICAO COM: LDS version missing */ - ntfLDS_ICAO_COM_LDS_Version_Missing: 2415919137, + ntfLDS_ICAO_COM_LDS_Version_Missing = 2415919137, /** * ICAO COM: Unicode version incorrect */ - ntfLDS_ICAO_COM_Unicode_Version_Incorrect: 2415919138, + ntfLDS_ICAO_COM_Unicode_Version_Incorrect = 2415919138, /** * ICAO COM: Unicode version missing */ - ntfLDS_ICAO_COM_Unicode_Version_Missing: 2415919139, + ntfLDS_ICAO_COM_Unicode_Version_Missing = 2415919139, /** * ICAO COM: DGPM incorrect */ - ntfLDS_ICAO_COM_DGPM_Incorrect: 2415919140, + ntfLDS_ICAO_COM_DGPM_Incorrect = 2415919140, /** * ICAO COM: DGPM missing */ - ntfLDS_ICAO_COM_DGPM_Missing: 2415919141, + ntfLDS_ICAO_COM_DGPM_Missing = 2415919141, /** * ICAO COM: DGPM unexpected */ - ntfLDS_ICAO_COM_DGPM_Unexpected: 2415919142, + ntfLDS_ICAO_COM_DGPM_Unexpected = 2415919142, /** * ICAO application: LDS version unsupported */ - ntfLDS_ICAO_Application_LDSVersion_Unsupported: 2415919152, + ntfLDS_ICAO_Application_LDSVersion_Unsupported = 2415919152, /** * ICAO application: Unicode version unsupported */ - ntfLDS_ICAO_Application_UnicodeVersion_Unsupported: 2415919153, + ntfLDS_ICAO_Application_UnicodeVersion_Unsupported = 2415919153, /** * ICAO application: LDS version inconsistent */ - ntfLDS_ICAO_Application_LDSVersion_Inconsistent: 2415919154, + ntfLDS_ICAO_Application_LDSVersion_Inconsistent = 2415919154, /** * ICAO application: Unicode version inconsistent */ - ntfLDS_ICAO_Application_UnicodeVersion_Inconsistent: 2415919155, + ntfLDS_ICAO_Application_UnicodeVersion_Inconsistent = 2415919155, /** * ASN signed data: OID incorrect */ - ntfLDS_ASN_SignedData_OID_Incorrect: 2415919360, + ntfLDS_ASN_SignedData_OID_Incorrect = 2415919360, /** * ASN signed data: Version incorrect */ - ntfLDS_ASN_SignedData_Version_Incorrect: 2415919520, + ntfLDS_ASN_SignedData_Version_Incorrect = 2415919520, /** * ASN signed data: Content OID incorrect */ - ntfLDS_ASN_SignedData_ContentOID_Incorrect: 2415919521, + ntfLDS_ASN_SignedData_ContentOID_Incorrect = 2415919521, /** * ICAO signed data: Version incorrect */ - ntfLDS_ICAO_SignedData_Version_Incorrect: 2415919361, + ntfLDS_ICAO_SignedData_Version_Incorrect = 2415919361, /** * ICAO signed data: Digest algorithms empty */ - ntfLDS_ICAO_SignedData_DigestAlgorithms_Empty: 2415919362, + ntfLDS_ICAO_SignedData_DigestAlgorithms_Empty = 2415919362, /** * ICAO signed data: Digest algorithms unsupported */ - ntfLDS_ICAO_SignedData_DigestAlgorithms_Unsupported: 2415919363, + ntfLDS_ICAO_SignedData_DigestAlgorithms_Unsupported = 2415919363, /** * ICAO signed data: Signer infos multiple entries */ - ntfLDS_ICAO_SignedData_SignerInfos_MultipleEntries: 2415919369, + ntfLDS_ICAO_SignedData_SignerInfos_MultipleEntries = 2415919369, /** * ICAO signed data: Certificates missed */ - ntfLDS_ICAO_SignedData_Certificates_Missed: 2415919536, + ntfLDS_ICAO_SignedData_Certificates_Missed = 2415919536, /** * ICAO signed data: Certificates empty */ - ntfLDS_ICAO_SignedData_Certificates_Empty: 2415919537, + ntfLDS_ICAO_SignedData_Certificates_Empty = 2415919537, /** * ICAO signed data: CRLs incorrect usage */ - ntfLDS_ICAO_SignedData_CRLs_IncorrectUsage: 2415919538, + ntfLDS_ICAO_SignedData_CRLs_IncorrectUsage = 2415919538, /** * ICAO LDS object: Incorrect content OID */ - ntfLDS_ICAO_LDSObject_IncorrectContentOID: 2415919364, + ntfLDS_ICAO_LDSObject_IncorrectContentOID = 2415919364, /** * ICAO LDS object: DG number incorrect */ - ntfLDS_ICAO_LDSObject_DGNumber_Incorrect: 2415919365, + ntfLDS_ICAO_LDSObject_DGNumber_Incorrect = 2415919365, /** * ICAO LDS object: DG hash missing */ - ntfLDS_ICAO_LDSObject_DGHash_Missing: 2415919366, + ntfLDS_ICAO_LDSObject_DGHash_Missing = 2415919366, /** * ICAO LDS object: DG hash extra */ - ntfLDS_ICAO_LDSObject_DGHash_Extra: 2415919367, + ntfLDS_ICAO_LDSObject_DGHash_Extra = 2415919367, /** * ICAO LDS object: Version incorrect */ - ntfLDS_ICAO_LDSObject_Version_Incorrect: 2415919368, + ntfLDS_ICAO_LDSObject_Version_Incorrect = 2415919368, /** * ICAO master list: Version incorrect */ - ntfLDS_ICAO_MasterList_Version_Incorrect: 2415919552, + ntfLDS_ICAO_MasterList_Version_Incorrect = 2415919552, /** * ICAO Deviation list: Version incorrect */ - ntfLDS_ICAO_DeviationList_Version_Incorrect: 2415919560, + ntfLDS_ICAO_DeviationList_Version_Incorrect = 2415919560, /** * BSI: Defect list version incorrect */ - ntfLDS_BSI_DefectList_Version_Incorrect: 2415919568, + ntfLDS_BSI_DefectList_Version_Incorrect = 2415919568, /** * BSI: Black list version incorrect */ - ntfLDS_BSI_BlackList_Version_Incorrect: 2415919576, + ntfLDS_BSI_BlackList_Version_Incorrect = 2415919576, /** * ASN signer info: Version incorrect */ - ntfLDS_ASN_SignerInfo_Version_Incorrect: 2415919370, + ntfLDS_ASN_SignerInfo_Version_Incorrect = 2415919370, /** * ASN signer info: SID incorrect choice */ - ntfLDS_ASN_SignerInfo_SID_IncorrectChoice: 2415919371, + ntfLDS_ASN_SignerInfo_SID_IncorrectChoice = 2415919371, /** * ASN signer info: SID digest algorithm not listed */ - ntfLDS_ASN_SignerInfo_SID_DigestAlgorithmNotListed: 2415919372, + ntfLDS_ASN_SignerInfo_SID_DigestAlgorithmNotListed = 2415919372, /** * ASN signer info: Message digest attr missing */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Missing: 2415919373, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Missing = 2415919373, /** * ASN signer info: Message digest attr data */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Data: 2415919374, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Data = 2415919374, /** * ASN signer info: Message digest attr value */ - ntfLDS_ASN_SignerInfo_MessageDigestAttr_Value: 2415919375, + ntfLDS_ASN_SignerInfo_MessageDigestAttr_Value = 2415919375, /** * ASN signer info: Content type attr missing */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Missing: 2415919376, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Missing = 2415919376, /** * ASN signer info: Content type attr data */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Data: 2415919377, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Data = 2415919377, /** * ASN signer info: Content type attr value */ - ntfLDS_ASN_SignerInfo_ContentTypeAttr_Value: 2415919378, + ntfLDS_ASN_SignerInfo_ContentTypeAttr_Value = 2415919378, /** * ASN signer info: Signing time attr missing */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Missing: 2415919387, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Missing = 2415919387, /** * ASN signer info: Signing time attr data */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Data: 2415919388, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Data = 2415919388, /** * ASN signer info: Signing time attr value */ - ntfLDS_ASN_SignerInfo_SigningTimeAttr_Value: 2415919389, + ntfLDS_ASN_SignerInfo_SigningTimeAttr_Value = 2415919389, /** * ASN signer info: List content description attr missing */ - ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Missing: 2415919390, + ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Missing = 2415919390, /** * ASN signer info: List content description attr data */ - ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Data: 2415919391, + ntfLDS_ASN_SignerInfo_ListContentDescriptionAttr_Data = 2415919391, /** * Auth signer info: Certificate validity */ - ntfLDS_Auth_SignerInfo_Certificate_Validity: 2415919381, + ntfLDS_Auth_SignerInfo_Certificate_Validity = 2415919381, /** * Auth signer info: Certificate root is not trusted */ - ntfLDS_Auth_SignerInfo_Certificate_RootIsNotTrusted: 2415919382, + ntfLDS_Auth_SignerInfo_Certificate_RootIsNotTrusted = 2415919382, /** * Auth signer info: Certificate cannot find CSCA */ - ntfLDS_Auth_SignerInfo_Certificate_CantFindCSCA: 2415919383, + ntfLDS_Auth_SignerInfo_Certificate_CantFindCSCA = 2415919383, /** * Auth signer info: Certificate revoked */ - ntfLDS_Auth_SignerInfo_Certificate_Revoked: 2415919384, + ntfLDS_Auth_SignerInfo_Certificate_Revoked = 2415919384, /** * Auth signer info: Certificate signature invalid */ - ntfLDS_Auth_SignerInfo_Certificate_SignatureInvalid: 2415919385, + ntfLDS_Auth_SignerInfo_Certificate_SignatureInvalid = 2415919385, /** * Notification: Unsupported image format */ - ntfLDS_UnsupportedImageFormat: 2415919386, + ntfLDS_UnsupportedImageFormat = 2415919386, /** * MRZ: Document type unknown */ - ntfLDS_MRZ_DocumentType_Unknown: 139272, + ntfLDS_MRZ_DocumentType_Unknown = 139272, /** * MRZ: Issuing state syntax error */ - ntfLDS_MRZ_IssuingState_SyntaxError: 139273, + ntfLDS_MRZ_IssuingState_SyntaxError = 139273, /** * MRZ: Name is void */ - ntfLDS_MRZ_Name_IsVoid: 139274, + ntfLDS_MRZ_Name_IsVoid = 139274, /** * MRZ: Number incorrect checksum */ - ntfLDS_MRZ_Number_IncorrectChecksum: 139277, + ntfLDS_MRZ_Number_IncorrectChecksum = 139277, /** * MRZ: Nationality syntax error */ - ntfLDS_MRZ_Nationality_SyntaxError: 139278, + ntfLDS_MRZ_Nationality_SyntaxError = 139278, /** * MRZ: DOB syntax error */ - ntfLDS_MRZ_DOB_SyntaxError: 139279, + ntfLDS_MRZ_DOB_SyntaxError = 139279, /** * MRZ: DOB error */ - ntfLDS_MRZ_DOB_Error: 139280, + ntfLDS_MRZ_DOB_Error = 139280, /** * MRZ: DOB incorrect checksum */ - ntfLDS_MRZ_DOB_IncorrectChecksum: 139281, + ntfLDS_MRZ_DOB_IncorrectChecksum = 139281, /** * MRZ: Sex incorrect */ - ntfLDS_MRZ_Sex_Incorrect: 139282, + ntfLDS_MRZ_Sex_Incorrect = 139282, /** * MRZ: DOE syntax error */ - ntfLDS_MRZ_DOE_SyntaxError: 139283, + ntfLDS_MRZ_DOE_SyntaxError = 139283, /** * MRZ: DOE error */ - ntfLDS_MRZ_DOE_Error: 139284, + ntfLDS_MRZ_DOE_Error = 139284, /** * MRZ: DOE incorrect checksum */ - ntfLDS_MRZ_DOE_IncorrectChecksum: 139285, + ntfLDS_MRZ_DOE_IncorrectChecksum = 139285, /** * MRZ: Optional data incorrect checksum */ - ntfLDS_MRZ_OptionalData_IncorrectChecksum: 139286, + ntfLDS_MRZ_OptionalData_IncorrectChecksum = 139286, /** * MRZ: Incorrect checksum */ - ntfLDS_MRZ_IncorrectChecksum: 139287, + ntfLDS_MRZ_IncorrectChecksum = 139287, /** * MRZ: Incorrect */ - ntfLDS_MRZ_Incorrect: 139288, + ntfLDS_MRZ_Incorrect = 139288, /** * Biometrics: Format owner missing */ - ntfLDS_Biometrics_FormatOwner_Missing: 2415984640, + ntfLDS_Biometrics_FormatOwner_Missing = 2415984640, /** * Biometrics: Format owner incorrect */ - ntfLDS_Biometrics_FormatOwner_Incorrect: 2416050176, + ntfLDS_Biometrics_FormatOwner_Incorrect = 2416050176, /** * Biometrics: Format type missing */ - ntfLDS_Biometrics_FormatType_Missing: 2416115712, + ntfLDS_Biometrics_FormatType_Missing = 2416115712, /** * Biometrics: Format type incorrect */ - ntfLDS_Biometrics_FormatType_Incorrect: 2416181248, + ntfLDS_Biometrics_FormatType_Incorrect = 2416181248, /** * Biometrics: Type incorrect */ - ntfLDS_Biometrics_Type_Incorrect: 2416246784, + ntfLDS_Biometrics_Type_Incorrect = 2416246784, /** * Biometrics: Subtype missing */ - ntfLDS_Biometrics_SubType_Missing: 2416312320, + ntfLDS_Biometrics_SubType_Missing = 2416312320, /** * Biometrics: Subtype incorrect */ - ntfLDS_Biometrics_SubType_Incorrect: 2416377856, + ntfLDS_Biometrics_SubType_Incorrect = 2416377856, /** * Biometrics: BDB image missing */ - ntfLDS_Biometrics_BDB_Image_Missing: 2416443392, + ntfLDS_Biometrics_BDB_Image_Missing = 2416443392, /** * Biometrics: BDB format ID incorrect */ - ntfLDS_Biometrics_BDB_FormatID_Incorrect: 2416508928, + ntfLDS_Biometrics_BDB_FormatID_Incorrect = 2416508928, /** * Biometrics: BDB version incorrect */ - ntfLDS_Biometrics_BDB_Version_Incorrect: 2416574464, + ntfLDS_Biometrics_BDB_Version_Incorrect = 2416574464, /** * Biometrics: BDB data length incorrect */ - ntfLDS_Biometrics_BDB_DataLength_Incorrect: 2416640000, + ntfLDS_Biometrics_BDB_DataLength_Incorrect = 2416640000, /** * Biometrics: BDB Data Gender */ - ntfLDS_Biometrics_BDB_Data_Gender: 2416967680, + ntfLDS_Biometrics_BDB_Data_Gender = 2416967680, /** * Biometrics: BDB Data Eye Color */ - ntfLDS_Biometrics_BDB_Data_EyeColor: 2417033216, + ntfLDS_Biometrics_BDB_Data_EyeColor = 2417033216, /** * Biometrics: BDB Data Hair Color */ - ntfLDS_Biometrics_BDB_Data_HairColor: 2417098752, + ntfLDS_Biometrics_BDB_Data_HairColor = 2417098752, /** * Biometrics: BDB Data Pose Angle Yaw */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw: 2417164288, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw = 2417164288, /** * Biometrics: BDB Data Pose Angle Pitch */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch: 2417229824, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch = 2417229824, /** * Biometrics: BDB Data Pose Angle Roll */ - ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll: 2417295360, + ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll = 2417295360, /** * Biometrics: BDB Data Pose Angle U Yaw */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw: 2417360896, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw = 2417360896, /** * Biometrics: BDB Data Pose Angle U Pitch */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch: 2417426432, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch = 2417426432, /** * Biometrics: BDB Data Pose Angle U Roll */ - ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll: 2417491968, + ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll = 2417491968, /** * Biometrics: BDB Data Face Image Type */ - ntfLDS_Biometrics_BDB_Data_FaceImageType: 2417557504, + ntfLDS_Biometrics_BDB_Data_FaceImageType = 2417557504, /** * Biometrics: BDB Data Image Data Type */ - ntfLDS_Biometrics_BDB_Data_ImageDataType: 2417623040, + ntfLDS_Biometrics_BDB_Data_ImageDataType = 2417623040, /** * SI: PACE Info Unsupported Std Parameters */ - ntfLDS_SI_PACE_Info_UnsupportedStdParameters: 2432696320, + ntfLDS_SI_PACE_Info_UnsupportedStdParameters = 2432696320, /** * SI: PACE Info Deprecated Version */ - ntfLDS_SI_PACE_Info_DeprecatedVersion: 2432696321, + ntfLDS_SI_PACE_Info_DeprecatedVersion = 2432696321, /** * SI: PACE Domain Params Using Std Ref */ - ntfLDS_SI_PACE_DomainParams_UsingStdRef: 2432696322, + ntfLDS_SI_PACE_DomainParams_UsingStdRef = 2432696322, /** * SI: PACE Domain Params Unsupported Algorithm */ - ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm: 2432696323, + ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm = 2432696323, /** * SI: CA Info Incorrect Version */ - ntfLDS_SI_CA_Info_IncorrectVersion: 2432696324, + ntfLDS_SI_CA_Info_IncorrectVersion = 2432696324, /** * SI: CA PublicKey Unsupported Algorithm */ - ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm: 2432696325, + ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm = 2432696325, /** * SI: CA Domain Params Unsupported Algorithm */ - ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm: 2432696326, + ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm = 2432696326, /** * SI: TA Info Incorrect Version */ - ntfLDS_SI_TA_Info_IncorrectVersion: 2432696327, + ntfLDS_SI_TA_Info_IncorrectVersion = 2432696327, /** * SI: TA Info File ID For Version 2 */ - ntfLDS_SI_TA_Info_FileIDForVersion2: 2432696328, + ntfLDS_SI_TA_Info_FileIDForVersion2 = 2432696328, /** * SI: eID Security Unsupported Digest Algorithm */ - ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm: 2432696329, + ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm = 2432696329, /** * SI: RI info incorrect version */ - ntfLDS_SI_RI_Info_IncorrectVersion: 2432696330, + ntfLDS_SI_RI_Info_IncorrectVersion = 2432696330, /** * SI: RI domain params unsupported algorithm */ - ntfLDS_SI_RI_DomainParams_UnsupportedAlgorithm: 2432696331, + ntfLDS_SI_RI_DomainParams_UnsupportedAlgorithm = 2432696331, /** * SI: AA info incorrect version */ - ntfLDS_SI_AA_Info_IncorrectVersion: 2432696332, + ntfLDS_SI_AA_Info_IncorrectVersion = 2432696332, /** * SI: AA info unsupported algorithm */ - ntfLDS_SI_AA_Info_UnsupportedAlgorithm: 2432696333, + ntfLDS_SI_AA_Info_UnsupportedAlgorithm = 2432696333, /** * SI: AA info inconsistent algorithm reference */ - ntfLDS_SI_AA_Info_InconsistentAlgorithmReference: 2432696334, + ntfLDS_SI_AA_Info_InconsistentAlgorithmReference = 2432696334, /** * SI: PACE Info Not Available */ - ntfLDS_SI_Storage_PACE_Info_NotAvailable: 2432696576, + ntfLDS_SI_Storage_PACE_Info_NotAvailable = 2432696576, /** * SI: PACE Info No Std Parameters */ - ntfLDS_SI_Storage_PACE_Info_NoStdParameters: 2432696577, + ntfLDS_SI_Storage_PACE_Info_NoStdParameters = 2432696577, /** * SI: PACE Info No Matching Domain Params */ - ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams: 2432696578, + ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams = 2432696578, /** * SI: CA Info Not Available */ - ntfLDS_SI_Storage_CA_Info_NotAvailable: 2432696579, + ntfLDS_SI_Storage_CA_Info_NotAvailable = 2432696579, /** * SI: CA Domain Params No Required Option */ - ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption: 2432696580, + ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption = 2432696580, /** * SI: CA Domain Params Not Available */ - ntfLDS_SI_Storage_CA_DomainParams_NotAvailable: 2432696581, + ntfLDS_SI_Storage_CA_DomainParams_NotAvailable = 2432696581, /** * SI: CA Anonymous Infos */ - ntfLDS_SI_Storage_CA_AnonymousInfos: 2432696582, + ntfLDS_SI_Storage_CA_AnonymousInfos = 2432696582, /** * SI: CA Info No Matching Domain Params */ - ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams: 2432696583, + ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams = 2432696583, /** * SI: CA Info No Matching Public Key */ - ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey: 2432696584, + ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey = 2432696584, /** * SI: CA Incorrect Infos Quantity */ - ntfLDS_SI_Storage_CA_IncorrectInfosQuantity: 2432696585, + ntfLDS_SI_Storage_CA_IncorrectInfosQuantity = 2432696585, /** * SI: TA Info Not Available */ - ntfLDS_SI_Storage_TA_Info_NotAvailable: 2432696586, + ntfLDS_SI_Storage_TA_Info_NotAvailable = 2432696586, /** * SI: Card Info Locator Multiple Entries */ - ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries: 2432696587, + ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries = 2432696587, /** * SI: eID Security Info Multiple Entries */ - ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries: 2432696588, + ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries = 2432696588, /** * SI: Privileged TI Multiple Entries */ - ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries: 2432696589, + ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries = 2432696589, /** * SI: Privileged TI Incorrect Usage */ - ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage: 2432696590, + ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage = 2432696590, /** * SI: RI domain params multiple entries */ - ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries: 2432696591, + ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries = 2432696591, /** * SI: Storage PACE Info Non Consistant */ - ntfLDS_SI_Storage_PACEInfos_NonConsistant: 2432696592, + ntfLDS_SI_Storage_PACEInfos_NonConsistant = 2432696592, /** * CV Certificate: Profile incorrect version */ - ntfLDS_CVCertificate_Profile_IncorrectVersion: 2432696833, + ntfLDS_CVCertificate_Profile_IncorrectVersion = 2432696833, /** * CV Certificate: Validity */ - ntfLDS_CVCertificate_Validity: 2432696834, + ntfLDS_CVCertificate_Validity = 2432696834, /** * CV Certificate: Non CVCA domain parameters */ - ntfLDS_CVCertificate_NonCVCADomainParameters: 2432696835, + ntfLDS_CVCertificate_NonCVCADomainParameters = 2432696835, /** * CV Certificate: Private key incorrect version */ - ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion: 2432696836, + ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion = 2432696836, /** * TA: PACE static binding used */ - ntfLDS_TA_PACEStaticBindingUsed: 2432697088, + ntfLDS_TA_PACEStaticBindingUsed = 2432697088, /** * Auth ML signer info: Certificate validity */ - ntfLDS_Auth_MLSignerInfo_Certificate_Validity: 2449473813, + ntfLDS_Auth_MLSignerInfo_Certificate_Validity = 2449473813, /** * Auth ML signer info: Certificate root is not trusted */ - ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted: 2449473814, + ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted = 2449473814, /** * Auth ML signer info: Certificate cannot find CSCA */ - ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA: 2449473815, + ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA = 2449473815, /** * Auth ML signer info: Certificate revoked */ - ntfLDS_Auth_MLSignerInfo_Certificate_Revoked: 2449473816, + ntfLDS_Auth_MLSignerInfo_Certificate_Revoked = 2449473816, /** * Auth ML signer info: Certificate signature invalid */ - ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid: 2449473817, + ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = 2449473817, /** * Country Codes from certificate chain don't match */ - ntfLDS_ICAO_Certificate_Chain_Country_NonMatching: 2415919696, + ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = 2415919696, /** * Country Codes from certificate and visual MRZ don't match */ - ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching: 2415919697, + ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697, /** * Incorrect MRZ, country code doesn't match codes from Visual MRZ */ - ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching: 139289, + ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, /** * Country Codes from certificate and DG1 MRZ don't match */ - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching: 2415919698 -} as const; - -export type ParsingNotificationCodes = typeof ParsingNotificationCodes[keyof typeof ParsingNotificationCodes]; + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698 +} diff --git a/src/models/per-document-config.ts b/src/models/per-document-config.ts index 8ab01fe7..6ab4e975 100644 --- a/src/models/per-document-config.ts +++ b/src/models/per-document-config.ts @@ -15,21 +15,21 @@ /** -* -* @export -* @interface PerDocumentConfig -*/ + * + * @export + * @interface PerDocumentConfig + */ export interface PerDocumentConfig { /** - * Specific template IDs, for which apply current custom configuration - * @type {Array} - * @memberof PerDocumentConfig - */ + * Specific template IDs, for which apply current custom configuration + * @type {Array} + * @memberof PerDocumentConfig + */ docID?: Array; /** - * Contains items from AuthenticityResultType as sum via OR operation - * @type {number} - * @memberof PerDocumentConfig - */ + * Contains items from AuthenticityResultType as sum via OR operation + * @type {number} + * @memberof PerDocumentConfig + */ excludeAuthChecks?: number; } diff --git a/src/models/photo-ident-result-all-of.ts b/src/models/photo-ident-result-all-of.ts index f99e9257..23675e46 100644 --- a/src/models/photo-ident-result-all-of.ts +++ b/src/models/photo-ident-result-all-of.ts @@ -19,75 +19,75 @@ import type { RawImageContainerList } from './raw-image-container-list'; import type { RectangleCoordinates } from './rectangle-coordinates'; /** -* -* @export -* @interface PhotoIdentResultAllOf -*/ + * + * @export + * @interface PhotoIdentResultAllOf + */ export interface PhotoIdentResultAllOf { /** - * - * @type {Light} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {Light} + * @memberof PhotoIdentResultAllOf + */ LightIndex: Light; /** - * - * @type {RectangleCoordinates} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof PhotoIdentResultAllOf + */ Area: RectangleCoordinates; /** - * - * @type {ImageData} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {ImageData} + * @memberof PhotoIdentResultAllOf + */ SourceImage: ImageData; /** - * - * @type {RawImageContainerList} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {RawImageContainerList} + * @memberof PhotoIdentResultAllOf + */ ResultImages: RawImageContainerList; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ FieldTypesCount?: number; /** - * - * @type {Array} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {Array} + * @memberof PhotoIdentResultAllOf + */ FieldTypesList?: Array; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Step?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Angle?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Reserved1?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Reserved2?: number; /** - * - * @type {number} - * @memberof PhotoIdentResultAllOf - */ + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ Reserved3?: number; } diff --git a/src/models/point-array.ts b/src/models/point-array.ts index 72d7ae9d..1f93335d 100644 --- a/src/models/point-array.ts +++ b/src/models/point-array.ts @@ -16,15 +16,15 @@ import type { Point } from './point'; /** -* -* @export -* @interface PointArray -*/ + * + * @export + * @interface PointArray + */ export interface PointArray { /** - * - * @type {Array} - * @memberof PointArray - */ + * + * @type {Array} + * @memberof PointArray + */ PointsList: Array; } diff --git a/src/models/point.ts b/src/models/point.ts index 60ee2dfd..48b95a69 100644 --- a/src/models/point.ts +++ b/src/models/point.ts @@ -15,21 +15,21 @@ /** -* -* @export -* @interface Point -*/ + * + * @export + * @interface Point + */ export interface Point { /** - * - * @type {number} - * @memberof Point - */ + * + * @type {number} + * @memberof Point + */ x: number; /** - * - * @type {number} - * @memberof Point - */ + * + * @type {number} + * @memberof Point + */ y: number; } diff --git a/src/models/points-container.ts b/src/models/points-container.ts index 85e3afd5..61619e02 100644 --- a/src/models/points-container.ts +++ b/src/models/points-container.ts @@ -16,21 +16,21 @@ import type { Point } from './point'; /** -* -* @export -* @interface PointsContainer -*/ + * + * @export + * @interface PointsContainer + */ export interface PointsContainer { /** - * - * @type {number} - * @memberof PointsContainer - */ + * + * @type {number} + * @memberof PointsContainer + */ PointCount?: number; /** - * - * @type {Array} - * @memberof PointsContainer - */ + * + * @type {Array} + * @memberof PointsContainer + */ PointsList: Array; } diff --git a/src/models/process-params-rfid.ts b/src/models/process-params-rfid.ts index db7fc6cd..ba44e33a 100644 --- a/src/models/process-params-rfid.ts +++ b/src/models/process-params-rfid.ts @@ -16,15 +16,15 @@ import type { ParsingNotificationCodes } from './parsing-notification-codes'; /** -* Params for the RFID chip data reprocessing -* @export -* @interface ProcessParamsRfid -*/ + * Params for the RFID chip data reprocessing + * @export + * @interface ProcessParamsRfid + */ export interface ProcessParamsRfid { /** - * A list of notification codes that should be ignored during passive authentication (PA) - * @type {Array} - * @memberof ProcessParamsRfid - */ + * A list of notification codes that should be ignored during passive authentication (PA) + * @type {Array} + * @memberof ProcessParamsRfid + */ paSensitiveCodesDisable?: Array; } diff --git a/src/models/process-params.ts b/src/models/process-params.ts index 5c5d6769..a63ad746 100644 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -31,341 +31,347 @@ import type { TextFieldType } from './text-field-type'; import type { TextPostProcessing } from './text-post-processing'; /** -* -* @export -* @interface ProcessParams -*/ + * + * @export + * @interface ProcessParams + */ export interface ProcessParams { /** - * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. - * @type {Array} - * @memberof ProcessParams - */ + * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. + * @type {Array} + * @memberof ProcessParams + */ lcidFilter?: Array; /** - * This parameter is used to enable document liveness check. - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to enable document liveness check. + * @type {boolean} + * @memberof ProcessParams + */ checkLiveness?: boolean; /** - * The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default. - * @type {Array} - * @memberof ProcessParams - */ + * The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default. + * @type {Array} + * @memberof ProcessParams + */ lcidIgnoreFilter?: Array; /** - * This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face + * @type {boolean} + * @memberof ProcessParams + */ oneShotIdentification?: boolean; /** - * This parameter allows comparing faces on Regula Face Web Service - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter allows comparing faces on Regula Face Web Service + * @type {boolean} + * @memberof ProcessParams + */ useFaceApi?: boolean; /** - * - * @type {FaceApi} - * @memberof ProcessParams - */ + * + * @type {FaceApi} + * @memberof ProcessParams + */ faceApi?: FaceApi; /** - * This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter allows enabling the CAN (Card Access Number) detection and recognition when using scenarios with document location and MRZ reading, such as the MrzAndLocate scenario. + * @type {boolean} + * @memberof ProcessParams + */ doDetectCan?: boolean; /** - * This parameter allows setting maximum height in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter allows setting maximum height in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. + * @type {number} + * @memberof ProcessParams + */ imageOutputMaxHeight?: number; /** - * This parameter allows setting maximum width in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter allows setting maximum width in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0. + * @type {number} + * @memberof ProcessParams + */ imageOutputMaxWidth?: number; /** - * - * @type {Scenario} - * @memberof ProcessParams - */ + * + * @type {Scenario} + * @memberof ProcessParams + */ scenario: Scenario; /** - * Types of results to return in response. See \'Result\' enum for available options - * @type {Array} - * @memberof ProcessParams - */ + * Types of results to return in response. See \'Result\' enum for available options + * @type {Array} + * @memberof ProcessParams + */ resultTypeOutput?: Array; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - * @deprecated - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + * @deprecated + */ doublePageSpread?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ generateDoublePageSpreadImage?: boolean; /** - * 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. - * @type {Array} - * @memberof ProcessParams - */ + * 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. + * @type {Array} + * @memberof ProcessParams + */ fieldTypesFilter?: Array; /** - * 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). - * @type {string} - * @memberof ProcessParams - */ + * 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). + * @type {string} + * @memberof ProcessParams + */ dateFormat?: string; /** - * - * @type {MeasureSystem} - * @memberof ProcessParams - */ + * + * @type {MeasureSystem} + * @memberof ProcessParams + */ measureSystem?: MeasureSystem; /** - * This parameter 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 for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default. - * @type {number} - * @memberof ProcessParams - */ + * This parameter 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 for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default. + * @type {number} + * @memberof ProcessParams + */ imageDpiOutMax?: number; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ alreadyCropped?: boolean; /** - * This option allows passing custom processing parameters that can be implemented in future without changing API. - * @type {{ [key: string]: object; }} - * @memberof ProcessParams - */ + * This option allows passing custom processing parameters that can be implemented in future without changing API. + * @type {{ [key: string]: object; }} + * @memberof ProcessParams + */ customParams?: { [key: string]: object; }; /** - * This option allows setting additional custom configuration per document type. If recognized document has ID specified in config, processing adjusts according to designated configuration. - * @type {Array} - * @memberof ProcessParams - */ + * This option allows setting additional custom configuration per document type. If recognized document has ID specified in config, processing adjusts according to designated configuration. + * @type {Array} + * @memberof ProcessParams + */ config?: Array; /** - * When enabled, results will contain transaction processing log. Disabled by default - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, results will contain transaction processing log. Disabled by default + * @type {boolean} + * @memberof ProcessParams + */ log?: boolean; /** - * - * @type {LogLevel} - * @memberof ProcessParams - */ + * + * @type {LogLevel} + * @memberof ProcessParams + */ logLevel?: LogLevel; /** - * Force use of specific template ID and skip document type identification step. - * @type {number} - * @memberof ProcessParams - */ + * Force use of specific template ID and skip document type identification step. + * @type {number} + * @memberof ProcessParams + */ forceDocID?: number; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ matchTextFieldMask?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - * @deprecated - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + * @deprecated + */ fastDocDetect?: boolean; /** - * When enabled, fail OCR field validity, if there is a glare over the text field on the image. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, fail OCR field validity, if there is a glare over the text field on the image. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ updateOCRValidityByGlare?: boolean; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ checkRequiredTextFields?: boolean; /** - * When enabled, returns cropped barcode images for unknown documents. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, returns cropped barcode images for unknown documents. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ returnCroppedBarcode?: boolean; /** - * - * @type {ImageQA} - * @memberof ProcessParams - */ + * + * @type {ImageQA} + * @memberof ProcessParams + */ imageQa?: ImageQA; /** - * When enabled, image quality checks status affects document optical and overall status. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, image quality checks status affects document optical and overall status. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ respectImageQuality?: boolean; /** - * - * @type {DocumentFormat} - * @memberof ProcessParams - */ + * + * @type {DocumentFormat} + * @memberof ProcessParams + */ forceDocFormat?: DocumentFormat; /** - * When enabled, no graphic fields will be cropped from document image. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, no graphic fields will be cropped from document image. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ noGraphics?: boolean; /** - * When enabled, all personal data will be forcibly removed from the logs. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, all personal data will be forcibly removed from the logs. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ depersonalizeLog?: boolean; /** - * This option allows locating and cropping multiple documents from one image if enabled. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * This option allows locating and cropping multiple documents from one image if enabled. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ multiDocOnImage?: boolean; /** - * 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 - * @type {number} - * @memberof ProcessParams - */ + * 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 + * @type {number} + * @memberof ProcessParams + */ shiftExpiryDate?: number; /** - * This options allows specifying the minimal age in years of the document holder for the document to be considered valid. - * @type {number} - * @memberof ProcessParams - */ + * This options allows specifying the minimal age in years of the document holder for the document to be considered valid. + * @type {number} + * @memberof ProcessParams + */ minimalHolderAge?: number; /** - * When enabled, returns input images in output. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, returns input images in output. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ returnUncroppedImage?: boolean; /** - * This option allows limiting MRZ formats to be recognized by specifying them in array. - * @type {Array} - * @memberof ProcessParams - */ + * This option allows limiting MRZ formats to be recognized by specifying them in array. + * @type {Array} + * @memberof ProcessParams + */ mrzFormatsFilter?: Array; /** - * 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. - * @type {boolean} - * @memberof ProcessParams - */ + * 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. + * @type {boolean} + * @memberof ProcessParams + */ forceReadMrzBeforeLocate?: boolean; /** - * This option can be disabled to stop parsing after barcode is read. Enabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * Allows you to bypass the minimum conditions that should be met to perform the barcode format check + * @type {boolean} + * @memberof ProcessParams + */ + forceBarcodeChecks?: boolean; + /** + * This option can be disabled to stop parsing after barcode is read. Enabled by default. + * @type {boolean} + * @memberof ProcessParams + */ parseBarcodes?: boolean; /** - * - * @type {TextPostProcessing} - * @memberof ProcessParams - */ + * + * @type {TextPostProcessing} + * @memberof ProcessParams + */ convertCase?: TextPostProcessing; /** - * When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ splitNames?: boolean; /** - * When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default. - * @type {boolean} - * @memberof ProcessParams - */ + * When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default. + * @type {boolean} + * @memberof ProcessParams + */ disablePerforationOCR?: boolean; /** - * 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. - * @type {Array} - * @memberof ProcessParams - */ + * 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. + * @type {Array} + * @memberof ProcessParams + */ documentGroupFilter?: Array; /** - * 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. - * @type {number} - * @memberof ProcessParams - */ + * 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. + * @type {number} + * @memberof ProcessParams + */ processAuth?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured. Default 0. + * @type {number} + * @memberof ProcessParams + */ deviceId?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured. Default 0. - * @type {number} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured. Default 0. + * @type {number} + * @memberof ProcessParams + */ deviceType?: number; /** - * This parameter is used to specify the document reader device type from which input images were captured - * @type {string} - * @memberof ProcessParams - */ + * This parameter is used to specify the document reader device type from which input images were captured + * @type {string} + * @memberof ProcessParams + */ deviceTypeHex?: string; /** - * This parameter is used to tell the processing engine to ignore any parameters saved in the image when scanned from the document reader device. Default false - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to tell the processing engine to ignore any parameters saved in the image when scanned from the document reader device. Default false + * @type {boolean} + * @memberof ProcessParams + */ ignoreDeviceIdFromImage?: boolean; /** - * List of the document ID\'s to process. All documents will be processed, if empty. - * @type {Array} - * @memberof ProcessParams - */ + * List of the document ID\'s to process. All documents will be processed, if empty. + * @type {Array} + * @memberof ProcessParams + */ documentIdList?: Array; /** - * - * @type {ProcessParamsRfid} - * @memberof ProcessParams - */ + * + * @type {ProcessParamsRfid} + * @memberof ProcessParams + */ rfid?: ProcessParamsRfid; /** - * This parameter is used to enable authenticity checks - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to enable authenticity checks + * @type {boolean} + * @memberof ProcessParams + */ checkAuth?: boolean; /** - * - * @type {AuthParams} - * @memberof ProcessParams - */ + * + * @type {AuthParams} + * @memberof ProcessParams + */ authParams?: AuthParams; /** - * - * @type {MrzDetectModeEnum} - * @memberof ProcessParams - */ + * + * @type {MrzDetectModeEnum} + * @memberof ProcessParams + */ mrzDetectMode?: MrzDetectModeEnum; /** - * This parameter is used to generate numeric representation for issuing state and nationality codes - * @type {boolean} - * @memberof ProcessParams - */ + * This parameter is used to generate numeric representation for issuing state and nationality codes + * @type {boolean} + * @memberof ProcessParams + */ generateNumericCodes?: boolean; } diff --git a/src/models/process-request-image.ts b/src/models/process-request-image.ts index 72c71215..65b94543 100644 --- a/src/models/process-request-image.ts +++ b/src/models/process-request-image.ts @@ -17,27 +17,27 @@ import type { ImageData } from './image-data'; import type { Light } from './light'; /** -* -* @export -* @interface ProcessRequestImage -*/ + * + * @export + * @interface ProcessRequestImage + */ export interface ProcessRequestImage { /** - * - * @type {ImageData} - * @memberof ProcessRequestImage - */ + * + * @type {ImageData} + * @memberof ProcessRequestImage + */ ImageData: ImageData; /** - * - * @type {Light} - * @memberof ProcessRequestImage - */ + * + * @type {Light} + * @memberof ProcessRequestImage + */ light?: Light; /** - * page/image number - * @type {number} - * @memberof ProcessRequestImage - */ + * page/image number + * @type {number} + * @memberof ProcessRequestImage + */ page_idx?: number; } diff --git a/src/models/process-request.ts b/src/models/process-request.ts index 00231427..49b0f56c 100644 --- a/src/models/process-request.ts +++ b/src/models/process-request.ts @@ -20,75 +20,75 @@ import type { ProcessRequestImage } from './process-request-image'; import type { ProcessSystemInfo } from './process-system-info'; /** -* -* @export -* @interface ProcessRequest -*/ + * + * @export + * @interface ProcessRequest + */ export interface ProcessRequest { /** - * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. - * @type {Array} - * @memberof ProcessRequest - */ + * The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. + * @type {Array} + * @memberof ProcessRequest + */ lcidFilter?: Array; /** - * - * @type {ProcessParams} - * @memberof ProcessRequest - */ + * + * @type {ProcessParams} + * @memberof ProcessRequest + */ processParam: ProcessParams; /** - * - * @type {Array} - * @memberof ProcessRequest - */ + * + * @type {Array} + * @memberof ProcessRequest + */ List?: Array; /** - * Session ID - * @type {string} - * @memberof ProcessRequest - */ + * Session ID + * @type {string} + * @memberof ProcessRequest + */ tag?: string; /** - * Customer name - * @type {string} - * @memberof ProcessRequest - */ + * Customer name + * @type {string} + * @memberof ProcessRequest + */ tenant?: string; /** - * Environment type - * @type {string} - * @memberof ProcessRequest - */ + * Environment type + * @type {string} + * @memberof ProcessRequest + */ env?: string; /** - * Live portrait photo - * @type {string} - * @memberof ProcessRequest - */ + * Live portrait photo + * @type {string} + * @memberof ProcessRequest + */ livePortrait?: string; /** - * Portrait photo from an external source - * @type {string} - * @memberof ProcessRequest - */ + * Portrait photo from an external source + * @type {string} + * @memberof ProcessRequest + */ extPortrait?: string; /** - * - * @type {ContainerList} - * @memberof ProcessRequest - */ + * + * @type {ContainerList} + * @memberof ProcessRequest + */ ContainerList?: ContainerList; /** - * - * @type {ProcessSystemInfo} - * @memberof ProcessRequest - */ + * + * @type {ProcessSystemInfo} + * @memberof ProcessRequest + */ systemInfo?: ProcessSystemInfo; /** - * 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. - * @type {{ [key: string]: object; }} - * @memberof ProcessRequest - */ + * 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. + * @type {{ [key: string]: object; }} + * @memberof ProcessRequest + */ passBackObject?: { [key: string]: object; }; } diff --git a/src/models/process-response.ts b/src/models/process-response.ts index 737e17dd..57db00a6 100644 --- a/src/models/process-response.ts +++ b/src/models/process-response.ts @@ -19,63 +19,63 @@ import type { RfidLocation } from './rfid-location'; import type { TransactionInfo } from './transaction-info'; /** -* -* @export -* @interface ProcessResponse -*/ + * + * @export + * @interface ProcessResponse + */ export interface ProcessResponse { /** - * - * @type {RfidLocation} - * @memberof ProcessResponse - */ + * + * @type {RfidLocation} + * @memberof ProcessResponse + */ ChipPage: RfidLocation; /** - * - * @type {ProcessingStatus} - * @memberof ProcessResponse - */ + * + * @type {ProcessingStatus} + * @memberof ProcessResponse + */ ProcessingFinished: ProcessingStatus; /** - * - * @type {ContainerList} - * @memberof ProcessResponse - */ + * + * @type {ContainerList} + * @memberof ProcessResponse + */ ContainerList: ContainerList; /** - * - * @type {TransactionInfo} - * @memberof ProcessResponse - */ + * + * @type {TransactionInfo} + * @memberof ProcessResponse + */ TransactionInfo: TransactionInfo; /** - * Base64 encoded transaction processing log - * @type {string} - * @memberof ProcessResponse - */ + * Base64 encoded transaction processing log + * @type {string} + * @memberof ProcessResponse + */ log?: string; /** - * Free-form object provided in request. See passBackObject property of ProcessRequest. - * @type {{ [key: string]: object; }} - * @memberof ProcessResponse - */ + * Free-form object provided in request. See passBackObject property of ProcessRequest. + * @type {{ [key: string]: object; }} + * @memberof ProcessResponse + */ passBackObject?: { [key: string]: object; }; /** - * - * @type {number} - * @memberof ProcessResponse - */ + * + * @type {number} + * @memberof ProcessResponse + */ morePagesAvailable: number; /** - * Time the document processing has taken, ms. - * @type {number} - * @memberof ProcessResponse - */ + * Time the document processing has taken, ms. + * @type {number} + * @memberof ProcessResponse + */ elapsedTime: number; /** - * - * @type {{ [key: string]: object; }} - * @memberof ProcessResponse - */ + * + * @type {{ [key: string]: object; }} + * @memberof ProcessResponse + */ metadata?: { [key: string]: object; }; } diff --git a/src/models/process-system-info.ts b/src/models/process-system-info.ts index ab7ef4de..412a7706 100644 --- a/src/models/process-system-info.ts +++ b/src/models/process-system-info.ts @@ -15,21 +15,21 @@ /** -* -* @export -* @interface ProcessSystemInfo -*/ + * + * @export + * @interface ProcessSystemInfo + */ export interface ProcessSystemInfo { /** - * Base64 encoded license file - * @type {string} - * @memberof ProcessSystemInfo - */ + * Base64 encoded license file + * @type {string} + * @memberof ProcessSystemInfo + */ license?: string; /** - * For internal use. Demo-sites recaptcha token. - * @type {string} - * @memberof ProcessSystemInfo - */ + * For internal use. Demo-sites recaptcha token. + * @type {string} + * @memberof ProcessSystemInfo + */ recaptcha_token?: string; } diff --git a/src/models/processing-status.ts b/src/models/processing-status.ts index a4f64532..9f8e0c14 100644 --- a/src/models/processing-status.ts +++ b/src/models/processing-status.ts @@ -15,25 +15,22 @@ /** -* -* @export -* @enum {string} -*/ - -export const ProcessingStatus = { + * + * @export + * @enum {string} + */ +export enum ProcessingStatus { /** * Processing was not finished */ - NOT_FINISHED: 0, + NOT_FINISHED = 0, /** * Processing finished */ - FINISHED: 1, + FINISHED = 1, /** * Processing finished by timeout */ - TIMEOUT: 2 -} as const; - -export type ProcessingStatus = typeof ProcessingStatus[keyof typeof ProcessingStatus]; + TIMEOUT = 2 +} diff --git a/src/models/raw-image-container-field-list-all-of.ts b/src/models/raw-image-container-field-list-all-of.ts index 1dbb5e6d..8430e3c8 100644 --- a/src/models/raw-image-container-field-list-all-of.ts +++ b/src/models/raw-image-container-field-list-all-of.ts @@ -15,15 +15,15 @@ /** -* -* @export -* @interface RawImageContainerFieldListAllOf -*/ + * + * @export + * @interface RawImageContainerFieldListAllOf + */ export interface RawImageContainerFieldListAllOf { /** - * Image format - * @type {string} - * @memberof RawImageContainerFieldListAllOf - */ + * Image format + * @type {string} + * @memberof RawImageContainerFieldListAllOf + */ format: string; } diff --git a/src/models/raw-image-container-list.ts b/src/models/raw-image-container-list.ts index 100b1b42..315f84e0 100644 --- a/src/models/raw-image-container-list.ts +++ b/src/models/raw-image-container-list.ts @@ -16,21 +16,21 @@ import type { ImageData } from './image-data'; /** -* -* @export -* @interface RawImageContainerList -*/ + * + * @export + * @interface RawImageContainerList + */ export interface RawImageContainerList { /** - * - * @type {number} - * @memberof RawImageContainerList - */ + * + * @type {number} + * @memberof RawImageContainerList + */ Count: number; /** - * - * @type {Array} - * @memberof RawImageContainerList - */ + * + * @type {Array} + * @memberof RawImageContainerList + */ Images: Array; } diff --git a/src/models/rectangle-coordinates.ts b/src/models/rectangle-coordinates.ts index d072722f..553ab1ec 100644 --- a/src/models/rectangle-coordinates.ts +++ b/src/models/rectangle-coordinates.ts @@ -15,33 +15,33 @@ /** -* Coordinates of the rectangle region on a document image(result type 1). Represented by two points - (left, top) + (right, bottom) -* @export -* @interface RectangleCoordinates -*/ + * Coordinates of the rectangle region on a document image(result type 1). Represented by two points - (left, top) + (right, bottom) + * @export + * @interface RectangleCoordinates + */ export interface RectangleCoordinates { /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ left: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ top: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ right: number; /** - * - * @type {number} - * @memberof RectangleCoordinates - */ + * + * @type {number} + * @memberof RectangleCoordinates + */ bottom: number; } diff --git a/src/models/result-item.ts b/src/models/result-item.ts index 1c279424..05486e1d 100644 --- a/src/models/result-item.ts +++ b/src/models/result-item.ts @@ -15,39 +15,39 @@ /** -* Common fields for all result objects -* @export -* @interface ResultItem -*/ + * Common fields for all result objects + * @export + * @interface ResultItem + */ export interface ResultItem { /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ buf_length?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ light?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ list_idx?: number; /** - * - * @type {number} - * @memberof ResultItem - */ + * + * @type {number} + * @memberof ResultItem + */ page_idx?: number; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof ResultItem - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof ResultItem + */ result_type: number; } diff --git a/src/models/result.ts b/src/models/result.ts index 7d6debc1..b142b823 100644 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -15,141 +15,138 @@ /** -* -* @export -* @enum {string} -*/ - -export const Result = { + * + * @export + * @enum {string} + */ +export enum Result { /** * 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 */ - DOCUMENT_IMAGE: 1, + DOCUMENT_IMAGE = 1, /** * Contains MRZ OCR results */ - MRZ_TEXT: 3, + MRZ_TEXT = 3, /** * Contains raw information about barcodes on the input image */ - BARCODES: 5, + BARCODES = 5, /** * Contains cropped graphic fields from Visual zone */ - VISUAL_GRAPHICS: 6, + VISUAL_GRAPHICS = 6, /** * Contains list of document type candidates with their probabilities and descriptions */ - DOCUMENT_TYPE_CANDIDATES: 8, + DOCUMENT_TYPE_CANDIDATES = 8, /** * Contains description of determined document type, if any */ - DOCUMENT_TYPE: 9, + DOCUMENT_TYPE = 9, /** * Contains lexical data analysis results that allow you to compare MRZ OCR results, Visual zone OCR results, barcodes and RFID chip data for an additional assessment of the authenticity of the document (this is an old format, better use TEXT type) */ - LEXICAL_ANALYSIS: 15, + LEXICAL_ANALYSIS = 15, /** * Contains raw uncropped images */ - RAW_UNCROPPED_IMAGE: 16, + RAW_UNCROPPED_IMAGE = 16, /** * Contains Visual zone OCR results */ - VISUAL_TEXT: 17, + VISUAL_TEXT = 17, /** * Contains barcode parsing result with text fields */ - BARCODE_TEXT: 18, + BARCODE_TEXT = 18, /** * Contains barcode parsing result with graphic fields */ - BARCODE_GRAPHICS: 19, + BARCODE_GRAPHICS = 19, /** * Contains result of document authenticity checks */ - AUTHENTICITY: 20, + AUTHENTICITY = 20, /** * Contains result of DocVisualExtendedInfoContainer */ - MAGNETIC_STRIPE_TEXT_DATA: 26, + MAGNETIC_STRIPE_TEXT_DATA = 26, /** * Contains image quality check results */ - IMAGE_QUALITY: 30, + IMAGE_QUALITY = 30, /** * Contains result of DocGraphicsInfoContainer */ - LIVE_PORTRAIT: 32, + LIVE_PORTRAIT = 32, /** * Contains check statuses with details, grouped by source */ - STATUS: 33, + STATUS = 33, /** * Contains result of portraits comparison */ - PORTRAIT_COMPARISON: 34, + PORTRAIT_COMPARISON = 34, /** * Contains result of DocGraphicsInfoContainer */ - EXT_PORTRAIT: 35, + EXT_PORTRAIT = 35, /** * Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity and cross-source compare checks */ - TEXT: 36, + TEXT = 36, /** * Contains images from all document sources (mrz, rfid, visual, barcode) */ - IMAGES: 37, + IMAGES = 37, /** * Contains result of DocGraphicsInfoContainer */ - FINGERPRINTS: 38, + FINGERPRINTS = 38, /** * Contains result of fingerprints comparison */ - FINGERPRINT_COMPARISON: 39, + FINGERPRINT_COMPARISON = 39, /** * Contains encrypted ResultContainerList */ - ENCRYPTED_RCL: 49, + ENCRYPTED_RCL = 49, /** * Contains license */ - LICENSE: 50, + LICENSE = 50, /** * Contains result of DocumentPosition */ - MRZ_POSITION: 61, + MRZ_POSITION = 61, /** * Contains result of DocumentPosition */ - BARCODE_POSITION: 62, + BARCODE_POSITION = 62, /** * Contains information about document position on the input image, its center, angle, etc */ - DOCUMENT_POSITION: 85, + DOCUMENT_POSITION = 85, /** * Contains RFID raw data */ - RFID_RAW_DATA: 101, + RFID_RAW_DATA = 101, /** * Contains RFID text results */ - RFID_TEXT: 102, + RFID_TEXT = 102, /** * Contains RFID graphic results */ - RFID_GRAPHICS: 103, + RFID_GRAPHICS = 103, /** * Contains RFID binary data */ - RFID_BINARY_DATA: 104, + RFID_BINARY_DATA = 104, /** * Contains RFID original graphics data */ - RFID_ORIGINAL_GRAPHICS: 105 -} as const; - -export type Result = typeof Result[keyof typeof Result]; + RFID_ORIGINAL_GRAPHICS = 105 +} diff --git a/src/models/rfid-access-control-info.ts b/src/models/rfid-access-control-info.ts index 0489fd4a..b9fe58fd 100644 --- a/src/models/rfid-access-control-info.ts +++ b/src/models/rfid-access-control-info.ts @@ -18,39 +18,39 @@ import type { RFIDErrorCodes } from './rfiderror-codes'; import type { RfidAccessControlProcedureType } from './rfid-access-control-procedure-type'; /** -* Structure is used to describe the results of a single authentication procedure or a procedure of secure data access within the context of the communication session with electronic document -* @export -* @interface RfidAccessControlInfo -*/ + * Structure is used to describe the results of a single authentication procedure or a procedure of secure data access within the context of the communication session with electronic document + * @export + * @interface RfidAccessControlInfo + */ export interface RfidAccessControlInfo { /** - * - * @type {RfidAccessControlProcedureType} - * @memberof RfidAccessControlInfo - */ + * + * @type {RfidAccessControlProcedureType} + * @memberof RfidAccessControlInfo + */ Type: RfidAccessControlProcedureType; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidAccessControlInfo - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidAccessControlInfo + */ Status: RFIDErrorCodes; /** - * Index of the active variant of the procedure - * @type {number} - * @memberof RfidAccessControlInfo - */ + * Index of the active variant of the procedure + * @type {number} + * @memberof RfidAccessControlInfo + */ ActiveOptionIdx?: number; /** - * List of remarks arisen during the procedure. - * @type {Array} - * @memberof RfidAccessControlInfo - */ + * List of remarks arisen during the procedure. + * @type {Array} + * @memberof RfidAccessControlInfo + */ Notifications: Array; /** - * List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document - * @type {Array} - * @memberof RfidAccessControlInfo - */ + * List of structures with are used to describe the variants of the authentication or secure data access procedure performance within the context of the communication session with electronic document + * @type {Array} + * @memberof RfidAccessControlInfo + */ AccessControlOptions?: Array; } diff --git a/src/models/rfid-access-control-procedure-type.ts b/src/models/rfid-access-control-procedure-type.ts index 570770c2..4ba2beed 100644 --- a/src/models/rfid-access-control-procedure-type.ts +++ b/src/models/rfid-access-control-procedure-type.ts @@ -15,45 +15,42 @@ /** -* Enumeration contains a set of constants that define the type of authentication or secure data access procedure -* @export -* @enum {string} -*/ - -export const RfidAccessControlProcedureType = { + * Enumeration contains a set of constants that define the type of authentication or secure data access procedure + * @export + * @enum {string} + */ +export enum RfidAccessControlProcedureType { /** * Type is not defined */ - UNDEFINED: 0, + UNDEFINED = 0, /** * BAC/BAP */ - BAC: 1, + BAC = 1, /** * PACE */ - PACE: 2, + PACE = 2, /** * CA */ - CA: 3, + CA = 3, /** * TA */ - TA: 4, + TA = 4, /** * AA */ - AA: 5, + AA = 5, /** * RI */ - RI: 6, + RI = 6, /** * Card info */ - CARD_INFO: 10 -} as const; - -export type RfidAccessControlProcedureType = typeof RfidAccessControlProcedureType[keyof typeof RfidAccessControlProcedureType]; + CARD_INFO = 10 +} diff --git a/src/models/rfid-access-key.ts b/src/models/rfid-access-key.ts index caec92cc..49c3507b 100644 --- a/src/models/rfid-access-key.ts +++ b/src/models/rfid-access-key.ts @@ -17,33 +17,33 @@ import type { RfidAccessControlProcedureType } from './rfid-access-control-proce import type { RfidPasswordType } from './rfid-password-type'; /** -* Structure is used to describe the contents of secure data access key within the context of the communication session with electronic document -* @export -* @interface RfidAccessKey -*/ + * Structure is used to describe the contents of secure data access key within the context of the communication session with electronic document + * @export + * @interface RfidAccessKey + */ export interface RfidAccessKey { /** - * Key contents - * @type {string} - * @memberof RfidAccessKey - */ + * Key contents + * @type {string} + * @memberof RfidAccessKey + */ AccessKey: string; /** - * - * @type {RfidPasswordType} - * @memberof RfidAccessKey - */ + * + * @type {RfidPasswordType} + * @memberof RfidAccessKey + */ KeyType: RfidPasswordType; /** - * - * @type {RfidAccessControlProcedureType} - * @memberof RfidAccessKey - */ + * + * @type {RfidAccessControlProcedureType} + * @memberof RfidAccessKey + */ AccessType: RfidAccessControlProcedureType; /** - * Logical sign of the need for a full comparison of AccessKey contents with the contents of DG1 (MRZ) data group - * @type {boolean} - * @memberof RfidAccessKey - */ + * Logical sign of the need for a full comparison of AccessKey contents with the contents of DG1 (MRZ) data group + * @type {boolean} + * @memberof RfidAccessKey + */ CheckFullKeyMatching: boolean; } diff --git a/src/models/rfid-achip.ts b/src/models/rfid-achip.ts index d2b01a6c..370d9405 100644 --- a/src/models/rfid-achip.ts +++ b/src/models/rfid-achip.ts @@ -15,37 +15,34 @@ /** -* Enumeration contains a set of constants specifying the type of the RFIDchip from MIFARE® family (for chips of type A) -* @export -* @enum {string} -*/ - -export const RfidAChip = { + * Enumeration contains a set of constants specifying the type of the RFIDchip from MIFARE® family (for chips of type A) + * @export + * @enum {string} + */ +export enum RfidAChip { /** * Unknown */ - UNKNOWN: 0, + UNKNOWN = 0, /** * MIFARE® 1K */ - MIFARE_1K: 1, + MIFARE_1K = 1, /** * MIFARE® 4K */ - MIFARE_4K: 2, + MIFARE_4K = 2, /** * MIFARE® Ultralight */ - MIFARE_ULTRALIGHT: 3, + MIFARE_ULTRALIGHT = 3, /** * MIFARE® DESFire */ - MIFARE_DES_FIRE: 4, + MIFARE_DES_FIRE = 4, /** * MIFARE® ProX or SmartMX xD(T) */ - MIFARE_PROX: 5 -} as const; - -export type RfidAChip = typeof RfidAChip[keyof typeof RfidAChip]; + MIFARE_PROX = 5 +} diff --git a/src/models/rfid-application-type.ts b/src/models/rfid-application-type.ts index fb135608..eadb91c8 100644 --- a/src/models/rfid-application-type.ts +++ b/src/models/rfid-application-type.ts @@ -15,37 +15,34 @@ /** -* Enumeration contains a set of constants that define the type of application within the context of the communication session with electronic document -* @export -* @enum {string} -*/ - -export const RfidApplicationType = { + * Enumeration contains a set of constants that define the type of application within the context of the communication session with electronic document + * @export + * @enum {string} + */ +export enum RfidApplicationType { /** * Not defined */ - UNSPECIFIED: 0, + UNSPECIFIED = 0, /** * ePassport application */ - E_PASSPORT: 1, + E_PASSPORT = 1, /** * eID application */ - E_ID: 2, + E_ID = 2, /** * eSign application */ - E_SIGN: 3, + E_SIGN = 3, /** * eDL application */ - E_DL: 4, + E_DL = 4, /** * Master File */ - ROOT_FILES: 0 -} as const; - -export type RfidApplicationType = typeof RfidApplicationType[keyof typeof RfidApplicationType]; + ROOT_FILES = 0 +} diff --git a/src/models/rfid-application.ts b/src/models/rfid-application.ts index 5ac406be..4fffb662 100644 --- a/src/models/rfid-application.ts +++ b/src/models/rfid-application.ts @@ -18,51 +18,51 @@ import type { RfidApplicationType } from './rfid-application-type'; import type { RfidDataFile } from './rfid-data-file'; /** -* Structure is used to describe the contents of a single LDS application and their analysis within the context of the communication session with electronic document -* @export -* @interface RfidApplication -*/ + * Structure is used to describe the contents of a single LDS application and their analysis within the context of the communication session with electronic document + * @export + * @interface RfidApplication + */ export interface RfidApplication { /** - * - * @type {RfidApplicationType} - * @memberof RfidApplication - */ + * + * @type {RfidApplicationType} + * @memberof RfidApplication + */ Type: RfidApplicationType; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidApplication - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidApplication + */ Status: RFIDErrorCodes; /** - * Application identifier - * @type {string} - * @memberof RfidApplication - */ + * Application identifier + * @type {string} + * @memberof RfidApplication + */ ApplicationID: string; /** - * Version of the application - * @type {string} - * @memberof RfidApplication - */ + * Version of the application + * @type {string} + * @memberof RfidApplication + */ Version: string; /** - * Unicode version for application - * @type {string} - * @memberof RfidApplication - */ + * Unicode version for application + * @type {string} + * @memberof RfidApplication + */ UnicodeVersion: string; /** - * Algorithm for calculating hash values for files for the procedure of PA - * @type {string} - * @memberof RfidApplication - */ + * Algorithm for calculating hash values for files for the procedure of PA + * @type {string} + * @memberof RfidApplication + */ DataHashAlgorithm: string; /** - * List of containers to store information about the read files of the application - * @type {Array} - * @memberof RfidApplication - */ + * List of containers to store information about the read files of the application + * @type {Array} + * @memberof RfidApplication + */ Files: Array; } diff --git a/src/models/rfid-attribute-data.ts b/src/models/rfid-attribute-data.ts index d5b280f1..d99a5721 100644 --- a/src/models/rfid-attribute-data.ts +++ b/src/models/rfid-attribute-data.ts @@ -15,21 +15,21 @@ /** -* Structure contains the data of one attribute of the digital signature object. -* @export -* @interface RfidAttributeData -*/ + * Structure contains the data of one attribute of the digital signature object. + * @export + * @interface RfidAttributeData + */ export interface RfidAttributeData { /** - * Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) - * @type {string} - * @memberof RfidAttributeData - */ + * Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidAttributeData + */ Type: string; /** - * Attribute binary data. Base64 encoded. - * @type {string} - * @memberof RfidAttributeData - */ + * Attribute binary data. Base64 encoded. + * @type {string} + * @memberof RfidAttributeData + */ Data: string; } diff --git a/src/models/rfid-attribute-name.ts b/src/models/rfid-attribute-name.ts index d21acb22..5e19a52d 100644 --- a/src/models/rfid-attribute-name.ts +++ b/src/models/rfid-attribute-name.ts @@ -16,21 +16,21 @@ import type { TrfFtString } from './trf-ft-string'; /** -* Structure contains information that serves as the distinguished name (identifier) of an object. -* @export -* @interface RfidAttributeName -*/ + * Structure contains information that serves as the distinguished name (identifier) of an object. + * @export + * @interface RfidAttributeName + */ export interface RfidAttributeName { /** - * Attribute identifier (OID ASCII string); contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) - * @type {string} - * @memberof RfidAttributeName - */ + * Attribute identifier (OID ASCII string); contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidAttributeName + */ Type: string; /** - * - * @type {TrfFtString} - * @memberof RfidAttributeName - */ + * + * @type {TrfFtString} + * @memberof RfidAttributeName + */ Value: TrfFtString; } diff --git a/src/models/rfid-authentication-procedure-type.ts b/src/models/rfid-authentication-procedure-type.ts index 6a6768eb..cb79cf21 100644 --- a/src/models/rfid-authentication-procedure-type.ts +++ b/src/models/rfid-authentication-procedure-type.ts @@ -15,29 +15,26 @@ /** -* Enumeration contains a set of constants that define the type of performed procedure of document authentication within the current session -* @export -* @enum {string} -*/ - -export const RfidAuthenticationProcedureType = { + * Enumeration contains a set of constants that define the type of performed procedure of document authentication within the current session + * @export + * @enum {string} + */ +export enum RfidAuthenticationProcedureType { /** * Not defined */ - UNDEFINED: 0, + UNDEFINED = 0, /** * Standard authentication procedure */ - STANDARD: 1, + STANDARD = 1, /** * Advanced authentication procedure */ - ADVANCED: 2, + ADVANCED = 2, /** * General authentication procedure */ - GENERAL: 3 -} as const; - -export type RfidAuthenticationProcedureType = typeof RfidAuthenticationProcedureType[keyof typeof RfidAuthenticationProcedureType]; + GENERAL = 3 +} diff --git a/src/models/rfid-baud-rate.ts b/src/models/rfid-baud-rate.ts index 4dd876d8..3492d0a0 100644 --- a/src/models/rfid-baud-rate.ts +++ b/src/models/rfid-baud-rate.ts @@ -15,33 +15,30 @@ /** -* Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip -* @export -* @enum {string} -*/ - -export const RfidBaudRate = { + * Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip + * @export + * @enum {string} + */ +export enum RfidBaudRate { /** * Unknown */ - UNKNOWN: 0, + UNKNOWN = 0, /** * 106 bits/s */ - RFBR_106: 1, + RFBR_106 = 1, /** * 212 bits/s */ - RFBR_212: 2, + RFBR_212 = 2, /** * 424 bits/s */ - RFBR_424: 4, + RFBR_424 = 4, /** * 848 bits/s */ - RFBR_848: 8 -} as const; - -export type RfidBaudRate = typeof RfidBaudRate[keyof typeof RfidBaudRate]; + RFBR_848 = 8 +} diff --git a/src/models/rfid-card-properties-ext.ts b/src/models/rfid-card-properties-ext.ts index 87e1bb2e..cd9155fe 100644 --- a/src/models/rfid-card-properties-ext.ts +++ b/src/models/rfid-card-properties-ext.ts @@ -18,93 +18,93 @@ import type { RfidBaudRate } from './rfid-baud-rate'; import type { RfidType } from './rfid-type'; /** -* Structure is used to store extended information about the characteristics of the RFID-chip located in the scope of the reader -* @export -* @interface RfidCardPropertiesExt -*/ + * Structure is used to store extended information about the characteristics of the RFID-chip located in the scope of the reader + * @export + * @interface RfidCardPropertiesExt + */ export interface RfidCardPropertiesExt { /** - * - * @type {RfidType} - * @memberof RfidCardPropertiesExt - */ + * + * @type {RfidType} + * @memberof RfidCardPropertiesExt + */ RFID_Type: RfidType; /** - * Numeric Baudrate1 value in hexadecimal format (e.g. 0x0000000F) - * @type {string} - * @memberof RfidCardPropertiesExt - */ + * Numeric Baudrate1 value in hexadecimal format (e.g. 0x0000000F) + * @type {string} + * @memberof RfidCardPropertiesExt + */ Baudrate1: string; /** - * Numeric Baudrate2 value in hexadecimal format - * @type {string} - * @memberof RfidCardPropertiesExt - */ + * Numeric Baudrate2 value in hexadecimal format + * @type {string} + * @memberof RfidCardPropertiesExt + */ Baudrate2: string; /** - * Boolean Support_4 value - * @type {boolean} - * @memberof RfidCardPropertiesExt - */ + * Boolean Support_4 value + * @type {boolean} + * @memberof RfidCardPropertiesExt + */ Support_4: boolean; /** - * - * @type {RfidAChip} - * @memberof RfidCardPropertiesExt - */ + * + * @type {RfidAChip} + * @memberof RfidCardPropertiesExt + */ ChipType_A: RfidAChip; /** - * Sign of support for ISO/IEC 14443-3 data exchange protocol - * @type {boolean} - * @memberof RfidCardPropertiesExt - */ + * Sign of support for ISO/IEC 14443-3 data exchange protocol + * @type {boolean} + * @memberof RfidCardPropertiesExt + */ Support_Mifare: boolean; /** - * Amount of operational memory MIFARE® of the chip, kilobytes - * @type {number} - * @memberof RfidCardPropertiesExt - */ + * Amount of operational memory MIFARE® of the chip, kilobytes + * @type {number} + * @memberof RfidCardPropertiesExt + */ MifareMemory: number; /** - * UID contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. F9 4F 41 60) - * @type {string} - * @memberof RfidCardPropertiesExt - */ + * UID contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. F9 4F 41 60) + * @type {string} + * @memberof RfidCardPropertiesExt + */ UID: string; /** - * Reply of the «A» type chip to «REQA» command of ISO/IEC 14443-3 protocol (Answer To Request, Type A – ATQA) – for the internal use by the main control library - * @type {any} - * @memberof RfidCardPropertiesExt - */ + * Reply of the «A» type chip to «REQA» command of ISO/IEC 14443-3 protocol (Answer To Request, Type A – ATQA) – for the internal use by the main control library + * @type {any} + * @memberof RfidCardPropertiesExt + */ ATQ_A: any | null; /** - * Response of type-A RFID-chip to SELECT command of ISO/IEC 14443-3 protocol (Select Acknowledge, SAK). - * @type {any} - * @memberof RfidCardPropertiesExt - */ + * Response of type-A RFID-chip to SELECT command of ISO/IEC 14443-3 protocol (Select Acknowledge, SAK). + * @type {any} + * @memberof RfidCardPropertiesExt + */ SAK: any | null; /** - * ATQ_B contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 50 F9 4F 41 60 00 00 00 00 77 81 81) - * @type {any} - * @memberof RfidCardPropertiesExt - */ + * ATQ_B contents in text format. Each byte is represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 50 F9 4F 41 60 00 00 00 00 77 81 81) + * @type {any} + * @memberof RfidCardPropertiesExt + */ ATQ_B: any | null; /** - * - * @type {RfidBaudRate} - * @memberof RfidCardPropertiesExt - */ + * + * @type {RfidBaudRate} + * @memberof RfidCardPropertiesExt + */ BitRateS: RfidBaudRate; /** - * - * @type {RfidBaudRate} - * @memberof RfidCardPropertiesExt - */ + * + * @type {RfidBaudRate} + * @memberof RfidCardPropertiesExt + */ BitRateR: RfidBaudRate; /** - * ATR-string of RFID-chip - * @type {string} - * @memberof RfidCardPropertiesExt - */ + * ATR-string of RFID-chip + * @type {string} + * @memberof RfidCardPropertiesExt + */ ATR: string; } diff --git a/src/models/rfid-certificate-ex.ts b/src/models/rfid-certificate-ex.ts index 11f6ce58..6705ec99 100644 --- a/src/models/rfid-certificate-ex.ts +++ b/src/models/rfid-certificate-ex.ts @@ -23,87 +23,87 @@ import type { RfidValidity } from './rfid-validity'; import type { TrfFtString } from './trf-ft-string'; /** -* Structure is used to describe the certificate contents used for the digital signature verification of the document security object within the context of the communication session with electronic document. -* @export -* @interface RfidCertificateEx -*/ + * Structure is used to describe the certificate contents used for the digital signature verification of the document security object within the context of the communication session with electronic document. + * @export + * @interface RfidCertificateEx + */ export interface RfidCertificateEx { /** - * Version of Certificate ASN.1 structure - * @type {number} - * @memberof RfidCertificateEx - */ + * Version of Certificate ASN.1 structure + * @type {number} + * @memberof RfidCertificateEx + */ Version: number; /** - * Certificate serial number. Base64 encoded. - * @type {string} - * @memberof RfidCertificateEx - */ + * Certificate serial number. Base64 encoded. + * @type {string} + * @memberof RfidCertificateEx + */ SerialNumber: string; /** - * Certificate digital signature algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). - * @type {string} - * @memberof RfidCertificateEx - */ + * Certificate digital signature algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). + * @type {string} + * @memberof RfidCertificateEx + */ SignatureAlgorithm: string; /** - * - * @type {RfidDistinguishedName} - * @memberof RfidCertificateEx - */ + * + * @type {RfidDistinguishedName} + * @memberof RfidCertificateEx + */ Issuer: RfidDistinguishedName; /** - * - * @type {RfidValidity} - * @memberof RfidCertificateEx - */ + * + * @type {RfidValidity} + * @memberof RfidCertificateEx + */ Validity: RfidValidity; /** - * - * @type {RfidDistinguishedName} - * @memberof RfidCertificateEx - */ + * + * @type {RfidDistinguishedName} + * @memberof RfidCertificateEx + */ Subject: RfidDistinguishedName; /** - * Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). - * @type {string} - * @memberof RfidCertificateEx - */ + * Certificate public key algorithm identifier (OID); String in the format S1 (S2), where S1 – algorithm name, S2 – identifier (OID string). + * @type {string} + * @memberof RfidCertificateEx + */ SubjectPKAlgorithm: string; /** - * List of the certificate extensions - * @type {Array} - * @memberof RfidCertificateEx - */ + * List of the certificate extensions + * @type {Array} + * @memberof RfidCertificateEx + */ Extensions: Array; /** - * List of remarks arisen during the analysis of the certificate data structure and its validity verification. - * @type {Array} - * @memberof RfidCertificateEx - */ + * List of remarks arisen during the analysis of the certificate data structure and its validity verification. + * @type {Array} + * @memberof RfidCertificateEx + */ Notifications: Array; /** - * - * @type {RfidCertificateOrigin} - * @memberof RfidCertificateEx - */ + * + * @type {RfidCertificateOrigin} + * @memberof RfidCertificateEx + */ Origin: RfidCertificateOrigin; /** - * - * @type {RfidCertificateType} - * @memberof RfidCertificateEx - */ + * + * @type {RfidCertificateType} + * @memberof RfidCertificateEx + */ Type: RfidCertificateType; /** - * - * @type {TrfFtString} - * @memberof RfidCertificateEx - */ + * + * @type {TrfFtString} + * @memberof RfidCertificateEx + */ FileName: TrfFtString; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidCertificateEx - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidCertificateEx + */ PA_Status: RFIDErrorCodes; } diff --git a/src/models/rfid-certificate-origin.ts b/src/models/rfid-certificate-origin.ts index 30646664..08b7ef06 100644 --- a/src/models/rfid-certificate-origin.ts +++ b/src/models/rfid-certificate-origin.ts @@ -15,49 +15,46 @@ /** -* Enumeration contains a set of constants that define the source of certificate used in the procedure of document security object digital signature verification -* @export -* @enum {string} -*/ - -export const RfidCertificateOrigin = { + * Enumeration contains a set of constants that define the source of certificate used in the procedure of document security object digital signature verification + * @export + * @enum {string} + */ +export enum RfidCertificateOrigin { /** * The source is not defined */ - UNDEFINED: 0, + UNDEFINED = 0, /** * Local PKD */ - PKD: 1, + PKD = 1, /** * Document security object */ - SECURITY_OBJECT: 2, + SECURITY_OBJECT = 2, /** * User-defined */ - USER_DEFINED: 3, + USER_DEFINED = 3, /** * Contents of the Master List */ - MASTER_LIST_PKD: 4, + MASTER_LIST_PKD = 4, /** * Security object of the Master List */ - MASTER_LIST_SO: 5, + MASTER_LIST_SO = 5, /** * Security object of the Defect List */ - DEFECT_LIST_SO: 6, + DEFECT_LIST_SO = 6, /** * Security object of the Deviation List */ - DEVIATION_LIST_SO: 7, + DEVIATION_LIST_SO = 7, /** * Security object of the Black List */ - BLACK_LIST_SO: 8 -} as const; - -export type RfidCertificateOrigin = typeof RfidCertificateOrigin[keyof typeof RfidCertificateOrigin]; + BLACK_LIST_SO = 8 +} diff --git a/src/models/rfid-certificate-type.ts b/src/models/rfid-certificate-type.ts index 64587a2a..2d8824e4 100644 --- a/src/models/rfid-certificate-type.ts +++ b/src/models/rfid-certificate-type.ts @@ -15,45 +15,42 @@ /** -* Enumeration contains a set of constants that define the type of certificate used in the procedure of document security object digital signature verification -* @export -* @enum {string} -*/ - -export const RfidCertificateType = { + * Enumeration contains a set of constants that define the type of certificate used in the procedure of document security object digital signature verification + * @export + * @enum {string} + */ +export enum RfidCertificateType { /** * Type is not defined */ - UNDEFINED: 0, + UNDEFINED = 0, /** * CSCA */ - CSCA: 1, + CSCA = 1, /** * CSCA-link */ - CSCA_LINK: 2, + CSCA_LINK = 2, /** * DS */ - DS: 3, + DS = 3, /** * Master List signer */ - MLS: 4, + MLS = 4, /** * Deviaton List signer */ - DEV_LS: 5, + DEV_LS = 5, /** * Defect List signer */ - DEF_LS: 6, + DEF_LS = 6, /** * Black List signer */ - BLS: 7 -} as const; - -export type RfidCertificateType = typeof RfidCertificateType[keyof typeof RfidCertificateType]; + BLS = 7 +} diff --git a/src/models/rfid-data-file-type.ts b/src/models/rfid-data-file-type.ts index 292fb0b6..7469ff29 100644 --- a/src/models/rfid-data-file-type.ts +++ b/src/models/rfid-data-file-type.ts @@ -15,100 +15,97 @@ /** -* Enumeration contains a set of constants that define the file type (or logical belonging of the data object) within the context of the communication session with electronic document -* @export -* @enum {string} -*/ - -export const RfidDataFileType = { - UNSPECIFIED: 0, - PASSPORT_DG1: 1, - PASSPORT_DG2: 2, - PASSPORT_DG3: 3, - PASSPORT_DG4: 4, - PASSPORT_DG5: 5, - PASSPORT_DG6: 6, - PASSPORT_DG7: 7, - PASSPORT_DG8: 8, - PASSPORT_DG9: 9, - PASSPORT_DG10: 10, - PASSPORT_DG11: 11, - PASSPORT_DG12: 12, - PASSPORT_DG13: 13, - PASSPORT_DG14: 14, - PASSPORT_DG15: 15, - PASSPORT_DG16: 16, - PASSPORT_DG17: 17, - PASSPORT_DG18: 18, - PASSPORT_DG19: 19, - PASSPORT_DG20: 20, - PASSPORT_SOD: 21, - PASSPORT_CVCA: 22, - PASSPORT_COM: 23, - ID_DG1: 101, - ID_DG2: 102, - ID_DG3: 103, - ID_DG4: 104, - ID_DG5: 105, - ID_DG6: 106, - ID_DG7: 107, - ID_DG8: 108, - ID_DG9: 109, - ID_DG10: 110, - ID_DG11: 111, - ID_DG12: 112, - ID_DG13: 113, - ID_DG14: 114, - ID_DG15: 115, - ID_DG16: 116, - ID_DG17: 117, - ID_DG18: 118, - ID_DG19: 119, - ID_DG20: 120, - ID_DG21: 121, - DL_COM: 150, - DL_DG1: 151, - DL_DG2: 152, - DL_DG3: 153, - DL_DG4: 154, - DL_DG5: 155, - DL_DG6: 156, - DL_DG7: 157, - DL_DG8: 158, - DL_DG9: 159, - DL_DG10: 160, - DL_DG11: 161, - DL_DG12: 162, - DL_DG13: 163, - DL_DG14: 164, - DL_SOD: 165, - DL_CE: 166, - DL_CVCA: 167, - PACE_CARD_ACCESS: 200, - PACE_CARD_SECURITY: 201, - PACE_CHIP_SECURITY: 202, - MIFARE_DATA: 300, - MIFARE_VALIDITY: 301, - AUTHENTICITY_V2: 302, - ATR: 400, - _E_SIGN_PK: 500, - _E_SIGN_SIGNED_DATA: 501, - CERTIFICATE: 600, - MASTER_LIST: 601, - DEFECT_LIST: 602, - BLACK_LIST: 603, - APP_DIRECTORY: 700, - SESSION: 701, - LOG_DATA: 702, - CHIP_PROPERTIES: 703, - POST_CA_RESPONSE: 710, - POST_CA_PUBLIC_KEY: 711, - POST_CA_INFO: 712, - POST_CA_D_PARAMS: 713, - POST_CA_CHECK_PK: 714, - POST_CA_CHECK_SK: 715, - USER_DEFINED: 1000 -} as const; - -export type RfidDataFileType = typeof RfidDataFileType[keyof typeof RfidDataFileType]; + * Enumeration contains a set of constants that define the file type (or logical belonging of the data object) within the context of the communication session with electronic document + * @export + * @enum {string} + */ +export enum RfidDataFileType { + UNSPECIFIED = 0, + PASSPORT_DG1 = 1, + PASSPORT_DG2 = 2, + PASSPORT_DG3 = 3, + PASSPORT_DG4 = 4, + PASSPORT_DG5 = 5, + PASSPORT_DG6 = 6, + PASSPORT_DG7 = 7, + PASSPORT_DG8 = 8, + PASSPORT_DG9 = 9, + PASSPORT_DG10 = 10, + PASSPORT_DG11 = 11, + PASSPORT_DG12 = 12, + PASSPORT_DG13 = 13, + PASSPORT_DG14 = 14, + PASSPORT_DG15 = 15, + PASSPORT_DG16 = 16, + PASSPORT_DG17 = 17, + PASSPORT_DG18 = 18, + PASSPORT_DG19 = 19, + PASSPORT_DG20 = 20, + PASSPORT_SOD = 21, + PASSPORT_CVCA = 22, + PASSPORT_COM = 23, + ID_DG1 = 101, + ID_DG2 = 102, + ID_DG3 = 103, + ID_DG4 = 104, + ID_DG5 = 105, + ID_DG6 = 106, + ID_DG7 = 107, + ID_DG8 = 108, + ID_DG9 = 109, + ID_DG10 = 110, + ID_DG11 = 111, + ID_DG12 = 112, + ID_DG13 = 113, + ID_DG14 = 114, + ID_DG15 = 115, + ID_DG16 = 116, + ID_DG17 = 117, + ID_DG18 = 118, + ID_DG19 = 119, + ID_DG20 = 120, + ID_DG21 = 121, + DL_COM = 150, + DL_DG1 = 151, + DL_DG2 = 152, + DL_DG3 = 153, + DL_DG4 = 154, + DL_DG5 = 155, + DL_DG6 = 156, + DL_DG7 = 157, + DL_DG8 = 158, + DL_DG9 = 159, + DL_DG10 = 160, + DL_DG11 = 161, + DL_DG12 = 162, + DL_DG13 = 163, + DL_DG14 = 164, + DL_SOD = 165, + DL_CE = 166, + DL_CVCA = 167, + PACE_CARD_ACCESS = 200, + PACE_CARD_SECURITY = 201, + PACE_CHIP_SECURITY = 202, + MIFARE_DATA = 300, + MIFARE_VALIDITY = 301, + AUTHENTICITY_V2 = 302, + ATR = 400, + _E_SIGN_PK = 500, + _E_SIGN_SIGNED_DATA = 501, + CERTIFICATE = 600, + MASTER_LIST = 601, + DEFECT_LIST = 602, + BLACK_LIST = 603, + APP_DIRECTORY = 700, + SESSION = 701, + LOG_DATA = 702, + CHIP_PROPERTIES = 703, + POST_CA_RESPONSE = 710, + POST_CA_PUBLIC_KEY = 711, + POST_CA_INFO = 712, + POST_CA_D_PARAMS = 713, + POST_CA_CHECK_PK = 714, + POST_CA_CHECK_SK = 715, + USER_DEFINED = 1000 +} diff --git a/src/models/rfid-data-file.ts b/src/models/rfid-data-file.ts index 7c472f73..c84159ff 100644 --- a/src/models/rfid-data-file.ts +++ b/src/models/rfid-data-file.ts @@ -21,69 +21,69 @@ import type { TextFieldType } from './text-field-type'; import type { TrfFtBytes } from './trf-ft-bytes'; /** -* Structure is used to describe the contents of a single file of the LDS of electronic document and the analysis of its contents within the context of the communication session with electronic document -* @export -* @interface RfidDataFile -*/ + * Structure is used to describe the contents of a single file of the LDS of electronic document and the analysis of its contents within the context of the communication session with electronic document + * @export + * @interface RfidDataFile + */ export interface RfidDataFile { /** - * File identifier. Each byte of FileID represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 01 1E) - * @type {string} - * @memberof RfidDataFile - */ + * File identifier. Each byte of FileID represented by its hexadecimal value. The individual bytes are separated by spaces (e.g. 01 1E) + * @type {string} + * @memberof RfidDataFile + */ FileID?: string; /** - * - * @type {RfidDataFileType} - * @memberof RfidDataFile - */ + * + * @type {RfidDataFileType} + * @memberof RfidDataFile + */ Type: RfidDataFileType; /** - * - * @type {TrfFtBytes} - * @memberof RfidDataFile - */ + * + * @type {TrfFtBytes} + * @memberof RfidDataFile + */ FileData?: TrfFtBytes; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidDataFile - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidDataFile + */ ReadingStatus: RFIDErrorCodes; /** - * Time of reading, milliseconds - * @type {number} - * @memberof RfidDataFile - */ + * Time of reading, milliseconds + * @type {number} + * @memberof RfidDataFile + */ ReadingTime: number; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidDataFile - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidDataFile + */ PA_Status: RFIDErrorCodes; /** - * List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure. - * @type {Array} - * @memberof RfidDataFile - */ + * List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure. + * @type {Array} + * @memberof RfidDataFile + */ Notifications: Array; /** - * List of document text fields formed on the basis of the file contents - * @type {Array} - * @memberof RfidDataFile - */ + * List of document text fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ DocFields_Text: Array; /** - * List of document graphic fields formed on the basis of the file contents - * @type {Array} - * @memberof RfidDataFile - */ + * List of document graphic fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ DocFields_Graphics: Array; /** - * List of the original binary representation of graphic document fields formed on the basis of the file contents - * @type {Array} - * @memberof RfidDataFile - */ + * List of the original binary representation of graphic document fields formed on the basis of the file contents + * @type {Array} + * @memberof RfidDataFile + */ DocFields_Originals: Array; } diff --git a/src/models/rfid-data-group-type-tag.ts b/src/models/rfid-data-group-type-tag.ts index 48669a06..22e7d29d 100644 --- a/src/models/rfid-data-group-type-tag.ts +++ b/src/models/rfid-data-group-type-tag.ts @@ -15,233 +15,230 @@ /** -* Enumeration representing RFID Data Group Types. Constants with prefix correspond to the informational data groups of ePassport application, with prefix EID_ – those of eID application, with prefix EDL_ – eDL application -* @export -* @enum {string} -*/ - -export const RfidDataGroupTypeTag = { + * Enumeration representing RFID Data Group Types. Constants with prefix correspond to the informational data groups of ePassport application, with prefix EID_ – those of eID application, with prefix EDL_ – eDL application + * @export + * @enum {string} + */ +export enum RfidDataGroupTypeTag { /** * Common Data Group Type */ - COM: 96, + COM = 96, /** * Data Group 1 */ - DG1: 97, + DG1 = 97, /** * Data Group 2 */ - DG2: 117, + DG2 = 117, /** * Data Group 3 */ - DG3: 99, + DG3 = 99, /** * Data Group 4 */ - DG4: 118, + DG4 = 118, /** * Data Group 5 */ - DG5: 101, + DG5 = 101, /** * Data Group 6 */ - DG6: 102, + DG6 = 102, /** * Data Group 7 */ - DG7: 103, + DG7 = 103, /** * Data Group 8 */ - DG8: 104, + DG8 = 104, /** * Data Group 9 */ - DG9: 105, + DG9 = 105, /** * Data Group 10 */ - DG10: 106, + DG10 = 106, /** * Data Group 11 */ - DG11: 107, + DG11 = 107, /** * Data Group 12 */ - DG12: 108, + DG12 = 108, /** * Data Group 13 */ - DG13: 109, + DG13 = 109, /** * Data Group 14 */ - DG14: 110, + DG14 = 110, /** * Data Group 15 */ - DG15: 111, + DG15 = 111, /** * Data Group 16 */ - DG16: 112, + DG16 = 112, /** * Start of Data */ - SOD: 119, + SOD = 119, /** * Extended Interoperable Data, Data Group 1 */ - EID_DG1: 97, + EID_DG1 = 97, /** * Extended Interoperable Data, Data Group 2 */ - EID_DG2: 98, + EID_DG2 = 98, /** * Extended Interoperable Data, Data Group 3 */ - EID_DG3: 99, + EID_DG3 = 99, /** * Extended Interoperable Data, Data Group 4 */ - EID_DG4: 100, + EID_DG4 = 100, /** * Extended Interoperable Data, Data Group 5 */ - EID_DG5: 101, + EID_DG5 = 101, /** * Extended Interoperable Data, Data Group 6 */ - EID_DG6: 102, + EID_DG6 = 102, /** * Extended Interoperable Data, Data Group 7 */ - EID_DG7: 103, + EID_DG7 = 103, /** * Extended Interoperable Data, Data Group 8 */ - EID_DG8: 104, + EID_DG8 = 104, /** * Extended Interoperable Data, Data Group 9 */ - EID_DG9: 105, + EID_DG9 = 105, /** * Extended Interoperable Data, Data Group 10 */ - EID_DG10: 106, + EID_DG10 = 106, /** * Extended Interoperable Data, Data Group 11 */ - EID_DG11: 107, + EID_DG11 = 107, /** * Extended Interoperable Data, Data Group 12 */ - EID_DG12: 108, + EID_DG12 = 108, /** * Extended Interoperable Data, Data Group 13 */ - EID_DG13: 109, + EID_DG13 = 109, /** * Extended Interoperable Data, Data Group 14 */ - EID_DG14: 110, + EID_DG14 = 110, /** * Extended Interoperable Data, Data Group 15 */ - EID_DG15: 111, + EID_DG15 = 111, /** * Extended Interoperable Data, Data Group 16 */ - EID_DG16: 112, + EID_DG16 = 112, /** * Extended Interoperable Data, Data Group 17 */ - EID_DG17: 113, + EID_DG17 = 113, /** * Extended Interoperable Data, Data Group 18 */ - EID_DG18: 114, + EID_DG18 = 114, /** * Extended Interoperable Data, Data Group 19 */ - EID_DG19: 115, + EID_DG19 = 115, /** * Extended Interoperable Data, Data Group 20 */ - EID_DG20: 116, + EID_DG20 = 116, /** * Extended Interoperable Data, Data Group 21 */ - EID_DG21: 117, + EID_DG21 = 117, /** * Extended Length Data, Common Data Group Type */ - EDL_COM: 96, + EDL_COM = 96, /** * Extended Length Data, Start of Data */ - EDL_SOD: 119, + EDL_SOD = 119, /** * Extended Length Data, Certificate Holder Authorization */ - EDL_CE: 119, + EDL_CE = 119, /** * Extended Length Data, Data Group 1 */ - EDL_DG1: 97, + EDL_DG1 = 97, /** * Extended Length Data, Data Group 2 */ - EDL_DG2: 107, + EDL_DG2 = 107, /** * Extended Length Data, Data Group 3 */ - EDL_DG3: 108, + EDL_DG3 = 108, /** * Extended Length Data, Data Group 4 */ - EDL_DG4: 101, + EDL_DG4 = 101, /** * Extended Length Data, Data Group 5 */ - EDL_DG5: 103, + EDL_DG5 = 103, /** * Extended Length Data, Data Group 6 */ - EDL_DG6: 117, + EDL_DG6 = 117, /** * Extended Length Data, Data Group 7 */ - EDL_DG7: 99, + EDL_DG7 = 99, /** * Extended Length Data, Data Group 8 */ - EDL_DG8: 118, + EDL_DG8 = 118, /** * Extended Length Data, Data Group 9 */ - EDL_DG9: 112, + EDL_DG9 = 112, /** * Extended Length Data, Data Group 11 */ - EDL_DG11: 109, + EDL_DG11 = 109, /** * Extended Length Data, Data Group 12 */ - EDL_DG12: 113, + EDL_DG12 = 113, /** * Extended Length Data, Data Group 13 */ - EDL_DG14: 111, + EDL_DG14 = 111, /** * Extended Length Data, Data Group 14 */ - NUMBER_110: 110 -} as const; - -export type RfidDataGroupTypeTag = typeof RfidDataGroupTypeTag[keyof typeof RfidDataGroupTypeTag]; + NUMBER_110 = 110 +} diff --git a/src/models/rfid-dg1.ts b/src/models/rfid-dg1.ts index ad7e9334..d9383f31 100644 --- a/src/models/rfid-dg1.ts +++ b/src/models/rfid-dg1.ts @@ -17,105 +17,105 @@ import type { DocumentFormat } from './document-format'; import type { RfidDataGroupTypeTag } from './rfid-data-group-type-tag'; /** -* Structure used to store the contents of EF.DG1 informational data group of ePassport application – document MRZ data -* @export -* @interface RfidDG1 -*/ + * Structure used to store the contents of EF.DG1 informational data group of ePassport application – document MRZ data + * @export + * @interface RfidDG1 + */ export interface RfidDG1 { /** - * - * @type {RfidDataGroupTypeTag} - * @memberof RfidDG1 - */ + * + * @type {RfidDataGroupTypeTag} + * @memberof RfidDG1 + */ Type: RfidDataGroupTypeTag; /** - * - * @type {DocumentFormat} - * @memberof RfidDG1 - */ + * + * @type {DocumentFormat} + * @memberof RfidDG1 + */ DocumentID: DocumentFormat; /** - * Symbolic code of document type - * @type {string} - * @memberof RfidDG1 - */ + * Symbolic code of document type + * @type {string} + * @memberof RfidDG1 + */ DocumentType: string; /** - * Symbolic code of document issuing state - * @type {string} - * @memberof RfidDG1 - */ + * Symbolic code of document issuing state + * @type {string} + * @memberof RfidDG1 + */ State: string; /** - * DO’s name and surname - * @type {string} - * @memberof RfidDG1 - */ + * DO’s name and surname + * @type {string} + * @memberof RfidDG1 + */ Holder: string; /** - * Document number - * @type {string} - * @memberof RfidDG1 - */ + * Document number + * @type {string} + * @memberof RfidDG1 + */ DocumentNumber: string; /** - * Check digit of document number - * @type {number} - * @memberof RfidDG1 - */ + * Check digit of document number + * @type {number} + * @memberof RfidDG1 + */ CheckDigitDocumentNumber: number; /** - * Symbolic code of DO’s nationality - * @type {string} - * @memberof RfidDG1 - */ + * Symbolic code of DO’s nationality + * @type {string} + * @memberof RfidDG1 + */ Nationality: string; /** - * DO’s date of birth - * @type {string} - * @memberof RfidDG1 - */ + * DO’s date of birth + * @type {string} + * @memberof RfidDG1 + */ Birthday: string; /** - * Check digit of DO’s date of birth - * @type {number} - * @memberof RfidDG1 - */ + * Check digit of DO’s date of birth + * @type {number} + * @memberof RfidDG1 + */ CheckDigitBirthday: number; /** - * DO’s sex - * @type {string} - * @memberof RfidDG1 - */ + * DO’s sex + * @type {string} + * @memberof RfidDG1 + */ Sex: string; /** - * Term of validity of the document - * @type {string} - * @memberof RfidDG1 - */ + * Term of validity of the document + * @type {string} + * @memberof RfidDG1 + */ ExpiryDate: string; /** - * Check digit of term of validity of the document - * @type {number} - * @memberof RfidDG1 - */ + * Check digit of term of validity of the document + * @type {number} + * @memberof RfidDG1 + */ CheckDigitExpiryDate: number; /** - * DO’s personal number or other additional data - * @type {string} - * @memberof RfidDG1 - */ + * DO’s personal number or other additional data + * @type {string} + * @memberof RfidDG1 + */ OptionalData: string; /** - * Check digit of additional data - * @type {number} - * @memberof RfidDG1 - */ + * Check digit of additional data + * @type {number} + * @memberof RfidDG1 + */ CheckDigitOptionalData: number; /** - * General check digit - * @type {number} - * @memberof RfidDG1 - */ + * General check digit + * @type {number} + * @memberof RfidDG1 + */ CheckDigitComposite: number; } diff --git a/src/models/rfid-distinguished-name.ts b/src/models/rfid-distinguished-name.ts index 2a2aea68..77de7583 100644 --- a/src/models/rfid-distinguished-name.ts +++ b/src/models/rfid-distinguished-name.ts @@ -17,27 +17,27 @@ import type { RfidAttributeName } from './rfid-attribute-name'; import type { TrfFtString } from './trf-ft-string'; /** -* Contents of the identifier in binary form. Base64 encoded. -* @export -* @interface RfidDistinguishedName -*/ + * Contents of the identifier in binary form. Base64 encoded. + * @export + * @interface RfidDistinguishedName + */ export interface RfidDistinguishedName { /** - * Contents of the identifier in binary form. Base64 encoded. - * @type {string} - * @memberof RfidDistinguishedName - */ + * Contents of the identifier in binary form. Base64 encoded. + * @type {string} + * @memberof RfidDistinguishedName + */ Data: string; /** - * - * @type {TrfFtString} - * @memberof RfidDistinguishedName - */ + * + * @type {TrfFtString} + * @memberof RfidDistinguishedName + */ FriendlyName: TrfFtString; /** - * List of individual attributes contained in the identifier - * @type {Array} - * @memberof RfidDistinguishedName - */ + * List of individual attributes contained in the identifier + * @type {Array} + * @memberof RfidDistinguishedName + */ Attributes: Array; } diff --git a/src/models/rfid-location.ts b/src/models/rfid-location.ts index 199e7d3f..cd1dd9a5 100644 --- a/src/models/rfid-location.ts +++ b/src/models/rfid-location.ts @@ -15,25 +15,22 @@ /** -* Determines the presence and location of an RFID chip in a document. 0 - no rfid chip; 1 - chip is located in the document data page; 2 - chip is located in the back page or inlay of the document -* @export -* @enum {string} -*/ - -export const RfidLocation = { + * Determines the presence and location of an RFID chip in a document. 0 - no rfid chip; 1 - chip is located in the document data page; 2 - chip is located in the back page or inlay of the document + * @export + * @enum {string} + */ +export enum RfidLocation { /** * There is no RFID chip in the document */ - NONE: 0, + NONE = 0, /** * The RFID chip is located in the document data page */ - MAIN_PAGE: 1, + MAIN_PAGE = 1, /** * The RFID chip is located in the back page or inlay of the document */ - BACK_PAGE: 2 -} as const; - -export type RfidLocation = typeof RfidLocation[keyof typeof RfidLocation]; + BACK_PAGE = 2 +} diff --git a/src/models/rfid-origin.ts b/src/models/rfid-origin.ts index b9d16992..64e7d48f 100644 --- a/src/models/rfid-origin.ts +++ b/src/models/rfid-origin.ts @@ -15,33 +15,33 @@ /** -* Location of data in RFID chip -* @export -* @interface RfidOrigin -*/ + * Location of data in RFID chip + * @export + * @interface RfidOrigin + */ export interface RfidOrigin { /** - * Source data group file - * @type {number} - * @memberof RfidOrigin - */ + * Source data group file + * @type {number} + * @memberof RfidOrigin + */ dg: number; /** - * Index of the source record of the image with biometric information in the information data group - * @type {number} - * @memberof RfidOrigin - */ + * Index of the source record of the image with biometric information in the information data group + * @type {number} + * @memberof RfidOrigin + */ dgTag: number; /** - * Index of the template in the record with biometric data - * @type {number} - * @memberof RfidOrigin - */ + * Index of the template in the record with biometric data + * @type {number} + * @memberof RfidOrigin + */ tagEntry: number; /** - * Index of the variant of the biometric data template - * @type {number} - * @memberof RfidOrigin - */ + * Index of the variant of the biometric data template + * @type {number} + * @memberof RfidOrigin + */ entryView: number; } diff --git a/src/models/rfid-password-type.ts b/src/models/rfid-password-type.ts index 775273e6..3a603f57 100644 --- a/src/models/rfid-password-type.ts +++ b/src/models/rfid-password-type.ts @@ -15,41 +15,38 @@ /** -* Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip -* @export -* @enum {string} -*/ - -export const RfidPasswordType = { + * Enumeration contains a set of constants specifying the rate of data exchange between the reader and the RFID-chip + * @export + * @enum {string} + */ +export enum RfidPasswordType { /** * Unknown type */ - UNKNOWN: 0, + UNKNOWN = 0, /** * MRZ */ - MRZ: 1, + MRZ = 1, /** * CAN */ - CAN: 2, + CAN = 2, /** * PIN */ - PIN: 3, + PIN = 3, /** * PUK */ - PUK: 4, + PUK = 4, /** * eSign-PIN */ - PIN_E_SIGN: 5, + PIN_E_SIGN = 5, /** * Scanning Area Identifier (for eDL application) */ - SAI: 6 -} as const; - -export type RfidPasswordType = typeof RfidPasswordType[keyof typeof RfidPasswordType]; + SAI = 6 +} diff --git a/src/models/rfid-pki-extension.ts b/src/models/rfid-pki-extension.ts index c295d294..7889bb4d 100644 --- a/src/models/rfid-pki-extension.ts +++ b/src/models/rfid-pki-extension.ts @@ -15,21 +15,21 @@ /** -* Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) -* @export -* @interface RfidPkiExtension -*/ + * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @export + * @interface RfidPkiExtension + */ export interface RfidPkiExtension { /** - * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) - * @type {string} - * @memberof RfidPkiExtension - */ + * Extension identifier (OID, ASCII string); Contents of the identifier in the format S1 (S2), where S1 – attribute name, S2 – identifier (OID string) + * @type {string} + * @memberof RfidPkiExtension + */ Type: string; /** - * Extension binary data. Base64 encoded. - * @type {string} - * @memberof RfidPkiExtension - */ + * Extension binary data. Base64 encoded. + * @type {string} + * @memberof RfidPkiExtension + */ Data: string; } diff --git a/src/models/rfid-security-object.ts b/src/models/rfid-security-object.ts index 3b6300f8..a2db0164 100644 --- a/src/models/rfid-security-object.ts +++ b/src/models/rfid-security-object.ts @@ -17,39 +17,39 @@ import type { ParsingErrorCodes } from './parsing-error-codes'; import type { RfidSignerInfoEx } from './rfid-signer-info-ex'; /** -* Structure is used to describe the contents of a single document security object (SO) and the results of its check within the context of the communication session with electronic document -* @export -* @interface RfidSecurityObject -*/ + * Structure is used to describe the contents of a single document security object (SO) and the results of its check within the context of the communication session with electronic document + * @export + * @interface RfidSecurityObject + */ export interface RfidSecurityObject { /** - * Security object version - * @type {number} - * @memberof RfidSecurityObject - */ + * Security object version + * @type {number} + * @memberof RfidSecurityObject + */ Version: number; /** - * Identifier of the security object - * @type {string} - * @memberof RfidSecurityObject - */ + * Identifier of the security object + * @type {string} + * @memberof RfidSecurityObject + */ ObjectType: string; /** - * Reference to the source file of the security object data - * @type {number} - * @memberof RfidSecurityObject - */ + * Reference to the source file of the security object data + * @type {number} + * @memberof RfidSecurityObject + */ FileReference: number; /** - * List of remarks arisen during the analysis of SO data structure. - * @type {Array} - * @memberof RfidSecurityObject - */ + * List of remarks arisen during the analysis of SO data structure. + * @type {Array} + * @memberof RfidSecurityObject + */ Notifications: Array; /** - * List of containers to store information about digital signature objects contained in the SO - * @type {Array} - * @memberof RfidSecurityObject - */ + * List of containers to store information about digital signature objects contained in the SO + * @type {Array} + * @memberof RfidSecurityObject + */ SignerInfos: Array; } diff --git a/src/models/rfid-session-data.ts b/src/models/rfid-session-data.ts index f0be1269..0abad0b4 100644 --- a/src/models/rfid-session-data.ts +++ b/src/models/rfid-session-data.ts @@ -23,105 +23,105 @@ import type { RfidSecurityObject } from './rfid-security-object'; import type { RfidTerminal } from './rfid-terminal'; /** -* Structure is used to describe the results of work with the SDK within the context of the current communication session with electronic document -* @export -* @interface RfidSessionData -*/ + * Structure is used to describe the results of work with the SDK within the context of the current communication session with electronic document + * @export + * @interface RfidSessionData + */ export interface RfidSessionData { /** - * Sign of virtual session when working with loaded data from a previous communication session with the electronic document - * @type {any} - * @memberof RfidSessionData - */ + * Sign of virtual session when working with loaded data from a previous communication session with the electronic document + * @type {any} + * @memberof RfidSessionData + */ VirtualMode: any | null; /** - * Text SDKVersion value in format A.B (e.g. 3.1) - * @type {any} - * @memberof RfidSessionData - */ + * Text SDKVersion value in format A.B (e.g. 3.1) + * @type {any} + * @memberof RfidSessionData + */ SDKVersion: any | null; /** - * Text DriverVersion value in format A.B.C.D (e.g. 6.2.5.4) - * @type {any} - * @memberof RfidSessionData - */ + * Text DriverVersion value in format A.B.C.D (e.g. 6.2.5.4) + * @type {any} + * @memberof RfidSessionData + */ DriverVersion: any | null; /** - * Text FirmwareVersion value in format A.B (e.g. 5.19) - * @type {any} - * @memberof RfidSessionData - */ + * Text FirmwareVersion value in format A.B (e.g. 5.19) + * @type {any} + * @memberof RfidSessionData + */ FirmwareVersion: any | null; /** - * List of containers to store information about the involved applications of electronic document - * @type {Array} - * @memberof RfidSessionData - */ + * List of containers to store information about the involved applications of electronic document + * @type {Array} + * @memberof RfidSessionData + */ Applications: Array; /** - * List of containers to store information about the supported procedures of authentication and secure data access within the context of the session - * @type {Array} - * @memberof RfidSessionData - */ + * List of containers to store information about the supported procedures of authentication and secure data access within the context of the session + * @type {Array} + * @memberof RfidSessionData + */ AccessControls: Array; /** - * - * @type {RfidCardPropertiesExt} - * @memberof RfidSessionData - */ + * + * @type {RfidCardPropertiesExt} + * @memberof RfidSessionData + */ CardProperties: RfidCardPropertiesExt; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidSessionData - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidSessionData + */ ExtLeSupport: RFIDErrorCodes; /** - * Time of processing, milliseconds - * @type {number} - * @memberof RfidSessionData - */ + * Time of processing, milliseconds + * @type {number} + * @memberof RfidSessionData + */ ProcessTime: number; /** - * List of containers to store information about the read files of the root Master File - * @type {Array} - * @memberof RfidSessionData - */ + * List of containers to store information about the read files of the root Master File + * @type {Array} + * @memberof RfidSessionData + */ RootFiles: Array; /** - * Total number of bytes transmitted to the RFID-chip during the whole session - * @type {number} - * @memberof RfidSessionData - */ + * Total number of bytes transmitted to the RFID-chip during the whole session + * @type {number} + * @memberof RfidSessionData + */ TotalBytesSent: number; /** - * Total number of bytes received from the RFID-chip during the whole session - * @type {number} - * @memberof RfidSessionData - */ + * Total number of bytes received from the RFID-chip during the whole session + * @type {number} + * @memberof RfidSessionData + */ TotalBytesReceived: number; /** - * - * @type {RfidAccessKey} - * @memberof RfidSessionData - */ + * + * @type {RfidAccessKey} + * @memberof RfidSessionData + */ Session_key: RfidAccessKey; /** - * - * @type {RfidTerminal} - * @memberof RfidSessionData - */ + * + * @type {RfidTerminal} + * @memberof RfidSessionData + */ Session_terminal: RfidTerminal; /** - * - * @type {RfidAuthenticationProcedureType} - * @memberof RfidSessionData - */ + * + * @type {RfidAuthenticationProcedureType} + * @memberof RfidSessionData + */ Session_procedure: RfidAuthenticationProcedureType; /** - * List of containers to store information about the detected document security objects - * @type {Array} - * @memberof RfidSessionData - */ + * List of containers to store information about the detected document security objects + * @type {Array} + * @memberof RfidSessionData + */ SecurityObjects: Array; } diff --git a/src/models/rfid-signer-info-ex.ts b/src/models/rfid-signer-info-ex.ts index 2d8d991a..f347d654 100644 --- a/src/models/rfid-signer-info-ex.ts +++ b/src/models/rfid-signer-info-ex.ts @@ -21,81 +21,81 @@ import type { RfidDistinguishedName } from './rfid-distinguished-name'; import type { TrfFtBytes } from './trf-ft-bytes'; /** -* Structure is used to describe the contents of a single copy of digital signature of the document security object and the results of its check within the context of the communication session with electronic document -* @export -* @interface RfidSignerInfoEx -*/ + * Structure is used to describe the contents of a single copy of digital signature of the document security object and the results of its check within the context of the communication session with electronic document + * @export + * @interface RfidSignerInfoEx + */ export interface RfidSignerInfoEx { /** - * Version of SignerInfo ASN.1 structure - * @type {number} - * @memberof RfidSignerInfoEx - */ + * Version of SignerInfo ASN.1 structure + * @type {number} + * @memberof RfidSignerInfoEx + */ Version: number; /** - * - * @type {RfidDistinguishedName} - * @memberof RfidSignerInfoEx - */ + * + * @type {RfidDistinguishedName} + * @memberof RfidSignerInfoEx + */ Issuer: RfidDistinguishedName; /** - * - * @type {TrfFtBytes} - * @memberof RfidSignerInfoEx - */ + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ SerialNumber: TrfFtBytes; /** - * - * @type {TrfFtBytes} - * @memberof RfidSignerInfoEx - */ + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ SubjectKeyIdentifier: TrfFtBytes; /** - * Hash algorithm identifier (OID) for digital signature generation - * @type {string} - * @memberof RfidSignerInfoEx - */ + * Hash algorithm identifier (OID) for digital signature generation + * @type {string} + * @memberof RfidSignerInfoEx + */ DigestAlgorithm: string; /** - * List of the signed attributes - * @type {Array} - * @memberof RfidSignerInfoEx - */ + * List of the signed attributes + * @type {Array} + * @memberof RfidSignerInfoEx + */ SignedAttributes: Array; /** - * Digital signature algorithm identifier (OID) - * @type {string} - * @memberof RfidSignerInfoEx - */ + * Digital signature algorithm identifier (OID) + * @type {string} + * @memberof RfidSignerInfoEx + */ SignatureAlgorithm: string; /** - * - * @type {TrfFtBytes} - * @memberof RfidSignerInfoEx - */ + * + * @type {TrfFtBytes} + * @memberof RfidSignerInfoEx + */ Signature: TrfFtBytes; /** - * - * @type {RFIDErrorCodes} - * @memberof RfidSignerInfoEx - */ + * + * @type {RFIDErrorCodes} + * @memberof RfidSignerInfoEx + */ PA_Status: RFIDErrorCodes; /** - * Certificate chain, used for the digital signature verification. - * @type {Array} - * @memberof RfidSignerInfoEx - */ + * Certificate chain, used for the digital signature verification. + * @type {Array} + * @memberof RfidSignerInfoEx + */ CertificateChain: Array; /** - * Binary data array used to calculate the hash value for digital signature verification. Base64 encoded. - * @type {string} - * @memberof RfidSignerInfoEx - */ + * Binary data array used to calculate the hash value for digital signature verification. Base64 encoded. + * @type {string} + * @memberof RfidSignerInfoEx + */ DataToHash: string; /** - * - * @type {ParsingErrorCodes} - * @memberof RfidSignerInfoEx - */ + * + * @type {ParsingErrorCodes} + * @memberof RfidSignerInfoEx + */ Notifications: ParsingErrorCodes; } diff --git a/src/models/rfid-terminal-type.ts b/src/models/rfid-terminal-type.ts index 09b3ae38..75b3b8ca 100644 --- a/src/models/rfid-terminal-type.ts +++ b/src/models/rfid-terminal-type.ts @@ -15,33 +15,30 @@ /** -* Enumeration contains a set of constants that define the type of terminal within the context of the communication session with electronic document -* @export -* @enum {string} -*/ - -export const RfidTerminalType = { + * Enumeration contains a set of constants that define the type of terminal within the context of the communication session with electronic document + * @export + * @enum {string} + */ +export enum RfidTerminalType { /** * Not defined */ - UNDEFINED: 0, + UNDEFINED = 0, /** * Inspection system */ - INSPECTION_SYSTEM: 1, + INSPECTION_SYSTEM = 1, /** * Authentication terminal */ - AUTHENTICATION_TERMINAL: 2, + AUTHENTICATION_TERMINAL = 2, /** * Signature terminal */ - SIGNATURE_TERMINAL: 3, + SIGNATURE_TERMINAL = 3, /** * Unauthenticated terminal */ - UNAUTHENTICATED_TERMINAL: 4 -} as const; - -export type RfidTerminalType = typeof RfidTerminalType[keyof typeof RfidTerminalType]; + UNAUTHENTICATED_TERMINAL = 4 +} diff --git a/src/models/rfid-terminal.ts b/src/models/rfid-terminal.ts index 0eec0b8a..42163661 100644 --- a/src/models/rfid-terminal.ts +++ b/src/models/rfid-terminal.ts @@ -16,27 +16,27 @@ import type { RfidTerminalType } from './rfid-terminal-type'; /** -* Structure is used to describe the terminal type within the context of the communication session with electronic document -* @export -* @interface RfidTerminal -*/ + * Structure is used to describe the terminal type within the context of the communication session with electronic document + * @export + * @interface RfidTerminal + */ export interface RfidTerminal { /** - * - * @type {RfidTerminalType} - * @memberof RfidTerminal - */ + * + * @type {RfidTerminalType} + * @memberof RfidTerminal + */ TermType: RfidTerminalType; /** - * Declared (set) combination of flags of access rights to the functionality of the document (combination of eRfidTerminalAuthorizationRequirement values) - * @type {number} - * @memberof RfidTerminal - */ + * Declared (set) combination of flags of access rights to the functionality of the document (combination of eRfidTerminalAuthorizationRequirement values) + * @type {number} + * @memberof RfidTerminal + */ AuthReq: number; /** - * Declared (set) combination of flags of access rights to the functionality of the document (combination of RfidTerminalAuthorizationRequirement values) - * @type {number} - * @memberof RfidTerminal - */ + * Declared (set) combination of flags of access rights to the functionality of the document (combination of RfidTerminalAuthorizationRequirement values) + * @type {number} + * @memberof RfidTerminal + */ AuthReq2: number; } diff --git a/src/models/rfid-type.ts b/src/models/rfid-type.ts index 62c07aa3..25c26079 100644 --- a/src/models/rfid-type.ts +++ b/src/models/rfid-type.ts @@ -15,25 +15,22 @@ /** -* Enumeration contains a set of constants specifying the type of the RFID-chip by the physical parameters of connection between antennas of the chip and the reader -* @export -* @enum {string} -*/ - -export const RfidType = { + * Enumeration contains a set of constants specifying the type of the RFID-chip by the physical parameters of connection between antennas of the chip and the reader + * @export + * @enum {string} + */ +export enum RfidType { /** * Unknown */ - UNKNOWN: 0, + UNKNOWN = 0, /** * Type A */ - A: 1, + A = 1, /** * Type B */ - B: 2 -} as const; - -export type RfidType = typeof RfidType[keyof typeof RfidType]; + B = 2 +} diff --git a/src/models/rfid-validity.ts b/src/models/rfid-validity.ts index 0b3db012..e97e0ff7 100644 --- a/src/models/rfid-validity.ts +++ b/src/models/rfid-validity.ts @@ -16,21 +16,21 @@ import type { TrfFtString } from './trf-ft-string'; /** -* Structure contains information on a certificate validity. -* @export -* @interface RfidValidity -*/ + * Structure contains information on a certificate validity. + * @export + * @interface RfidValidity + */ export interface RfidValidity { /** - * - * @type {TrfFtString} - * @memberof RfidValidity - */ + * + * @type {TrfFtString} + * @memberof RfidValidity + */ NotBefore: TrfFtString; /** - * - * @type {TrfFtString} - * @memberof RfidValidity - */ + * + * @type {TrfFtString} + * @memberof RfidValidity + */ NotAfter: TrfFtString; } diff --git a/src/models/rfiderror-codes.ts b/src/models/rfiderror-codes.ts index c6d8072d..2d02e93e 100644 --- a/src/models/rfiderror-codes.ts +++ b/src/models/rfiderror-codes.ts @@ -15,469 +15,466 @@ /** -* Enumeration contains a set of error codes returned by SDK -* @export -* @enum {string} -*/ - -export const RFIDErrorCodes = { + * Enumeration contains a set of error codes returned by SDK + * @export + * @enum {string} + */ +export enum RFIDErrorCodes { /** * LAYER6: Reading beyond EOF / Unexpected EOF */ - RFID_ERROR_LAYER6_FILE_EOF1: 2147508866, + RFID_ERROR_LAYER6_FILE_EOF1 = 2147508866, /** * LAYER6: PWD deactivated */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED: 2147508867, + RFID_ERROR_LAYER6_PWD_DEACTIVATED = 2147508867, /** * LAYER6: PWD blocked */ - RFID_ERROR_LAYER6_PWD_BLOCKED: 2147509184, + RFID_ERROR_LAYER6_PWD_BLOCKED = 2147509184, /** * LAYER6: PWD suspended */ - RFID_ERROR_LAYER6_PWD_SUSPEND: 2147509185, + RFID_ERROR_LAYER6_PWD_SUSPEND = 2147509185, /** * LAYER6: PWD blocked 2 */ - RFID_ERROR_LAYER6_PWD_BLOCKED2: 2147510659, + RFID_ERROR_LAYER6_PWD_BLOCKED2 = 2147510659, /** * LAYER6: PWD deactivated 2 */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED2: 2147510660, + RFID_ERROR_LAYER6_PWD_DEACTIVATED2 = 2147510660, /** * LAYER6: PWD suspended 2 */ - RFID_ERROR_LAYER6_PWD_SUSPEND2: 2147510661, + RFID_ERROR_LAYER6_PWD_SUSPEND2 = 2147510661, /** * LAYER6: Incorrect params */ - RFID_ERROR_LAYER6_INCORRECT_PARAMS: 2147510912, + RFID_ERROR_LAYER6_INCORRECT_PARAMS = 2147510912, /** * LAYER6: File selection failure / file not found */ - RFID_ERROR_LAYER6_FILE_NOT_FOUND: 2147510914, + RFID_ERROR_LAYER6_FILE_NOT_FOUND = 2147510914, /** * LAYER6: No reference data */ - RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 2147510920, + RFID_ERROR_LAYER6_NO_REFERENCE_DATA = 2147510920, /** * LAYER6: Reading beyond EOF / Unexpected EOF */ - RFID_ERROR_LAYER6_FILE_EOF2: 2147511040, + RFID_ERROR_LAYER6_FILE_EOF2 = 2147511040, /** * RFID: No chip is detected */ - RFID_ERROR_NO_CHIP_DETECTED: 2147549185, + RFID_ERROR_NO_CHIP_DETECTED = 2147549185, /** * RFID: Unavailable */ - RFID_ERROR_NOT_AVAILABLE: 2147549186, + RFID_ERROR_NOT_AVAILABLE = 2147549186, /** * RFID: Invalid parameter in ExecuteCommand() call found */ - RFID_ERROR_INVALID_PARAMETER: 2147549188, + RFID_ERROR_INVALID_PARAMETER = 2147549188, /** * RFID: Device is uninitialized */ - RFID_ERROR_NOT_INITIALIZED: 2147549189, + RFID_ERROR_NOT_INITIALIZED = 2147549189, /** * RFID: Out of memory */ - RFID_ERROR_NOT_ENOUGH_MEMORY: 2147549190, + RFID_ERROR_NOT_ENOUGH_MEMORY = 2147549190, /** * RFID: Invalid directory */ - RFID_ERROR_INVALID_DIRECTORY: 2147549192, + RFID_ERROR_INVALID_DIRECTORY = 2147549192, /** * RFID: Unknown command */ - RFID_ERROR_UNKNOWN_COMMAND: 2147549193, + RFID_ERROR_UNKNOWN_COMMAND = 2147549193, /** * RFID File: IO Error */ - RFID_ERROR_FILE_IO_ERROR: 2147549194, + RFID_ERROR_FILE_IO_ERROR = 2147549194, /** * RFID: RFID is busy */ - RFID_ERROR_BUSY: 2147549195, + RFID_ERROR_BUSY = 2147549195, /** * RFID: The firmware needs to be updated to a newer version */ - RFID_ERROR_OLD_FIRMWARE: 2147549196, + RFID_ERROR_OLD_FIRMWARE = 2147549196, /** * PCSC: Failed */ - RFID_ERROR_PCSC_FAILED: 2147614720, + RFID_ERROR_PCSC_FAILED = 2147614720, /** * PCSC: The reader is unavailable */ - RFID_ERROR_PCSC_READER_NOT_AVAILABLE: 2147614721, + RFID_ERROR_PCSC_READER_NOT_AVAILABLE = 2147614721, /** * PCSC: The card cannot be connected */ - RFID_ERROR_PCSC_CANT_CONNECT_CARD: 2147614722, + RFID_ERROR_PCSC_CANT_CONNECT_CARD = 2147614722, /** * PCSC: The card is not connected */ - RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED: 2147614723, + RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED = 2147614723, /** * PCSC: Operation is cancelled */ - RFID_ERROR_PCSC_OPERATION_CANCELLED: 2147614724, + RFID_ERROR_PCSC_OPERATION_CANCELLED = 2147614724, /** * PCSC: The card is busy */ - RFID_ERROR_PCSC_CARD_IS_BUSY: 2147614725, + RFID_ERROR_PCSC_CARD_IS_BUSY = 2147614725, /** * PCSC: Failed Smart Card */ - RFID_ERROR_PCSC_FAILED_SCARD: 2147614726, + RFID_ERROR_PCSC_FAILED_SCARD = 2147614726, /** * PCSC: ExtLe Failed */ - RFID_ERROR_PCSC_EXT_LE_FAILED: 2147614736, + RFID_ERROR_PCSC_EXT_LE_FAILED = 2147614736, /** * LAYER6: PWD failed */ - RFID_ERROR_LAYER6_PWD_FAILED: 2148557760, + RFID_ERROR_LAYER6_PWD_FAILED = 2148557760, /** * RFID: Not performed */ - RFID_ERROR_NOT_PERFORMED: 2197815296, + RFID_ERROR_NOT_PERFORMED = 2197815296, /** * RFID: Session is closed */ - RFID_ERROR_SESSION_IS_CLOSED: 2197815297, + RFID_ERROR_SESSION_IS_CLOSED = 2197815297, /** * RFID: Unsupported terminal operation */ - RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION: 2197815298, + RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION = 2197815298, /** * RFID: Terminal type unknown */ - RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN: 2197815312, + RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN = 2197815312, /** * RFID: Terminal type bad certificate */ - RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE: 2197815313, + RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = 2197815313, /** * RFID: Terminal type not set */ - RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET: 2197815314, + RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET = 2197815314, /** * RFID: Unknown procedure type */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN: 2197815315, + RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN = 2197815315, /** * RFID: Unsupported procedure type */ - RFID_ERROR_Session_Procedure_Type_Unsupported: 2197815316, + RFID_ERROR_Session_Procedure_Type_Unsupported = 2197815316, /** * RFID: Procedure type not set */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET: 2197815317, + RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET = 2197815317, /** * RFID: Access key unknown type */ - RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE: 2197815318, + RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE = 2197815318, /** * RFID: Access key unsupported SM type */ - RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE: 2197815319, + RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = 2197815319, /** * RFID: Access key incorrect SM type */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE: 2197815320, + RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = 2197815320, /** * RFID: Access key restricted */ - RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED: 2197815321, + RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED = 2197815321, /** * RFID: Access key incorrect data */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA: 2197815322, + RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA = 2197815322, /** * RFID: Access key not set */ - RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET: 2197815323, + RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET = 2197815323, /** * RFID: PWD management not authorized */ - RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED: 2197815324, + RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = 2197815324, /** * RFID: Access control unknown type */ - RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE: 2197815328, + RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = 2197815328, /** * RFID: SM required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM: 2197815329, + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM = 2197815329, /** * RFID: PACE required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE: 2197815330, + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE = 2197815330, /** * RFID: CA keys required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS: 2197815331, + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = 2197815331, /** * RFID: TA required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA: 2197815332, + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA = 2197815332, /** * RFID: CA required */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA: 2197815333, + RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA = 2197815333, /** * RFID: Incorrect option CA */ - RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA: 2197815334, + RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = 2197815334, /** * RFID: CA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED: 2197815335, + RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED = 2197815335, /** * RFID: TA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED: 2197815336, + RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED = 2197815336, /** * RFID: AA failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED: 2197815337, + RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED = 2197815337, /** * RFID: RI failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED: 2197815338, + RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED = 2197815338, /** * RFID: SO signature check failed */ - RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED: 2197815344, + RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED = 2197815344, /** * RFID: Hash check failed */ - RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED: 2197815345, + RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED = 2197815345, /** * RFID: Invalid aux data - date of expiry */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY: 2197815360, + RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = 2197815360, /** * RFID: Invalid aux data - date of birth */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH: 2197815361, + RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = 2197815361, /** * RFID: Invalid aux data - community ID */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID: 2197815362, + RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID = 2197815362, /** * RFID: eSign requires app selection */ - RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION: 2197815376, + RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION = 2197815376, /** * RFID: eSign PIN not set */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET: 2197815377, + RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET = 2197815377, /** * RFID: eSign PIN not verified */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED: 2197815378, + RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED = 2197815378, /** * RFID: Incorrect data */ - RFID_ERROR_SESSION_INCORRECT_DATA: 2197815392, + RFID_ERROR_SESSION_INCORRECT_DATA = 2197815392, /** * RFID file: Insufficient data */ - RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA: 2197880832, + RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA = 2197880832, /** * RFID file: Incorrect data */ - RFID_ERROR_SESSION_FILE_INCORRECT_DATA: 2197946368, + RFID_ERROR_SESSION_FILE_INCORRECT_DATA = 2197946368, /** * RFID file: Unexpected data */ - RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA: 2198011904, + RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA = 2198011904, /** * RFID file: Contains unexpected data */ - RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA: 2198077440, + RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA = 2198077440, /** * RFID file: Wrong tag */ - RFID_ERROR_SESSION_FILE_WRONG_TAG: 2198142976, + RFID_ERROR_SESSION_FILE_WRONG_TAG = 2198142976, /** * RFID file: Cannot use data */ - RFID_ERROR_SESSION_FILE_CANT_USE_DATA: 2198208512, + RFID_ERROR_SESSION_FILE_CANT_USE_DATA = 2198208512, /** * RFID file: Cannot read data */ - RFID_ERROR_SESSION_FILE_CANT_READ_DATA: 2198274048, + RFID_ERROR_SESSION_FILE_CANT_READ_DATA = 2198274048, /** * RFID file: Access denied */ - RFID_ERROR_SESSION_FILE_ACCESS_DENIED: 2198339584, + RFID_ERROR_SESSION_FILE_ACCESS_DENIED = 2198339584, /** * RFID: Layer 34 - No error */ - RFID_ERROR_LAYER34_NO_ERROR: 2214592512, + RFID_ERROR_LAYER34_NO_ERROR = 2214592512, /** * RFID: Layer 34 - Timeout */ - RFID_ERROR_LAYER34_TIME_OUT: 2214658048, + RFID_ERROR_LAYER34_TIME_OUT = 2214658048, /** * RFID: Layer 34 - Collision */ - RFID_ERROR_LAYER34_COLLISION: 2214723584, + RFID_ERROR_LAYER34_COLLISION = 2214723584, /** * RFID: Layer 34 - CRC */ - RFID_ERROR_LAYER34_CRC: 2214789120, + RFID_ERROR_LAYER34_CRC = 2214789120, /** * RFID: Layer 34 - Data integrity */ - RFID_ERROR_LAYER34_DATA_INTEGRITY: 2214854656, + RFID_ERROR_LAYER34_DATA_INTEGRITY = 2214854656, /** * RFID: Layer 34 - Data length */ - RFID_ERROR_LAYER34_DATA_LENGTH: 2214920192, + RFID_ERROR_LAYER34_DATA_LENGTH = 2214920192, /** * RFID: Layer 34 - RFU */ - RFID_ERROR_Layer34_RFU: 2214985728, + RFID_ERROR_Layer34_RFU = 2214985728, /** * RFID: Layer 34 - Too many collision */ - RFID_ERROR_LAYER34_COLLISION_TOO_MANY: 2215051264, + RFID_ERROR_LAYER34_COLLISION_TOO_MANY = 2215051264, /** * RFID: Layer 34 - Protocol B */ - RFID_ERROR_LAYER34_PROTOCOL_B: 2215116800, + RFID_ERROR_LAYER34_PROTOCOL_B = 2215116800, /** * RFID: Layer 34 - Data contents */ - RFID_ERROR_LAYER34_DATA_CONTENTS: 2215182336, + RFID_ERROR_LAYER34_DATA_CONTENTS = 2215182336, /** * RFID: Layer 34 - Protocol */ - RFID_ERROR_LAYER34_PROTOCOL: 2215247872, + RFID_ERROR_LAYER34_PROTOCOL = 2215247872, /** * RFID: Layer 34 - Globa timeout */ - RFID_ERROR_LAYER34_GLOBAL_TIME_OUT: 2215313408, + RFID_ERROR_LAYER34_GLOBAL_TIME_OUT = 2215313408, /** * RFID: Layer 34 - MIFARE auth */ - RFID_ERROR_LAYER34_MIFARE_AUTH: 2215378944, + RFID_ERROR_LAYER34_MIFARE_AUTH = 2215378944, /** * RFID: Layer 34 - SAM error */ - RFID_ERROR_LAYER34_SAM_ERROR: 2215444480, + RFID_ERROR_LAYER34_SAM_ERROR = 2215444480, /** * RFID: Layer 34 - SAM collision */ - RFID_ERROR_LAYER34_SAM_COLLISION: 2215510016, + RFID_ERROR_LAYER34_SAM_COLLISION = 2215510016, /** * RFID: Layer 34 - SAM acknowledge */ - RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE: 2215575552, + RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE = 2215575552, /** * LAYER6: Secure Messaging was not activated */ - RFID_ERROR_LAYER6_SECURITY_MANAGER: 2248146944, + RFID_ERROR_LAYER6_SECURITY_MANAGER = 2248146944, /** * LAYER6: ISO7816_A_03 Application selection failure */ - RFID_ERROR_LAYER6_APP_SELECTION_FAILURE: 2248146945, + RFID_ERROR_LAYER6_APP_SELECTION_FAILURE = 2248146945, /** * LAYER6: ISO7816_B_01 Mutual authentication MAC failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL: 2248147200, + RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL = 2248147200, /** * LAYER6: ISO7816_B_02 Mutual authentication encryption failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL: 2248147201, + RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL = 2248147201, /** * LAYER6: ISO7816_B_03 Mutual authentication failure */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE: 2248147202, + RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE = 2248147202, /** * LAYER6: ISO7816_B_03 Mutual authentication failure data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA: 2248147203, + RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA = 2248147203, /** * LAYER6: SM failure – MAC missing */ - RFID_ERROR_LAYER6_SM_DO_8E_MISSING: 2248147456, + RFID_ERROR_LAYER6_SM_DO_8E_MISSING = 2248147456, /** * LAYER6: SM failure – cryptogram missing */ - RFID_ERROR_LAYER6_SM_DO_87_MISSING: 2248147457, + RFID_ERROR_LAYER6_SM_DO_87_MISSING = 2248147457, /** * LAYER6: SM failure – secured status bytes missing */ - RFID_ERROR_LAYER6_SM_DO_99_MISSING: 2248147458, + RFID_ERROR_LAYER6_SM_DO_99_MISSING = 2248147458, /** * LAYER6: SM failure – incorrect MAC */ - RFID_ERROR_LAYER6_SM_MAC_INCORRECT: 2248147459, + RFID_ERROR_LAYER6_SM_MAC_INCORRECT = 2248147459, /** * LAYER6: SM failure – incorrect cryptogram */ - RFID_ERROR_LAYER6_SM_DO_87_INCORRECT: 2248147460, + RFID_ERROR_LAYER6_SM_DO_87_INCORRECT = 2248147460, /** * LAYER6: Not TLV response data */ - RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA: 2248147712, + RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA = 2248147712, /** * LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE) */ - RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH: 2248147713, + RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH = 2248147713, /** * LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure */ - RFID_ERROR_LAYER6_INT_AUTH_FAILURE: 2248147714, + RFID_ERROR_LAYER6_INT_AUTH_FAILURE = 2248147714, /** * LAYER6: MSE:Set KAT failure */ - RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE: 2248147715, + RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE = 2248147715, /** * LAYER6: MSE:Set DST failure */ - RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE: 2248147716, + RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE = 2248147716, /** * LAYER6: PSO CERTIFICATE failure */ - RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE: 2248147717, + RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE = 2248147717, /** * LAYER6: MSE:Set AT failure */ - RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE: 2248147718, + RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE = 2248147718, /** * LAYER6: GET CHALLENGE failure */ - RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE: 2248147719, + RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE = 2248147719, /** * LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure */ - RFID_ERROR_LAYER6_EXT_AUTH_FAILURE: 2248147720, + RFID_ERROR_LAYER6_EXT_AUTH_FAILURE = 2248147720, /** * LAYER6: General Authenticity Failure */ - RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 2248147721, + RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, /** * RFID: Failed */ - RFID_ERROR_FAILED: 4294967295, + RFID_ERROR_FAILED = 4294967295, /** * RFID: No error */ - RFID_ERROR_NO_ERROR: 1, + RFID_ERROR_NO_ERROR = 1, /** * RFID: The requested operation is already performed */ - RFID_ERROR_ALREADY_DONE: 2 -} as const; - -export type RFIDErrorCodes = typeof RFIDErrorCodes[keyof typeof RFIDErrorCodes]; + RFID_ERROR_ALREADY_DONE = 2 +} diff --git a/src/models/scenario.ts b/src/models/scenario.ts index d5fdc894..6abcca6f 100644 --- a/src/models/scenario.ts +++ b/src/models/scenario.ts @@ -15,85 +15,82 @@ /** -* Document processing scenario -* @export -* @enum {string} -*/ - -export const Scenario = { + * Document processing scenario + * @export + * @enum {string} + */ +export enum Scenario { /** * Processing scenario for obtaining MRZ data */ - MRZ: 'Mrz', + MRZ = 'Mrz', /** * Processing scenario for obtaining barcode data */ - BARCODE: 'Barcode', + BARCODE = 'Barcode', /** * Processing scenario for detecting document boundaries */ - LOCATE: 'Locate', + LOCATE = 'Locate', /** * Processing scenario for obtaining visual zone OCR results */ - OCR: 'Ocr', + OCR = 'Ocr', /** * Processing scenario for document type recognition */ - DOCTYPE: 'DocType', + DOCTYPE = 'DocType', /** * Processing scenario for obtaining MRZ and/or barcode data */ - MRZ_OR_BARCODE: 'MrzOrBarcode', + MRZ_OR_BARCODE = 'MrzOrBarcode', /** * Processing scenario for detecting document boundaries and/or obtaining MRZ data */ - MRZ_OR_LOCATE: 'MrzOrLocate', + MRZ_OR_LOCATE = 'MrzOrLocate', /** * Processing scenario for detecting document boundaries and obtaining MRZ data */ - MRZ_AND_LOCATE: 'MrzAndLocate', + MRZ_AND_LOCATE = 'MrzAndLocate', /** * Processing scenario for detecting the document boundaries and obtaining barcode data */ - BARCODE_AND_LOCATE: 'BarcodeAndLocate', + BARCODE_AND_LOCATE = 'BarcodeAndLocate', /** * Processing scenario for obtaining MRZ data or visual zone OCR results */ - MRZ_OR_OCR: 'MrzOrOcr', + MRZ_OR_OCR = 'MrzOrOcr', /** * Processing scenario for obtaining MRZ or barcode or visual zone OCR results */ - MRZ_OR_BARCODE_OR_OCR: 'MrzOrBarcodeOrOcr', + MRZ_OR_BARCODE_OR_OCR = 'MrzOrBarcodeOrOcr', /** * Processing scenario for detecting document boundaries and obtaining MRZ data or visual zone OCR results */ - LOCATE_VISUAL_AND_MRZ_OR_OCR: 'LocateVisual_And_MrzOrOcr', + LOCATE_VISUAL_AND_MRZ_OR_OCR = 'LocateVisual_And_MrzOrOcr', /** * Processing scenario for obtaining all document data */ - FULL_PROCESS: 'FullProcess', + FULL_PROCESS = 'FullProcess', /** * Processing scenario for obtaining all document data and document authentication */ - FULL_AUTH: 'FullAuth', + FULL_AUTH = 'FullAuth', /** * Processing scenario for obtaining data from registration stamps */ - RUS_STAMP: 'RusStamp', + RUS_STAMP = 'RusStamp', /** * Processing scenario for obtaining OCR results of any image */ - OCR_FREE: 'OcrFree', + OCR_FREE = 'OcrFree', /** * Processing scenario for obtaining bank card data */ - CREDIT_CARD: 'CreditCard', + CREDIT_CARD = 'CreditCard', /** * Scenario for obtaining an original image without any processing */ - CAPTURE: 'Capture' -} as const; - -export type Scenario = typeof Scenario[keyof typeof Scenario]; + CAPTURE = 'Capture' +} diff --git a/src/models/security-feature-result-all-of.ts b/src/models/security-feature-result-all-of.ts index f1b0c7e7..9ee4ec6a 100644 --- a/src/models/security-feature-result-all-of.ts +++ b/src/models/security-feature-result-all-of.ts @@ -20,45 +20,45 @@ import type { SecurityFeatureType } from './security-feature-type'; import type { Visibility } from './visibility'; /** -* -* @export -* @interface SecurityFeatureResultAllOf -*/ + * + * @export + * @interface SecurityFeatureResultAllOf + */ export interface SecurityFeatureResultAllOf { /** - * - * @type {SecurityFeatureType} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {SecurityFeatureType} + * @memberof SecurityFeatureResultAllOf + */ ElementType: SecurityFeatureType; /** - * - * @type {RectangleCoordinates} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {RectangleCoordinates} + * @memberof SecurityFeatureResultAllOf + */ ElementRect: RectangleCoordinates; /** - * - * @type {Visibility} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {Visibility} + * @memberof SecurityFeatureResultAllOf + */ Visibility: Visibility; /** - * - * @type {Critical} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {Critical} + * @memberof SecurityFeatureResultAllOf + */ CriticalFlag: Critical; /** - * - * @type {AreaContainer} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {AreaContainer} + * @memberof SecurityFeatureResultAllOf + */ AreaList?: AreaContainer; /** - * - * @type {number} - * @memberof SecurityFeatureResultAllOf - */ + * + * @type {number} + * @memberof SecurityFeatureResultAllOf + */ Reserved2?: number; } diff --git a/src/models/security-feature-type.ts b/src/models/security-feature-type.ts index f9ac4f72..1d7c15e7 100644 --- a/src/models/security-feature-type.ts +++ b/src/models/security-feature-type.ts @@ -15,217 +15,214 @@ /** -* Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/ -* @export -* @enum {string} -*/ - -export const SecurityFeatureType = { + * Enumeration contains identifiers determining type of features for a document authenticity checks: https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service/development/enums/security-feature-type/ + * @export + * @enum {string} + */ +export enum SecurityFeatureType { /** * Blank element */ - BLANK: 0, + BLANK = 0, /** * Personalization element */ - FILL: 1, + FILL = 1, /** * Photo */ - PHOTO: 2, + PHOTO = 2, /** * MRZ */ - MRZ: 3, + MRZ = 3, /** * False luminescence */ - FALSE_LUMINESCENCE: 4, + FALSE_LUMINESCENCE = 4, /** * Hologram (static) */ - HOLO_SIMPLE: 5, + HOLO_SIMPLE = 5, /** * Hologram (static verify) */ - HOLO_VERIFY_STATIC: 6, + HOLO_VERIFY_STATIC = 6, /** * Hologram (static verify multiple) */ - HOLO_VERIFY_MULTI_STATIC: 7, + HOLO_VERIFY_MULTI_STATIC = 7, /** * Hologram (dynamic verify) */ - HOLO_VERIFY_DYNAMIC: 8, + HOLO_VERIFY_DYNAMIC = 8, /** * Pattern (non-interrupted) */ - PATTERN_NOT_INTERRUPTED: 9, + PATTERN_NOT_INTERRUPTED = 9, /** * Pattern (non-shifted) */ - PATTERN_NOT_SHIFTED: 10, + PATTERN_NOT_SHIFTED = 10, /** * Pattern (same colors) */ - PATTERN_SAME_COLORS: 11, + PATTERN_SAME_COLORS = 11, /** * Pattern (IR invisible) */ - PATTERN_IR_INVISIBLE: 12, + PATTERN_IR_INVISIBLE = 12, /** * Photo size */ - PHOTO_SIZE_CHECK: 13, + PHOTO_SIZE_CHECK = 13, /** * Main vs ghost portrait comparison */ - PORTRAIT_COMPARISON_VS_GHOST: 14, + PORTRAIT_COMPARISON_VS_GHOST = 14, /** * Main vs RFID portrait comparison */ - PORTRAIT_COMPARISON_VS_RFID: 15, + PORTRAIT_COMPARISON_VS_RFID = 15, /** * Main vs other page portrait comparison */ - PORTRAIT_COMPARISON_VS_VISUAL: 16, + PORTRAIT_COMPARISON_VS_VISUAL = 16, /** * Barcode */ - BARCODE: 17, + BARCODE = 17, /** * Pattern (different line thickness) */ - PATTERN_DIFFERENT_LINES_THICKNESS: 18, + PATTERN_DIFFERENT_LINES_THICKNESS = 18, /** * Main vs live camera portrait comparison */ - PORTRAIT_COMPARISON_VS_CAMERA: 19, + PORTRAIT_COMPARISON_VS_CAMERA = 19, /** * RFID vs live camera portrait comparison */ - PORTRAIT_COMPARISON_RFID_VS_CAMERA: 20, + PORTRAIT_COMPARISON_RFID_VS_CAMERA = 20, /** * Ghost photo */ - GHOST_PHOTO: 21, + GHOST_PHOTO = 21, /** * Clear ghost photo */ - CLEAR_GHOST_PHOTO: 22, + CLEAR_GHOST_PHOTO = 22, /** * Invisible object */ - INVISIBLE_OBJECT: 23, + INVISIBLE_OBJECT = 23, /** * Low contrast object */ - LOW_CONTRAST_OBJECT: 24, + LOW_CONTRAST_OBJECT = 24, /** * Photo color check */ - PHOTO_COLOR: 25, + PHOTO_COLOR = 25, /** * Photo squareness */ - PHOTO_SHAPE: 26, + PHOTO_SHAPE = 26, /** * Photo corners shape */ - PHOTO_CORNERS: 27, + PHOTO_CORNERS = 27, /** * OCR */ - OCR: 28, + OCR = 28, /** * External vs main portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_VISUAL: 29, + PORTRAIT_COMPARISON_EXT_VS_VISUAL = 29, /** * External vs RFID portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_RFID: 30, + PORTRAIT_COMPARISON_EXT_VS_RFID = 30, /** * External vs live camera portrait comparison */ - PORTRAIT_COMPARISON_EXT_VS_CAMERA: 31, + PORTRAIT_COMPARISON_EXT_VS_CAMERA = 31, /** * Portrait Depth */ - LIVENESS_DEPTH: 32, + LIVENESS_DEPTH = 32, /** * Micro text */ - MICRO_TEXT: 33, + MICRO_TEXT = 33, /** * Fluorescent Object */ - FLUORESCENT_OBJECT: 34, + FLUORESCENT_OBJECT = 34, /** * Facial landmarks check */ - LANDMARK_CHECK: 35, + LANDMARK_CHECK = 35, /** * Facial image presence */ - FACE_PRESENCE: 36, + FACE_PRESENCE = 36, /** * Facial image absence */ - FACE_ABSENCE: 38, + FACE_ABSENCE = 38, /** * Liveness screen capture. Deprecated. LIVENESS_ELECTRONIC_DEVICE is used instead. */ - LIVENESS_SCREEN_CAPTURE: 39, + LIVENESS_SCREEN_CAPTURE = 39, /** * Liveness electronic device */ - LIVENESS_ELECTRONIC_DEVICE: 40, + LIVENESS_ELECTRONIC_DEVICE = 40, /** * Liveness OVI */ - LIVENESS_OVI: 41, + LIVENESS_OVI = 41, /** * Barcode size check */ - BARCODE_SIZE_CHECK: 42, + BARCODE_SIZE_CHECK = 42, /** * LASINK */ - LASINK: 43, + LASINK = 43, /** * Liveness MLI */ - LIVENESS_MLI: 44, + LIVENESS_MLI = 44, /** * Liveness barcode background */ - LIVENESS_BARCODE_BACKGROUND: 45, + LIVENESS_BARCODE_BACKGROUND = 45, /** * Visual zone portrait image vs. image from barcode */ - PORTRAIT_COMPARISON_VS_BARCODE: 46, + PORTRAIT_COMPARISON_VS_BARCODE = 46, /** * Image from barcode vs. image from RFID */ - PORTRAIT_COMPARISON_RFID_VS_BARCODE: 47, + PORTRAIT_COMPARISON_RFID_VS_BARCODE = 47, /** * Image from barcode vs. external source image */ - PORTRAIT_COMPARISON_EXT_VS_BARCODE: 48, + PORTRAIT_COMPARISON_EXT_VS_BARCODE = 48, /** * Image from barcode vs. photo from camera */ - PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49, + PORTRAIT_COMPARISON_BARCODE_VS_CAMERA = 49, /** * Digital signature check */ - CHECK_DIGITAL_SIGNATURE: 50, + CHECK_DIGITAL_SIGNATURE = 50, /** * Contact chip check */ - CONTACT_CHIP_CLASSIFICATION: 51 -} as const; - -export type SecurityFeatureType = typeof SecurityFeatureType[keyof typeof SecurityFeatureType]; + CONTACT_CHIP_CLASSIFICATION = 51 +} diff --git a/src/models/source-validity.ts b/src/models/source-validity.ts index b5ffe144..90f13ba3 100644 --- a/src/models/source-validity.ts +++ b/src/models/source-validity.ts @@ -17,21 +17,21 @@ import type { CheckResult } from './check-result'; import type { Source } from './source'; /** -* -* @export -* @interface SourceValidity -*/ + * + * @export + * @interface SourceValidity + */ export interface SourceValidity { /** - * - * @type {Source} - * @memberof SourceValidity - */ + * + * @type {Source} + * @memberof SourceValidity + */ source: Source; /** - * - * @type {CheckResult} - * @memberof SourceValidity - */ + * + * @type {CheckResult} + * @memberof SourceValidity + */ status: CheckResult; } diff --git a/src/models/source.ts b/src/models/source.ts index aea844eb..101883e0 100644 --- a/src/models/source.ts +++ b/src/models/source.ts @@ -15,37 +15,34 @@ /** -* Document data sources -* @export -* @enum {string} -*/ - -export const Source = { + * Document data sources + * @export + * @enum {string} + */ +export enum Source { /** * Machine readable zone (MRZ) */ - MRZ: 'MRZ', + MRZ = 'MRZ', /** * Visual zone */ - VISUAL: 'VISUAL', + VISUAL = 'VISUAL', /** * Barcode */ - BARCODE: 'BARCODE', + BARCODE = 'BARCODE', /** * RFID */ - RFID: 'RFID', + RFID = 'RFID', /** * Magnetic */ - MAGNETIC: 'MAGNETIC', + MAGNETIC = 'MAGNETIC', /** * External */ - EXTERNAL: 'EXTERNAL' -} as const; - -export type Source = typeof Source[keyof typeof Source]; + EXTERNAL = 'EXTERNAL' +} diff --git a/src/models/status-result-all-of.ts b/src/models/status-result-all-of.ts index ce791e03..34fecba4 100644 --- a/src/models/status-result-all-of.ts +++ b/src/models/status-result-all-of.ts @@ -16,15 +16,15 @@ import type { Status } from './status'; /** -* -* @export -* @interface StatusResultAllOf -*/ + * + * @export + * @interface StatusResultAllOf + */ export interface StatusResultAllOf { /** - * - * @type {Status} - * @memberof StatusResultAllOf - */ + * + * @type {Status} + * @memberof StatusResultAllOf + */ Status: Status; } diff --git a/src/models/status.ts b/src/models/status.ts index d2a95e32..0d4f84da 100644 --- a/src/models/status.ts +++ b/src/models/status.ts @@ -18,51 +18,51 @@ import type { DetailsOptical } from './details-optical'; import type { DetailsRFID } from './details-rfid'; /** -* -* @export -* @interface Status -*/ + * + * @export + * @interface Status + */ export interface Status { /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ overallStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ optical: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ portrait: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ rfid: CheckResult; /** - * - * @type {CheckResult} - * @memberof Status - */ + * + * @type {CheckResult} + * @memberof Status + */ stopList: CheckResult; /** - * - * @type {DetailsRFID} - * @memberof Status - */ + * + * @type {DetailsRFID} + * @memberof Status + */ detailsRFID?: DetailsRFID; /** - * - * @type {DetailsOptical} - * @memberof Status - */ + * + * @type {DetailsOptical} + * @memberof Status + */ detailsOptical: DetailsOptical; } diff --git a/src/models/string-recognition-result.ts b/src/models/string-recognition-result.ts index 1e859b00..9f2f8e4f 100644 --- a/src/models/string-recognition-result.ts +++ b/src/models/string-recognition-result.ts @@ -16,39 +16,39 @@ import type { SymbolRecognitionResult } from './symbol-recognition-result'; /** -* Describes single row recognition results in multi-line text field of a document -* @export -* @interface StringRecognitionResult -*/ + * Describes single row recognition results in multi-line text field of a document + * @export + * @interface StringRecognitionResult + */ export interface StringRecognitionResult { /** - * Number of StringResult array elements - * @type {number} - * @memberof StringRecognitionResult - */ + * Number of StringResult array elements + * @type {number} + * @memberof StringRecognitionResult + */ SymbolsCount: number; /** - * - * @type {any} - * @memberof StringRecognitionResult - */ + * + * @type {any} + * @memberof StringRecognitionResult + */ Reserved?: any | null; /** - * Array of recognition results for individual characters of a string - * @type {Array} - * @memberof StringRecognitionResult - */ + * Array of recognition results for individual characters of a string + * @type {Array} + * @memberof StringRecognitionResult + */ StringResult: Array; /** - * Buf_Text text string length - * @type {number} - * @memberof StringRecognitionResult - */ + * Buf_Text text string length + * @type {number} + * @memberof StringRecognitionResult + */ Buf_Length?: number; /** - * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' - * @type {string} - * @memberof StringRecognitionResult - */ + * Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by \'^\' + * @type {string} + * @memberof StringRecognitionResult + */ Buf_Text?: string; } diff --git a/src/models/symbol-candidate.ts b/src/models/symbol-candidate.ts index 2da355be..ba9a3a7b 100644 --- a/src/models/symbol-candidate.ts +++ b/src/models/symbol-candidate.ts @@ -15,27 +15,27 @@ /** -* Describes an individual character recognition candidate -* @export -* @interface SymbolCandidate -*/ + * Describes an individual character recognition candidate + * @export + * @interface SymbolCandidate + */ export interface SymbolCandidate { /** - * Unicode symbol code - * @type {number} - * @memberof SymbolCandidate - */ + * Unicode symbol code + * @type {number} + * @memberof SymbolCandidate + */ SymbolCode: number; /** - * character recognition probability (0–100,%) - * @type {number} - * @memberof SymbolCandidate - */ + * character recognition probability (0–100,%) + * @type {number} + * @memberof SymbolCandidate + */ SymbolProbability: number; /** - * - * @type {any} - * @memberof SymbolCandidate - */ + * + * @type {any} + * @memberof SymbolCandidate + */ Reserved?: any | null; } diff --git a/src/models/symbol-recognition-result.ts b/src/models/symbol-recognition-result.ts index 05843bed..890e628f 100644 --- a/src/models/symbol-recognition-result.ts +++ b/src/models/symbol-recognition-result.ts @@ -17,33 +17,33 @@ import type { RectangleCoordinates } from './rectangle-coordinates'; import type { SymbolCandidate } from './symbol-candidate'; /** -* Describes a single character recognition results in the text field line -* @export -* @interface SymbolRecognitionResult -*/ + * Describes a single character recognition results in the text field line + * @export + * @interface SymbolRecognitionResult + */ export interface SymbolRecognitionResult { /** - * - * @type {RectangleCoordinates} - * @memberof SymbolRecognitionResult - */ + * + * @type {RectangleCoordinates} + * @memberof SymbolRecognitionResult + */ SymbolRect: RectangleCoordinates; /** - * Number of significant elements of ListOfCandidates array - * @type {number} - * @memberof SymbolRecognitionResult - */ + * Number of significant elements of ListOfCandidates array + * @type {number} + * @memberof SymbolRecognitionResult + */ CandidatesCount: number; /** - * Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability) - * @type {Array} - * @memberof SymbolRecognitionResult - */ + * Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability) + * @type {Array} + * @memberof SymbolRecognitionResult + */ ListOfCandidates: Array; /** - * - * @type {any} - * @memberof SymbolRecognitionResult - */ + * + * @type {any} + * @memberof SymbolRecognitionResult + */ Reserved?: any | null; } diff --git a/src/models/tdoc-binary-info.ts b/src/models/tdoc-binary-info.ts index 5352ba38..052b4593 100644 --- a/src/models/tdoc-binary-info.ts +++ b/src/models/tdoc-binary-info.ts @@ -16,15 +16,15 @@ import type { BinaryData } from './binary-data'; /** -* -* @export -* @interface TDocBinaryInfo -*/ + * + * @export + * @interface TDocBinaryInfo + */ export interface TDocBinaryInfo { /** - * - * @type {BinaryData} - * @memberof TDocBinaryInfo - */ + * + * @type {BinaryData} + * @memberof TDocBinaryInfo + */ RFID_BINARY_DATA: BinaryData; } diff --git a/src/models/text-available-source.ts b/src/models/text-available-source.ts index a151dc5c..87356c5b 100644 --- a/src/models/text-available-source.ts +++ b/src/models/text-available-source.ts @@ -17,27 +17,27 @@ import type { CheckResult } from './check-result'; import type { Source } from './source'; /** -* -* @export -* @interface TextAvailableSource -*/ + * + * @export + * @interface TextAvailableSource + */ export interface TextAvailableSource { /** - * - * @type {Source} - * @memberof TextAvailableSource - */ + * + * @type {Source} + * @memberof TextAvailableSource + */ source: Source; /** - * - * @type {CheckResult} - * @memberof TextAvailableSource - */ + * + * @type {CheckResult} + * @memberof TextAvailableSource + */ validityStatus: CheckResult; /** - * Same as Result type, but used for safe parsing of not-described values. See Result type. - * @type {number} - * @memberof TextAvailableSource - */ + * Same as Result type, but used for safe parsing of not-described values. See Result type. + * @type {number} + * @memberof TextAvailableSource + */ containerType?: number; } diff --git a/src/models/text-data-result-all-of.ts b/src/models/text-data-result-all-of.ts index ebf1a554..3c5cbcf3 100644 --- a/src/models/text-data-result-all-of.ts +++ b/src/models/text-data-result-all-of.ts @@ -16,15 +16,15 @@ import type { DocVisualExtendedInfo } from './doc-visual-extended-info'; /** -* -* @export -* @interface TextDataResultAllOf -*/ + * + * @export + * @interface TextDataResultAllOf + */ export interface TextDataResultAllOf { /** - * - * @type {DocVisualExtendedInfo} - * @memberof TextDataResultAllOf - */ + * + * @type {DocVisualExtendedInfo} + * @memberof TextDataResultAllOf + */ DocVisualExtendedInfo: DocVisualExtendedInfo; } diff --git a/src/models/text-field-type.ts b/src/models/text-field-type.ts index d23e61b2..9f7c7105 100644 --- a/src/models/text-field-type.ts +++ b/src/models/text-field-type.ts @@ -15,2565 +15,2562 @@ /** -* -* @export -* @enum {string} -*/ - -export const TextFieldType = { + * + * @export + * @enum {string} + */ +export enum TextFieldType { /** * Document class code */ - DOCUMENT_CLASS_CODE: 0, + DOCUMENT_CLASS_CODE = 0, /** * Issuing state code */ - ISSUING_STATE_CODE: 1, + ISSUING_STATE_CODE = 1, /** * Document number */ - DOCUMENT_NUMBER: 2, + DOCUMENT_NUMBER = 2, /** * Date of expiry */ - DATE_OF_EXPIRY: 3, + DATE_OF_EXPIRY = 3, /** * Date of issue */ - DATE_OF_ISSUE: 4, + DATE_OF_ISSUE = 4, /** * Date of birth */ - DATE_OF_BIRTH: 5, + DATE_OF_BIRTH = 5, /** * Place of birth */ - PLACE_OF_BIRTH: 6, + PLACE_OF_BIRTH = 6, /** * Personal number */ - PERSONAL_NUMBER: 7, + PERSONAL_NUMBER = 7, /** * Surname */ - SURNAME: 8, + SURNAME = 8, /** * Given name(s) */ - GIVEN_NAMES: 9, + GIVEN_NAMES = 9, /** * Mother's name */ - MOTHERS_NAME: 10, + MOTHERS_NAME = 10, /** * Nationality */ - NATIONALITY: 11, + NATIONALITY = 11, /** * Sex */ - SEX: 12, + SEX = 12, /** * Height */ - HEIGHT: 13, + HEIGHT = 13, /** * Weight */ - WEIGHT: 14, + WEIGHT = 14, /** * Eyes color */ - EYES_COLOR: 15, + EYES_COLOR = 15, /** * Hair color */ - HAIR_COLOR: 16, + HAIR_COLOR = 16, /** * Address */ - ADDRESS: 17, + ADDRESS = 17, /** * Donor */ - DONOR: 18, + DONOR = 18, /** * Social security number */ - SOCIAL_SECURITY_NUMBER: 19, + SOCIAL_SECURITY_NUMBER = 19, /** * DL class */ - DL_CLASS: 20, + DL_CLASS = 20, /** * DL endorsement code */ - DL_ENDORSED: 21, + DL_ENDORSED = 21, /** * DL restriction code */ - DL_RESTRICTION_CODE: 22, + DL_RESTRICTION_CODE = 22, /** * Date of 21st birthday */ - DL_UNDER_21_DATE: 23, + DL_UNDER_21_DATE = 23, /** * Issuing authority */ - AUTHORITY: 24, + AUTHORITY = 24, /** * Surname and given names */ - SURNAME_AND_GIVEN_NAMES: 25, + SURNAME_AND_GIVEN_NAMES = 25, /** * Nationality code */ - NATIONALITY_CODE: 26, + NATIONALITY_CODE = 26, /** * Passport number */ - PASSPORT_NUMBER: 27, + PASSPORT_NUMBER = 27, /** * Invitation number */ - INVITATION_NUMBER: 28, + INVITATION_NUMBER = 28, /** * Visa ID */ - VISA_ID: 29, + VISA_ID = 29, /** * Visa class */ - VISA_CLASS: 30, + VISA_CLASS = 30, /** * Visa subclass */ - VISA_SUBCLASS: 31, + VISA_SUBCLASS = 31, /** * MRZ type */ - MRZ_TYPE: 35, + MRZ_TYPE = 35, /** * Optional data */ - OPTIONAL_DATA: 36, + OPTIONAL_DATA = 36, /** * Document class name */ - DOCUMENT_CLASS_NAME: 37, + DOCUMENT_CLASS_NAME = 37, /** * Issuing state name */ - ISSUING_STATE_NAME: 38, + ISSUING_STATE_NAME = 38, /** * Place of issue */ - PLACE_OF_ISSUE: 39, + PLACE_OF_ISSUE = 39, /** * Document number checksum */ - DOCUMENT_NUMBER_CHECKSUM: 40, + DOCUMENT_NUMBER_CHECKSUM = 40, /** * Date of birth checksum */ - DATE_OF_BIRTH_CHECKSUM: 41, + DATE_OF_BIRTH_CHECKSUM = 41, /** * Date of expiry checksum */ - DATE_OF_EXPIRY_CHECKSUM: 42, + DATE_OF_EXPIRY_CHECKSUM = 42, /** * Personal number checksum */ - PERSONAL_NUMBER_CHECKSUM: 43, + PERSONAL_NUMBER_CHECKSUM = 43, /** * Final checksum */ - FINAL_CHECKSUM: 44, + FINAL_CHECKSUM = 44, /** * Passport number checksum */ - PASSPORT_NUMBER_CHECKSUM: 45, + PASSPORT_NUMBER_CHECKSUM = 45, /** * Invitation number checksum */ - INVITATION_NUMBER_CHECKSUM: 46, + INVITATION_NUMBER_CHECKSUM = 46, /** * Visa ID checksum */ - VISA_ID_CHECKSUM: 47, + VISA_ID_CHECKSUM = 47, /** * Surname and given names checksum */ - SURNAME_AND_GIVEN_NAMES_CHECKSUM: 48, + SURNAME_AND_GIVEN_NAMES_CHECKSUM = 48, /** * Visa valid until checksum */ - VISA_VALID_UNTIL_CHECKSUM: 49, + VISA_VALID_UNTIL_CHECKSUM = 49, /** * Other */ - OTHER: 50, + OTHER = 50, /** * MRZ strings */ - MRZ_STRINGS: 51, + MRZ_STRINGS = 51, /** * Name suffix */ - NAME_SUFFIX: 52, + NAME_SUFFIX = 52, /** * Name prefix */ - NAME_PREFIX: 53, + NAME_PREFIX = 53, /** * Date of issue checksum */ - DATE_OF_ISSUE_CHECKSUM: 54, + DATE_OF_ISSUE_CHECKSUM = 54, /** * Date of issue check digit */ - DATE_OF_ISSUE_CHECK_DIGIT: 55, + DATE_OF_ISSUE_CHECK_DIGIT = 55, /** * Document series */ - DOCUMENT_SERIES: 56, + DOCUMENT_SERIES = 56, /** * Registration number */ - REG_CERT_REG_NUMBER: 57, + REG_CERT_REG_NUMBER = 57, /** * Vehicle model */ - REG_CERT_CAR_MODEL: 58, + REG_CERT_CAR_MODEL = 58, /** * Vehicle color */ - REG_CERT_CAR_COLOR: 59, + REG_CERT_CAR_COLOR = 59, /** * Vehicle body number */ - REG_CERT_BODY_NUMBER: 60, + REG_CERT_BODY_NUMBER = 60, /** * Vehicle type */ - REG_CERT_CAR_TYPE: 61, + REG_CERT_CAR_TYPE = 61, /** * Max permissible weight */ - REG_CERT_MAX_WEIGHT: 62, + REG_CERT_MAX_WEIGHT = 62, /** * Unladen mass */ - REG_CERT_WEIGHT: 63, + REG_CERT_WEIGHT = 63, /** * Address: area */ - ADDRESS_AREA: 64, + ADDRESS_AREA = 64, /** * Address: state */ - ADDRESS_STATE: 65, + ADDRESS_STATE = 65, /** * Address: building */ - ADDRESS_BUILDING: 66, + ADDRESS_BUILDING = 66, /** * Address: house */ - ADDRESS_HOUSE: 67, + ADDRESS_HOUSE = 67, /** * Address: flat */ - ADDRESS_FLAT: 68, + ADDRESS_FLAT = 68, /** * Place of registration */ - PLACE_OF_REGISTRATION: 69, + PLACE_OF_REGISTRATION = 69, /** * Date of registration */ - DATE_OF_REGISTRATION: 70, + DATE_OF_REGISTRATION = 70, /** * Resident from */ - RESIDENT_FROM: 71, + RESIDENT_FROM = 71, /** * Resident until */ - RESIDENT_UNTIL: 72, + RESIDENT_UNTIL = 72, /** * Issuing authority code */ - AUTHORITY_CODE: 73, + AUTHORITY_CODE = 73, /** * Place of birth: area */ - PLACE_OF_BIRTH_AREA: 74, + PLACE_OF_BIRTH_AREA = 74, /** * Place of birth: state code */ - PLACE_OF_BIRTH_STATE_CODE: 75, + PLACE_OF_BIRTH_STATE_CODE = 75, /** * Address: street */ - ADDRESS_STREET: 76, + ADDRESS_STREET = 76, /** * Address: city */ - ADDRESS_CITY: 77, + ADDRESS_CITY = 77, /** * Address: jurisdiction code */ - ADDRESS_JURISDICTION_CODE: 78, + ADDRESS_JURISDICTION_CODE = 78, /** * Address: postal code */ - ADDRESS_POSTAL_CODE: 79, + ADDRESS_POSTAL_CODE = 79, /** * Document number check digit */ - DOCUMENT_NUMBER_CHECK_DIGIT: 80, + DOCUMENT_NUMBER_CHECK_DIGIT = 80, /** * Date of birth check digit */ - DATE_OF_BIRTH_CHECK_DIGIT: 81, + DATE_OF_BIRTH_CHECK_DIGIT = 81, /** * Date of expiry check digit */ - DATE_OF_EXPIRY_CHECK_DIGIT: 82, + DATE_OF_EXPIRY_CHECK_DIGIT = 82, /** * Personal number check digit */ - PERSONAL_NUMBER_CHECK_DIGIT: 83, + PERSONAL_NUMBER_CHECK_DIGIT = 83, /** * Final check digit */ - FINAL_CHECK_DIGIT: 84, + FINAL_CHECK_DIGIT = 84, /** * Passport number check digit */ - PASSPORT_NUMBER_CHECK_DIGIT: 85, + PASSPORT_NUMBER_CHECK_DIGIT = 85, /** * Invitation number check digit */ - INVITATION_NUMBER_CHECK_DIGIT: 86, + INVITATION_NUMBER_CHECK_DIGIT = 86, /** * Visa ID check digit */ - VISA_ID_CHECK_DIGIT: 87, + VISA_ID_CHECK_DIGIT = 87, /** * Surname and given names check digit */ - SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT: 88, + SURNAME_AND_GIVEN_NAMES_CHECK_DIGIT = 88, /** * Visa valid until check digit */ - VISA_VALID_UNTIL_CHECK_DIGIT: 89, + VISA_VALID_UNTIL_CHECK_DIGIT = 89, /** * Permit class */ - PERMIT_DL_CLASS: 90, + PERMIT_DL_CLASS = 90, /** * Permit expiry date */ - PERMIT_DATE_OF_EXPIRY: 91, + PERMIT_DATE_OF_EXPIRY = 91, /** * Permit identifier */ - PERMIT_IDENTIFIER: 92, + PERMIT_IDENTIFIER = 92, /** * Permit issue date */ - PERMIT_DATE_OF_ISSUE: 93, + PERMIT_DATE_OF_ISSUE = 93, /** * Permit restriction code */ - PERMIT_RESTRICTION_CODE: 94, + PERMIT_RESTRICTION_CODE = 94, /** * Permit endorsement code */ - PERMIT_ENDORSED: 95, + PERMIT_ENDORSED = 95, /** * Issue timestamp */ - ISSUE_TIMESTAMP: 96, + ISSUE_TIMESTAMP = 96, /** * Number of duplicates */ - NUMBER_OF_DUPLICATES: 97, + NUMBER_OF_DUPLICATES = 97, /** * Medical indicator codes */ - MEDICAL_INDICATOR_CODES: 98, + MEDICAL_INDICATOR_CODES = 98, /** * Non-resident indicator */ - NON_RESIDENT_INDICATOR: 99, + NON_RESIDENT_INDICATOR = 99, /** * Visa type */ - VISA_TYPE: 100, + VISA_TYPE = 100, /** * Visa valid from */ - VISA_VALID_FROM: 101, + VISA_VALID_FROM = 101, /** * Visa valid until */ - VISA_VALID_UNTIL: 102, + VISA_VALID_UNTIL = 102, /** * Duration of stay */ - DURATION_OF_STAY: 103, + DURATION_OF_STAY = 103, /** * Number of entries */ - NUMBER_OF_ENTRIES: 104, + NUMBER_OF_ENTRIES = 104, /** * Day */ - DAY: 105, + DAY = 105, /** * Month */ - MONTH: 106, + MONTH = 106, /** * Year */ - YEAR: 107, + YEAR = 107, /** * Unique customer identifier */ - UNIQUE_CUSTOMER_IDENTIFIER: 108, + UNIQUE_CUSTOMER_IDENTIFIER = 108, /** * Commercial vehicle code */ - COMMERCIAL_VEHICLE_CODES: 109, + COMMERCIAL_VEHICLE_CODES = 109, /** * AKA: date of birth */ - AKA_DATE_OF_BIRTH: 110, + AKA_DATE_OF_BIRTH = 110, /** * AKA: social insurance number */ - AKA_SOCIAL_SECURITY_NUMBER: 111, + AKA_SOCIAL_SECURITY_NUMBER = 111, /** * AKA: surname */ - AKA_SURNAME: 112, + AKA_SURNAME = 112, /** * AKA: given name(s) */ - AKA_GIVEN_NAMES: 113, + AKA_GIVEN_NAMES = 113, /** * AKA: name suffix */ - AKA_NAME_SUFFIX: 114, + AKA_NAME_SUFFIX = 114, /** * AKA: name prefix */ - AKA_NAME_PREFIX: 115, + AKA_NAME_PREFIX = 115, /** * Mailing address: street */ - MAILING_ADDRESS_STREET: 116, + MAILING_ADDRESS_STREET = 116, /** * Mailing address: city */ - MAILING_ADDRESS_CITY: 117, + MAILING_ADDRESS_CITY = 117, /** * Mailing address: jurisdiction code */ - MAILING_ADDRESS_JURISDICTION_CODE: 118, + MAILING_ADDRESS_JURISDICTION_CODE = 118, /** * Mailing address: postal code */ - MAILING_ADDRESS_POSTAL_CODE: 119, + MAILING_ADDRESS_POSTAL_CODE = 119, /** * Number for validation */ - AUDIT_INFORMATION: 120, + AUDIT_INFORMATION = 120, /** * Inventory number */ - INVENTORY_NUMBER: 121, + INVENTORY_NUMBER = 121, /** * Race ethnicity */ - RACE_ETHNICITY: 122, + RACE_ETHNICITY = 122, /** * Jurisdiction vehicle class */ - JURISDICTION_VEHICLE_CLASS: 123, + JURISDICTION_VEHICLE_CLASS = 123, /** * Jurisdiction endorsement code */ - JURISDICTION_ENDORSEMENT_CODE: 124, + JURISDICTION_ENDORSEMENT_CODE = 124, /** * Jurisdiction restriction code */ - JURISDICTION_RESTRICTION_CODE: 125, + JURISDICTION_RESTRICTION_CODE = 125, /** * Family name */ - FAMILY_NAME: 126, + FAMILY_NAME = 126, /** * Given name(s) (national) */ - GIVEN_NAMES_RUS: 127, + GIVEN_NAMES_RUS = 127, /** * Visa ID (national) */ - VISA_ID_RUS: 128, + VISA_ID_RUS = 128, /** * Father's name */ - FATHERS_NAME: 129, + FATHERS_NAME = 129, /** * Father's name (national) */ - FATHERS_NAME_RUS: 130, + FATHERS_NAME_RUS = 130, /** * Surname and given names (national) */ - SURNAME_AND_GIVEN_NAMES_RUS: 131, + SURNAME_AND_GIVEN_NAMES_RUS = 131, /** * Place of birth (national) */ - PLACE_OF_BIRTH_RUS: 132, + PLACE_OF_BIRTH_RUS = 132, /** * Issuing authority (national) */ - AUTHORITY_RUS: 133, + AUTHORITY_RUS = 133, /** * Issuing state code (numeric) */ - ISSUING_STATE_CODE_NUMERIC: 134, + ISSUING_STATE_CODE_NUMERIC = 134, /** * Nationality code (numeric) */ - NATIONALITY_CODE_NUMERIC: 135, + NATIONALITY_CODE_NUMERIC = 135, /** * Engine power */ - ENGINE_POWER: 136, + ENGINE_POWER = 136, /** * Engine volume */ - ENGINE_VOLUME: 137, + ENGINE_VOLUME = 137, /** * Chassis number */ - CHASSIS_NUMBER: 138, + CHASSIS_NUMBER = 138, /** * Engine number */ - ENGINE_NUMBER: 139, + ENGINE_NUMBER = 139, /** * Engine model */ - ENGINE_MODEL: 140, + ENGINE_MODEL = 140, /** * Vehicle category */ - VEHICLE_CATEGORY: 141, + VEHICLE_CATEGORY = 141, /** * Identity card number */ - IDENTITY_CARD_NUMBER: 142, + IDENTITY_CARD_NUMBER = 142, /** * Control number */ - CONTROL_NUMBER: 143, + CONTROL_NUMBER = 143, /** * Parents' given names */ - PARENTS_GIVEN_NAMES: 144, + PARENTS_GIVEN_NAMES = 144, /** * Second surname */ - SECOND_SURNAME: 145, + SECOND_SURNAME = 145, /** * Middle name */ - MIDDLE_NAME: 146, + MIDDLE_NAME = 146, /** * Vehicle identification number */ - REG_CERT_VIN: 147, + REG_CERT_VIN = 147, /** * VIN check digit */ - REG_CERT_VIN_CHECK_DIGIT: 148, + REG_CERT_VIN_CHECK_DIGIT = 148, /** * VIN checksum */ - REG_CERT_VIN_CHECKSUM: 149, + REG_CERT_VIN_CHECKSUM = 149, /** * Line 1 check digit */ - LINE_1_CHECK_DIGIT: 150, + LINE_1_CHECK_DIGIT = 150, /** * Line 2 check digit */ - LINE_2_CHECK_DIGIT: 151, + LINE_2_CHECK_DIGIT = 151, /** * Line 3 check digit */ - LINE_3_CHECK_DIGIT: 152, + LINE_3_CHECK_DIGIT = 152, /** * Line 1 checksum */ - LINE_1_CHECKSUM: 153, + LINE_1_CHECKSUM = 153, /** * Line 2 checksum */ - LINE_2_CHECKSUM: 154, + LINE_2_CHECKSUM = 154, /** * Line 3 checksum */ - LINE_3_CHECKSUM: 155, + LINE_3_CHECKSUM = 155, /** * Registration number check digit */ - REG_CERT_REG_NUMBER_CHECK_DIGIT: 156, + REG_CERT_REG_NUMBER_CHECK_DIGIT = 156, /** * Registration number checksum */ - REG_CERT_REG_NUMBER_CHECKSUM: 157, + REG_CERT_REG_NUMBER_CHECKSUM = 157, /** * Vehicle ITS code */ - REG_CERT_VEHICLE_ITS_CODE: 158, + REG_CERT_VEHICLE_ITS_CODE = 158, /** * Card access number */ - CARD_ACCESS_NUMBER: 159, + CARD_ACCESS_NUMBER = 159, /** * Marital status */ - MARITAL_STATUS: 160, + MARITAL_STATUS = 160, /** * Company name */ - COMPANY_NAME: 161, + COMPANY_NAME = 161, /** * Special notes */ - SPECIAL_NOTES: 162, + SPECIAL_NOTES = 162, /** * Spouse's surname */ - SURNAME_OF_SPOUSE: 163, + SURNAME_OF_SPOUSE = 163, /** * Tracking number */ - TRACKING_NUMBER: 164, + TRACKING_NUMBER = 164, /** * Booklet number */ - BOOKLET_NUMBER: 165, + BOOKLET_NUMBER = 165, /** * Children */ - CHILDREN: 166, + CHILDREN = 166, /** * Copy */ - COPY: 167, + COPY = 167, /** * Serial number */ - SERIAL_NUMBER: 168, + SERIAL_NUMBER = 168, /** * Dossier number */ - DOSSIER_NUMBER: 169, + DOSSIER_NUMBER = 169, /** * AKA: surname and given names */ - AKA_SURNAME_AND_GIVEN_NAMES: 170, + AKA_SURNAME_AND_GIVEN_NAMES = 170, /** * Territorial validity */ - TERRITORIAL_VALIDITY: 171, + TERRITORIAL_VALIDITY = 171, /** * MRZ strings with correct checksums */ - MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS: 172, + MRZ_STRINGS_WITH_CORRECT_CHECK_SUMS = 172, /** * CDL restriction code */ - DL_CDL_RESTRICTION_CODE: 173, + DL_CDL_RESTRICTION_CODE = 173, /** * Date of 18th birthday */ - DL_UNDER_18_DATE: 174, + DL_UNDER_18_DATE = 174, /** * DL record created */ - DL_RECORD_CREATED: 175, + DL_RECORD_CREATED = 175, /** * DL date of duplicate issue */ - DL_DUPLICATE_DATE: 176, + DL_DUPLICATE_DATE = 176, /** * Card type */ - DL_ISSUE_TYPE: 177, + DL_ISSUE_TYPE = 177, /** * Military ID number */ - MILITARY_BOOK_NUMBER: 178, + MILITARY_BOOK_NUMBER = 178, /** * Destination */ - DESTINATION: 179, + DESTINATION = 179, /** * Blood group */ - BLOOD_GROUP: 180, + BLOOD_GROUP = 180, /** * Sequence number */ - SEQUENCE_NUMBER: 181, + SEQUENCE_NUMBER = 181, /** * Body type */ - REG_CERT_BODY_TYPE: 182, + REG_CERT_BODY_TYPE = 182, /** * Vehicle make */ - REG_CERT_CAR_MARK: 183, + REG_CERT_CAR_MARK = 183, /** * Transaction number */ - TRANSACTION_NUMBER: 184, + TRANSACTION_NUMBER = 184, /** * Age */ - AGE: 185, + AGE = 185, /** * Folio number */ - FOLIO_NUMBER: 186, + FOLIO_NUMBER = 186, /** * Voter key */ - VOTER_KEY: 187, + VOTER_KEY = 187, /** * Address: municipality */ - ADDRESS_MUNICIPALITY: 188, + ADDRESS_MUNICIPALITY = 188, /** * Address: location */ - ADDRESS_LOCATION: 189, + ADDRESS_LOCATION = 189, /** * Section */ - SECTION: 190, + SECTION = 190, /** * OCR number */ - OCR_NUMBER: 191, + OCR_NUMBER = 191, /** * Federal elections */ - FEDERAL_ELECTIONS: 192, + FEDERAL_ELECTIONS = 192, /** * Reference number */ - REFERENCE_NUMBER: 193, + REFERENCE_NUMBER = 193, /** * Optional data checksum */ - OPTIONAL_DATA_CHECKSUM: 194, + OPTIONAL_DATA_CHECKSUM = 194, /** * Optional data check digit */ - OPTIONAL_DATA_CHECK_DIGIT: 195, + OPTIONAL_DATA_CHECK_DIGIT = 195, /** * Visa number */ - VISA_NUMBER: 196, + VISA_NUMBER = 196, /** * Visa number checksum */ - VISA_NUMBER_CHECKSUM: 197, + VISA_NUMBER_CHECKSUM = 197, /** * Visa number check digit */ - VISA_NUMBER_CHECK_DIGIT: 198, + VISA_NUMBER_CHECK_DIGIT = 198, /** * Voter */ - VOTER: 199, + VOTER = 199, /** * Type of the previous document */ - PREVIOUS_TYPE: 200, + PREVIOUS_TYPE = 200, /** * Field from MRZ */ - FIELD_FROM_MRZ: 220, + FIELD_FROM_MRZ = 220, /** * Current date */ - CURRENT_DATE: 221, + CURRENT_DATE = 221, /** * Status date of expiry */ - STATUS_DATE_OF_EXPIRY: 251, + STATUS_DATE_OF_EXPIRY = 251, /** * Banknote number */ - BANKNOTE_NUMBER: 252, + BANKNOTE_NUMBER = 252, /** * CSC code */ - CSC_CODE: 253, + CSC_CODE = 253, /** * Pseudonym */ - ARTISTIC_NAME: 254, + ARTISTIC_NAME = 254, /** * Academic title */ - ACADEMIC_TITLE: 255, + ACADEMIC_TITLE = 255, /** * Address country */ - ADDRESS_COUNTRY: 256, + ADDRESS_COUNTRY = 256, /** * Address ZIP code */ - ADDRESS_ZIP_CODE: 257, + ADDRESS_ZIP_CODE = 257, /** * eID residence permit 1 */ - E_ID_RESIDENCE_PERMIT_1: 258, + E_ID_RESIDENCE_PERMIT_1 = 258, /** * eID residence permit 2 */ - E_ID_RESIDENCE_PERMIT_2: 259, + E_ID_RESIDENCE_PERMIT_2 = 259, /** * eID place of birth: street */ - E_ID_PLACE_OF_BIRTH_STREET: 260, + E_ID_PLACE_OF_BIRTH_STREET = 260, /** * eID place of birth: city */ - E_ID_PLACE_OF_BIRTH_CITY: 261, + E_ID_PLACE_OF_BIRTH_CITY = 261, /** * eID place of birth: state */ - E_ID_PLACE_OF_BIRTH_STATE: 262, + E_ID_PLACE_OF_BIRTH_STATE = 262, /** * eID place of birth: country */ - E_ID_PLACE_OF_BIRTH_COUNTRY: 263, + E_ID_PLACE_OF_BIRTH_COUNTRY = 263, /** * eID place of birth: postal code */ - E_ID_PLACE_OF_BIRTH_ZIP_CODE: 264, + E_ID_PLACE_OF_BIRTH_ZIP_CODE = 264, /** * CDL class */ - CDL_CLASS: 265, + CDL_CLASS = 265, /** * Date of 19th birthday */ - DL_UNDER_19_DATE: 266, + DL_UNDER_19_DATE = 266, /** * Weight (pound) */ - WEIGHT_POUNDS: 267, + WEIGHT_POUNDS = 267, /** * Indicator of document limited duration */ - LIMITED_DURATION_DOCUMENT_INDICATOR: 268, + LIMITED_DURATION_DOCUMENT_INDICATOR = 268, /** * Endorsement expiration date */ - ENDORSEMENT_EXPIRATION_DATE: 269, + ENDORSEMENT_EXPIRATION_DATE = 269, /** * Revision date */ - REVISION_DATE: 270, + REVISION_DATE = 270, /** * Compliance type */ - COMPLIANCE_TYPE: 271, + COMPLIANCE_TYPE = 271, /** * Family name truncation */ - FAMILY_NAME_TRUNCATION: 272, + FAMILY_NAME_TRUNCATION = 272, /** * First name truncation */ - FIRST_NAME_TRUNCATION: 273, + FIRST_NAME_TRUNCATION = 273, /** * Middle name truncation */ - MIDDLE_NAME_TRUNCATION: 274, + MIDDLE_NAME_TRUNCATION = 274, /** * Exam date */ - EXAM_DATE: 275, + EXAM_DATE = 275, /** * Organization */ - ORGANIZATION: 276, + ORGANIZATION = 276, /** * Department */ - DEPARTMENT: 277, + DEPARTMENT = 277, /** * Pay grade */ - PAY_GRADE: 278, + PAY_GRADE = 278, /** * Rank */ - RANK: 279, + RANK = 279, /** * Benefits number */ - BENEFITS_NUMBER: 280, + BENEFITS_NUMBER = 280, /** * Sponsor service */ - SPONSOR_SERVICE: 281, + SPONSOR_SERVICE = 281, /** * Sponsor status */ - SPONSOR_STATUS: 282, + SPONSOR_STATUS = 282, /** * Sponsor */ - SPONSOR: 283, + SPONSOR = 283, /** * Relationship */ - RELATIONSHIP: 284, + RELATIONSHIP = 284, /** * USCIS */ - USCIS: 285, + USCIS = 285, /** * Category */ - CATEGORY: 286, + CATEGORY = 286, /** * Conditions */ - CONDITIONS: 287, + CONDITIONS = 287, /** * Identifier */ - IDENTIFIER: 288, + IDENTIFIER = 288, /** * Configuration */ - CONFIGURATION: 289, + CONFIGURATION = 289, /** * Discretionary data */ - DISCRETIONARY_DATA: 290, + DISCRETIONARY_DATA = 290, /** * Line 1 optional data */ - LINE_1_OPTIONAL_DATA: 291, + LINE_1_OPTIONAL_DATA = 291, /** * Line 2 optional data */ - LINE_2_OPTIONAL_DATA: 292, + LINE_2_OPTIONAL_DATA = 292, /** * Line 3 optional data */ - LINE_3_OPTIONAL_DATA: 293, + LINE_3_OPTIONAL_DATA = 293, /** * EQV code */ - EQV_CODE: 294, + EQV_CODE = 294, /** * ALT code */ - ALT_CODE: 295, + ALT_CODE = 295, /** * Binary code */ - BINARY_CODE: 296, + BINARY_CODE = 296, /** * Pseudo code */ - PSEUDO_CODE: 297, + PSEUDO_CODE = 297, /** * Fee */ - FEE: 298, + FEE = 298, /** * Stamp number */ - STAMP_NUMBER: 299, + STAMP_NUMBER = 299, /** * SBH security options */ - SBH_SECURITY_OPTIONS: 300, + SBH_SECURITY_OPTIONS = 300, /** * SBH integrity options */ - SBH_INTEGRITY_OPTIONS: 301, + SBH_INTEGRITY_OPTIONS = 301, /** * Date of creation */ - DATE_OF_CREATION: 302, + DATE_OF_CREATION = 302, /** * Validity period */ - VALIDITY_PERIOD: 303, + VALIDITY_PERIOD = 303, /** * Patron header version */ - PATRON_HEADER_VERSION: 304, + PATRON_HEADER_VERSION = 304, /** * BDB type */ - BDB_TYPE: 305, + BDB_TYPE = 305, /** * Biometric type */ - BIOMETRIC_TYPE: 306, + BIOMETRIC_TYPE = 306, /** * Biometric subtype */ - BIOMETRIC_SUBTYPE: 307, + BIOMETRIC_SUBTYPE = 307, /** * Biometric product ID */ - BIOMETRIC_PRODUCT_ID: 308, + BIOMETRIC_PRODUCT_ID = 308, /** * Biometric format owner */ - BIOMETRIC_FORMAT_OWNER: 309, + BIOMETRIC_FORMAT_OWNER = 309, /** * Biometric format type */ - BIOMETRIC_FORMAT_TYPE: 310, + BIOMETRIC_FORMAT_TYPE = 310, /** * Phone */ - PHONE: 311, + PHONE = 311, /** * Profession */ - PROFESSION: 312, + PROFESSION = 312, /** * Position */ - TITLE: 313, + TITLE = 313, /** * Personal data summary */ - PERSONAL_SUMMARY: 314, + PERSONAL_SUMMARY = 314, /** * Other valid ID */ - OTHER_VALID_ID: 315, + OTHER_VALID_ID = 315, /** * Custody info */ - CUSTODY_INFO: 316, + CUSTODY_INFO = 316, /** * Other name */ - OTHER_NAME: 317, + OTHER_NAME = 317, /** * Observations */ - OBSERVATIONS: 318, + OBSERVATIONS = 318, /** * Tax */ - TAX: 319, + TAX = 319, /** * Personalization date */ - DATE_OF_PERSONALIZATION: 320, + DATE_OF_PERSONALIZATION = 320, /** * Personalization SN */ - PERSONALIZATION_SN: 321, + PERSONALIZATION_SN = 321, /** * Other person name */ - OTHER_PERSON_NAME: 322, + OTHER_PERSON_NAME = 322, /** * Notify person: date of record */ - PERSON_TO_NOTIFY_DATE_OF_RECORD: 323, + PERSON_TO_NOTIFY_DATE_OF_RECORD = 323, /** * Notify person: name */ - PERSON_TO_NOTIFY_NAME: 324, + PERSON_TO_NOTIFY_NAME = 324, /** * Notify person: phone */ - PERSON_TO_NOTIFY_PHONE: 325, + PERSON_TO_NOTIFY_PHONE = 325, /** * Notify person: address */ - PERSON_TO_NOTIFY_ADDRESS: 326, + PERSON_TO_NOTIFY_ADDRESS = 326, /** * DS certificate issuer */ - DS_CERTIFICATE_ISSUER: 327, + DS_CERTIFICATE_ISSUER = 327, /** * DS certificate subject */ - DS_CERTIFICATE_SUBJECT: 328, + DS_CERTIFICATE_SUBJECT = 328, /** * DS certificate valid from */ - DS_CERTIFICATE_VALID_FROM: 329, + DS_CERTIFICATE_VALID_FROM = 329, /** * DS certificate valid to */ - DS_CERTIFICATE_VALID_TO: 330, + DS_CERTIFICATE_VALID_TO = 330, /** * Vehicle data from the DG1 data group */ - VRC_DATA_OBJECT_ENTRY: 331, + VRC_DATA_OBJECT_ENTRY = 331, /** * Type of approval number */ - TYPE_APPROVAL_NUMBER: 332, + TYPE_APPROVAL_NUMBER = 332, /** * Administrative number */ - ADMINISTRATIVE_NUMBER: 333, + ADMINISTRATIVE_NUMBER = 333, /** * Document discriminator */ - DOCUMENT_DISCRIMINATOR: 334, + DOCUMENT_DISCRIMINATOR = 334, /** * Data discriminator */ - DATA_DISCRIMINATOR: 335, + DATA_DISCRIMINATOR = 335, /** * ID number of ISO issuer */ - ISO_ISSUER_ID_NUMBER: 336, + ISO_ISSUER_ID_NUMBER = 336, /** * GNIB number */ - GNIB_NUMBER: 340, + GNIB_NUMBER = 340, /** * Department number */ - DEPT_NUMBER: 341, + DEPT_NUMBER = 341, /** * Telegraph code */ - TELEX_CODE: 342, + TELEX_CODE = 342, /** * Allergies */ - ALLERGIES: 343, + ALLERGIES = 343, /** * Special code */ - SP_CODE: 344, + SP_CODE = 344, /** * Court code */ - COURT_CODE: 345, + COURT_CODE = 345, /** * County */ - CTY: 346, + CTY = 346, /** * Sponsor SSN */ - SPONSOR_SSN: 347, + SPONSOR_SSN = 347, /** * DoD number */ - DOD_NUMBER: 348, + DOD_NUMBER = 348, /** * Expiry date of Motorcycle Novice status */ - MC_NOVICE_DATE: 349, + MC_NOVICE_DATE = 349, /** * DUF number */ - DUF_NUMBER: 350, + DUF_NUMBER = 350, /** * AGY */ - AGY: 351, + AGY = 351, /** * PNR code */ - PNR_CODE: 352, + PNR_CODE = 352, /** * Code of the airport of departure */ - FROM_AIRPORT_CODE: 353, + FROM_AIRPORT_CODE = 353, /** * Code of the airport of arrival */ - TO_AIRPORT_CODE: 354, + TO_AIRPORT_CODE = 354, /** * Flight number */ - FLIGHT_NUMBER: 355, + FLIGHT_NUMBER = 355, /** * Date of flight */ - DATE_OF_FLIGHT: 356, + DATE_OF_FLIGHT = 356, /** * Seat number */ - SEAT_NUMBER: 357, + SEAT_NUMBER = 357, /** * Date of boarding pass issue */ - DATE_OF_ISSUE_BOARDING_PASS: 358, + DATE_OF_ISSUE_BOARDING_PASS = 358, /** * CCW until */ - CCW_UNTIL: 359, + CCW_UNTIL = 359, /** * Reference number checksum */ - REFERENCE_NUMBER_CHECKSUM: 360, + REFERENCE_NUMBER_CHECKSUM = 360, /** * Reference number check digit */ - REFERENCE_NUMBER_CHECK_DIGIT: 361, + REFERENCE_NUMBER_CHECK_DIGIT = 361, /** * Room number */ - ROOM_NUMBER: 362, + ROOM_NUMBER = 362, /** * Religion */ - RELIGION: 363, + RELIGION = 363, /** * Months to expire */ - REMAINDER_TERM: 364, + REMAINDER_TERM = 364, /** * Electronic ticket indicator */ - ELECTRONIC_TICKET_INDICATOR: 365, + ELECTRONIC_TICKET_INDICATOR = 365, /** * Compartment code */ - COMPARTMENT_CODE: 366, + COMPARTMENT_CODE = 366, /** * Check-in sequence number */ - CHECK_IN_SEQUENCE_NUMBER: 367, + CHECK_IN_SEQUENCE_NUMBER = 367, /** * Airline designator of boarding pass issuer */ - AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER: 368, + AIRLINE_DESIGNATOR_OF_BOARDING_PASS_ISSUER = 368, /** * Airline numeric code */ - AIRLINE_NUMERIC_CODE: 369, + AIRLINE_NUMERIC_CODE = 369, /** * Ticket number */ - TICKET_NUMBER: 370, + TICKET_NUMBER = 370, /** * Frequent flyer airline designator */ - FREQUENT_FLYER_AIRLINE_DESIGNATOR: 371, + FREQUENT_FLYER_AIRLINE_DESIGNATOR = 371, /** * Frequent flyer number */ - FREQUENT_FLYER_NUMBER: 372, + FREQUENT_FLYER_NUMBER = 372, /** * Free baggage allowance */ - FREE_BAGGAGE_ALLOWANCE: 373, + FREE_BAGGAGE_ALLOWANCE = 373, /** * PDF417 codec */ - PDF417_CODEC: 374, + PDF417_CODEC = 374, /** * Identity card number checksum */ - IDENTITY_CARD_NUMBER_CHECKSUM: 375, + IDENTITY_CARD_NUMBER_CHECKSUM = 375, /** * Identity card number check digit */ - IDENTITY_CARD_NUMBER_CHECK_DIGIT: 376, + IDENTITY_CARD_NUMBER_CHECK_DIGIT = 376, /** * Veteran */ - VETERAN: 377, + VETERAN = 377, /** * DL category A1 valid from */ - DL_CLASS_CODE_A1_FROM: 378, + DL_CLASS_CODE_A1_FROM = 378, /** * DL category A1 valid to */ - DL_CLASS_CODE_A1_TO: 379, + DL_CLASS_CODE_A1_TO = 379, /** * DL category A1 codes */ - DL_CLASS_CODE_A1_NOTES: 380, + DL_CLASS_CODE_A1_NOTES = 380, /** * DL category A valid from */ - DL_CLASS_CODE_A_FROM: 381, + DL_CLASS_CODE_A_FROM = 381, /** * DL category A valid to */ - DL_CLASS_CODE_A_TO: 382, + DL_CLASS_CODE_A_TO = 382, /** * DL category A codes */ - DL_CLASS_CODE_A_NOTES: 383, + DL_CLASS_CODE_A_NOTES = 383, /** * DL category B valid from */ - DL_CLASS_CODE_B_FROM: 384, + DL_CLASS_CODE_B_FROM = 384, /** * DL category B valid to */ - DL_CLASS_CODE_B_TO: 385, + DL_CLASS_CODE_B_TO = 385, /** * DL category B codes */ - DL_CLASS_CODE_B_NOTES: 386, + DL_CLASS_CODE_B_NOTES = 386, /** * DL category C1 valid from */ - DL_CLASS_CODE_C1_FROM: 387, + DL_CLASS_CODE_C1_FROM = 387, /** * DL category C1 valid to */ - DL_CLASS_CODE_C1_TO: 388, + DL_CLASS_CODE_C1_TO = 388, /** * DL category C1 codes */ - DL_CLASS_CODE_C1_NOTES: 389, + DL_CLASS_CODE_C1_NOTES = 389, /** * DL category C valid from */ - DL_CLASS_CODE_C_FROM: 390, + DL_CLASS_CODE_C_FROM = 390, /** * DL category C valid to */ - DL_CLASS_CODE_C_TO: 391, + DL_CLASS_CODE_C_TO = 391, /** * DL category C codes */ - DL_CLASS_CODE_C_NOTES: 392, + DL_CLASS_CODE_C_NOTES = 392, /** * DL category D1 valid from */ - DL_CLASS_CODE_D1_FROM: 393, + DL_CLASS_CODE_D1_FROM = 393, /** * DL category D1 valid to */ - DL_CLASS_CODE_D1_TO: 394, + DL_CLASS_CODE_D1_TO = 394, /** * DL category D1 codes */ - DL_CLASS_CODE_D1_NOTES: 395, + DL_CLASS_CODE_D1_NOTES = 395, /** * DL category D valid from */ - DL_CLASS_CODE_D_FROM: 396, + DL_CLASS_CODE_D_FROM = 396, /** * DL category D valid to */ - DL_CLASS_CODE_D_TO: 397, + DL_CLASS_CODE_D_TO = 397, /** * DL category D codes */ - DL_CLASS_CODE_D_NOTES: 398, + DL_CLASS_CODE_D_NOTES = 398, /** * DL category BE valid from */ - DL_CLASS_CODE_BE_FROM: 399, + DL_CLASS_CODE_BE_FROM = 399, /** * DL category BE valid to */ - DL_CLASS_CODE_BE_TO: 400, + DL_CLASS_CODE_BE_TO = 400, /** * DL category BE codes */ - DL_CLASS_CODE_BE_NOTES: 401, + DL_CLASS_CODE_BE_NOTES = 401, /** * DL category C1E valid from */ - DL_CLASS_CODE_C1E_FROM: 402, + DL_CLASS_CODE_C1E_FROM = 402, /** * DL category C1E valid to */ - DL_CLASS_CODE_C1E_TO: 403, + DL_CLASS_CODE_C1E_TO = 403, /** * DL category C1E codes */ - DL_CLASS_CODE_C1E_NOTES: 404, + DL_CLASS_CODE_C1E_NOTES = 404, /** * DL category CE valid from */ - DL_CLASS_CODE_CE_FROM: 405, + DL_CLASS_CODE_CE_FROM = 405, /** * DL category CE valid to */ - DL_CLASS_CODE_CE_TO: 406, + DL_CLASS_CODE_CE_TO = 406, /** * DL category CE codes */ - DL_CLASS_CODE_CE_NOTES: 407, + DL_CLASS_CODE_CE_NOTES = 407, /** * DL category D1E valid from */ - DL_CLASS_CODE_D1E_FROM: 408, + DL_CLASS_CODE_D1E_FROM = 408, /** * DL category D1E valid to */ - DL_CLASS_CODE_D1E_TO: 409, + DL_CLASS_CODE_D1E_TO = 409, /** * DL category D1E codes */ - DL_CLASS_CODE_D1E_NOTES: 410, + DL_CLASS_CODE_D1E_NOTES = 410, /** * DL category DE valid from */ - DL_CLASS_CODE_DE_FROM: 411, + DL_CLASS_CODE_DE_FROM = 411, /** * DL category DE valid to */ - DL_CLASS_CODE_DE_TO: 412, + DL_CLASS_CODE_DE_TO = 412, /** * DL category DE codes */ - DL_CLASS_CODE_DE_NOTES: 413, + DL_CLASS_CODE_DE_NOTES = 413, /** * DL category M valid from */ - DL_CLASS_CODE_M_FROM: 414, + DL_CLASS_CODE_M_FROM = 414, /** * DL category M valid to */ - DL_CLASS_CODE_M_TO: 415, + DL_CLASS_CODE_M_TO = 415, /** * DL category M codes */ - DL_CLASS_CODE_M_NOTES: 416, + DL_CLASS_CODE_M_NOTES = 416, /** * DL category L valid from */ - DL_CLASS_CODE_L_FROM: 417, + DL_CLASS_CODE_L_FROM = 417, /** * DL category L valid to */ - DL_CLASS_CODE_L_TO: 418, + DL_CLASS_CODE_L_TO = 418, /** * DL category L codes */ - DL_CLASS_CODE_L_NOTES: 419, + DL_CLASS_CODE_L_NOTES = 419, /** * DL category T valid from */ - DL_CLASS_CODE_T_FROM: 420, + DL_CLASS_CODE_T_FROM = 420, /** * DL category T valid to */ - DL_CLASS_CODE_T_TO: 421, + DL_CLASS_CODE_T_TO = 421, /** * DL category T codes */ - DL_CLASS_CODE_T_NOTES: 422, + DL_CLASS_CODE_T_NOTES = 422, /** * DL category AM valid from */ - DL_CLASS_CODE_AM_FROM: 423, + DL_CLASS_CODE_AM_FROM = 423, /** * DL category AM valid to */ - DL_CLASS_CODE_AM_TO: 424, + DL_CLASS_CODE_AM_TO = 424, /** * DL category AM codes */ - DL_CLASS_CODE_AM_NOTES: 425, + DL_CLASS_CODE_AM_NOTES = 425, /** * DL category A2 valid from */ - DL_CLASS_CODE_A2_FROM: 426, + DL_CLASS_CODE_A2_FROM = 426, /** * DL category A2 valid to */ - DL_CLASS_CODE_A2_TO: 427, + DL_CLASS_CODE_A2_TO = 427, /** * DL category A2 codes */ - DL_CLASS_CODE_A2_NOTES: 428, + DL_CLASS_CODE_A2_NOTES = 428, /** * DL category B1 valid from */ - DL_CLASS_CODE_B1_FROM: 429, + DL_CLASS_CODE_B1_FROM = 429, /** * DL category B1 valid to */ - DL_CLASS_CODE_B1_TO: 430, + DL_CLASS_CODE_B1_TO = 430, /** * DL category B1 codes */ - DL_CLASS_CODE_B1_NOTES: 431, + DL_CLASS_CODE_B1_NOTES = 431, /** * Surname at birth */ - SURNAME_AT_BIRTH: 432, + SURNAME_AT_BIRTH = 432, /** * Civil status */ - CIVIL_STATUS: 433, + CIVIL_STATUS = 433, /** * Number of seats */ - NUMBER_OF_SEATS: 434, + NUMBER_OF_SEATS = 434, /** * Number of standing places */ - NUMBER_OF_STANDING_PLACES: 435, + NUMBER_OF_STANDING_PLACES = 435, /** * Max speed */ - MAX_SPEED: 436, + MAX_SPEED = 436, /** * Fuel type */ - FUEL_TYPE: 437, + FUEL_TYPE = 437, /** * Vehicle environmental type */ - EC_ENVIRONMENTAL_TYPE: 438, + EC_ENVIRONMENTAL_TYPE = 438, /** * Power-to-weight ratio */ - POWER_WEIGHT_RATIO: 439, + POWER_WEIGHT_RATIO = 439, /** * Max mass of trailer (braked) */ - MAX_MASS_OF_TRAILER_BRAKED: 440, + MAX_MASS_OF_TRAILER_BRAKED = 440, /** * Max mass of trailer (unbraked) */ - MAX_MASS_OF_TRAILER_UNBRAKED: 441, + MAX_MASS_OF_TRAILER_UNBRAKED = 441, /** * Transmission type */ - TRANSMISSION_TYPE: 442, + TRANSMISSION_TYPE = 442, /** * Trailer hitch */ - TRAILER_HITCH: 443, + TRAILER_HITCH = 443, /** * Accompanied by */ - ACCOMPANIED_BY: 444, + ACCOMPANIED_BY = 444, /** * Police district */ - POLICE_DISTRICT: 445, + POLICE_DISTRICT = 445, /** * First issue date */ - FIRST_ISSUE_DATE: 446, + FIRST_ISSUE_DATE = 446, /** * Payload capacity */ - PAYLOAD_CAPACITY: 447, + PAYLOAD_CAPACITY = 447, /** * Number of axles */ - NUMBER_OF_AXLES: 448, + NUMBER_OF_AXLES = 448, /** * Permissible axle load */ - PERMISSIBLE_AXLE_LOAD: 449, + PERMISSIBLE_AXLE_LOAD = 449, /** * Precinct */ - PRECINCT: 450, + PRECINCT = 450, /** * Invited by */ - INVITED_BY: 451, + INVITED_BY = 451, /** * Purpose of entry */ - PURPOSE_OF_ENTRY: 452, + PURPOSE_OF_ENTRY = 452, /** * Skin color */ - SKIN_COLOR: 453, + SKIN_COLOR = 453, /** * Complexion */ - COMPLEXION: 454, + COMPLEXION = 454, /** * Airport of departure */ - AIRPORT_FROM: 455, + AIRPORT_FROM = 455, /** * Airport of arrival */ - AIRPORT_TO: 456, + AIRPORT_TO = 456, /** * Airline name */ - AIRLINE_NAME: 457, + AIRLINE_NAME = 457, /** * Airline loyalty program for frequent flyers */ - AIRLINE_NAME_FREQUENT_FLYER: 458, + AIRLINE_NAME_FREQUENT_FLYER = 458, /** * License number */ - LICENSE_NUMBER: 459, + LICENSE_NUMBER = 459, /** * In tanks */ - IN_TANKS: 460, + IN_TANKS = 460, /** * Other than tanks */ - EXCEPT_IN_TANKS: 461, + EXCEPT_IN_TANKS = 461, /** * Fast Track service */ - FAST_TRACK: 462, + FAST_TRACK = 462, /** * Owner */ - OWNER: 463, + OWNER = 463, /** * MRZ strings from ICAO RFID */ - MRZ_STRINGS_ICAO_RFID: 464, + MRZ_STRINGS_ICAO_RFID = 464, /** * Number of card issuances */ - NUMBER_OF_CARD_ISSUANCE: 465, + NUMBER_OF_CARD_ISSUANCE = 465, /** * Number of card issuances checksum */ - NUMBER_OF_CARD_ISSUANCE_CHECKSUM: 466, + NUMBER_OF_CARD_ISSUANCE_CHECKSUM = 466, /** * Number of card issuances check digit */ - NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT: 467, + NUMBER_OF_CARD_ISSUANCE_CHECK_DIGIT = 467, /** * Century of birth */ - CENTURY_DATE_OF_BIRTH: 468, + CENTURY_DATE_OF_BIRTH = 468, /** * DL category A3 valid from */ - DL_CLASS_CODE_A3_FROM: 469, + DL_CLASS_CODE_A3_FROM = 469, /** * DL category A3 valid to */ - DL_CLASS_CODE_A3_TO: 470, + DL_CLASS_CODE_A3_TO = 470, /** * DL category A3 codes */ - DL_CLASS_CODE_A3_NOTES: 471, + DL_CLASS_CODE_A3_NOTES = 471, /** * DL category C2 valid from */ - DL_CLASS_CODE_C2_FROM: 472, + DL_CLASS_CODE_C2_FROM = 472, /** * DL category C2 valid to */ - DL_CLASS_CODE_C2_TO: 473, + DL_CLASS_CODE_C2_TO = 473, /** * DL category C2 codes */ - DL_CLASS_CODE_C2_NOTES: 474, + DL_CLASS_CODE_C2_NOTES = 474, /** * DL category B2 valid from */ - DL_CLASS_CODE_B2_FROM: 475, + DL_CLASS_CODE_B2_FROM = 475, /** * DL category B2 valid to */ - DL_CLASS_CODE_B2_TO: 476, + DL_CLASS_CODE_B2_TO = 476, /** * DL category B2 codes */ - DL_CLASS_CODE_B2_NOTES: 477, + DL_CLASS_CODE_B2_NOTES = 477, /** * DL category D2 valid from */ - DL_CLASS_CODE_D2_FROM: 478, + DL_CLASS_CODE_D2_FROM = 478, /** * DL category D2 valid to */ - DL_CLASS_CODE_D2_TO: 479, + DL_CLASS_CODE_D2_TO = 479, /** * DL category D2 codes */ - DL_CLASS_CODE_D2_NOTES: 480, + DL_CLASS_CODE_D2_NOTES = 480, /** * DL category B2E valid from */ - DL_CLASS_CODE_B2E_FROM: 481, + DL_CLASS_CODE_B2E_FROM = 481, /** * DL category B2E valid to */ - DL_CLASS_CODE_B2E_TO: 482, + DL_CLASS_CODE_B2E_TO = 482, /** * DL category B2E codes */ - DL_CLASS_CODE_B2E_NOTES: 483, + DL_CLASS_CODE_B2E_NOTES = 483, /** * DL category G valid from */ - DL_CLASS_CODE_G_FROM: 484, + DL_CLASS_CODE_G_FROM = 484, /** * DL category G valid to */ - DL_CLASS_CODE_G_TO: 485, + DL_CLASS_CODE_G_TO = 485, /** * DL category G codes */ - DL_CLASS_CODE_G_NOTES: 486, + DL_CLASS_CODE_G_NOTES = 486, /** * DL category J valid from */ - DL_CLASS_CODE_J_FROM: 487, + DL_CLASS_CODE_J_FROM = 487, /** * DL category J valid to */ - DL_CLASS_CODE_J_TO: 488, + DL_CLASS_CODE_J_TO = 488, /** * DL category J codes */ - DL_CLASS_CODE_J_NOTES: 489, + DL_CLASS_CODE_J_NOTES = 489, /** * DL category LC valid from */ - DL_CLASS_CODE_LC_FROM: 490, + DL_CLASS_CODE_LC_FROM = 490, /** * DL category LC valid to */ - DL_CLASS_CODE_LC_TO: 491, + DL_CLASS_CODE_LC_TO = 491, /** * DL category LC codes */ - DL_CLASS_CODE_LC_NOTES: 492, + DL_CLASS_CODE_LC_NOTES = 492, /** * Bank card number */ - BANK_CARD_NUMBER: 493, + BANK_CARD_NUMBER = 493, /** * Bank card validity */ - BANK_CARD_VALID_THRU: 494, + BANK_CARD_VALID_THRU = 494, /** * Tax number */ - TAX_NUMBER: 495, + TAX_NUMBER = 495, /** * Health insurance number */ - HEALTH_NUMBER: 496, + HEALTH_NUMBER = 496, /** * Grandfather's name */ - GRANDFATHER_NAME: 497, + GRANDFATHER_NAME = 497, /** * Selectee indicator */ - SELECTEE_INDICATOR: 498, + SELECTEE_INDICATOR = 498, /** * Mother's surname */ - MOTHER_SURNAME: 499, + MOTHER_SURNAME = 499, /** * Mother's name */ - MOTHER_GIVEN_NAME: 500, + MOTHER_GIVEN_NAME = 500, /** * Father's surname */ - FATHER_SURNAME: 501, + FATHER_SURNAME = 501, /** * Father's name */ - FATHER_GIVEN_NAME: 502, + FATHER_GIVEN_NAME = 502, /** * Mother's date of birth */ - MOTHER_DATE_OF_BIRTH: 503, + MOTHER_DATE_OF_BIRTH = 503, /** * Father's date of birth */ - FATHER_DATE_OF_BIRTH: 504, + FATHER_DATE_OF_BIRTH = 504, /** * Mother's personal number */ - MOTHER_PERSONAL_NUMBER: 505, + MOTHER_PERSONAL_NUMBER = 505, /** * Father's personal number */ - FATHER_PERSONAL_NUMBER: 506, + FATHER_PERSONAL_NUMBER = 506, /** * Mother's place of birth */ - MOTHER_PLACE_OF_BIRTH: 507, + MOTHER_PLACE_OF_BIRTH = 507, /** * Father's place of birth */ - FATHER_PLACE_OF_BIRTH: 508, + FATHER_PLACE_OF_BIRTH = 508, /** * Mother's country of birth */ - MOTHER_COUNTRY_OF_BIRTH: 509, + MOTHER_COUNTRY_OF_BIRTH = 509, /** * Father's country of birth */ - FATHER_COUNTRY_OF_BIRTH: 510, + FATHER_COUNTRY_OF_BIRTH = 510, /** * Date of first renewal */ - DATE_FIRST_RENEWAL: 511, + DATE_FIRST_RENEWAL = 511, /** * Date of second renewal */ - DATE_SECOND_RENEWAL: 512, + DATE_SECOND_RENEWAL = 512, /** * Place of examination */ - PLACE_OF_EXAMINATION: 513, + PLACE_OF_EXAMINATION = 513, /** * Application number */ - APPLICATION_NUMBER: 514, + APPLICATION_NUMBER = 514, /** * Voucher number */ - VOUCHER_NUMBER: 515, + VOUCHER_NUMBER = 515, /** * Authorization number */ - AUTHORIZATION_NUMBER: 516, + AUTHORIZATION_NUMBER = 516, /** * Faculty */ - FACULTY: 517, + FACULTY = 517, /** * Form of education */ - FORM_OF_EDUCATION: 518, + FORM_OF_EDUCATION = 518, /** * DNI number */ - DNI_NUMBER: 519, + DNI_NUMBER = 519, /** * Retirement number */ - RETIREMENT_NUMBER: 520, + RETIREMENT_NUMBER = 520, /** * Professional id number */ - PROFESSIONAL_ID_NUMBER: 521, + PROFESSIONAL_ID_NUMBER = 521, /** * Age at issue */ - AGE_AT_ISSUE: 522, + AGE_AT_ISSUE = 522, /** * Years since issue */ - YEARS_SINCE_ISSUE: 523, + YEARS_SINCE_ISSUE = 523, /** * DL category BTP valid from */ - DL_CLASS_CODE_BTP_FROM: 524, + DL_CLASS_CODE_BTP_FROM = 524, /** * DL category BTP codes */ - DL_CLASS_CODE_BTP_NOTES: 525, + DL_CLASS_CODE_BTP_NOTES = 525, /** * DL category BTP valid to */ - DL_CLASS_CODE_BTP_TO: 526, + DL_CLASS_CODE_BTP_TO = 526, /** * DL category C3 valid from */ - DL_CLASS_CODE_C3_FROM: 527, + DL_CLASS_CODE_C3_FROM = 527, /** * DL category C3 codes */ - DL_CLASS_CODE_C3_NOTES: 528, + DL_CLASS_CODE_C3_NOTES = 528, /** * DL category C3 valid to */ - DL_CLASS_CODE_C3_TO: 529, + DL_CLASS_CODE_C3_TO = 529, /** * DL category E valid from */ - DL_CLASS_CODE_E_FROM: 530, + DL_CLASS_CODE_E_FROM = 530, /** * DL category E codes */ - DL_CLASS_CODE_E_NOTES: 531, + DL_CLASS_CODE_E_NOTES = 531, /** * DL category E valid to */ - DL_CLASS_CODE_E_TO: 532, + DL_CLASS_CODE_E_TO = 532, /** * DL category F valid from */ - DL_CLASS_CODE_F_FROM: 533, + DL_CLASS_CODE_F_FROM = 533, /** * DL category F codes */ - DL_CLASS_CODE_F_NOTES: 534, + DL_CLASS_CODE_F_NOTES = 534, /** * DL category F valid to */ - DL_CLASS_CODE_F_TO: 535, + DL_CLASS_CODE_F_TO = 535, /** * DL category FA valid from */ - DL_CLASS_CODE_FA_FROM: 536, + DL_CLASS_CODE_FA_FROM = 536, /** * DL category FA codes */ - DL_CLASS_CODE_FA_NOTES: 537, + DL_CLASS_CODE_FA_NOTES = 537, /** * DL category FA valid to */ - DL_CLASS_CODE_FA_TO: 538, + DL_CLASS_CODE_FA_TO = 538, /** * DL category FA1 valid from */ - DL_CLASS_CODE_FA1_FROM: 539, + DL_CLASS_CODE_FA1_FROM = 539, /** * DL category FA1 codes */ - DL_CLASS_CODE_FA1_NOTES: 540, + DL_CLASS_CODE_FA1_NOTES = 540, /** * DL category FA1 valid to */ - DL_CLASS_CODE_FA1_TO: 541, + DL_CLASS_CODE_FA1_TO = 541, /** * DL category FB valid from */ - DL_CLASS_CODE_FB_FROM: 542, + DL_CLASS_CODE_FB_FROM = 542, /** * DL category FB codes */ - DL_CLASS_CODE_FB_NOTES: 543, + DL_CLASS_CODE_FB_NOTES = 543, /** * DL category FB valid to */ - DL_CLASS_CODE_FB_TO: 544, + DL_CLASS_CODE_FB_TO = 544, /** * DL category G1 valid from */ - DL_CLASS_CODE_G1_FROM: 545, + DL_CLASS_CODE_G1_FROM = 545, /** * DL category G1 codes */ - DL_CLASS_CODE_G1_NOTES: 546, + DL_CLASS_CODE_G1_NOTES = 546, /** * DL category G1 valid to */ - DL_CLASS_CODE_G1_TO: 547, + DL_CLASS_CODE_G1_TO = 547, /** * DL category H valid from */ - DL_CLASS_CODE_H_FROM: 548, + DL_CLASS_CODE_H_FROM = 548, /** * DL category H codes */ - DL_CLASS_CODE_H_NOTES: 549, + DL_CLASS_CODE_H_NOTES = 549, /** * DL category H valid to */ - DL_CLASS_CODE_H_TO: 550, + DL_CLASS_CODE_H_TO = 550, /** * DL category I valid from */ - DL_CLASS_CODE_I_FROM: 551, + DL_CLASS_CODE_I_FROM = 551, /** * DL category I codes */ - DL_CLASS_CODE_I_NOTES: 552, + DL_CLASS_CODE_I_NOTES = 552, /** * DL category I valid to */ - DL_CLASS_CODE_I_TO: 553, + DL_CLASS_CODE_I_TO = 553, /** * DL category K valid from */ - DL_CLASS_CODE_K_FROM: 554, + DL_CLASS_CODE_K_FROM = 554, /** * DL category K codes */ - DL_CLASS_CODE_K_NOTES: 555, + DL_CLASS_CODE_K_NOTES = 555, /** * DL category K valid to */ - DL_CLASS_CODE_K_TO: 556, + DL_CLASS_CODE_K_TO = 556, /** * DL category LK valid from */ - DL_CLASS_CODE_LK_FROM: 557, + DL_CLASS_CODE_LK_FROM = 557, /** * DL category LK codes */ - DL_CLASS_CODE_LK_NOTES: 558, + DL_CLASS_CODE_LK_NOTES = 558, /** * DL category LK valid to */ - DL_CLASS_CODE_LK_TO: 559, + DL_CLASS_CODE_LK_TO = 559, /** * DL category N valid from */ - DL_CLASS_CODE_N_FROM: 560, + DL_CLASS_CODE_N_FROM = 560, /** * DL category N codes */ - DL_CLASS_CODE_N_NOTES: 561, + DL_CLASS_CODE_N_NOTES = 561, /** * DL category N valid to */ - DL_CLASS_CODE_N_TO: 562, + DL_CLASS_CODE_N_TO = 562, /** * DL category S valid from */ - DL_CLASS_CODE_S_FROM: 563, + DL_CLASS_CODE_S_FROM = 563, /** * DL category S codes */ - DL_CLASS_CODE_S_NOTES: 564, + DL_CLASS_CODE_S_NOTES = 564, /** * DL category S valid to */ - DL_CLASS_CODE_S_TO: 565, + DL_CLASS_CODE_S_TO = 565, /** * DL category TB valid from */ - DL_CLASS_CODE_TB_FROM: 566, + DL_CLASS_CODE_TB_FROM = 566, /** * DL category TB codes */ - DL_CLASS_CODE_TB_NOTES: 567, + DL_CLASS_CODE_TB_NOTES = 567, /** * DL category TB valid to */ - DL_CLASS_CODE_TB_TO: 568, + DL_CLASS_CODE_TB_TO = 568, /** * DL category TM valid from */ - DL_CLASS_CODE_TM_FROM: 569, + DL_CLASS_CODE_TM_FROM = 569, /** * DL category TM codes */ - DL_CLASS_CODE_TM_NOTES: 570, + DL_CLASS_CODE_TM_NOTES = 570, /** * DL category TM valid to */ - DL_CLASS_CODE_TM_TO: 571, + DL_CLASS_CODE_TM_TO = 571, /** * DL category TR valid from */ - DL_CLASS_CODE_TR_FROM: 572, + DL_CLASS_CODE_TR_FROM = 572, /** * DL category TR codes */ - DL_CLASS_CODE_TR_NOTES: 573, + DL_CLASS_CODE_TR_NOTES = 573, /** * DL category TR valid to */ - DL_CLASS_CODE_TR_TO: 574, + DL_CLASS_CODE_TR_TO = 574, /** * DL category TV valid from */ - DL_CLASS_CODE_TV_FROM: 575, + DL_CLASS_CODE_TV_FROM = 575, /** * DL category TV codes */ - DL_CLASS_CODE_TV_NOTES: 576, + DL_CLASS_CODE_TV_NOTES = 576, /** * DL category TV valid to */ - DL_CLASS_CODE_TV_TO: 577, + DL_CLASS_CODE_TV_TO = 577, /** * DL category V valid from */ - DL_CLASS_CODE_V_FROM: 578, + DL_CLASS_CODE_V_FROM = 578, /** * DL category V codes */ - DL_CLASS_CODE_V_NOTES: 579, + DL_CLASS_CODE_V_NOTES = 579, /** * DL category V valid to */ - DL_CLASS_CODE_V_TO: 580, + DL_CLASS_CODE_V_TO = 580, /** * DL category W valid from */ - DL_CLASS_CODE_W_FROM: 581, + DL_CLASS_CODE_W_FROM = 581, /** * DL category W codes */ - DL_CLASS_CODE_W_NOTES: 582, + DL_CLASS_CODE_W_NOTES = 582, /** * DL category W valid to */ - DL_CLASS_CODE_W_TO: 583, + DL_CLASS_CODE_W_TO = 583, /** * URL */ - URL: 584, + URL = 584, /** * Caliber */ - CALIBER: 585, + CALIBER = 585, /** * Model */ - MODEL: 586, + MODEL = 586, /** * Make */ - MAKE: 587, + MAKE = 587, /** * Number of cylinders */ - NUMBER_OF_CYLINDERS: 588, + NUMBER_OF_CYLINDERS = 588, /** * Surname of husband after registration */ - SURNAME_OF_HUSBAND_AFTER_REGISTRATION: 589, + SURNAME_OF_HUSBAND_AFTER_REGISTRATION = 589, /** * Surname of wife after registration */ - SURNAME_OF_WIFE_AFTER_REGISTRATION: 590, + SURNAME_OF_WIFE_AFTER_REGISTRATION = 590, /** * Date of birth of wife */ - DATE_OF_BIRTH_OF_WIFE: 591, + DATE_OF_BIRTH_OF_WIFE = 591, /** * Date of birth of husband */ - DATE_OF_BIRTH_OF_HUSBAND: 592, + DATE_OF_BIRTH_OF_HUSBAND = 592, /** * Citizenship of first person */ - CITIZENSHIP_OF_FIRST_PERSON: 593, + CITIZENSHIP_OF_FIRST_PERSON = 593, /** * Citizenship of second person */ - CITIZENSHIP_OF_SECOND_PERSON: 594, + CITIZENSHIP_OF_SECOND_PERSON = 594, /** * CVV code */ - CVV: 595, + CVV = 595, /** * Date of insurance expiry */ - DATE_OF_INSURANCE_EXPIRY: 596, + DATE_OF_INSURANCE_EXPIRY = 596, /** * Mortgage by */ - MORTGAGE_BY: 597, + MORTGAGE_BY = 597, /** * Old document number */ - OLD_DOCUMENT_NUMBER: 598, + OLD_DOCUMENT_NUMBER = 598, /** * Old date of issue */ - OLD_DATE_OF_ISSUE: 599, + OLD_DATE_OF_ISSUE = 599, /** * Old place of issue */ - OLD_PLACE_OF_ISSUE: 600, + OLD_PLACE_OF_ISSUE = 600, /** * DL category LR valid from */ - DL_CLASS_CODE_LR_FROM: 601, + DL_CLASS_CODE_LR_FROM = 601, /** * DL category LR valid to */ - DL_CLASS_CODE_LR_TO: 602, + DL_CLASS_CODE_LR_TO = 602, /** * DL category LR codes */ - DL_CLASS_CODE_LR_NOTES: 603, + DL_CLASS_CODE_LR_NOTES = 603, /** * DL category MR valid from */ - DL_CLASS_CODE_MR_FROM: 604, + DL_CLASS_CODE_MR_FROM = 604, /** * DL category MR valid to */ - DL_CLASS_CODE_MR_TO: 605, + DL_CLASS_CODE_MR_TO = 605, /** * DL category MR codes */ - DL_CLASS_CODE_MR_NOTES: 606, + DL_CLASS_CODE_MR_NOTES = 606, /** * DL category HR valid from */ - DL_CLASS_CODE_HR_FROM: 607, + DL_CLASS_CODE_HR_FROM = 607, /** * DL category HR valid to */ - DL_CLASS_CODE_HR_TO: 608, + DL_CLASS_CODE_HR_TO = 608, /** * DL category HR codes */ - DL_CLASS_CODE_HR_NOTES: 609, + DL_CLASS_CODE_HR_NOTES = 609, /** * DL category HC valid from */ - DL_CLASS_CODE_HC_FROM: 610, + DL_CLASS_CODE_HC_FROM = 610, /** * DL category HC valid to */ - DL_CLASS_CODE_HC_TO: 611, + DL_CLASS_CODE_HC_TO = 611, /** * DL category HC codes */ - DL_CLASS_CODE_HC_NOTES: 612, + DL_CLASS_CODE_HC_NOTES = 612, /** * DL category MC valid from */ - DL_CLASS_CODE_MC_FROM: 613, + DL_CLASS_CODE_MC_FROM = 613, /** * DL category MC valid to */ - DL_CLASS_CODE_MC_TO: 614, + DL_CLASS_CODE_MC_TO = 614, /** * DL category MC codes */ - DL_CLASS_CODE_MC_NOTES: 615, + DL_CLASS_CODE_MC_NOTES = 615, /** * DL category RE valid from */ - DL_CLASS_CODE_RE_FROM: 616, + DL_CLASS_CODE_RE_FROM = 616, /** * DL category RE valid to */ - DL_CLASS_CODE_RE_TO: 617, + DL_CLASS_CODE_RE_TO = 617, /** * DL category RE codes */ - DL_CLASS_CODE_RE_NOTES: 618, + DL_CLASS_CODE_RE_NOTES = 618, /** * DL category R valid from */ - DL_CLASS_CODE_R_FROM: 619, + DL_CLASS_CODE_R_FROM = 619, /** * DL category R valid to */ - DL_CLASS_CODE_R_TO: 620, + DL_CLASS_CODE_R_TO = 620, /** * DL category R codes */ - DL_CLASS_CODE_R_NOTES: 621, + DL_CLASS_CODE_R_NOTES = 621, /** * DL category CA valid from */ - DL_CLASS_CODE_CA_FROM: 622, + DL_CLASS_CODE_CA_FROM = 622, /** * DL category CA valid to */ - DL_CLASS_CODE_CA_TO: 623, + DL_CLASS_CODE_CA_TO = 623, /** * DL category CA codes */ - DL_CLASS_CODE_CA_NOTES: 624, + DL_CLASS_CODE_CA_NOTES = 624, /** * Citizenship status */ - CITIZENSHIP_STATUS: 625, + CITIZENSHIP_STATUS = 625, /** * Military service from */ - MILITARY_SERVICE_FROM: 626, + MILITARY_SERVICE_FROM = 626, /** * Military service to */ - MILITARY_SERVICE_TO: 627, + MILITARY_SERVICE_TO = 627, /** * DL category NT valid from */ - DL_CLASS_CODE_NT_FROM: 628, + DL_CLASS_CODE_NT_FROM = 628, /** * DL category NT valid to */ - DL_CLASS_CODE_NT_TO: 629, + DL_CLASS_CODE_NT_TO = 629, /** * DL category NT codes */ - DL_CLASS_CODE_NT_NOTES: 630, + DL_CLASS_CODE_NT_NOTES = 630, /** * DL category TN valid from */ - DL_CLASS_CODE_TN_FROM: 631, + DL_CLASS_CODE_TN_FROM = 631, /** * DL category TN valid to */ - DL_CLASS_CODE_TN_TO: 632, + DL_CLASS_CODE_TN_TO = 632, /** * DL category TN codes */ - DL_CLASS_CODE_TN_NOTES: 633, + DL_CLASS_CODE_TN_NOTES = 633, /** * DL category D3 valid from */ - DL_CLASS_CODE_D3_FROM: 634, + DL_CLASS_CODE_D3_FROM = 634, /** * DL category D3 valid to */ - DL_CLASS_CODE_D3_TO: 635, + DL_CLASS_CODE_D3_TO = 635, /** * DL category D3 codes */ - DL_CLASS_CODE_D3_NOTES: 636, + DL_CLASS_CODE_D3_NOTES = 636, /** * Alternative date of expiry */ - ALT_DATE_OF_EXPIRY: 637, + ALT_DATE_OF_EXPIRY = 637, /** * DL category CD valid from */ - DL_CLASS_CODE_CD_FROM: 638, + DL_CLASS_CODE_CD_FROM = 638, /** * DL category CD valid to */ - DL_CLASS_CODE_CD_TO: 639, + DL_CLASS_CODE_CD_TO = 639, /** * DL category CD codes */ - DL_CLASS_CODE_CD_NOTES: 640, + DL_CLASS_CODE_CD_NOTES = 640, /** * Issuer identification number */ - ISSUER_IDENTIFICATION_NUMBER: 641, + ISSUER_IDENTIFICATION_NUMBER = 641, /** * Payment period from */ - PAYMENT_PERIOD_FROM: 642, + PAYMENT_PERIOD_FROM = 642, /** * Payment period to */ - PAYMENT_PERIOD_TO: 643, + PAYMENT_PERIOD_TO = 643, /** * Vaccination certificate identifier */ - VACCINATION_CERTIFICATE_IDENTIFIER: 644, + VACCINATION_CERTIFICATE_IDENTIFIER = 644, /** * First name */ - FIRST_NAME: 645, + FIRST_NAME = 645, /** * Date of arrival */ - DATE_OF_ARRIVAL: 646, + DATE_OF_ARRIVAL = 646, /** * Second name */ - SECOND_NAME: 647, + SECOND_NAME = 647, /** * Third name */ - THIRD_NAME: 648, + THIRD_NAME = 648, /** * Fourth name */ - FOURTH_NAME: 649, + FOURTH_NAME = 649, /** * Last name */ - LAST_NAME: 650, + LAST_NAME = 650, /** * DL category RM valid from */ - DL_CLASS_CODE_RM_FROM: 651, + DL_CLASS_CODE_RM_FROM = 651, /** * DL category RM codes */ - DL_CLASS_CODE_RM_NOTES: 652, + DL_CLASS_CODE_RM_NOTES = 652, /** * DL category RM valid to */ - DL_CLASS_CODE_RM_TO: 653, + DL_CLASS_CODE_RM_TO = 653, /** * DL category PW valid from */ - DL_CLASS_CODE_PW_FROM: 654, + DL_CLASS_CODE_PW_FROM = 654, /** * DL category PW codes */ - DL_CLASS_CODE_PW_NOTES: 655, + DL_CLASS_CODE_PW_NOTES = 655, /** * DL category PW valid to */ - DL_CLASS_CODE_PW_TO: 656, + DL_CLASS_CODE_PW_TO = 656, /** * DL category EB valid from */ - DL_CLASS_CODE_EB_FROM: 657, + DL_CLASS_CODE_EB_FROM = 657, /** * DL category EB codes */ - DL_CLASS_CODE_EB_NOTES: 658, + DL_CLASS_CODE_EB_NOTES = 658, /** * DL category EB valid to */ - DL_CLASS_CODE_EB_TO: 659, + DL_CLASS_CODE_EB_TO = 659, /** * DL category EC valid from */ - DL_CLASS_CODE_EC_FROM: 660, + DL_CLASS_CODE_EC_FROM = 660, /** * DL category EC codes */ - DL_CLASS_CODE_EC_NOTES: 661, + DL_CLASS_CODE_EC_NOTES = 661, /** * DL category EC valid to */ - DL_CLASS_CODE_EC_TO: 662, + DL_CLASS_CODE_EC_TO = 662, /** * DL category EC1 valid from */ - DL_CLASS_CODE_EC1_FROM: 663, + DL_CLASS_CODE_EC1_FROM = 663, /** * DL category EC1 codes */ - DL_CLASS_CODE_EC1_NOTES: 664, + DL_CLASS_CODE_EC1_NOTES = 664, /** * DL category EC1 valid to */ - DL_CLASS_CODE_EC1_TO: 665, + DL_CLASS_CODE_EC1_TO = 665, /** * Place of birth city */ - PLACE_OF_BIRTH_CITY: 666, + PLACE_OF_BIRTH_CITY = 666, /** * Year of birth */ - YEAR_OF_BIRTH: 667, + YEAR_OF_BIRTH = 667, /** * Year of expiry */ - YEAR_OF_EXPIRY: 668, + YEAR_OF_EXPIRY = 668, /** * Grandfather's name (maternal) */ - GRANDFATHER_NAME_MATERNAL: 669, + GRANDFATHER_NAME_MATERNAL = 669, /** * First surname */ - FIRST_SURNAME: 670, + FIRST_SURNAME = 670, /** * Month of birth */ - MONTH_OF_BIRTH: 671, + MONTH_OF_BIRTH = 671, /** * Floor number */ - ADDRESS_FLOOR_NUMBER: 672, + ADDRESS_FLOOR_NUMBER = 672, /** * Entrance number */ - ADDRESS_ENTRANCE: 673, + ADDRESS_ENTRANCE = 673, /** * Block number */ - ADDRESS_BLOCK_NUMBER: 674, + ADDRESS_BLOCK_NUMBER = 674, /** * Street number */ - ADDRESS_STREET_NUMBER: 675, + ADDRESS_STREET_NUMBER = 675, /** * Street type */ - ADDRESS_STREET_TYPE: 676, + ADDRESS_STREET_TYPE = 676, /** * City sector */ - ADDRESS_CITY_SECTOR: 677, + ADDRESS_CITY_SECTOR = 677, /** * County type */ - ADDRESS_COUNTY_TYPE: 678, + ADDRESS_COUNTY_TYPE = 678, /** * City type */ - ADDRESS_CITY_TYPE: 679, + ADDRESS_CITY_TYPE = 679, /** * Building type */ - ADDRESS_BUILDING_TYPE: 680, + ADDRESS_BUILDING_TYPE = 680, /** * Date of Retirement */ - DATE_OF_RETIREMENT: 681, + DATE_OF_RETIREMENT = 681, /** * Document Status */ - DOCUMENT_STATUS: 682, + DOCUMENT_STATUS = 682, /** * Signature */ - SIGNATURE: 683, + SIGNATURE = 683, /** * Unique Certificate Identifier */ - FT_UNIQUE_CERTIFICATE_IDENTIFIER: 684, + FT_UNIQUE_CERTIFICATE_IDENTIFIER = 684, /** * Email */ - FT_EMAIL: 685, + FT_EMAIL = 685, /** * Date of Specimen Collection */ - FT_DATE_OF_SPECIMEN_COLLECTION: 686, + FT_DATE_OF_SPECIMEN_COLLECTION = 686, /** * Type Of Testing */ - FT_TYPE_OF_TESTING: 687, + FT_TYPE_OF_TESTING = 687, /** * Result Of Testing */ - FT_RESULT_OF_TESTING: 688, + FT_RESULT_OF_TESTING = 688, /** * Method Of Testing */ - FT_METHOD_OF_TESTING: 689, + FT_METHOD_OF_TESTING = 689, /** * Digital Travel Authorization Number */ - FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690, + FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER = 690, /** * Date of First Positive Test Result */ - FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691 -} as const; - -export type TextFieldType = typeof TextFieldType[keyof typeof TextFieldType]; + FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT = 691 +} diff --git a/src/models/text-field-value.ts b/src/models/text-field-value.ts index a6ab489b..9823dc2c 100644 --- a/src/models/text-field-value.ts +++ b/src/models/text-field-value.ts @@ -20,63 +20,63 @@ import type { RfidOrigin } from './rfid-origin'; import type { Source } from './source'; /** -* -* @export -* @interface TextFieldValue -*/ + * + * @export + * @interface TextFieldValue + */ export interface TextFieldValue { /** - * - * @type {Source} - * @memberof TextFieldValue - */ + * + * @type {Source} + * @memberof TextFieldValue + */ source: Source; /** - * Parsed/processed value. Date format converted for output, delimiters removed - * @type {string} - * @memberof TextFieldValue - */ + * Parsed/processed value. Date format converted for output, delimiters removed + * @type {string} + * @memberof TextFieldValue + */ value: string; /** - * Original value as seen in the document - * @type {string} - * @memberof TextFieldValue - */ + * Original value as seen in the document + * @type {string} + * @memberof TextFieldValue + */ originalValue?: string; /** - * - * @type {CheckResult} - * @memberof TextFieldValue - */ + * + * @type {CheckResult} + * @memberof TextFieldValue + */ originalValidity: CheckResult; /** - * - * @type {Array} - * @memberof TextFieldValue - */ + * + * @type {Array} + * @memberof TextFieldValue + */ originalSymbols?: Array; /** - * Page index of the image from input list - * @type {number} - * @memberof TextFieldValue - */ + * Page index of the image from input list + * @type {number} + * @memberof TextFieldValue + */ pageIndex: number; /** - * Min recognition probability. Combined minimum probability from single characters probabilities - * @type {number} - * @memberof TextFieldValue - */ + * Min recognition probability. Combined minimum probability from single characters probabilities + * @type {number} + * @memberof TextFieldValue + */ probability: number; /** - * - * @type {RectangleCoordinates} - * @memberof TextFieldValue - */ + * + * @type {RectangleCoordinates} + * @memberof TextFieldValue + */ fieldRect?: RectangleCoordinates; /** - * - * @type {RfidOrigin} - * @memberof TextFieldValue - */ + * + * @type {RfidOrigin} + * @memberof TextFieldValue + */ rfidOrigin?: RfidOrigin; } diff --git a/src/models/text-field.ts b/src/models/text-field.ts index 5b3a954f..aa445a11 100644 --- a/src/models/text-field.ts +++ b/src/models/text-field.ts @@ -21,75 +21,75 @@ import type { TextFieldType } from './text-field-type'; import type { TextFieldValue } from './text-field-value'; /** -* -* @export -* @interface TextField -*/ + * + * @export + * @interface TextField + */ export interface TextField { /** - * - * @type {TextFieldType} - * @memberof TextField - */ + * + * @type {TextFieldType} + * @memberof TextField + */ fieldType: TextFieldType; /** - * Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup. - * @type {string} - * @memberof TextField - */ + * Field name. Only use to search values for fields with fieldType=50(other). In general, use fieldType for lookup. + * @type {string} + * @memberof TextField + */ fieldName: string; /** - * - * @type {LCID} - * @memberof TextField - */ + * + * @type {LCID} + * @memberof TextField + */ lcid: LCID; /** - * LCID name - * @type {string} - * @memberof TextField - */ + * LCID name + * @type {string} + * @memberof TextField + */ lcidName: string; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ status: CheckResult; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ validityStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof TextField - */ + * + * @type {CheckResult} + * @memberof TextField + */ comparisonStatus: CheckResult; /** - * The most confidence value, selected from valueList - * @type {string} - * @memberof TextField - */ + * The most confidence value, selected from valueList + * @type {string} + * @memberof TextField + */ value: string; /** - * - * @type {Array} - * @memberof TextField - */ + * + * @type {Array} + * @memberof TextField + */ valueList: Array; /** - * Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error. - * @type {Array} - * @memberof TextField - */ + * Validity of all field values for given source. If there are two values on different pages for one field-source pair, then validity also will include logical match checking. If such values do not match, validity will return error. + * @type {Array} + * @memberof TextField + */ validityList: Array; /** - * - * @type {Array} - * @memberof TextField - */ + * + * @type {Array} + * @memberof TextField + */ comparisonList: Array; } diff --git a/src/models/text-post-processing.ts b/src/models/text-post-processing.ts index 0aa1123b..bbf01ab2 100644 --- a/src/models/text-post-processing.ts +++ b/src/models/text-post-processing.ts @@ -15,29 +15,26 @@ /** -* -* @export -* @enum {string} -*/ - -export const TextPostProcessing = { + * + * @export + * @enum {string} + */ +export enum TextPostProcessing { /** * Do not change */ - NO_CHANGE: 0, + NO_CHANGE = 0, /** * Uppercase */ - UPPERCASE: 1, + UPPERCASE = 1, /** * Lowercase */ - LOWERCASE: 2, + LOWERCASE = 2, /** * Capital */ - CAPITAL: 3 -} as const; - -export type TextPostProcessing = typeof TextPostProcessing[keyof typeof TextPostProcessing]; + CAPITAL = 3 +} diff --git a/src/models/text-result-all-of.ts b/src/models/text-result-all-of.ts index ca84222a..63e83600 100644 --- a/src/models/text-result-all-of.ts +++ b/src/models/text-result-all-of.ts @@ -16,15 +16,15 @@ import type { Text } from './text'; /** -* -* @export -* @interface TextResultAllOf -*/ + * + * @export + * @interface TextResultAllOf + */ export interface TextResultAllOf { /** - * - * @type {Text} - * @memberof TextResultAllOf - */ + * + * @type {Text} + * @memberof TextResultAllOf + */ Text: Text; } diff --git a/src/models/text.ts b/src/models/text.ts index cb15ae59..47a7dc6e 100644 --- a/src/models/text.ts +++ b/src/models/text.ts @@ -18,45 +18,45 @@ import type { TextAvailableSource } from './text-available-source'; import type { TextField } from './text-field'; /** -* Contains all document text fields data with validity and cross-source compare checks -* @export -* @interface Text -*/ + * Contains all document text fields data with validity and cross-source compare checks + * @export + * @interface Text + */ export interface Text { /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ status: CheckResult; /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ validityStatus: CheckResult; /** - * - * @type {CheckResult} - * @memberof Text - */ + * + * @type {CheckResult} + * @memberof Text + */ comparisonStatus: CheckResult; /** - * Date format - * @type {string} - * @memberof Text - */ + * Date format + * @type {string} + * @memberof Text + */ dateFormat: string; /** - * - * @type {Array} - * @memberof Text - */ + * + * @type {Array} + * @memberof Text + */ fieldList: Array; /** - * - * @type {Array} - * @memberof Text - */ + * + * @type {Array} + * @memberof Text + */ availableSourceList: Array; } diff --git a/src/models/transaction-image.ts b/src/models/transaction-image.ts index 2d657574..54d1fae8 100644 --- a/src/models/transaction-image.ts +++ b/src/models/transaction-image.ts @@ -16,15 +16,15 @@ import type { ImagesFieldValue } from './images-field-value'; /** -* -* @export -* @interface TransactionImage -*/ + * + * @export + * @interface TransactionImage + */ export interface TransactionImage { /** - * - * @type {ImagesFieldValue} - * @memberof TransactionImage - */ + * + * @type {ImagesFieldValue} + * @memberof TransactionImage + */ image?: ImagesFieldValue; } diff --git a/src/models/transaction-info.ts b/src/models/transaction-info.ts index d269b228..42efb46f 100644 --- a/src/models/transaction-info.ts +++ b/src/models/transaction-info.ts @@ -16,57 +16,57 @@ import type { DocumentsDatabase } from './documents-database'; /** -* -* @export -* @interface TransactionInfo -*/ + * + * @export + * @interface TransactionInfo + */ export interface TransactionInfo { /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ ComputerName?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ DateTime?: string; /** - * - * @type {DocumentsDatabase} - * @memberof TransactionInfo - */ + * + * @type {DocumentsDatabase} + * @memberof TransactionInfo + */ DocumentsDatabase?: DocumentsDatabase; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ SystemInfo?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ Tag?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ TransactionID?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ UserName?: string; /** - * - * @type {string} - * @memberof TransactionInfo - */ + * + * @type {string} + * @memberof TransactionInfo + */ Version?: string; } diff --git a/src/models/transaction-process-get-response.ts b/src/models/transaction-process-get-response.ts index fa6c3921..0d3a994e 100644 --- a/src/models/transaction-process-get-response.ts +++ b/src/models/transaction-process-get-response.ts @@ -17,33 +17,33 @@ import type { InData } from './in-data'; import type { OutData } from './out-data'; /** -* -* @export -* @interface TransactionProcessGetResponse -*/ + * + * @export + * @interface TransactionProcessGetResponse + */ export interface TransactionProcessGetResponse { /** - * - * @type {number} - * @memberof TransactionProcessGetResponse - */ + * + * @type {number} + * @memberof TransactionProcessGetResponse + */ transactionId?: number; /** - * - * @type {string} - * @memberof TransactionProcessGetResponse - */ + * + * @type {string} + * @memberof TransactionProcessGetResponse + */ tag?: string; /** - * - * @type {OutData} - * @memberof TransactionProcessGetResponse - */ + * + * @type {OutData} + * @memberof TransactionProcessGetResponse + */ outData?: OutData; /** - * - * @type {InData} - * @memberof TransactionProcessGetResponse - */ + * + * @type {InData} + * @memberof TransactionProcessGetResponse + */ inData?: InData; } diff --git a/src/models/transaction-process-request.ts b/src/models/transaction-process-request.ts index c72f18e7..87a05e34 100644 --- a/src/models/transaction-process-request.ts +++ b/src/models/transaction-process-request.ts @@ -19,51 +19,51 @@ import type { ProcessRequestImage } from './process-request-image'; import type { ProcessSystemInfo } from './process-system-info'; /** -* -* @export -* @interface TransactionProcessRequest -*/ + * + * @export + * @interface TransactionProcessRequest + */ export interface TransactionProcessRequest { /** - * - * @type {ProcessParams} - * @memberof TransactionProcessRequest - */ + * + * @type {ProcessParams} + * @memberof TransactionProcessRequest + */ processParam: ProcessParams; /** - * - * @type {Array} - * @memberof TransactionProcessRequest - */ + * + * @type {Array} + * @memberof TransactionProcessRequest + */ List?: Array; /** - * Live portrait photo - * @type {string} - * @memberof TransactionProcessRequest - */ + * Live portrait photo + * @type {string} + * @memberof TransactionProcessRequest + */ livePortrait?: string; /** - * Portrait photo from an external source - * @type {string} - * @memberof TransactionProcessRequest - */ + * Portrait photo from an external source + * @type {string} + * @memberof TransactionProcessRequest + */ extPortrait?: string; /** - * - * @type {ContainerList} - * @memberof TransactionProcessRequest - */ + * + * @type {ContainerList} + * @memberof TransactionProcessRequest + */ ContainerList?: ContainerList; /** - * - * @type {ProcessSystemInfo} - * @memberof TransactionProcessRequest - */ + * + * @type {ProcessSystemInfo} + * @memberof TransactionProcessRequest + */ systemInfo?: ProcessSystemInfo; /** - * 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. - * @type {{ [key: string]: object; }} - * @memberof TransactionProcessRequest - */ + * 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. + * @type {{ [key: string]: object; }} + * @memberof TransactionProcessRequest + */ passBackObject?: { [key: string]: object; }; } diff --git a/src/models/transaction-process-response-all-of.ts b/src/models/transaction-process-response-all-of.ts index 46e84cd2..a9e482ea 100644 --- a/src/models/transaction-process-response-all-of.ts +++ b/src/models/transaction-process-response-all-of.ts @@ -15,15 +15,15 @@ /** -* -* @export -* @interface TransactionProcessResponseAllOf -*/ + * + * @export + * @interface TransactionProcessResponseAllOf + */ export interface TransactionProcessResponseAllOf { /** - * - * @type {number} - * @memberof TransactionProcessResponseAllOf - */ + * + * @type {number} + * @memberof TransactionProcessResponseAllOf + */ CoreLibResultCode: number; } diff --git a/src/models/transaction-process-result.ts b/src/models/transaction-process-result.ts index 48a7c0ab..b657f080 100644 --- a/src/models/transaction-process-result.ts +++ b/src/models/transaction-process-result.ts @@ -17,33 +17,33 @@ import type { InData } from './in-data'; import type { OutData } from './out-data'; /** -* -* @export -* @interface TransactionProcessResult -*/ + * + * @export + * @interface TransactionProcessResult + */ export interface TransactionProcessResult { /** - * - * @type {OutData} - * @memberof TransactionProcessResult - */ + * + * @type {OutData} + * @memberof TransactionProcessResult + */ OutData?: OutData; /** - * - * @type {InData} - * @memberof TransactionProcessResult - */ + * + * @type {InData} + * @memberof TransactionProcessResult + */ InData?: InData; /** - * - * @type {string} - * @memberof TransactionProcessResult - */ + * + * @type {string} + * @memberof TransactionProcessResult + */ tag?: string; /** - * - * @type {string} - * @memberof TransactionProcessResult - */ + * + * @type {string} + * @memberof TransactionProcessResult + */ transactionId?: string; } diff --git a/src/models/trf-ft-bytes.ts b/src/models/trf-ft-bytes.ts index c11f922d..42092bce 100644 --- a/src/models/trf-ft-bytes.ts +++ b/src/models/trf-ft-bytes.ts @@ -17,33 +17,33 @@ import type { GraphicFieldType } from './graphic-field-type'; import type { TextFieldType } from './text-field-type'; /** -* Structure is used to store an array of binary information that is a part of one of the informational data groups -* @export -* @interface TrfFtBytes -*/ + * Structure is used to store an array of binary information that is a part of one of the informational data groups + * @export + * @interface TrfFtBytes + */ export interface TrfFtBytes { /** - * Logical type of the field - * @type {GraphicFieldType | TextFieldType} - * @memberof TrfFtBytes - */ + * Logical type of the field + * @type {GraphicFieldType | TextFieldType} + * @memberof TrfFtBytes + */ Type: GraphicFieldType | TextFieldType; /** - * Result of logical analysis of compliance of the contents of the field with the requirements of the specification - * @type {number} - * @memberof TrfFtBytes - */ + * Result of logical analysis of compliance of the contents of the field with the requirements of the specification + * @type {number} + * @memberof TrfFtBytes + */ Status: number; /** - * Length of Data array - * @type {number} - * @memberof TrfFtBytes - */ + * Length of Data array + * @type {number} + * @memberof TrfFtBytes + */ Length: number; /** - * Binary data array. Base64 encoded. - * @type {string} - * @memberof TrfFtBytes - */ + * Binary data array. Base64 encoded. + * @type {string} + * @memberof TrfFtBytes + */ Data: string; } diff --git a/src/models/trf-ft-string.ts b/src/models/trf-ft-string.ts index da34739c..d7acfca6 100644 --- a/src/models/trf-ft-string.ts +++ b/src/models/trf-ft-string.ts @@ -19,33 +19,33 @@ import type { ParsingNotificationCodes } from './parsing-notification-codes'; import type { TextFieldType } from './text-field-type'; /** -* Structure is used to store information about the numeric field (4 bytes) that is a part of one of the informational data groups. -* @export -* @interface TrfFtString -*/ + * Structure is used to store information about the numeric field (4 bytes) that is a part of one of the informational data groups. + * @export + * @interface TrfFtString + */ export interface TrfFtString { /** - * - * @type {GraphicFieldType | TextFieldType} - * @memberof TrfFtString - */ + * + * @type {GraphicFieldType | TextFieldType} + * @memberof TrfFtString + */ Type: GraphicFieldType | TextFieldType; /** - * Result of logical analysis of compliance of the contents of the field with the requirements of the specification - * @type {ParsingNotificationCodes | ParsingErrorCodes} - * @memberof TrfFtString - */ + * Result of logical analysis of compliance of the contents of the field with the requirements of the specification + * @type {ParsingNotificationCodes | ParsingErrorCodes} + * @memberof TrfFtString + */ Status: ParsingNotificationCodes | ParsingErrorCodes; /** - * Mask of format of text information (for example, «YYMMDD» for date of birth) - * @type {string} - * @memberof TrfFtString - */ + * Mask of format of text information (for example, «YYMMDD» for date of birth) + * @type {string} + * @memberof TrfFtString + */ Format: string; /** - * Numeric value. - * @type {string} - * @memberof TrfFtString - */ + * Numeric value. + * @type {string} + * @memberof TrfFtString + */ Data: string; } diff --git a/src/models/verification-result.ts b/src/models/verification-result.ts index df2b024d..03ac993c 100644 --- a/src/models/verification-result.ts +++ b/src/models/verification-result.ts @@ -15,33 +15,30 @@ /** -* -* @export -* @enum {string} -*/ - -export const VerificationResult = { + * + * @export + * @enum {string} + */ +export enum VerificationResult { /** * Comparison result unknown */ - DISABLED: 0, + DISABLED = 0, /** * Verification passed */ - VERIFIED: 1, + VERIFIED = 1, /** * Verification failed */ - NOT_VERIFIED: 2, + NOT_VERIFIED = 2, /** * Positive comparison result */ - COMPARE_MATCH: 3, + COMPARE_MATCH = 3, /** * Negative comparison result */ - COMPARE_NOT_MATCH: 4 -} as const; - -export type VerificationResult = typeof VerificationResult[keyof typeof VerificationResult]; + COMPARE_NOT_MATCH = 4 +} diff --git a/src/models/verified-field-map.ts b/src/models/verified-field-map.ts index ddfae2cb..c619b673 100644 --- a/src/models/verified-field-map.ts +++ b/src/models/verified-field-map.ts @@ -18,51 +18,51 @@ import type { TextFieldType } from './text-field-type'; import type { VerificationResult } from './verification-result'; /** -* -* @export -* @interface VerifiedFieldMap -*/ + * + * @export + * @interface VerifiedFieldMap + */ export interface VerifiedFieldMap { /** - * - * @type {TextFieldType} - * @memberof VerifiedFieldMap - */ + * + * @type {TextFieldType} + * @memberof VerifiedFieldMap + */ wFieldType: TextFieldType; /** - * - * @type {LCID} - * @memberof VerifiedFieldMap - */ + * + * @type {LCID} + * @memberof VerifiedFieldMap + */ wLCID: LCID; /** - * Field data extracted from mrz(machine readable zone) - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from mrz(machine readable zone) + * @type {string} + * @memberof VerifiedFieldMap + */ Field_MRZ?: string; /** - * Field data extracted from visual zone - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from visual zone + * @type {string} + * @memberof VerifiedFieldMap + */ Field_Visual?: string; /** - * Field data extracted from barcode - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from barcode + * @type {string} + * @memberof VerifiedFieldMap + */ Field_Barcode?: string; /** - * Field data extracted from rfid chip - * @type {string} - * @memberof VerifiedFieldMap - */ + * Field data extracted from rfid chip + * @type {string} + * @memberof VerifiedFieldMap + */ Field_RFID?: string; /** - * results comparison matrix. Elements of the matrix with indices 0, 1, 2, 3 take one of the values Disabled(0), Verified(1) or Not_Verified(2), elements with indices 4, 5, 6, 7, 8 are one of the values Disabled(0), Compare_Match(3) or Compare_Not_Match(4). Elements of the Matrix matrix have the following semantic meaning: - element with index 0 –– the result of verification of data from the MRZ; - 1 –– the result of verification of data from the RFID microcircuit; - 2 –– the result of verification of data from text areas of the document; - 3 –– the result of verification data from barcodes; - 4 - the result of comparing MRZ data and RFID microcircuits; - 5 - the result of comparing MRZ data and text areas of document filling; - 6 - the result of comparing MRZ data and bar codes; - 7 - the result of comparing the data of text areas of the document and the RFID chip; - 8 - the result of comparing the data of the text areas of the document and barcodes; - 9 - the result of comparing the data of the RFID chip and barcodes. - * @type {Array} - * @memberof VerifiedFieldMap - */ + * results comparison matrix. Elements of the matrix with indices 0, 1, 2, 3 take one of the values Disabled(0), Verified(1) or Not_Verified(2), elements with indices 4, 5, 6, 7, 8 are one of the values Disabled(0), Compare_Match(3) or Compare_Not_Match(4). Elements of the Matrix matrix have the following semantic meaning: - element with index 0 –– the result of verification of data from the MRZ; - 1 –– the result of verification of data from the RFID microcircuit; - 2 –– the result of verification of data from text areas of the document; - 3 –– the result of verification data from barcodes; - 4 - the result of comparing MRZ data and RFID microcircuits; - 5 - the result of comparing MRZ data and text areas of document filling; - 6 - the result of comparing MRZ data and bar codes; - 7 - the result of comparing the data of text areas of the document and the RFID chip; - 8 - the result of comparing the data of the text areas of the document and barcodes; - 9 - the result of comparing the data of the RFID chip and barcodes. + * @type {Array} + * @memberof VerifiedFieldMap + */ Matrix: Array; } diff --git a/src/models/visibility.ts b/src/models/visibility.ts index b03f4b86..125b2b6f 100644 --- a/src/models/visibility.ts +++ b/src/models/visibility.ts @@ -15,33 +15,30 @@ /** -* Enumeration contains visibility status of the security element -* @export -* @enum {string} -*/ - -export const Visibility = { + * Enumeration contains visibility status of the security element + * @export + * @enum {string} + */ +export enum Visibility { /** * Invisible */ - INVISIBLE: 0, + INVISIBLE = 0, /** * Visible */ - VISIBLE: 1, + VISIBLE = 1, /** * Colored */ - COLORED: 2, + COLORED = 2, /** * Grayscale */ - GRAYSCALE: 4, + GRAYSCALE = 4, /** * Visible vs IR match */ - WHITE_IR_MATCHING: 8 -} as const; - -export type Visibility = typeof Visibility[keyof typeof Visibility]; + WHITE_IR_MATCHING = 8 +} From 27c68b8cade351bc58e48d885d3c67f5e5cda4c7 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Tue, 22 Oct 2024 12:15:53 +0300 Subject: [PATCH 3/4] SP-18211 - add RFIDPKDResourceType enum --- src/.openapi-generator/FILES | 1 + src/api/healthcheck-api.ts | 292 +++++++++++++++++++++++++++++ src/models/index.ts | 1 + src/models/rfidpkdresource-type.ts | 56 ++++++ 4 files changed, 350 insertions(+) create mode 100644 src/api/healthcheck-api.ts create mode 100644 src/models/rfidpkdresource-type.ts diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index 08304040..5d19e9e3 100755 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -163,6 +163,7 @@ models/rfid-terminal.ts models/rfid-type.ts models/rfid-validity.ts models/rfiderror-codes.ts +models/rfidpkdresource-type.ts models/scenario.ts models/security-feature-result-all-of.ts models/security-feature-result.ts diff --git a/src/api/healthcheck-api.ts b/src/api/healthcheck-api.ts new file mode 100644 index 00000000..49d27d16 --- /dev/null +++ b/src/api/healthcheck-api.ts @@ -0,0 +1,292 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import globalAxios, { AxiosPromise, AxiosInstance } from 'axios'; +import { Configuration } from '../configuration'; +// Some imports not used depending on template conditions +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; +// @ts-ignore +import { DeviceInfo } from '../models'; +// @ts-ignore +import { DeviceInfoDeprecated } from '../models'; +/** + * HealthcheckApi - axios parameter creator + * @export + */ +export const HealthcheckApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Server healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + healthz: async (xRequestID?: string, options: any = {}): Promise => { + const localVarPath = `/api/healthz`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (xRequestID !== undefined && xRequestID !== null) { + localVarHeaderParameter['X-RequestID'] = String(xRequestID); + } + + + + const queryParameters = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + queryParameters.set(key, localVarQueryParameter[key]); + } + for (const key in options.query) { + queryParameters.set(key, options.query[key]); + } + localVarUrlObj.search = (new URLSearchParams(queryParameters)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Server health check + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ping: async (xRequestID?: string, options: any = {}): Promise => { + const localVarPath = `/api/ping`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (xRequestID !== undefined && xRequestID !== null) { + localVarHeaderParameter['X-RequestID'] = String(xRequestID); + } + + + + const queryParameters = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + queryParameters.set(key, localVarQueryParameter[key]); + } + for (const key in options.query) { + queryParameters.set(key, options.query[key]); + } + localVarUrlObj.search = (new URLSearchParams(queryParameters)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + /** + * + * @summary License healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + readyz: async (xRequestID?: string, options: any = {}): Promise => { + const localVarPath = `/api/readyz`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, 'https://example.com'); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (xRequestID !== undefined && xRequestID !== null) { + localVarHeaderParameter['X-RequestID'] = String(xRequestID); + } + + + + const queryParameters = new URLSearchParams(localVarUrlObj.search); + for (const key in localVarQueryParameter) { + queryParameters.set(key, localVarQueryParameter[key]); + } + for (const key in options.query) { + queryParameters.set(key, options.query[key]); + } + localVarUrlObj.search = (new URLSearchParams(queryParameters)).toString(); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * HealthcheckApi - functional programming interface + * @export + */ +export const HealthcheckApiFp = function(configuration?: Configuration) { + return { + /** + * + * @summary Server healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async healthz(xRequestID?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HealthcheckApiAxiosParamCreator(configuration).healthz(xRequestID, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * + * @summary Server health check + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async ping(xRequestID?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HealthcheckApiAxiosParamCreator(configuration).ping(xRequestID, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + /** + * + * @summary License healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async readyz(xRequestID?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await HealthcheckApiAxiosParamCreator(configuration).readyz(xRequestID, options); + return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url}; + return axios.request(axiosRequestArgs); + }; + }, + } +}; + +/** + * HealthcheckApi - factory interface + * @export + */ +export const HealthcheckApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + return { + /** + * + * @summary Server healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + healthz(xRequestID?: string, options?: any): AxiosPromise { + return HealthcheckApiFp(configuration).healthz(xRequestID, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Server health check + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + ping(xRequestID?: string, options?: any): AxiosPromise { + return HealthcheckApiFp(configuration).ping(xRequestID, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary License healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + readyz(xRequestID?: string, options?: any): AxiosPromise { + return HealthcheckApiFp(configuration).readyz(xRequestID, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * HealthcheckApi - object-oriented interface + * @export + * @class HealthcheckApi + * @extends {BaseAPI} + */ +export class HealthcheckApi extends BaseAPI { + /** + * + * @summary Server healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HealthcheckApi + */ + public healthz(xRequestID?: string, options?: any) { + return HealthcheckApiFp(this.configuration).healthz(xRequestID, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Server health check + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HealthcheckApi + */ + public ping(xRequestID?: string, options?: any) { + return HealthcheckApiFp(this.configuration).ping(xRequestID, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary License healthcheck + * @param {string} [xRequestID] + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof HealthcheckApi + */ + public readyz(xRequestID?: string, options?: any) { + return HealthcheckApiFp(this.configuration).readyz(xRequestID, options).then((request) => request(this.axios, this.basePath)); + } +} diff --git a/src/models/index.ts b/src/models/index.ts index 23940d55..e13b7f57 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -121,6 +121,7 @@ export * from './process-response'; export * from './process-system-info'; export * from './processing-status'; export * from './rfiderror-codes'; +export * from './rfidpkdresource-type'; export * from './raw-image-container-field-list'; export * from './raw-image-container-field-list-all-of'; export * from './raw-image-container-list'; diff --git a/src/models/rfidpkdresource-type.ts b/src/models/rfidpkdresource-type.ts new file mode 100644 index 00000000..de272d0b --- /dev/null +++ b/src/models/rfidpkdresource-type.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Regula Document Reader Web API + * 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 + * + * The version of the OpenAPI document: 7.4.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * Enumeration contains a set of constants that define the type of certificate + * @export + * @enum {string} + */ +export enum RFIDPKDResourceType { + /** + * Certificate file contents (.pem, .cer, .crt, .der) + */ + CERTIFICATE_PA = 0, + /** + * Certificate file contents (.cvcert) and private key file contents (.pkcs8) + */ + CERTIFICATE_TA = 1, + /** + * LDIF file contents (.ldif) + */ + LDIF = 2, + /** + * CRL file contents (.crl) + */ + CRL = 3, + /** + * Master List (.ml, .mls) + */ + ML = 4, + /** + * Defect List (.dl, .dls, .dfl) + */ + DEFL = 5, + /** + * Deviance List (.dl, .dls, .dvl) + */ + DEVL = 6, + /** + * Black List (.bl, .bls) + */ + BL = 7 +} + From 1982f51edd5b2127ddf778c3201822bb293e9839 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Fri, 1 Nov 2024 13:37:37 +0300 Subject: [PATCH 4/4] SP-18211 - update sh script --- src/api/healthcheck-api.ts | 2 +- src/api/process-api.ts | 2 +- src/api/transaction-api.ts | 2 +- src/base.ts | 2 +- src/configuration.ts | 2 +- src/models/area-array.ts | 2 +- src/models/area-container.ts | 2 +- src/models/auth-params.ts | 2 +- src/models/authenticity-check-list.ts | 2 +- src/models/authenticity-check-result-item.ts | 2 +- src/models/authenticity-check-result.ts | 2 +- src/models/authenticity-result-all-of.ts | 2 +- src/models/authenticity-result-type.ts | 2 +- src/models/authenticity-result.ts | 17 ++++++++- src/models/bar-code-module-type.ts | 2 +- src/models/barcode-type.ts | 2 +- src/models/bc-pdf417-info.ts | 2 +- src/models/bc-roidetect.ts | 2 +- src/models/binary-data.ts | 2 +- src/models/check-diagnose.ts | 2 +- src/models/check-result.ts | 2 +- .../chosen-document-type-result-all-of.ts | 2 +- src/models/chosen-document-type-result.ts | 17 ++++++++- src/models/chosen-document-type.ts | 2 +- src/models/container-list.ts | 2 +- src/models/critical.ts | 2 +- src/models/cross-source-value-comparison.ts | 2 +- src/models/data-module.ts | 2 +- src/models/details-optical.ts | 2 +- src/models/details-rfid.ts | 2 +- src/models/device-info-deprecated.ts | 2 +- src/models/device-info.ts | 2 +- src/models/doc-bar-code-info-all-of.ts | 2 +- src/models/doc-bar-code-info-fields-list.ts | 2 +- src/models/doc-bar-code-info.ts | 17 ++++++++- .../doc-visual-extended-field-rect-all-of.ts | 2 +- src/models/doc-visual-extended-field-rect.ts | 2 +- .../doc-visual-extended-field-rfid-all-of.ts | 2 +- src/models/doc-visual-extended-field-rfid.ts | 2 +- src/models/doc-visual-extended-field.ts | 2 +- src/models/doc-visual-extended-info.ts | 2 +- .../document-binary-info-result-all-of.ts | 2 +- src/models/document-binary-info-result.ts | 17 ++++++++- src/models/document-format.ts | 2 +- src/models/document-image-result-all-of.ts | 2 +- src/models/document-image-result.ts | 17 ++++++++- src/models/document-image.ts | 2 +- src/models/document-position-result-all-of.ts | 2 +- src/models/document-position-result.ts | 17 ++++++++- src/models/document-position.ts | 2 +- .../document-type-recognition-result.ts | 2 +- src/models/document-type.ts | 2 +- src/models/document-types-candidates-list.ts | 2 +- ...document-types-candidates-result-all-of.ts | 2 +- .../document-types-candidates-result.ts | 17 ++++++++- src/models/document-types-candidates.ts | 2 +- src/models/documents-database.ts | 2 +- src/models/encrypted-rclresult-all-of.ts | 2 +- src/models/encrypted-rclresult.ts | 17 ++++++++- src/models/face-api-search.ts | 2 +- src/models/face-api.ts | 2 +- src/models/fdsidlist.ts | 2 +- src/models/fiber-result-all-of.ts | 2 +- src/models/fiber-result.ts | 2 +- .../get-transactions-by-tag-response.ts | 2 +- src/models/graphic-field-rect.ts | 2 +- src/models/graphic-field-rfid-all-of.ts | 2 +- src/models/graphic-field-rfid.ts | 2 +- src/models/graphic-field-type.ts | 2 +- src/models/graphic-field.ts | 2 +- src/models/graphic-fields-list.ts | 2 +- src/models/graphics-result-all-of.ts | 2 +- src/models/graphics-result.ts | 17 ++++++++- src/models/ident-result-all-of.ts | 2 +- src/models/ident-result.ts | 2 +- src/models/image-data.ts | 2 +- src/models/image-qa.ts | 2 +- src/models/image-quality-check-list.ts | 2 +- src/models/image-quality-check-type.ts | 2 +- src/models/image-quality-check.ts | 2 +- src/models/image-quality-result-all-of.ts | 2 +- src/models/image-quality-result.ts | 17 ++++++++- src/models/image-transaction-data.ts | 2 +- src/models/images-available-source.ts | 2 +- src/models/images-field-value.ts | 2 +- src/models/images-field.ts | 2 +- src/models/images-result-all-of.ts | 2 +- src/models/images-result.ts | 17 ++++++++- src/models/images.ts | 2 +- .../in-data-transaction-images-field-value.ts | 2 +- src/models/in-data-video.ts | 2 +- src/models/in-data.ts | 2 +- src/models/lcid.ts | 2 +- src/models/lexical-analysis-result-all-of.ts | 2 +- src/models/lexical-analysis-result.ts | 17 ++++++++- src/models/license-result-all-of.ts | 2 +- src/models/license-result.ts | 17 ++++++++- src/models/light.ts | 2 +- .../list-transactions-by-tag-response.ts | 2 +- src/models/list-verified-fields.ts | 2 +- src/models/liveness-params.ts | 2 +- src/models/log-level.ts | 2 +- src/models/measure-system.ts | 2 +- src/models/mrz-detect-mode-enum.ts | 2 +- src/models/mrzformat.ts | 2 +- src/models/ocrsecurity-text-result-all-of.ts | 2 +- src/models/ocrsecurity-text-result.ts | 2 +- src/models/one-candidate.ts | 2 +- src/models/original-symbol.ts | 2 +- ...out-data-transaction-images-field-value.ts | 2 +- src/models/out-data.ts | 2 +- src/models/parray-field.ts | 2 +- src/models/parsing-error-codes.ts | 2 +- src/models/parsing-notification-codes.ts | 2 +- src/models/per-document-config.ts | 2 +- src/models/photo-ident-result-all-of.ts | 2 +- src/models/photo-ident-result.ts | 2 +- src/models/point-array.ts | 2 +- src/models/point.ts | 2 +- src/models/points-container.ts | 2 +- src/models/process-params-rfid.ts | 2 +- src/models/process-params.ts | 8 +---- src/models/process-request-image.ts | 2 +- src/models/process-request.ts | 2 +- src/models/process-response.ts | 2 +- src/models/process-system-info.ts | 2 +- src/models/processing-status.ts | 2 +- .../raw-image-container-field-list-all-of.ts | 2 +- src/models/raw-image-container-field-list.ts | 2 +- src/models/raw-image-container-list.ts | 2 +- src/models/rectangle-coordinates.ts | 2 +- src/models/result-item.ts | 18 +++++++++- src/models/result.ts | 2 +- src/models/rfid-access-control-info.ts | 2 +- .../rfid-access-control-procedure-type.ts | 2 +- src/models/rfid-access-key.ts | 2 +- src/models/rfid-achip.ts | 2 +- src/models/rfid-application-type.ts | 18 +++++++++- src/models/rfid-application.ts | 2 +- src/models/rfid-attribute-data.ts | 2 +- src/models/rfid-attribute-name.ts | 2 +- .../rfid-authentication-procedure-type.ts | 2 +- src/models/rfid-baud-rate.ts | 2 +- src/models/rfid-card-properties-ext.ts | 2 +- src/models/rfid-certificate-ex.ts | 2 +- src/models/rfid-certificate-origin.ts | 2 +- src/models/rfid-certificate-type.ts | 2 +- src/models/rfid-data-file-type.ts | 7 +++- src/models/rfid-data-file.ts | 2 +- src/models/rfid-data-group-type-tag.ts | 2 +- src/models/rfid-dg1.ts | 2 +- src/models/rfid-distinguished-name.ts | 2 +- src/models/rfid-location.ts | 2 +- src/models/rfid-origin.ts | 2 +- src/models/rfid-password-type.ts | 2 +- src/models/rfid-pki-extension.ts | 2 +- src/models/rfid-security-object.ts | 2 +- src/models/rfid-session-data.ts | 2 +- src/models/rfid-signer-info-ex.ts | 2 +- src/models/rfid-terminal-type.ts | 2 +- src/models/rfid-terminal.ts | 2 +- src/models/rfid-type.ts | 2 +- src/models/rfid-validity.ts | 2 +- src/models/rfiderror-codes.ts | 2 +- src/models/rfidpkdresource-type.ts | 2 +- src/models/scenario.ts | 2 +- src/models/security-feature-result-all-of.ts | 2 +- src/models/security-feature-result.ts | 2 +- src/models/security-feature-type.ts | 2 +- src/models/source-validity.ts | 2 +- src/models/source.ts | 2 +- src/models/status-result-all-of.ts | 2 +- src/models/status-result.ts | 17 ++++++++- src/models/status.ts | 2 +- src/models/string-recognition-result.ts | 2 +- src/models/symbol-candidate.ts | 2 +- src/models/symbol-recognition-result.ts | 2 +- src/models/tdoc-binary-info.ts | 2 +- src/models/text-available-source.ts | 2 +- src/models/text-data-result-all-of.ts | 2 +- src/models/text-data-result.ts | 17 ++++++++- src/models/text-field-type.ts | 2 +- src/models/text-field-value.ts | 2 +- src/models/text-field.ts | 2 +- src/models/text-post-processing.ts | 2 +- src/models/text-result-all-of.ts | 2 +- src/models/text-result.ts | 17 ++++++++- src/models/text.ts | 2 +- src/models/transaction-image.ts | 2 +- src/models/transaction-info.ts | 2 +- .../transaction-process-get-response.ts | 2 +- src/models/transaction-process-request.ts | 2 +- .../transaction-process-response-all-of.ts | 2 +- src/models/transaction-process-response.ts | 2 +- src/models/transaction-process-result.ts | 2 +- src/models/trf-ft-bytes.ts | 2 +- src/models/trf-ft-string.ts | 2 +- src/models/verification-result.ts | 2 +- src/models/verified-field-map.ts | 2 +- src/models/visibility.ts | 2 +- update-models.sh | 36 +++++++++++++++++++ 201 files changed, 513 insertions(+), 206 deletions(-) diff --git a/src/api/healthcheck-api.ts b/src/api/healthcheck-api.ts index 49d27d16..5cb92b4c 100644 --- a/src/api/healthcheck-api.ts +++ b/src/api/healthcheck-api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/api/process-api.ts b/src/api/process-api.ts index a2895964..b8e4e70f 100644 --- a/src/api/process-api.ts +++ b/src/api/process-api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/api/transaction-api.ts b/src/api/transaction-api.ts index e199181e..40764586 100644 --- a/src/api/transaction-api.ts +++ b/src/api/transaction-api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/base.ts b/src/base.ts index bf285aae..e04df392 100755 --- a/src/base.ts +++ b/src/base.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/configuration.ts b/src/configuration.ts index 287bc6d1..9cbf195a 100755 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/area-array.ts b/src/models/area-array.ts index 20aab6ac..aca2c66d 100644 --- a/src/models/area-array.ts +++ b/src/models/area-array.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/area-container.ts b/src/models/area-container.ts index f74b1a45..ca8aba36 100644 --- a/src/models/area-container.ts +++ b/src/models/area-container.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/auth-params.ts b/src/models/auth-params.ts index 719a5bd5..5cb6e550 100644 --- a/src/models/auth-params.ts +++ b/src/models/auth-params.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-check-list.ts b/src/models/authenticity-check-list.ts index 8a8797fd..3ca4fe1c 100644 --- a/src/models/authenticity-check-list.ts +++ b/src/models/authenticity-check-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-check-result-item.ts b/src/models/authenticity-check-result-item.ts index a5625d93..e895c32f 100644 --- a/src/models/authenticity-check-result-item.ts +++ b/src/models/authenticity-check-result-item.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-check-result.ts b/src/models/authenticity-check-result.ts index 281e79cd..0f9b67fd 100644 --- a/src/models/authenticity-check-result.ts +++ b/src/models/authenticity-check-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-result-all-of.ts b/src/models/authenticity-result-all-of.ts index adcc40d4..4e1db045 100644 --- a/src/models/authenticity-result-all-of.ts +++ b/src/models/authenticity-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-result-type.ts b/src/models/authenticity-result-type.ts index 6adff1c4..ee8f76d7 100644 --- a/src/models/authenticity-result-type.ts +++ b/src/models/authenticity-result-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/authenticity-result.ts b/src/models/authenticity-result.ts index 88d83bdb..288ed221 100644 --- a/src/models/authenticity-result.ts +++ b/src/models/authenticity-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -15,7 +15,22 @@ import type { AuthenticityCheckList } from './authenticity-check-list'; import type { AuthenticityResultAllOf } from './authenticity-result-all-of'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type AuthenticityResult diff --git a/src/models/bar-code-module-type.ts b/src/models/bar-code-module-type.ts index 5e363aee..0ea7547e 100644 --- a/src/models/bar-code-module-type.ts +++ b/src/models/bar-code-module-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/barcode-type.ts b/src/models/barcode-type.ts index 78443750..0d61d95a 100644 --- a/src/models/barcode-type.ts +++ b/src/models/barcode-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/bc-pdf417-info.ts b/src/models/bc-pdf417-info.ts index d62885cb..8f2fa3ae 100644 --- a/src/models/bc-pdf417-info.ts +++ b/src/models/bc-pdf417-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/bc-roidetect.ts b/src/models/bc-roidetect.ts index 2cbbfb5c..52986583 100644 --- a/src/models/bc-roidetect.ts +++ b/src/models/bc-roidetect.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/binary-data.ts b/src/models/binary-data.ts index 47ed4682..8a18b15b 100644 --- a/src/models/binary-data.ts +++ b/src/models/binary-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/check-diagnose.ts b/src/models/check-diagnose.ts index b4f2f7c7..a0800ca8 100644 --- a/src/models/check-diagnose.ts +++ b/src/models/check-diagnose.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/check-result.ts b/src/models/check-result.ts index b5b5d224..c0357ab9 100644 --- a/src/models/check-result.ts +++ b/src/models/check-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/chosen-document-type-result-all-of.ts b/src/models/chosen-document-type-result-all-of.ts index 067600ad..eb715b4d 100644 --- a/src/models/chosen-document-type-result-all-of.ts +++ b/src/models/chosen-document-type-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/chosen-document-type-result.ts b/src/models/chosen-document-type-result.ts index 2aa4c2f0..eec0d66e 100644 --- a/src/models/chosen-document-type-result.ts +++ b/src/models/chosen-document-type-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; import type { ChosenDocumentTypeResultAllOf } from './chosen-document-type-result-all-of'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { OneCandidate } from './one-candidate'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type ChosenDocumentTypeResult diff --git a/src/models/chosen-document-type.ts b/src/models/chosen-document-type.ts index a296fc7d..33f0743e 100644 --- a/src/models/chosen-document-type.ts +++ b/src/models/chosen-document-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/container-list.ts b/src/models/container-list.ts index f3420df8..91ceb2ba 100644 --- a/src/models/container-list.ts +++ b/src/models/container-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/critical.ts b/src/models/critical.ts index b13054b5..6bc2087f 100644 --- a/src/models/critical.ts +++ b/src/models/critical.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/cross-source-value-comparison.ts b/src/models/cross-source-value-comparison.ts index 4e6e9056..6b67966a 100644 --- a/src/models/cross-source-value-comparison.ts +++ b/src/models/cross-source-value-comparison.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/data-module.ts b/src/models/data-module.ts index 6c4c730d..c42b6b22 100644 --- a/src/models/data-module.ts +++ b/src/models/data-module.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/details-optical.ts b/src/models/details-optical.ts index bfd285ec..a8fb2d91 100644 --- a/src/models/details-optical.ts +++ b/src/models/details-optical.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/details-rfid.ts b/src/models/details-rfid.ts index 9d9342bf..2098079d 100644 --- a/src/models/details-rfid.ts +++ b/src/models/details-rfid.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/device-info-deprecated.ts b/src/models/device-info-deprecated.ts index 5e550b3e..ba28aa39 100644 --- a/src/models/device-info-deprecated.ts +++ b/src/models/device-info-deprecated.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/device-info.ts b/src/models/device-info.ts index e4c87c70..fe44c353 100644 --- a/src/models/device-info.ts +++ b/src/models/device-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-bar-code-info-all-of.ts b/src/models/doc-bar-code-info-all-of.ts index da452bb8..021bee28 100644 --- a/src/models/doc-bar-code-info-all-of.ts +++ b/src/models/doc-bar-code-info-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-bar-code-info-fields-list.ts b/src/models/doc-bar-code-info-fields-list.ts index a0854498..decbf9b6 100644 --- a/src/models/doc-bar-code-info-fields-list.ts +++ b/src/models/doc-bar-code-info-fields-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-bar-code-info.ts b/src/models/doc-bar-code-info.ts index cf3c2cce..73e76f99 100644 --- a/src/models/doc-bar-code-info.ts +++ b/src/models/doc-bar-code-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; import type { DocBarCodeInfoAllOf } from './doc-bar-code-info-all-of'; import type { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type DocBarCodeInfo diff --git a/src/models/doc-visual-extended-field-rect-all-of.ts b/src/models/doc-visual-extended-field-rect-all-of.ts index b2f602d9..f32c23ed 100644 --- a/src/models/doc-visual-extended-field-rect-all-of.ts +++ b/src/models/doc-visual-extended-field-rect-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-visual-extended-field-rect.ts b/src/models/doc-visual-extended-field-rect.ts index 96028da3..7db6f9eb 100644 --- a/src/models/doc-visual-extended-field-rect.ts +++ b/src/models/doc-visual-extended-field-rect.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-visual-extended-field-rfid-all-of.ts b/src/models/doc-visual-extended-field-rfid-all-of.ts index 22645e80..4d8c5347 100644 --- a/src/models/doc-visual-extended-field-rfid-all-of.ts +++ b/src/models/doc-visual-extended-field-rfid-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-visual-extended-field-rfid.ts b/src/models/doc-visual-extended-field-rfid.ts index 5bb93fa7..594820fd 100644 --- a/src/models/doc-visual-extended-field-rfid.ts +++ b/src/models/doc-visual-extended-field-rfid.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-visual-extended-field.ts b/src/models/doc-visual-extended-field.ts index e346faa4..b6793a57 100644 --- a/src/models/doc-visual-extended-field.ts +++ b/src/models/doc-visual-extended-field.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/doc-visual-extended-info.ts b/src/models/doc-visual-extended-info.ts index 55580cd2..90399059 100644 --- a/src/models/doc-visual-extended-info.ts +++ b/src/models/doc-visual-extended-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-binary-info-result-all-of.ts b/src/models/document-binary-info-result-all-of.ts index 3e5e7b91..e0d94373 100644 --- a/src/models/document-binary-info-result-all-of.ts +++ b/src/models/document-binary-info-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-binary-info-result.ts b/src/models/document-binary-info-result.ts index e82c2b4e..17145f1c 100644 --- a/src/models/document-binary-info-result.ts +++ b/src/models/document-binary-info-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; import type { DocumentBinaryInfoResultAllOf } from './document-binary-info-result-all-of'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; import type { TDocBinaryInfo } from './tdoc-binary-info'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type DocumentBinaryInfoResult diff --git a/src/models/document-format.ts b/src/models/document-format.ts index 82f6baa4..d14c7268 100644 --- a/src/models/document-format.ts +++ b/src/models/document-format.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-image-result-all-of.ts b/src/models/document-image-result-all-of.ts index d887c1eb..ecf126ab 100644 --- a/src/models/document-image-result-all-of.ts +++ b/src/models/document-image-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-image-result.ts b/src/models/document-image-result.ts index 1d55c032..29c72214 100644 --- a/src/models/document-image-result.ts +++ b/src/models/document-image-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; import type { DocumentImageResultAllOf } from './document-image-result-all-of'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { RawImageContainerFieldList } from './raw-image-container-field-list'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type DocumentImageResult diff --git a/src/models/document-image.ts b/src/models/document-image.ts index 12b87fca..0ee1715b 100644 --- a/src/models/document-image.ts +++ b/src/models/document-image.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-position-result-all-of.ts b/src/models/document-position-result-all-of.ts index 92888d47..4cd3a75b 100644 --- a/src/models/document-position-result-all-of.ts +++ b/src/models/document-position-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-position-result.ts b/src/models/document-position-result.ts index c5a0dc5d..d1502bc5 100644 --- a/src/models/document-position-result.ts +++ b/src/models/document-position-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; import type { DocumentPosition } from './document-position'; import type { DocumentPositionResultAllOf } from './document-position-result-all-of'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type DocumentPositionResult diff --git a/src/models/document-position.ts b/src/models/document-position.ts index fa4b52b5..0d03a79f 100644 --- a/src/models/document-position.ts +++ b/src/models/document-position.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-type-recognition-result.ts b/src/models/document-type-recognition-result.ts index 8aa1268b..c5f787f7 100644 --- a/src/models/document-type-recognition-result.ts +++ b/src/models/document-type-recognition-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-type.ts b/src/models/document-type.ts index c3a9c2cd..436a2d72 100644 --- a/src/models/document-type.ts +++ b/src/models/document-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-types-candidates-list.ts b/src/models/document-types-candidates-list.ts index d76483a2..a98efb76 100644 --- a/src/models/document-types-candidates-list.ts +++ b/src/models/document-types-candidates-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-types-candidates-result-all-of.ts b/src/models/document-types-candidates-result-all-of.ts index 4a75b24d..a4dcadd5 100644 --- a/src/models/document-types-candidates-result-all-of.ts +++ b/src/models/document-types-candidates-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/document-types-candidates-result.ts b/src/models/document-types-candidates-result.ts index 0633bee0..f0fc82b6 100644 --- a/src/models/document-types-candidates-result.ts +++ b/src/models/document-types-candidates-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; import type { DocumentTypesCandidatesList } from './document-types-candidates-list'; import type { DocumentTypesCandidatesResultAllOf } from './document-types-candidates-result-all-of'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type DocumentTypesCandidatesResult diff --git a/src/models/document-types-candidates.ts b/src/models/document-types-candidates.ts index bca21335..0f6b2606 100644 --- a/src/models/document-types-candidates.ts +++ b/src/models/document-types-candidates.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/documents-database.ts b/src/models/documents-database.ts index c7023ad7..514a4480 100644 --- a/src/models/documents-database.ts +++ b/src/models/documents-database.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/encrypted-rclresult-all-of.ts b/src/models/encrypted-rclresult-all-of.ts index d7e5ca7d..920b9cba 100644 --- a/src/models/encrypted-rclresult-all-of.ts +++ b/src/models/encrypted-rclresult-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/encrypted-rclresult.ts b/src/models/encrypted-rclresult.ts index c3aa63b6..f7a62c66 100644 --- a/src/models/encrypted-rclresult.ts +++ b/src/models/encrypted-rclresult.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,8 +13,23 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; import type { EncryptedRCLResultAllOf } from './encrypted-rclresult-all-of'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type EncryptedRCLResult diff --git a/src/models/face-api-search.ts b/src/models/face-api-search.ts index ed601a08..464bcbfb 100644 --- a/src/models/face-api-search.ts +++ b/src/models/face-api-search.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/face-api.ts b/src/models/face-api.ts index 56322251..92d983e3 100644 --- a/src/models/face-api.ts +++ b/src/models/face-api.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/fdsidlist.ts b/src/models/fdsidlist.ts index fbf3e471..2df41cb1 100644 --- a/src/models/fdsidlist.ts +++ b/src/models/fdsidlist.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/fiber-result-all-of.ts b/src/models/fiber-result-all-of.ts index 5acfeaa0..8f3c5abe 100644 --- a/src/models/fiber-result-all-of.ts +++ b/src/models/fiber-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/fiber-result.ts b/src/models/fiber-result.ts index 38af3ad5..247e0b16 100644 --- a/src/models/fiber-result.ts +++ b/src/models/fiber-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/get-transactions-by-tag-response.ts b/src/models/get-transactions-by-tag-response.ts index de2be647..a72c89ab 100644 --- a/src/models/get-transactions-by-tag-response.ts +++ b/src/models/get-transactions-by-tag-response.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-field-rect.ts b/src/models/graphic-field-rect.ts index 024b25df..c7abc5cf 100644 --- a/src/models/graphic-field-rect.ts +++ b/src/models/graphic-field-rect.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-field-rfid-all-of.ts b/src/models/graphic-field-rfid-all-of.ts index c907505c..8625d6ab 100644 --- a/src/models/graphic-field-rfid-all-of.ts +++ b/src/models/graphic-field-rfid-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-field-rfid.ts b/src/models/graphic-field-rfid.ts index 7c311055..42b0f1ba 100644 --- a/src/models/graphic-field-rfid.ts +++ b/src/models/graphic-field-rfid.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-field-type.ts b/src/models/graphic-field-type.ts index 6f26be7b..d54c55d9 100644 --- a/src/models/graphic-field-type.ts +++ b/src/models/graphic-field-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-field.ts b/src/models/graphic-field.ts index 3b5cd9e1..bbbb9f85 100644 --- a/src/models/graphic-field.ts +++ b/src/models/graphic-field.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphic-fields-list.ts b/src/models/graphic-fields-list.ts index 40234624..639fa4dc 100644 --- a/src/models/graphic-fields-list.ts +++ b/src/models/graphic-fields-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphics-result-all-of.ts b/src/models/graphics-result-all-of.ts index 3e1ba9b9..d44cef33 100644 --- a/src/models/graphics-result-all-of.ts +++ b/src/models/graphics-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/graphics-result.ts b/src/models/graphics-result.ts index b9367cd8..db449ee9 100644 --- a/src/models/graphics-result.ts +++ b/src/models/graphics-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; import type { GraphicFieldsList } from './graphic-fields-list'; import type { GraphicsResultAllOf } from './graphics-result-all-of'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type GraphicsResult diff --git a/src/models/ident-result-all-of.ts b/src/models/ident-result-all-of.ts index f1149b45..f29f42d6 100644 --- a/src/models/ident-result-all-of.ts +++ b/src/models/ident-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/ident-result.ts b/src/models/ident-result.ts index 078b3d68..443192c1 100644 --- a/src/models/ident-result.ts +++ b/src/models/ident-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-data.ts b/src/models/image-data.ts index 9d417fe1..b6c2ebf0 100644 --- a/src/models/image-data.ts +++ b/src/models/image-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-qa.ts b/src/models/image-qa.ts index b335a4f7..1211c4e4 100644 --- a/src/models/image-qa.ts +++ b/src/models/image-qa.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-quality-check-list.ts b/src/models/image-quality-check-list.ts index f7f619e5..45c48cb7 100644 --- a/src/models/image-quality-check-list.ts +++ b/src/models/image-quality-check-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-quality-check-type.ts b/src/models/image-quality-check-type.ts index dd88ac4f..0906aca0 100644 --- a/src/models/image-quality-check-type.ts +++ b/src/models/image-quality-check-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-quality-check.ts b/src/models/image-quality-check.ts index cba629d1..e1bfdd99 100644 --- a/src/models/image-quality-check.ts +++ b/src/models/image-quality-check.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-quality-result-all-of.ts b/src/models/image-quality-result-all-of.ts index be5bc708..8c7c6629 100644 --- a/src/models/image-quality-result-all-of.ts +++ b/src/models/image-quality-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/image-quality-result.ts b/src/models/image-quality-result.ts index 95dcb76b..a4c3cad9 100644 --- a/src/models/image-quality-result.ts +++ b/src/models/image-quality-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; import type { ImageQualityCheckList } from './image-quality-check-list'; import type { ImageQualityResultAllOf } from './image-quality-result-all-of'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type ImageQualityResult diff --git a/src/models/image-transaction-data.ts b/src/models/image-transaction-data.ts index dd90514d..db3c34e2 100644 --- a/src/models/image-transaction-data.ts +++ b/src/models/image-transaction-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/images-available-source.ts b/src/models/images-available-source.ts index 79b56eb7..ebc8c759 100644 --- a/src/models/images-available-source.ts +++ b/src/models/images-available-source.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/images-field-value.ts b/src/models/images-field-value.ts index b9a6ce48..844ffa9c 100644 --- a/src/models/images-field-value.ts +++ b/src/models/images-field-value.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/images-field.ts b/src/models/images-field.ts index bc705779..b093c8ed 100644 --- a/src/models/images-field.ts +++ b/src/models/images-field.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/images-result-all-of.ts b/src/models/images-result-all-of.ts index 8d4c7a4e..0789a274 100644 --- a/src/models/images-result-all-of.ts +++ b/src/models/images-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/images-result.ts b/src/models/images-result.ts index ff468fda..d6d872ea 100644 --- a/src/models/images-result.ts +++ b/src/models/images-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; import type { Images } from './images'; import type { ImagesResultAllOf } from './images-result-all-of'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type ImagesResult diff --git a/src/models/images.ts b/src/models/images.ts index 85976e9a..6fd2091d 100644 --- a/src/models/images.ts +++ b/src/models/images.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/in-data-transaction-images-field-value.ts b/src/models/in-data-transaction-images-field-value.ts index ffb92838..3e4f6517 100644 --- a/src/models/in-data-transaction-images-field-value.ts +++ b/src/models/in-data-transaction-images-field-value.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/in-data-video.ts b/src/models/in-data-video.ts index d7c913ab..7e9700af 100644 --- a/src/models/in-data-video.ts +++ b/src/models/in-data-video.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/in-data.ts b/src/models/in-data.ts index f886ad3a..ee8c4465 100644 --- a/src/models/in-data.ts +++ b/src/models/in-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/lcid.ts b/src/models/lcid.ts index 30e7fed3..3beb5160 100644 --- a/src/models/lcid.ts +++ b/src/models/lcid.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/lexical-analysis-result-all-of.ts b/src/models/lexical-analysis-result-all-of.ts index 2f20de33..e3fa94f0 100644 --- a/src/models/lexical-analysis-result-all-of.ts +++ b/src/models/lexical-analysis-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/lexical-analysis-result.ts b/src/models/lexical-analysis-result.ts index 5686c95c..6358401d 100644 --- a/src/models/lexical-analysis-result.ts +++ b/src/models/lexical-analysis-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; import type { LexicalAnalysisResultAllOf } from './lexical-analysis-result-all-of'; +import type { LicenseResult } from './license-result'; import type { ListVerifiedFields } from './list-verified-fields'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type LexicalAnalysisResult diff --git a/src/models/license-result-all-of.ts b/src/models/license-result-all-of.ts index 4e81e07b..b337fb76 100644 --- a/src/models/license-result-all-of.ts +++ b/src/models/license-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/license-result.ts b/src/models/license-result.ts index 708480bc..e739c76e 100644 --- a/src/models/license-result.ts +++ b/src/models/license-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,8 +13,23 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; import type { LicenseResultAllOf } from './license-result-all-of'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type LicenseResult diff --git a/src/models/light.ts b/src/models/light.ts index 32a1b53c..add50b45 100644 --- a/src/models/light.ts +++ b/src/models/light.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/list-transactions-by-tag-response.ts b/src/models/list-transactions-by-tag-response.ts index a9515351..b5b66206 100644 --- a/src/models/list-transactions-by-tag-response.ts +++ b/src/models/list-transactions-by-tag-response.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/list-verified-fields.ts b/src/models/list-verified-fields.ts index 0508b3a7..85f14477 100644 --- a/src/models/list-verified-fields.ts +++ b/src/models/list-verified-fields.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/liveness-params.ts b/src/models/liveness-params.ts index ced45f40..7a014d21 100644 --- a/src/models/liveness-params.ts +++ b/src/models/liveness-params.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/log-level.ts b/src/models/log-level.ts index 80b035b7..95846146 100644 --- a/src/models/log-level.ts +++ b/src/models/log-level.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/measure-system.ts b/src/models/measure-system.ts index d719f654..5c17420d 100644 --- a/src/models/measure-system.ts +++ b/src/models/measure-system.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/mrz-detect-mode-enum.ts b/src/models/mrz-detect-mode-enum.ts index d12722da..df1cc89b 100644 --- a/src/models/mrz-detect-mode-enum.ts +++ b/src/models/mrz-detect-mode-enum.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/mrzformat.ts b/src/models/mrzformat.ts index be3a4d0e..5ff90f04 100644 --- a/src/models/mrzformat.ts +++ b/src/models/mrzformat.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/ocrsecurity-text-result-all-of.ts b/src/models/ocrsecurity-text-result-all-of.ts index 61bbb89f..1606d576 100644 --- a/src/models/ocrsecurity-text-result-all-of.ts +++ b/src/models/ocrsecurity-text-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/ocrsecurity-text-result.ts b/src/models/ocrsecurity-text-result.ts index 6b6e24b5..9f850181 100644 --- a/src/models/ocrsecurity-text-result.ts +++ b/src/models/ocrsecurity-text-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/one-candidate.ts b/src/models/one-candidate.ts index 4a7f083c..f3764edc 100644 --- a/src/models/one-candidate.ts +++ b/src/models/one-candidate.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/original-symbol.ts b/src/models/original-symbol.ts index fd066eb6..9e891e8f 100644 --- a/src/models/original-symbol.ts +++ b/src/models/original-symbol.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/out-data-transaction-images-field-value.ts b/src/models/out-data-transaction-images-field-value.ts index 8fd60d61..8adf0587 100644 --- a/src/models/out-data-transaction-images-field-value.ts +++ b/src/models/out-data-transaction-images-field-value.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/out-data.ts b/src/models/out-data.ts index 27fc3c2f..6f687b60 100644 --- a/src/models/out-data.ts +++ b/src/models/out-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/parray-field.ts b/src/models/parray-field.ts index c6b1e4e9..17c60c15 100644 --- a/src/models/parray-field.ts +++ b/src/models/parray-field.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/parsing-error-codes.ts b/src/models/parsing-error-codes.ts index 81654ab5..860a5ac1 100644 --- a/src/models/parsing-error-codes.ts +++ b/src/models/parsing-error-codes.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/parsing-notification-codes.ts b/src/models/parsing-notification-codes.ts index 0ee719e1..47f0eeda 100644 --- a/src/models/parsing-notification-codes.ts +++ b/src/models/parsing-notification-codes.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/per-document-config.ts b/src/models/per-document-config.ts index 6ab4e975..028470b0 100644 --- a/src/models/per-document-config.ts +++ b/src/models/per-document-config.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/photo-ident-result-all-of.ts b/src/models/photo-ident-result-all-of.ts index 23675e46..e2e08542 100644 --- a/src/models/photo-ident-result-all-of.ts +++ b/src/models/photo-ident-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/photo-ident-result.ts b/src/models/photo-ident-result.ts index c6b84ff5..dd06a4ee 100644 --- a/src/models/photo-ident-result.ts +++ b/src/models/photo-ident-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/point-array.ts b/src/models/point-array.ts index 1f93335d..54c36e6f 100644 --- a/src/models/point-array.ts +++ b/src/models/point-array.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/point.ts b/src/models/point.ts index 48b95a69..2fd38901 100644 --- a/src/models/point.ts +++ b/src/models/point.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/points-container.ts b/src/models/points-container.ts index 61619e02..72e29a27 100644 --- a/src/models/points-container.ts +++ b/src/models/points-container.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/process-params-rfid.ts b/src/models/process-params-rfid.ts index ba44e33a..f24ad637 100644 --- a/src/models/process-params-rfid.ts +++ b/src/models/process-params-rfid.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/process-params.ts b/src/models/process-params.ts index a63ad746..d1ad3a5c 100644 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -272,12 +272,6 @@ export interface ProcessParams { * @memberof ProcessParams */ forceReadMrzBeforeLocate?: boolean; - /** - * Allows you to bypass the minimum conditions that should be met to perform the barcode format check - * @type {boolean} - * @memberof ProcessParams - */ - forceBarcodeChecks?: boolean; /** * This option can be disabled to stop parsing after barcode is read. Enabled by default. * @type {boolean} diff --git a/src/models/process-request-image.ts b/src/models/process-request-image.ts index 65b94543..b994c393 100644 --- a/src/models/process-request-image.ts +++ b/src/models/process-request-image.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/process-request.ts b/src/models/process-request.ts index 49b0f56c..0408dc6d 100644 --- a/src/models/process-request.ts +++ b/src/models/process-request.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/process-response.ts b/src/models/process-response.ts index 57db00a6..b908f27f 100644 --- a/src/models/process-response.ts +++ b/src/models/process-response.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/process-system-info.ts b/src/models/process-system-info.ts index 412a7706..fc9a35f7 100644 --- a/src/models/process-system-info.ts +++ b/src/models/process-system-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/processing-status.ts b/src/models/processing-status.ts index 9f8e0c14..22dcf7ed 100644 --- a/src/models/processing-status.ts +++ b/src/models/processing-status.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/raw-image-container-field-list-all-of.ts b/src/models/raw-image-container-field-list-all-of.ts index 8430e3c8..87027eac 100644 --- a/src/models/raw-image-container-field-list-all-of.ts +++ b/src/models/raw-image-container-field-list-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/raw-image-container-field-list.ts b/src/models/raw-image-container-field-list.ts index 298f5751..7161e57e 100644 --- a/src/models/raw-image-container-field-list.ts +++ b/src/models/raw-image-container-field-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/raw-image-container-list.ts b/src/models/raw-image-container-list.ts index 315f84e0..d2037232 100644 --- a/src/models/raw-image-container-list.ts +++ b/src/models/raw-image-container-list.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rectangle-coordinates.ts b/src/models/rectangle-coordinates.ts index 553ab1ec..ab688f93 100644 --- a/src/models/rectangle-coordinates.ts +++ b/src/models/rectangle-coordinates.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/result-item.ts b/src/models/result-item.ts index 05486e1d..725b6451 100644 --- a/src/models/result-item.ts +++ b/src/models/result-item.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,6 +13,22 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; +import type { StatusResult } from './status-result'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * Common fields for all result objects diff --git a/src/models/result.ts b/src/models/result.ts index b142b823..48823d84 100644 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-access-control-info.ts b/src/models/rfid-access-control-info.ts index b9fe58fd..9aa75a21 100644 --- a/src/models/rfid-access-control-info.ts +++ b/src/models/rfid-access-control-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-access-control-procedure-type.ts b/src/models/rfid-access-control-procedure-type.ts index 4ba2beed..efd25608 100644 --- a/src/models/rfid-access-control-procedure-type.ts +++ b/src/models/rfid-access-control-procedure-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-access-key.ts b/src/models/rfid-access-key.ts index 49c3507b..35a0f75f 100644 --- a/src/models/rfid-access-key.ts +++ b/src/models/rfid-access-key.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-achip.ts b/src/models/rfid-achip.ts index 370d9405..efeb9d07 100644 --- a/src/models/rfid-achip.ts +++ b/src/models/rfid-achip.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-application-type.ts b/src/models/rfid-application-type.ts index eadb91c8..a83ac447 100644 --- a/src/models/rfid-application-type.ts +++ b/src/models/rfid-application-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -41,6 +41,22 @@ export enum RfidApplicationType { */ E_DL = 4, /** + * TravelRecords application + */ + LDS2_TravelRecords = 5, + /** + * VisaRecords application + */ + LDS2_VisaRecords = 6, + /** + * AddBiometrics application + */ + LDS2_AddBiometrics = 7, + /** + * Digital Travel Credentials + */ + eDTC_PC = 8, + /** * Master File */ ROOT_FILES = 0 diff --git a/src/models/rfid-application.ts b/src/models/rfid-application.ts index 4fffb662..00b46c6f 100644 --- a/src/models/rfid-application.ts +++ b/src/models/rfid-application.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-attribute-data.ts b/src/models/rfid-attribute-data.ts index d99a5721..098908b3 100644 --- a/src/models/rfid-attribute-data.ts +++ b/src/models/rfid-attribute-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-attribute-name.ts b/src/models/rfid-attribute-name.ts index 5e19a52d..58443eaa 100644 --- a/src/models/rfid-attribute-name.ts +++ b/src/models/rfid-attribute-name.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-authentication-procedure-type.ts b/src/models/rfid-authentication-procedure-type.ts index cb79cf21..4b03e2d6 100644 --- a/src/models/rfid-authentication-procedure-type.ts +++ b/src/models/rfid-authentication-procedure-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-baud-rate.ts b/src/models/rfid-baud-rate.ts index 3492d0a0..e5487a59 100644 --- a/src/models/rfid-baud-rate.ts +++ b/src/models/rfid-baud-rate.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-card-properties-ext.ts b/src/models/rfid-card-properties-ext.ts index cd9155fe..a4b7bd41 100644 --- a/src/models/rfid-card-properties-ext.ts +++ b/src/models/rfid-card-properties-ext.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-certificate-ex.ts b/src/models/rfid-certificate-ex.ts index 6705ec99..761fd24b 100644 --- a/src/models/rfid-certificate-ex.ts +++ b/src/models/rfid-certificate-ex.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-certificate-origin.ts b/src/models/rfid-certificate-origin.ts index 08b7ef06..7a1caaef 100644 --- a/src/models/rfid-certificate-origin.ts +++ b/src/models/rfid-certificate-origin.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-certificate-type.ts b/src/models/rfid-certificate-type.ts index 2d8824e4..ac168371 100644 --- a/src/models/rfid-certificate-type.ts +++ b/src/models/rfid-certificate-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-data-file-type.ts b/src/models/rfid-data-file-type.ts index 7469ff29..7328c968 100644 --- a/src/models/rfid-data-file-type.ts +++ b/src/models/rfid-data-file-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -44,6 +44,11 @@ export enum RfidDataFileType { PASSPORT_SOD = 21, PASSPORT_CVCA = 22, PASSPORT_COM = 23, + DTC_DG17 = 57, + DTC_DG18 = 58, + DTC_DG22 = 62, + DTC_DG23 = 63, + DTC_DG24 = 64, ID_DG1 = 101, ID_DG2 = 102, ID_DG3 = 103, diff --git a/src/models/rfid-data-file.ts b/src/models/rfid-data-file.ts index c84159ff..d01d031d 100644 --- a/src/models/rfid-data-file.ts +++ b/src/models/rfid-data-file.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-data-group-type-tag.ts b/src/models/rfid-data-group-type-tag.ts index 22e7d29d..e4f95a60 100644 --- a/src/models/rfid-data-group-type-tag.ts +++ b/src/models/rfid-data-group-type-tag.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-dg1.ts b/src/models/rfid-dg1.ts index d9383f31..59ec000b 100644 --- a/src/models/rfid-dg1.ts +++ b/src/models/rfid-dg1.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-distinguished-name.ts b/src/models/rfid-distinguished-name.ts index 77de7583..919735ed 100644 --- a/src/models/rfid-distinguished-name.ts +++ b/src/models/rfid-distinguished-name.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-location.ts b/src/models/rfid-location.ts index cd1dd9a5..d5037148 100644 --- a/src/models/rfid-location.ts +++ b/src/models/rfid-location.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-origin.ts b/src/models/rfid-origin.ts index 64e7d48f..8fde8b10 100644 --- a/src/models/rfid-origin.ts +++ b/src/models/rfid-origin.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-password-type.ts b/src/models/rfid-password-type.ts index 3a603f57..35251fd2 100644 --- a/src/models/rfid-password-type.ts +++ b/src/models/rfid-password-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-pki-extension.ts b/src/models/rfid-pki-extension.ts index 7889bb4d..3df5bcb6 100644 --- a/src/models/rfid-pki-extension.ts +++ b/src/models/rfid-pki-extension.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-security-object.ts b/src/models/rfid-security-object.ts index a2db0164..32be22ae 100644 --- a/src/models/rfid-security-object.ts +++ b/src/models/rfid-security-object.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-session-data.ts b/src/models/rfid-session-data.ts index 0abad0b4..2709bcc9 100644 --- a/src/models/rfid-session-data.ts +++ b/src/models/rfid-session-data.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-signer-info-ex.ts b/src/models/rfid-signer-info-ex.ts index f347d654..3c909e45 100644 --- a/src/models/rfid-signer-info-ex.ts +++ b/src/models/rfid-signer-info-ex.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-terminal-type.ts b/src/models/rfid-terminal-type.ts index 75b3b8ca..0cfe5677 100644 --- a/src/models/rfid-terminal-type.ts +++ b/src/models/rfid-terminal-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-terminal.ts b/src/models/rfid-terminal.ts index 42163661..a5b93859 100644 --- a/src/models/rfid-terminal.ts +++ b/src/models/rfid-terminal.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-type.ts b/src/models/rfid-type.ts index 25c26079..ed59e4d3 100644 --- a/src/models/rfid-type.ts +++ b/src/models/rfid-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfid-validity.ts b/src/models/rfid-validity.ts index e97e0ff7..740f8d23 100644 --- a/src/models/rfid-validity.ts +++ b/src/models/rfid-validity.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfiderror-codes.ts b/src/models/rfiderror-codes.ts index 2d02e93e..09052ead 100644 --- a/src/models/rfiderror-codes.ts +++ b/src/models/rfiderror-codes.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/rfidpkdresource-type.ts b/src/models/rfidpkdresource-type.ts index de272d0b..5bbe1d00 100644 --- a/src/models/rfidpkdresource-type.ts +++ b/src/models/rfidpkdresource-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/scenario.ts b/src/models/scenario.ts index 6abcca6f..c3f88944 100644 --- a/src/models/scenario.ts +++ b/src/models/scenario.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/security-feature-result-all-of.ts b/src/models/security-feature-result-all-of.ts index 9ee4ec6a..f95177e2 100644 --- a/src/models/security-feature-result-all-of.ts +++ b/src/models/security-feature-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/security-feature-result.ts b/src/models/security-feature-result.ts index 2001b303..92cf947c 100644 --- a/src/models/security-feature-result.ts +++ b/src/models/security-feature-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/security-feature-type.ts b/src/models/security-feature-type.ts index 1d7c15e7..40892daf 100644 --- a/src/models/security-feature-type.ts +++ b/src/models/security-feature-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/source-validity.ts b/src/models/source-validity.ts index 90f13ba3..60038be0 100644 --- a/src/models/source-validity.ts +++ b/src/models/source-validity.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/source.ts b/src/models/source.ts index 101883e0..40bdb69f 100644 --- a/src/models/source.ts +++ b/src/models/source.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/status-result-all-of.ts b/src/models/status-result-all-of.ts index 34fecba4..02432fc5 100644 --- a/src/models/status-result-all-of.ts +++ b/src/models/status-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/status-result.ts b/src/models/status-result.ts index e8f2ca59..92a58e7d 100644 --- a/src/models/status-result.ts +++ b/src/models/status-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; import type { Status } from './status'; import type { StatusResultAllOf } from './status-result-all-of'; +import type { TextDataResult } from './text-data-result'; +import type { TextResult } from './text-result'; /** * @type StatusResult diff --git a/src/models/status.ts b/src/models/status.ts index 0d4f84da..91afbe86 100644 --- a/src/models/status.ts +++ b/src/models/status.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/string-recognition-result.ts b/src/models/string-recognition-result.ts index 9f2f8e4f..0b7704d6 100644 --- a/src/models/string-recognition-result.ts +++ b/src/models/string-recognition-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/symbol-candidate.ts b/src/models/symbol-candidate.ts index ba9a3a7b..ac7e85a1 100644 --- a/src/models/symbol-candidate.ts +++ b/src/models/symbol-candidate.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/symbol-recognition-result.ts b/src/models/symbol-recognition-result.ts index 890e628f..c5fe81f6 100644 --- a/src/models/symbol-recognition-result.ts +++ b/src/models/symbol-recognition-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/tdoc-binary-info.ts b/src/models/tdoc-binary-info.ts index 052b4593..22834b11 100644 --- a/src/models/tdoc-binary-info.ts +++ b/src/models/tdoc-binary-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-available-source.ts b/src/models/text-available-source.ts index 87356c5b..ffe55c36 100644 --- a/src/models/text-available-source.ts +++ b/src/models/text-available-source.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-data-result-all-of.ts b/src/models/text-data-result-all-of.ts index 3c5cbcf3..5d95f12e 100644 --- a/src/models/text-data-result-all-of.ts +++ b/src/models/text-data-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-data-result.ts b/src/models/text-data-result.ts index 042a2920..af0ae6c1 100644 --- a/src/models/text-data-result.ts +++ b/src/models/text-data-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,9 +13,24 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; import type { DocVisualExtendedInfo } from './doc-visual-extended-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; import type { TextDataResultAllOf } from './text-data-result-all-of'; +import type { TextResult } from './text-result'; /** * @type TextDataResult diff --git a/src/models/text-field-type.ts b/src/models/text-field-type.ts index 9f7c7105..7f4cb67c 100644 --- a/src/models/text-field-type.ts +++ b/src/models/text-field-type.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-field-value.ts b/src/models/text-field-value.ts index 9823dc2c..bb01d04b 100644 --- a/src/models/text-field-value.ts +++ b/src/models/text-field-value.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-field.ts b/src/models/text-field.ts index aa445a11..9d3b7d1d 100644 --- a/src/models/text-field.ts +++ b/src/models/text-field.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-post-processing.ts b/src/models/text-post-processing.ts index bbf01ab2..441c1cd5 100644 --- a/src/models/text-post-processing.ts +++ b/src/models/text-post-processing.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-result-all-of.ts b/src/models/text-result-all-of.ts index 63e83600..9a00c93c 100644 --- a/src/models/text-result-all-of.ts +++ b/src/models/text-result-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/text-result.ts b/src/models/text-result.ts index 3571631d..0572e1dd 100644 --- a/src/models/text-result.ts +++ b/src/models/text-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * @@ -13,8 +13,23 @@ */ +import type { AuthenticityResult } from './authenticity-result'; +import type { ChosenDocumentTypeResult } from './chosen-document-type-result'; +import type { DocBarCodeInfo } from './doc-bar-code-info'; +import type { DocumentBinaryInfoResult } from './document-binary-info-result'; +import type { DocumentImageResult } from './document-image-result'; +import type { DocumentPositionResult } from './document-position-result'; +import type { DocumentTypesCandidatesResult } from './document-types-candidates-result'; +import type { EncryptedRCLResult } from './encrypted-rclresult'; +import type { GraphicsResult } from './graphics-result'; +import type { ImageQualityResult } from './image-quality-result'; +import type { ImagesResult } from './images-result'; +import type { LexicalAnalysisResult } from './lexical-analysis-result'; +import type { LicenseResult } from './license-result'; import type { ResultItem } from './result-item'; +import type { StatusResult } from './status-result'; import type { Text } from './text'; +import type { TextDataResult } from './text-data-result'; import type { TextResultAllOf } from './text-result-all-of'; /** diff --git a/src/models/text.ts b/src/models/text.ts index 47a7dc6e..9a5e3441 100644 --- a/src/models/text.ts +++ b/src/models/text.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-image.ts b/src/models/transaction-image.ts index 54d1fae8..5ee4f75d 100644 --- a/src/models/transaction-image.ts +++ b/src/models/transaction-image.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-info.ts b/src/models/transaction-info.ts index 42efb46f..c1b428cb 100644 --- a/src/models/transaction-info.ts +++ b/src/models/transaction-info.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-process-get-response.ts b/src/models/transaction-process-get-response.ts index 0d3a994e..01f8ff2f 100644 --- a/src/models/transaction-process-get-response.ts +++ b/src/models/transaction-process-get-response.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-process-request.ts b/src/models/transaction-process-request.ts index 87a05e34..a7b50955 100644 --- a/src/models/transaction-process-request.ts +++ b/src/models/transaction-process-request.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-process-response-all-of.ts b/src/models/transaction-process-response-all-of.ts index a9e482ea..1d1534b6 100644 --- a/src/models/transaction-process-response-all-of.ts +++ b/src/models/transaction-process-response-all-of.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-process-response.ts b/src/models/transaction-process-response.ts index 433741e9..7f758597 100644 --- a/src/models/transaction-process-response.ts +++ b/src/models/transaction-process-response.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/transaction-process-result.ts b/src/models/transaction-process-result.ts index b657f080..462c99c1 100644 --- a/src/models/transaction-process-result.ts +++ b/src/models/transaction-process-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/trf-ft-bytes.ts b/src/models/trf-ft-bytes.ts index 42092bce..92d1b554 100644 --- a/src/models/trf-ft-bytes.ts +++ b/src/models/trf-ft-bytes.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/trf-ft-string.ts b/src/models/trf-ft-string.ts index d7acfca6..4ad9e52d 100644 --- a/src/models/trf-ft-string.ts +++ b/src/models/trf-ft-string.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/verification-result.ts b/src/models/verification-result.ts index 03ac993c..b2d1cb33 100644 --- a/src/models/verification-result.ts +++ b/src/models/verification-result.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/verified-field-map.ts b/src/models/verified-field-map.ts index c619b673..3feb52ac 100644 --- a/src/models/verified-field-map.ts +++ b/src/models/verified-field-map.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/src/models/visibility.ts b/src/models/visibility.ts index 125b2b6f..f8886533 100644 --- a/src/models/visibility.ts +++ b/src/models/visibility.ts @@ -2,7 +2,7 @@ /* eslint-disable */ /** * Regula Document Reader Web API - * 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 + * 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 * * The version of the OpenAPI document: 7.4.0 * diff --git a/update-models.sh b/update-models.sh index 04b0543a..39ceede3 100755 --- a/update-models.sh +++ b/update-models.sh @@ -11,4 +11,40 @@ openapitools/openapi-generator-cli:v5.0.0 generate -g typescript-axios \ -c /client/ts-generator-config.json \ -t /client/generator-templates/ || exit 1 +if [ "$(uname)" = "Darwin" ]; then + sed -i '' '/import type { TextResult } /d' ./src/models/text-result.ts + sed -i '' '/import type { AuthenticityResult } /d' ./src/models/authenticity-result.ts + sed -i '' '/import type { ChosenDocumentTypeResult } /d' ./src/models/chosen-document-type-result.ts + sed -i '' '/import type { DocBarCodeInfo } /d' ./src/models/doc-bar-code-info.ts + sed -i '' '/import type { DocumentBinaryInfoResult } /d' ./src/models/document-binary-info-result.ts + sed -i '' '/import type { DocumentImageResult } /d' ./src/models/document-image-result.ts + sed -i '' '/import type { DocumentPositionResult } /d' ./src/models/document-position-result.ts + sed -i '' '/import type { DocumentTypesCandidatesResult } /d' ./src/models/document-types-candidates-result.ts + sed -i '' '/import type { EncryptedRCLResult } /d' ./src/models/encrypted-rclresult.ts + sed -i '' '/import type { GraphicsResult } /d' ./src/models/graphics-result.ts + sed -i '' '/import type { ImageQualityResult } /d' ./src/models/image-quality-result.ts + sed -i '' '/import type { ImagesResult } /d' ./src/models/images-result.ts + sed -i '' '/import type { LexicalAnalysisResult } /d' ./src/models/lexical-analysis-result.ts + sed -i '' '/import type { LicenseResult } /d' ./src/models/license-result.ts + sed -i '' '/import type { StatusResult } /d' ./src/models/status-result.ts + sed -i '' '/import type { TextDataResult } /d' ./src/models/text-data-result.ts +else + sed -i '/import type { TextResult } /d' ./src/models/text-result.ts + sed -i '/import type { AuthenticityResult } /d' ./src/models/authenticity-result.ts + sed -i '/import type { ChosenDocumentTypeResult } /d' ./src/models/chosen-document-type-result.ts + sed -i '/import type { DocBarCodeInfo } /d' ./src/models/doc-bar-code-info.ts + sed -i '/import type { DocumentBinaryInfoResult } /d' ./src/models/document-binary-info-result.ts + sed -i '/import type { DocumentImageResult } /d' ./src/models/document-image-result.ts + sed -i '/import type { DocumentPositionResult } /d' ./src/models/document-position-result.ts + sed -i '/import type { DocumentTypesCandidatesResult } /d' ./src/models/document-types-candidates-result.ts + sed -i '/import type { EncryptedRCLResult } /d' ./src/models/encrypted-rclresult.ts + sed -i '/import type { GraphicsResult } /d' ./src/models/graphics-result.ts + sed -i '/import type { ImageQualityResult } /d' ./src/models/image-quality-result.ts + sed -i '/import type { ImagesResult } /d' ./src/models/images-result.ts + sed -i '/import type { LexicalAnalysisResult } /d' ./src/models/lexical-analysis-result.ts + sed -i '/import type { LicenseResult } /d' ./src/models/license-result.ts + sed -i '/import type { StatusResult } /d' ./src/models/status-result.ts + sed -i '/import type { TextDataResult } /d' ./src/models/text-data-result.ts +fi + npm run format || exit 0