diff --git a/generator-templates/model.mustache b/generator-templates/model.mustache new file mode 100644 index 0000000..b90f868 --- /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/modelIndex.mustache b/generator-templates/modelIndex.mustache deleted file mode 100755 index 9fc0ebf..0000000 --- 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 fd7f053..f1442d4 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 ea0dbd8..562d953 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/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index c5b9c7a..5d19e9e 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 @@ -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 @@ -25,12 +28,19 @@ 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 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 +54,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 +63,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 +91,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 +111,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 +126,44 @@ 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/rfidpkdresource-type.ts models/scenario.ts models/security-feature-result-all-of.ts models/security-feature-result.ts @@ -131,6 +176,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 +191,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 456f01a..5a0f8f6 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/healthcheck-api.ts b/src/api/healthcheck-api.ts new file mode 100644 index 0000000..5cb92b4 --- /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/api/process-api.ts b/src/api/process-api.ts index 447f1cc..b8e4e70 100644 --- a/src/api/process-api.ts +++ b/src/api/process-api.ts @@ -2,9 +2,9 @@ /* 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.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 4c1f8f6..4076458 100644 --- a/src/api/transaction-api.ts +++ b/src/api/transaction-api.ts @@ -2,9 +2,9 @@ /* 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.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 fdc070e..e04df39 100755 --- a/src/base.ts +++ b/src/base.ts @@ -2,9 +2,9 @@ /* 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.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 73365b0..9cbf195 100755 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -2,9 +2,9 @@ /* 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.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 81d60ee..b5bdd52 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 6558857..e0f5fee 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 0414300..998c44e 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 29cbae8..6375122 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 74eacc6..65ffab4 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 556712b..289d51c 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 6806eef..bc3e0d8 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 9f08617..aca2c66 100644 --- a/src/models/area-array.ts +++ b/src/models/area-array.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { PointArray } from './point-array'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { PointArray } from './point-array'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @@ -22,18 +22,22 @@ import { RectangleCoordinates } from './rectangle-coordinates'; * @interface AreaArray */ export interface AreaArray { + /** + * Number of elements in List and Points + * @type {number} + * @memberof AreaArray + */ + Count: number; /** * * @type {Array} * @memberof AreaArray */ - List?: Array; + List: Array; /** * * @type {Array} * @memberof AreaArray */ - Points?: Array; + Points: Array; } - - diff --git a/src/models/area-container.ts b/src/models/area-container.ts index 8a953b8..ca8aba3 100644 --- a/src/models/area-container.ts +++ b/src/models/area-container.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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 @@ -27,19 +27,17 @@ export interface AreaContainer { * @type {number} * @memberof AreaContainer */ - Count?: number; + Count: number; /** * * @type {Array} * @memberof AreaContainer */ - List?: Array; + List: Array; /** * * @type {Array} * @memberof AreaContainer */ - Points?: Array; + Points: Array; } - - diff --git a/src/models/auth-params.ts b/src/models/auth-params.ts index d6ce4c0..5cb6e55 100644 --- a/src/models/auth-params.ts +++ b/src/models/auth-params.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { LivenessParams } from './liveness-params'; +import type { LivenessParams } from './liveness-params'; /** * @@ -112,5 +112,3 @@ export interface AuthParams { */ checkLetterScreen?: boolean; } - - diff --git a/src/models/authenticity-check-list.ts b/src/models/authenticity-check-list.ts index 8168b21..3ca4fe1 100644 --- a/src/models/authenticity-check-list.ts +++ b/src/models/authenticity-check-list.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { AuthenticityCheckResult } from './authenticity-check-result'; +import type { AuthenticityCheckResult } from './authenticity-check-result'; /** * @@ -26,7 +26,7 @@ export interface AuthenticityCheckList { * @type {number} * @memberof AuthenticityCheckList */ - Count?: number; + Count: number; /** * Authenticity Check * @type {Array} @@ -34,5 +34,3 @@ export interface AuthenticityCheckList { */ List: Array; } - - diff --git a/src/models/authenticity-check-result-item.ts b/src/models/authenticity-check-result-item.ts index c20e2f6..e895c32 100644 --- a/src/models/authenticity-check-result-item.ts +++ b/src/models/authenticity-check-result-item.ts @@ -2,9 +2,9 @@ /* 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.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,13 +13,8 @@ */ -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 @@ -52,5 +47,3 @@ export interface AuthenticityCheckResultItem { */ PercentValue?: number; } - - diff --git a/src/models/authenticity-check-result.ts b/src/models/authenticity-check-result.ts index 05c6cc2..0f9b67f 100644 --- a/src/models/authenticity-check-result.ts +++ b/src/models/authenticity-check-result.ts @@ -2,9 +2,9 @@ /* 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.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,13 +13,13 @@ */ -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'; /** * @@ -39,6 +39,12 @@ export interface AuthenticityCheckResult { * @memberof AuthenticityCheckResult */ Result: CheckResult; + /** + * Count of items in List + * @type {number} + * @memberof AuthenticityCheckResult + */ + Count?: number; /** * * @type {Array} @@ -46,5 +52,3 @@ export interface AuthenticityCheckResult { */ List: Array; } - - diff --git a/src/models/authenticity-result-all-of.ts b/src/models/authenticity-result-all-of.ts index f1ad150..4e1db04 100644 --- a/src/models/authenticity-result-all-of.ts +++ b/src/models/authenticity-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { AuthenticityCheckList } from './authenticity-check-list'; +import type { AuthenticityCheckList } from './authenticity-check-list'; /** * @@ -28,5 +28,3 @@ export interface AuthenticityResultAllOf { */ AuthenticityCheckList: AuthenticityCheckList; } - - diff --git a/src/models/authenticity-result-type.ts b/src/models/authenticity-result-type.ts index 548148a..ee8f76d 100644 --- a/src/models/authenticity-result-type.ts +++ b/src/models/authenticity-result-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,6 +20,10 @@ * @enum {string} */ export enum AuthenticityResultType { + /** + * No authenticity control procedure + */ + NONE = 0, /** * Document luminescence check in UV light */ @@ -53,15 +57,23 @@ export enum AuthenticityResultType { */ 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, /** - * OVI check + * OVI check. Deprecated, use Document liveness check instead */ OVI = 1024, /** - * Hologram presence check + * IR luminescence check + */ + IR_LUMINESCENCE = 2048, + /** + * Hologram presence check. Deprecated */ HOLOGRAMS = 4096, /** @@ -69,6 +81,10 @@ export enum AuthenticityResultType { */ PHOTO_AREA = 8192, /** + * UV background check + */ + UV_BACKGROUND = 16384, + /** * Portrait comparison check (document printed vs chip vs live) */ PORTRAIT_COMPARISON = 32768, @@ -107,8 +123,10 @@ export enum AuthenticityResultType { /** * Encrypted IPI */ - ENCRYPTED_IPI = 16777216 + ENCRYPTED_IPI = 16777216, + /** + * Flag for status-only authenticity + */ + STATUS_ONLY = 2147483648 } - - diff --git a/src/models/authenticity-result.ts b/src/models/authenticity-result.ts index 5486dc8..288ed22 100644 --- a/src/models/authenticity-result.ts +++ b/src/models/authenticity-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -37,5 +38,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 15f53d6..0000000 --- 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 0000000..0ea7547 --- /dev/null +++ b/src/models/bar-code-module-type.ts @@ -0,0 +1,44 @@ +/* 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 enum 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 +} + diff --git a/src/models/barcode-text-data-result.ts b/src/models/barcode-text-data-result.ts deleted file mode 100755 index 9f9ea99..0000000 --- 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 0000000..0d61d95 --- /dev/null +++ b/src/models/barcode-type.ts @@ -0,0 +1,108 @@ +/* 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 enum 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 +} + diff --git a/src/models/bc-pdf417-info.ts b/src/models/bc-pdf417-info.ts index ce81e84..8f2fa3a 100644 --- a/src/models/bc-pdf417-info.ts +++ b/src/models/bc-pdf417-info.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,37 +25,35 @@ export interface BcPDF417INFO { * @type {number} * @memberof BcPDF417INFO */ - Angle?: number; + Angle: number; /** * * @type {number} * @memberof BcPDF417INFO */ - bcColumn?: number; + bcColumn: number; /** * * @type {number} * @memberof BcPDF417INFO */ - bcErrorLevel?: number; + bcErrorLevel: number; /** * * @type {number} * @memberof BcPDF417INFO */ - bcRow?: number; + bcRow: number; /** * * @type {number} * @memberof BcPDF417INFO */ - minX?: number; + minX: number; /** * * @type {number} * @memberof BcPDF417INFO */ - minY?: number; + minY: number; } - - diff --git a/src/models/bc-roidetect.ts b/src/models/bc-roidetect.ts index 7555dbc..5298658 100644 --- a/src/models/bc-roidetect.ts +++ b/src/models/bc-roidetect.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,25 +25,23 @@ export interface BcROIDETECT { * @type {number} * @memberof BcROIDETECT */ - bottom?: number; + bottom: number; /** * * @type {number} * @memberof BcROIDETECT */ - left?: number; + left: number; /** * * @type {number} * @memberof BcROIDETECT */ - right?: number; + right: number; /** * * @type {number} * @memberof BcROIDETECT */ - top?: number; + top: number; } - - diff --git a/src/models/binary-data-result.ts b/src/models/binary-data-result.ts deleted file mode 100644 index 9697d3c..0000000 --- a/src/models/binary-data-result.ts +++ /dev/null @@ -1,38 +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 { TBinaryData } from './tbinary-data'; - -/** - * - * @export - * @interface BinaryDataResult - */ -export interface BinaryDataResult { - /** - * Count of array fields - * @type {number} - * @memberof BinaryDataResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof BinaryDataResult - */ - pArrayFields?: Array; -} - - diff --git a/src/models/binary-data.ts b/src/models/binary-data.ts new file mode 100644 index 0000000..8a18b15 --- /dev/null +++ b/src/models/binary-data.ts @@ -0,0 +1,411 @@ +/* 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 { 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 + */ +export interface BinaryData { + /** + * + * @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 9d4fa59..a0800ca 100644 --- a/src/models/check-diagnose.ts +++ b/src/models/check-diagnose.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -143,5 +143,3 @@ export enum CheckDiagnose { CHD_INCORRECT_OBJECT_COLOR = 250 } - - diff --git a/src/models/check-result.ts b/src/models/check-result.ts old mode 100755 new mode 100644 index b6bfbeb..c0357ab --- a/src/models/check-result.ts +++ b/src/models/check-result.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,5 +34,3 @@ export enum 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 old mode 100755 new mode 100644 index 5b1c140..eb715b4 --- a/src/models/chosen-document-type-result-all-of.ts +++ b/src/models/chosen-document-type-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { OneCandidate } from './one-candidate'; +import type { OneCandidate } from './one-candidate'; /** * @@ -26,7 +26,7 @@ export interface ChosenDocumentTypeResultAllOf { * @type {OneCandidate} * @memberof ChosenDocumentTypeResultAllOf */ - OneCandidate?: OneCandidate; + OneCandidate: OneCandidate; /** * * @type {string} @@ -34,5 +34,3 @@ export interface 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 e7d54df..eec0d66 --- a/src/models/chosen-document-type-result.ts +++ b/src/models/chosen-document-type-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 9f69abe..33f0743 100644 --- a/src/models/chosen-document-type.ts +++ b/src/models/chosen-document-type.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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 @@ -27,55 +27,65 @@ export interface ChosenDocumentType { * @type {string} * @memberof ChosenDocumentType */ - DocumentName?: string; + DocumentName: string; /** * Unique document type template identifier (Regula\'s internal numeric code) * @type {number} * @memberof ChosenDocumentType */ - ID?: number; + ID: number; /** * A measure of the likelihood of correct recognition in the analysis of this type of document * @type {number} * @memberof ChosenDocumentType */ - P?: number; + P: number; + /** + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof ChosenDocumentType + */ + Rotated180: boolean; /** * * @type {RfidLocation} * @memberof ChosenDocumentType */ - RFID_Presence?: RfidLocation; + RFID_Presence: RfidLocation; /** * * @type {FDSIDList} * @memberof ChosenDocumentType */ - FDSIDList?: FDSIDList; + FDSIDList: FDSIDList; /** * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document * @type {number} * @memberof ChosenDocumentType */ - NecessaryLights?: number; + NecessaryLights: number; /** * Set of authentication options provided for this type of document (combination of Authenticity enum) * @type {number} * @memberof ChosenDocumentType */ - CheckAuthenticity?: number; + 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; + 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; + 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 8396818..91ceb2b --- a/src/models/container-list.ts +++ b/src/models/container-list.ts @@ -2,9 +2,9 @@ /* 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.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,21 +13,22 @@ */ -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 @@ -40,13 +41,11 @@ export interface ContainerList { * @type {number} * @memberof ContainerList */ - Count?: number; + Count: number; /** * - * @type {Array} + * @type {Array} * @memberof ContainerList */ - List: Array; + List: Array; } - - diff --git a/src/models/critical.ts b/src/models/critical.ts index 5f6534c..6bc2087 100644 --- a/src/models/critical.ts +++ b/src/models/critical.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,5 +30,3 @@ export enum Critical { CRITICAL = 1 } - - 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 bd051d1..6b67966 --- a/src/models/cross-source-value-comparison.ts +++ b/src/models/cross-source-value-comparison.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** * @@ -41,5 +41,3 @@ export interface CrossSourceValueComparison { */ status: CheckResult; } - - diff --git a/src/models/data-module.ts b/src/models/data-module.ts index c39e02d..c42b6b2 100644 --- a/src/models/data-module.ts +++ b/src/models/data-module.ts @@ -2,9 +2,9 @@ /* 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.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,6 +13,7 @@ */ +import type { BarCodeModuleType } from './bar-code-module-type'; /** * @@ -25,13 +26,13 @@ export interface DataModule { * @type {string} * @memberof DataModule */ - mData?: string; + mData: string; /** * * @type {number} * @memberof DataModule */ - mLength?: number; + mLength: number; /** * * @type {number} @@ -46,10 +47,8 @@ export interface DataModule { mReserver2?: number; /** * - * @type {number} + * @type {BarCodeModuleType} * @memberof DataModule */ - mType?: number; + mType: BarCodeModuleType; } - - diff --git a/src/models/details-optical.ts b/src/models/details-optical.ts old mode 100755 new mode 100644 index 1a28421..a8fb2d9 --- a/src/models/details-optical.ts +++ b/src/models/details-optical.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { CheckResult } from './check-result'; +import type { CheckResult } from './check-result'; /** * @@ -70,5 +70,3 @@ export interface DetailsOptical { */ text: CheckResult; } - - diff --git a/src/models/details-rfid.ts b/src/models/details-rfid.ts old mode 100755 new mode 100644 index 297e298..2098079 --- a/src/models/details-rfid.ts +++ b/src/models/details-rfid.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { CheckResult } from './check-result'; +import type { CheckResult } from './check-result'; /** * @@ -64,5 +64,3 @@ export interface DetailsRFID { */ TA: CheckResult; } - - diff --git a/src/models/device-info-deprecated.ts b/src/models/device-info-deprecated.ts new file mode 100644 index 0000000..ba28aa3 --- /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 5581e2a..fe44c35 100644 --- a/src/models/device-info.ts +++ b/src/models/device-info.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,37 +25,41 @@ export interface DeviceInfo { * @type {string} * @memberof DeviceInfo */ - app_name?: string; + app?: string; /** * * @type {string} * @memberof DeviceInfo */ - version?: string; + licenseId?: string; /** * * @type {string} * @memberof DeviceInfo */ - license_id?: string; + licenseType?: string; /** * * @type {string} * @memberof DeviceInfo */ - license_serial?: string; + licenseSerial?: string; /** * * @type {string} * @memberof DeviceInfo */ - valid_until?: string; + licenseValidUntil?: string; + /** + * + * @type {Array} + * @memberof DeviceInfo + */ + scenarios?: Array; /** * * @type {string} * @memberof DeviceInfo */ - server_time?: string; + 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 bfca4e3..021bee2 100644 --- a/src/models/doc-bar-code-info-all-of.ts +++ b/src/models/doc-bar-code-info-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; +import type { DocBarCodeInfoFieldsList } from './doc-bar-code-info-fields-list'; /** * @@ -26,7 +26,5 @@ export interface DocBarCodeInfoAllOf { * @type {DocBarCodeInfoFieldsList} * @memberof DocBarCodeInfoAllOf */ - DocBarCodeInfo?: DocBarCodeInfoFieldsList; + 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 b69fabc..decbf9b 100644 --- a/src/models/doc-bar-code-info-fields-list.ts +++ b/src/models/doc-bar-code-info-fields-list.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { PArrayField } from './parray-field'; +import type { PArrayField } from './parray-field'; /** * @@ -26,13 +26,11 @@ export interface DocBarCodeInfoFieldsList { * @type {number} * @memberof DocBarCodeInfoFieldsList */ - nFields?: number; + nFields: number; /** * Data from barcode * @type {Array} * @memberof DocBarCodeInfoFieldsList */ - pArrayFields?: Array; + pArrayFields: Array; } - - diff --git a/src/models/doc-bar-code-info.ts b/src/models/doc-bar-code-info.ts index 7df6638..73e76f9 100644 --- a/src/models/doc-bar-code-info.ts +++ b/src/models/doc-bar-code-info.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 0000000..f32c23e --- /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 0000000..7db6f9e --- /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 0000000..4d8c534 --- /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 0000000..594820f --- /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 740fb82..b6793a5 --- a/src/models/doc-visual-extended-field.ts +++ b/src/models/doc-visual-extended-field.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,8 @@ */ -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'; /** * @@ -24,6 +22,12 @@ import { TextFieldType } from './text-field-type'; * @interface DocVisualExtendedField */ export interface DocVisualExtendedField { + /** + * + * @type {any} + * @memberof DocVisualExtendedField + */ + FieldType: any | null; /** * * @type {TextFieldType} @@ -31,47 +35,63 @@ export interface DocVisualExtendedField { */ wFieldType: TextFieldType; /** - * Field name. Only use to search values for fields with fieldType=50(other). In general, use wFieldType for lookup. + * Field symbolic name (null-terminated string) * @type {string} * @memberof DocVisualExtendedField */ FieldName: string; /** - * - * @type {LCID} + * Number of StringsResult array elements + * @type {number} * @memberof DocVisualExtendedField */ - wLCID: LCID; + 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; + 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; + Buf_Text: string; /** * - * @type {RectangleCoordinates} + * @type {any} * @memberof DocVisualExtendedField */ - FieldRect?: RectangleCoordinates; + FieldMask?: any | null; /** - * Origin data group information. Only for Result.RFID_TEXT results. - * @type {number} + * + * @type {any} * @memberof DocVisualExtendedField */ - RFID_OriginDG?: number; + Validity?: any | null; /** - * Index of the text field record in origin data group. Only for Result.RFID_TEXT results. - * @type {number} + * + * @type {any} + * @memberof DocVisualExtendedField + */ + InComparison?: any | null; + /** + * + * @type {any} * @memberof DocVisualExtendedField */ - RFID_OriginTagEntry?: number; + 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 8e2156e..9039905 --- a/src/models/doc-visual-extended-info.ts +++ b/src/models/doc-visual-extended-info.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,8 @@ */ -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 @@ -21,12 +22,16 @@ import { DocVisualExtendedField } from './doc-visual-extended-field'; * @interface DocVisualExtendedInfo */ export interface DocVisualExtendedInfo { + /** + * Number of pArrayFields array elements + * @type {number} + * @memberof DocVisualExtendedInfo + */ + nFields: number; /** * - * @type {Array} + * @type {Array} * @memberof DocVisualExtendedInfo */ - pArrayFields: Array; + 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 0000000..e0d9437 --- /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/document-binary-info-result.ts b/src/models/document-binary-info-result.ts new file mode 100644 index 0000000..17145f1 --- /dev/null +++ b/src/models/document-binary-info-result.ts @@ -0,0 +1,40 @@ +/* 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 { 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 + * @export + */ +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 fa1fbc5..d14c726 --- a/src/models/document-format.ts +++ b/src/models/document-format.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,6 +20,10 @@ * @enum {string} */ export enum DocumentFormat { + /** + * Unknown document format + */ + UNKNOWN = -1, /** * ID1 document format */ @@ -74,5 +78,3 @@ export enum DocumentFormat { FLEXIBLE = 1002 } - - 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 40f2140..ecf126a --- a/src/models/document-image-result-all-of.ts +++ b/src/models/document-image-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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 { /** * - * @type {ImageData} + * @type {RawImageContainerFieldList} * @memberof DocumentImageResultAllOf */ - RawImageContainer: ImageData; + 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 65ae1a2..29c7221 --- a/src/models/document-image-result.ts +++ b/src/models/document-image-result.ts @@ -2,9 +2,9 @@ /* 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.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,29 @@ */ -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 { 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 + * 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 485ca7a..0ee1715 100644 --- a/src/models/document-image.ts +++ b/src/models/document-image.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,5 +27,3 @@ export interface DocumentImage { */ image: string; } - - diff --git a/src/models/document-position-result-all-of.ts b/src/models/document-position-result-all-of.ts index a25b036..4cd3a75 100644 --- a/src/models/document-position-result-all-of.ts +++ b/src/models/document-position-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { DocumentPosition } from './document-position'; +import type { DocumentPosition } from './document-position'; /** * @@ -26,7 +26,5 @@ export interface DocumentPositionResultAllOf { * @type {DocumentPosition} * @memberof DocumentPositionResultAllOf */ - DocumentPosition?: DocumentPosition; + DocumentPosition: DocumentPosition; } - - diff --git a/src/models/document-position-result.ts b/src/models/document-position-result.ts index 5dc4d9b..d1502bc 100644 --- a/src/models/document-position-result.ts +++ b/src/models/document-position-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 d68d11c..0d03a79 100644 --- a/src/models/document-position.ts +++ b/src/models/document-position.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { DocumentFormat } from './document-format'; -import { Point } from './point'; +import type { DocumentFormat } from './document-format'; +import type { Point } from './point'; /** * @@ -27,61 +27,59 @@ export interface DocumentPosition { * @type {DocumentFormat} * @memberof DocumentPosition */ - docFormat?: DocumentFormat; + docFormat: DocumentFormat; /** - * + * Document rotation angle * @type {number} * @memberof DocumentPosition */ - Angle?: number; + Angle: number; /** - * + * Document width * @type {number} * @memberof DocumentPosition */ - Width?: number; + Width: number; /** - * + * Document height * @type {number} * @memberof DocumentPosition */ - Height?: number; + Height: number; /** * * @type {Point} * @memberof DocumentPosition */ - Center?: Point; + Center: Point; /** * * @type {Point} * @memberof DocumentPosition */ - LeftBottom?: Point; + LeftBottom: Point; /** * * @type {Point} * @memberof DocumentPosition */ - LeftTop?: Point; + LeftTop: Point; /** * * @type {Point} * @memberof DocumentPosition */ - RightBottom?: Point; + RightBottom: Point; /** * * @type {Point} * @memberof DocumentPosition */ - RightTop?: Point; + RightTop: Point; /** * * @type {number} * @memberof DocumentPosition */ - Dpi?: number; + 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 5c2c680..c5f787f --- a/src/models/document-type-recognition-result.ts +++ b/src/models/document-type-recognition-result.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,5 +34,3 @@ export enum DocumentTypeRecognitionResult { NEED_MORE_IMAGES = 29 } - - diff --git a/src/models/document-type.ts b/src/models/document-type.ts old mode 100755 new mode 100644 index 207cca6..436a2d7 --- a/src/models/document-type.ts +++ b/src/models/document-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -942,5 +942,3 @@ export enum DocumentType { PASSENGER_LOCATOR_FORM = 242 } - - 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 236d0a5..a98efb7 --- a/src/models/document-types-candidates-list.ts +++ b/src/models/document-types-candidates-list.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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'; /** * @@ -35,5 +35,3 @@ export interface 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 e44d87d..a4dcadd --- a/src/models/document-types-candidates-result-all-of.ts +++ b/src/models/document-types-candidates-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { DocumentTypesCandidatesList } from './document-types-candidates-list'; +import type { DocumentTypesCandidatesList } from './document-types-candidates-list'; /** * @@ -28,5 +28,3 @@ export interface 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 4c3665e..f0fc82b --- a/src/models/document-types-candidates-result.ts +++ b/src/models/document-types-candidates-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -37,5 +38,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 999c0e8..0f6b260 100644 --- a/src/models/document-types-candidates.ts +++ b/src/models/document-types-candidates.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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'; /** * @@ -35,5 +35,3 @@ export interface DocumentTypesCandidates { */ Candidates?: Array; } - - diff --git a/src/models/documents-database.ts b/src/models/documents-database.ts new file mode 100644 index 0000000..514a448 --- /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 ce51fe3..920b9cb 100644 --- a/src/models/encrypted-rclresult-all-of.ts +++ b/src/models/encrypted-rclresult-all-of.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,5 +27,3 @@ export interface EncryptedRCLResultAllOf { */ EncryptedRCL: string; } - - diff --git a/src/models/encrypted-rclresult.ts b/src/models/encrypted-rclresult.ts index ee9e5d6..f7a62c6 100644 --- a/src/models/encrypted-rclresult.ts +++ b/src/models/encrypted-rclresult.ts @@ -2,9 +2,9 @@ /* 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.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,23 @@ */ -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 { 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 @@ -36,5 +37,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 1011431..0000000 --- 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 ecae31b..0000000 --- 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 ba95a68..0000000 --- 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 98ef16e..0000000 --- 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 a251185..0000000 --- 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 9352ef7..464bcbf 100644 --- a/src/models/face-api-search.ts +++ b/src/models/face-api-search.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,5 +39,3 @@ export interface FaceApiSearch { */ group_ids?: Array; } - - diff --git a/src/models/face-api.ts b/src/models/face-api.ts index ab16c52..92d983e 100644 --- a/src/models/face-api.ts +++ b/src/models/face-api.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { FaceApiSearch } from './face-api-search'; +import type { FaceApiSearch } from './face-api-search'; /** * @@ -70,5 +70,3 @@ export interface FaceApi { */ proxy_type?: number; } - - diff --git a/src/models/fdsidlist.ts b/src/models/fdsidlist.ts index 9562ff2..2df41cb 100644 --- a/src/models/fdsidlist.ts +++ b/src/models/fdsidlist.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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 @@ -27,31 +27,37 @@ export interface FDSIDList { * @type {string} * @memberof FDSIDList */ - ICAOCode?: string; + 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; + List: Array; /** * * @type {DocumentType} * @memberof FDSIDList */ - dType?: DocumentType; + dType: DocumentType; /** * * @type {DocumentFormat} * @memberof FDSIDList */ - dFormat?: DocumentFormat; + dFormat: DocumentFormat; /** * Flag indicating the presence of MRZ on the document * @type {boolean} * @memberof FDSIDList */ - dMRZ?: boolean; + dMRZ: boolean; /** * Document description * @type {string} @@ -63,13 +69,13 @@ export interface FDSIDList { * @type {string} * @memberof FDSIDList */ - dYear?: string; + dYear: string; /** * Issuing country name * @type {string} * @memberof FDSIDList */ - dCountryName?: string; + dCountryName: string; /** * Issuing state code * @type {string} @@ -87,7 +93,5 @@ export interface FDSIDList { * @type {boolean} * @memberof FDSIDList */ - isDeprecated?: boolean; + isDeprecated: boolean; } - - diff --git a/src/models/fiber-result-all-of.ts b/src/models/fiber-result-all-of.ts index b6584a7..8f3c5ab 100644 --- a/src/models/fiber-result-all-of.ts +++ b/src/models/fiber-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { Light } from './light'; -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { Light } from './light'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @@ -27,13 +27,13 @@ export interface FiberResultAllOf { * @type {number} * @memberof FiberResultAllOf */ - RectCount?: number; + RectCount: number; /** * Expected fibers number. For UV_Fibers authentication result type * @type {number} * @memberof FiberResultAllOf */ - ExpectedCount?: number; + ExpectedCount: number; /** * * @type {Light} @@ -51,31 +51,29 @@ export interface FiberResultAllOf { * @type {Array} * @memberof FiberResultAllOf */ - RectArray?: Array; + RectArray: Array; /** * Fibers width value for located areas (in pixels) * @type {Array} * @memberof FiberResultAllOf */ - Width?: Array; + Width: Array; /** * Fibers length value for located areas (in pixels) * @type {Array} * @memberof FiberResultAllOf */ - Length?: Array; + Length: Array; /** * Fibers value for areas (in pixels) * @type {Array} * @memberof FiberResultAllOf */ - Area?: Array; + Area: Array; /** * Fibers color value * @type {Array} * @memberof FiberResultAllOf */ - ColorValues?: Array; + ColorValues: Array; } - - diff --git a/src/models/fiber-result.ts b/src/models/fiber-result.ts index 66140e0..247e0b1 100644 --- a/src/models/fiber-result.ts +++ b/src/models/fiber-result.ts @@ -2,9 +2,9 @@ /* 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.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 485a6f0..0000000 --- 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 4cbe2a4..a72c89a 100644 --- a/src/models/get-transactions-by-tag-response.ts +++ b/src/models/get-transactions-by-tag-response.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,5 +39,3 @@ export interface GetTransactionsByTagResponse { */ updatedAt?: string; } - - diff --git a/src/models/graphic-field-rect.ts b/src/models/graphic-field-rect.ts new file mode 100644 index 0000000..c7abc5c --- /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 0000000..8625d6a --- /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/graphic-field-rfid.ts b/src/models/graphic-field-rfid.ts new file mode 100644 index 0000000..42b0f1b --- /dev/null +++ b/src/models/graphic-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 { 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 + */ +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 f7ba547..d54c55d --- a/src/models/graphic-field-type.ts +++ b/src/models/graphic-field-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -65,6 +65,10 @@ export enum GraphicFieldType { */ STAMP = 211, /** + * Portrait of child + */ + PORTRAIT_OF_CHILD = 212, + /** * Contact chip */ CONTACT_CHIP = 213, @@ -126,5 +130,3 @@ export enum GraphicFieldType { FINGER_TWO_THUMBS = 315 } - - diff --git a/src/models/graphic-field.ts b/src/models/graphic-field.ts old mode 100755 new mode 100644 index bc8a335..bbbb9f8 --- a/src/models/graphic-field.ts +++ b/src/models/graphic-field.ts @@ -2,9 +2,9 @@ /* 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.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,12 +13,11 @@ */ -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'; /** - * + * Information about one graphic field - abstract class * @export * @interface GraphicField */ @@ -30,41 +29,15 @@ export interface GraphicField { */ FieldType: GraphicFieldType; /** - * - * @type {ImageData} + * Graphic field symbolic name + * @type {string} * @memberof GraphicField */ - image: ImageData; + FieldName: string; /** * - * @type {RectangleCoordinates} - * @memberof GraphicField - */ - FieldRect?: RectangleCoordinates; - /** - * Source data group file. Only for Result.RFID_GRAPHICS result. - * @type {number} - * @memberof GraphicField - */ - RFID_OriginDG?: number; - /** - * 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} + * @type {ImageData} * @memberof GraphicField */ - RFID_OriginEntryView?: number; + 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 54eb74b..639fa4d --- a/src/models/graphic-fields-list.ts +++ b/src/models/graphic-fields-list.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,8 @@ */ -import { GraphicField } from './graphic-field'; +import type { GraphicFieldRect } from './graphic-field-rect'; +import type { GraphicFieldRfid } from './graphic-field-rfid'; /** * @@ -23,10 +24,14 @@ import { GraphicField } from './graphic-field'; export interface GraphicFieldsList { /** * - * @type {Array} + * @type {Array} * @memberof GraphicFieldsList */ - pArrayFields: Array; + 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 b1695ed..d44cef3 --- a/src/models/graphics-result-all-of.ts +++ b/src/models/graphics-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { GraphicFieldsList } from './graphic-fields-list'; +import type { GraphicFieldsList } from './graphic-fields-list'; /** * @@ -28,5 +28,3 @@ export interface GraphicsResultAllOf { */ DocGraphicsInfo?: GraphicFieldsList; } - - diff --git a/src/models/graphics-result.ts b/src/models/graphics-result.ts old mode 100755 new mode 100644 index 5975adf..db449ee --- a/src/models/graphics-result.ts +++ b/src/models/graphics-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 a8bc8b7..f29f42d 100644 --- a/src/models/ident-result-all-of.ts +++ b/src/models/ident-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,11 +13,11 @@ */ -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'; /** * @@ -30,31 +30,31 @@ export interface IdentResultAllOf { * @type {SecurityFeatureType} * @memberof IdentResultAllOf */ - ElementType?: SecurityFeatureType; + ElementType: SecurityFeatureType; /** * * @type {Light} * @memberof IdentResultAllOf */ - LightIndex?: Light; + LightIndex: Light; /** * * @type {RectangleCoordinates} * @memberof IdentResultAllOf */ - Area?: RectangleCoordinates; + Area: RectangleCoordinates; /** * * @type {ImageData} * @memberof IdentResultAllOf */ - Image?: ImageData; + Image: ImageData; /** * * @type {ImageData} * @memberof IdentResultAllOf */ - EtalonImage?: ImageData; + EtalonImage: ImageData; /** * * @type {AreaContainer} @@ -62,5 +62,3 @@ export interface IdentResultAllOf { */ AreaList?: AreaContainer; } - - diff --git a/src/models/ident-result.ts b/src/models/ident-result.ts index 69bb7c4..443192c 100644 --- a/src/models/ident-result.ts +++ b/src/models/ident-result.ts @@ -2,9 +2,9 @@ /* 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.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 c94ef3b..b6c2ebf --- a/src/models/image-data.ts +++ b/src/models/image-data.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,5 +27,3 @@ export interface ImageData { */ image: string; } - - diff --git a/src/models/image-qa.ts b/src/models/image-qa.ts index 8ae5e6e..1211c4e 100644 --- a/src/models/image-qa.ts +++ b/src/models/image-qa.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -56,6 +56,12 @@ export interface ImageQA { * @memberof ImageQA */ colornessCheck?: boolean; + /** + * 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} @@ -63,5 +69,3 @@ export interface ImageQA { */ documentPositionIndent?: number; } - - diff --git a/src/models/image-quality-check-list.ts b/src/models/image-quality-check-list.ts index 62397ab..45c48cb 100644 --- a/src/models/image-quality-check-list.ts +++ b/src/models/image-quality-check-list.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { CheckResult } from './check-result'; -import { ImageQualityCheck } from './image-quality-check'; +import type { CheckResult } from './check-result'; +import type { ImageQualityCheck } from './image-quality-check'; /** * @@ -34,6 +34,10 @@ export interface ImageQualityCheckList { * @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 40e33e8..0906aca 100644 --- a/src/models/image-quality-check-type.ts +++ b/src/models/image-quality-check-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,5 +54,3 @@ export enum ImageQualityCheckType { Brightness = 9 } - - diff --git a/src/models/image-quality-check.ts b/src/models/image-quality-check.ts index b10974d..e1bfdd9 100644 --- a/src/models/image-quality-check.ts +++ b/src/models/image-quality-check.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,10 @@ */ -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'; /** * @@ -29,19 +29,19 @@ export interface ImageQualityCheck { * @type {ImageQualityCheckType} * @memberof ImageQualityCheck */ - type?: ImageQualityCheckType; + type: ImageQualityCheckType; /** * * @type {CheckResult} * @memberof ImageQualityCheck */ - result?: CheckResult; + result: CheckResult; /** * * @type {SecurityFeatureType} * @memberof ImageQualityCheck */ - featureType?: SecurityFeatureType; + featureType: SecurityFeatureType; /** * * @type {AreaArray} @@ -49,23 +49,21 @@ export interface ImageQualityCheck { */ areas?: AreaArray; /** - * + * Check mean value * @type {number} * @memberof ImageQualityCheck */ - mean?: number; + mean: number; /** - * + * Check deviation value * @type {number} * @memberof ImageQualityCheck */ - std_dev?: number; + std_dev: number; /** - * + * Check probability value * @type {number} * @memberof ImageQualityCheck */ - probability?: number; + probability: number; } - - diff --git a/src/models/image-quality-result-all-of.ts b/src/models/image-quality-result-all-of.ts index ebd2d8a..8c7c662 100644 --- a/src/models/image-quality-result-all-of.ts +++ b/src/models/image-quality-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ImageQualityCheckList } from './image-quality-check-list'; +import type { ImageQualityCheckList } from './image-quality-check-list'; /** * @@ -28,5 +28,3 @@ export interface ImageQualityResultAllOf { */ ImageQualityCheckList: ImageQualityCheckList; } - - diff --git a/src/models/image-quality-result.ts b/src/models/image-quality-result.ts index 444ea67..a4c3cad 100644 --- a/src/models/image-quality-result.ts +++ b/src/models/image-quality-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -37,5 +38,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 a676fa8..db3c34e 100644 --- a/src/models/image-transaction-data.ts +++ b/src/models/image-transaction-data.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ImagesFieldValue } from './images-field-value'; +import type { ImagesFieldValue } from './images-field-value'; /** * @@ -28,5 +28,3 @@ export interface 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 ed1f120..ebc8c75 --- a/src/models/images-available-source.ts +++ b/src/models/images-available-source.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Source } from './source'; +import type { Source } from './source'; /** * @@ -26,7 +26,7 @@ export interface ImagesAvailableSource { * @type {number} * @memberof ImagesAvailableSource */ - containerType?: number; + containerType: number; /** * * @type {Source} @@ -34,5 +34,3 @@ export interface 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 3445b72..844ffa9 --- a/src/models/images-field-value.ts +++ b/src/models/images-field-value.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,10 @@ */ -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'; /** * @@ -35,7 +35,7 @@ export interface ImagesFieldValue { * @type {string} * @memberof ImagesFieldValue */ - value: string; + value?: string; /** * Base64 encoded image * @type {string} @@ -79,5 +79,3 @@ export interface ImagesFieldValue { */ rfidOrigin?: RfidOrigin; } - - diff --git a/src/models/images-field.ts b/src/models/images-field.ts old mode 100755 new mode 100644 index cd97af3..b093c8e --- a/src/models/images-field.ts +++ b/src/models/images-field.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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'; /** * @@ -40,6 +40,10 @@ export interface ImagesField { * @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 54de046..0789a27 --- a/src/models/images-result-all-of.ts +++ b/src/models/images-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Images } from './images'; +import type { Images } from './images'; /** * @@ -28,5 +28,3 @@ export interface ImagesResultAllOf { */ Images: Images; } - - diff --git a/src/models/images-result.ts b/src/models/images-result.ts old mode 100755 new mode 100644 index 0b75894..d6d872e --- a/src/models/images-result.ts +++ b/src/models/images-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -37,5 +38,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 dea810f..6fd2091 --- a/src/models/images.ts +++ b/src/models/images.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { ImagesAvailableSource } from './images-available-source'; -import { ImagesField } from './images-field'; +import type { ImagesAvailableSource } from './images-available-source'; +import type { ImagesField } from './images-field'; /** * @@ -22,6 +22,18 @@ import { ImagesField } from './images-field'; * @interface Images */ export interface Images { + /** + * Fields count + * @type {number} + * @memberof Images + */ + fieldCount: number; + /** + * Available sources count + * @type {number} + * @memberof Images + */ + availableSourceCount: number; /** * * @type {Array} @@ -35,5 +47,3 @@ export interface Images { */ fieldList: Array; } - - diff --git a/src/models/in-data-rfid-session.ts b/src/models/in-data-rfid-session.ts deleted file mode 100644 index 13348d9..0000000 --- a/src/models/in-data-rfid-session.ts +++ /dev/null @@ -1,31 +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. - */ - - - -/** - * - * @export - * @interface InDataRfidSession - */ -export interface InDataRfidSession { - /** - * Image url - * @type {string} - * @memberof InDataRfidSession - */ - url?: string; -} - - diff --git a/src/models/in-data-transaction-images-field-value.ts b/src/models/in-data-transaction-images-field-value.ts index d570e6d..3e4f651 100644 --- a/src/models/in-data-transaction-images-field-value.ts +++ b/src/models/in-data-transaction-images-field-value.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Light } from './light'; +import type { Light } from './light'; /** * @@ -46,5 +46,3 @@ export interface InDataTransactionImagesFieldValue { */ url?: string; } - - diff --git a/src/models/in-data-video.ts b/src/models/in-data-video.ts index 8a3fa3e..7e9700a 100644 --- a/src/models/in-data-video.ts +++ b/src/models/in-data-video.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,5 +33,3 @@ export interface InDataVideo { */ url?: string; } - - diff --git a/src/models/in-data.ts b/src/models/in-data.ts index 5f3c503..ee8c446 100644 --- a/src/models/in-data.ts +++ b/src/models/in-data.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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'; /** * @@ -35,5 +35,3 @@ export interface InData { */ images?: Array; } - - diff --git a/src/models/index.ts b/src/models/index.ts old mode 100755 new mode 100644 index 8cd037a..e13b7f5 --- 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'; @@ -21,11 +24,18 @@ 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'; 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 +49,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 +59,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 +85,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 +105,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 +120,44 @@ export * from './process-request-image'; 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'; 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 +170,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 +185,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-response200.ts b/src/models/inline-response200.ts deleted file mode 100644 index 2161f04..0000000 --- a/src/models/inline-response200.ts +++ /dev/null @@ -1,51 +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 { InData } from './in-data'; -import { OutData } from './out-data'; - -/** - * - * @export - * @interface InlineResponse200 - */ -export interface InlineResponse200 { - /** - * - * @type {OutData} - * @memberof InlineResponse200 - */ - OutData?: OutData; - /** - * - * @type {InData} - * @memberof InlineResponse200 - */ - InData?: InData; - /** - * - * @type {string} - * @memberof InlineResponse200 - */ - tag?: string; - /** - * - * @type {string} - * @memberof InlineResponse200 - */ - transactionId?: string; -} - - diff --git a/src/models/inline-response2001.ts b/src/models/inline-response2001.ts deleted file mode 100644 index 91df427..0000000 --- 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 b1b36e3..3beb516 --- a/src/models/lcid.ts +++ b/src/models/lcid.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -129,10 +129,26 @@ export enum LCID { */ CATALAN = 1027, /** + * Chinese (HongKong S.A.R.) + */ + CHINESE_HONGKONG_SAR = 3076, + /** + * Chinese (Macao S.A.R.) + */ + CHINESE_MACAO_SAR = 5124, + /** * Chinese */ CHINESE = 2052, /** + * Chinese (Singapore) + */ + CHINESE_SINGAPORE = 4100, + /** + * Chinese (Taiwan) + */ + CHINESE_TAIWAN = 1028, + /** * Croatian */ CROATIAN = 1050, @@ -145,6 +161,10 @@ export enum LCID { */ DANISH = 1030, /** + * Divehi + */ + DIVEHI = 1125, + /** * Dutch (Belgium) */ DUTCH_BELGIUM = 2067, @@ -521,6 +541,10 @@ export enum LCID { */ SWEDISH_FINLAND = 2077, /** + * Syriac + */ + SYRIAC = 1114, + /** * Tamil */ TAMIL = 1097, @@ -579,15 +603,15 @@ export enum LCID { /** * Bengali (Bangladesh) */ - BengaliBangladesh = 2117, + BENGALI_BANGLADESH = 2117, /** * BengaliIndia */ - BengaliIndia = 1093, + BENGALI_INDIA = 1093, /** * Assamese */ - Assamese = 1101, + ASSAMESE = 1101, /** * Oriya */ @@ -662,5 +686,3 @@ export enum LCID { URDU_DETECTION = 10560 } - - 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 f953804..e3fa94f --- a/src/models/lexical-analysis-result-all-of.ts +++ b/src/models/lexical-analysis-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ListVerifiedFields } from './list-verified-fields'; +import type { ListVerifiedFields } from './list-verified-fields'; /** * @@ -26,7 +26,5 @@ export interface LexicalAnalysisResultAllOf { * @type {ListVerifiedFields} * @memberof LexicalAnalysisResultAllOf */ - ListVerifiedFields?: ListVerifiedFields; + 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 a5d6506..6358401 --- a/src/models/lexical-analysis-result.ts +++ b/src/models/lexical-analysis-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 d2de390..b337fb7 100644 --- a/src/models/license-result-all-of.ts +++ b/src/models/license-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,5 +27,3 @@ export interface LicenseResultAllOf { */ License: string; } - - diff --git a/src/models/license-result.ts b/src/models/license-result.ts index 3a59456..e739c76 100644 --- a/src/models/license-result.ts +++ b/src/models/license-result.ts @@ -2,9 +2,9 @@ /* 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.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,23 @@ */ -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 { 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 @@ -36,5 +37,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 49eb97e..add50b4 --- a/src/models/light.ts +++ b/src/models/light.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,22 +21,172 @@ */ export enum Light { /** - * No Light + * Lighting schemes are off */ OFF = 0, /** - * White + * OVI scheme + */ + OVI = 1, + /** + * Upper/lower lighters of white light scheme + */ + WHITE_TOP = 2, + /** + * Side lighters of white light scheme + */ + 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, /** - * Infrared + * 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, /** - * Ultraviolet + * 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 */ - UV = 128 + 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 } - - diff --git a/src/models/list-transactions-by-tag-response.ts b/src/models/list-transactions-by-tag-response.ts index 7f13024..b5b6620 100644 --- a/src/models/list-transactions-by-tag-response.ts +++ b/src/models/list-transactions-by-tag-response.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { GetTransactionsByTagResponse } from './get-transactions-by-tag-response'; +import type { GetTransactionsByTagResponse } from './get-transactions-by-tag-response'; /** * @@ -34,5 +34,3 @@ export interface 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 7f2b167..85f1447 --- a/src/models/list-verified-fields.ts +++ b/src/models/list-verified-fields.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { VerifiedFieldMap } from './verified-field-map'; +import type { VerifiedFieldMap } from './verified-field-map'; /** * @@ -21,12 +21,16 @@ import { VerifiedFieldMap } from './verified-field-map'; * @interface ListVerifiedFields */ export interface ListVerifiedFields { + /** + * Number of pFieldMaps array elements + * @type {number} + * @memberof ListVerifiedFields + */ + Count: number; /** * * @type {Array} * @memberof ListVerifiedFields */ - pFieldMaps?: Array; + pFieldMaps: Array; } - - diff --git a/src/models/liveness-params.ts b/src/models/liveness-params.ts index 1173746..7a014d2 100644 --- a/src/models/liveness-params.ts +++ b/src/models/liveness-params.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -45,5 +45,3 @@ export interface LivenessParams { */ checkED?: boolean; } - - diff --git a/src/models/log-level.ts b/src/models/log-level.ts index ff3b5f5..9584614 100644 --- a/src/models/log-level.ts +++ b/src/models/log-level.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,5 +42,3 @@ export enum LogLevel { DEBUG = 'Debug' } - - diff --git a/src/models/measure-system.ts b/src/models/measure-system.ts index 2063061..5c17420 100644 --- a/src/models/measure-system.ts +++ b/src/models/measure-system.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,5 +30,3 @@ export enum MeasureSystem { IMPERIAL = 1 } - - diff --git a/src/models/mrz-detect-mode-enum.ts b/src/models/mrz-detect-mode-enum.ts index 6c5ffcd..df1cc89 100644 --- a/src/models/mrz-detect-mode-enum.ts +++ b/src/models/mrz-detect-mode-enum.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,5 +25,3 @@ export enum MrzDetectModeEnum { eMDM_BlurBeforeBinarization = 2 } - - 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 95bcb77..0000000 --- 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 8d695fe..0000000 --- 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 1b3de2d..5ff90f0 100644 --- a/src/models/mrzformat.ts +++ b/src/models/mrzformat.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,5 +46,3 @@ export enum 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 8dcd897..1606d57 100644 --- a/src/models/ocrsecurity-text-result-all-of.ts +++ b/src/models/ocrsecurity-text-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,9 +13,9 @@ */ -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'; /** * @@ -28,49 +28,55 @@ export interface OCRSecurityTextResultAllOf { * @type {Critical} * @memberof OCRSecurityTextResultAllOf */ - CriticalFlag?: Critical; + CriticalFlag: Critical; /** * * @type {Light} * @memberof OCRSecurityTextResultAllOf */ - LightType?: Light; + LightType: Light; /** * * @type {RectangleCoordinates} * @memberof OCRSecurityTextResultAllOf */ - FieldRect?: RectangleCoordinates; + FieldRect: RectangleCoordinates; /** * * @type {number} * @memberof OCRSecurityTextResultAllOf */ - EtalonResultType?: number; + EtalonResultType: number; /** * * @type {number} * @memberof OCRSecurityTextResultAllOf */ - EtalonFieldType?: number; + EtalonFieldType: number; /** * * @type {number} * @memberof OCRSecurityTextResultAllOf */ - EtalonLightType?: number; + EtalonLightType: number; + /** + * + * @type {RectangleCoordinates} + * @memberof OCRSecurityTextResultAllOf + */ + EtalonFieldRect: RectangleCoordinates; /** * * @type {string} * @memberof OCRSecurityTextResultAllOf */ - SecurityTextResultOCR?: string; + SecurityTextResultOCR: string; /** * * @type {string} * @memberof OCRSecurityTextResultAllOf */ - EtalonResultOCR?: string; + EtalonResultOCR: string; /** * * @type {number} @@ -84,5 +90,3 @@ export interface OCRSecurityTextResultAllOf { */ Reserved2?: number; } - - diff --git a/src/models/ocrsecurity-text-result.ts b/src/models/ocrsecurity-text-result.ts index dbbc247..9f85018 100644 --- a/src/models/ocrsecurity-text-result.ts +++ b/src/models/ocrsecurity-text-result.ts @@ -2,9 +2,9 @@ /* 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.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 30d910a..f3764ed --- a/src/models/one-candidate.ts +++ b/src/models/one-candidate.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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 @@ -27,55 +27,65 @@ export interface OneCandidate { * @type {string} * @memberof OneCandidate */ - DocumentName?: string; + DocumentName: string; /** * Unique document type template identifier (Regula\'s internal numeric code) * @type {number} * @memberof OneCandidate */ - ID?: number; + ID: number; /** * A measure of the likelihood of correct recognition in the analysis of this type of document * @type {number} * @memberof OneCandidate */ - P?: number; + P: number; + /** + * true if the document of the given type is rotated by 180 degrees + * @type {boolean} + * @memberof OneCandidate + */ + Rotated180: boolean; /** * * @type {RfidLocation} * @memberof OneCandidate */ - RFID_Presence?: RfidLocation; + RFID_Presence: RfidLocation; /** * * @type {FDSIDList} * @memberof OneCandidate */ - FDSIDList?: FDSIDList; + FDSIDList: FDSIDList; /** * Combination of lighting scheme identifiers (Light enum) required to conduct OCR for this type of document * @type {number} * @memberof OneCandidate */ - NecessaryLights?: number; + NecessaryLights: number; /** * Set of authentication options provided for this type of document (combination of Authenticity enum) * @type {number} * @memberof OneCandidate */ - CheckAuthenticity?: number; + 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; + 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; + 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-graphics-result.ts b/src/models/original-graphics-result.ts deleted file mode 100644 index b0e9c7b..0000000 --- a/src/models/original-graphics-result.ts +++ /dev/null @@ -1,38 +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 { TOriginalRFIDGraphics } from './toriginal-rfidgraphics'; - -/** - * - * @export - * @interface OriginalGraphicsResult - */ -export interface OriginalGraphicsResult { - /** - * Count of array fields - * @type {number} - * @memberof OriginalGraphicsResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof OriginalGraphicsResult - */ - pArrayFields?: Array; -} - - diff --git a/src/models/original-symbol.ts b/src/models/original-symbol.ts old mode 100755 new mode 100644 index 510342c..9e891e8 --- a/src/models/original-symbol.ts +++ b/src/models/original-symbol.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { RectangleCoordinates } from './rectangle-coordinates'; +import type { RectangleCoordinates } from './rectangle-coordinates'; /** * @@ -26,13 +26,13 @@ export interface OriginalSymbol { * @type {number} * @memberof OriginalSymbol */ - code?: number; + code: number; /** * Probability of correctness reading of a single character * @type {number} * @memberof OriginalSymbol */ - probability?: number; + probability: number; /** * * @type {RectangleCoordinates} @@ -40,5 +40,3 @@ export interface 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 ce023c6..8adf058 100644 --- a/src/models/out-data-transaction-images-field-value.ts +++ b/src/models/out-data-transaction-images-field-value.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { GraphicFieldType } from './graphic-field-type'; -import { Light } from './light'; +import type { GraphicFieldType } from './graphic-field-type'; +import type { Light } from './light'; /** * @@ -53,5 +53,3 @@ export interface OutDataTransactionImagesFieldValue { */ url?: string; } - - diff --git a/src/models/out-data.ts b/src/models/out-data.ts index ab4b774..6f687b6 100644 --- a/src/models/out-data.ts +++ b/src/models/out-data.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { OutDataTransactionImagesFieldValue } from './out-data-transaction-images-field-value'; +import type { OutDataTransactionImagesFieldValue } from './out-data-transaction-images-field-value'; /** * @@ -34,5 +34,3 @@ export interface OutData { */ images?: Array; } - - diff --git a/src/models/parray-field.ts b/src/models/parray-field.ts index a5a97ce..17c60c1 100644 --- a/src/models/parray-field.ts +++ b/src/models/parray-field.ts @@ -2,9 +2,9 @@ /* 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.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,9 +13,10 @@ */ -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'; /** * @@ -28,25 +29,25 @@ export interface PArrayField { * @type {number} * @memberof PArrayField */ - bcAngle_DETECT?: number; + bcAngle_DETECT: number; /** * * @type {number} * @memberof PArrayField */ - bcCodeResult?: number; + bcCodeResult: number; /** * * @type {number} * @memberof PArrayField */ - bcCountModule?: number; + bcCountModule: number; /** * * @type {Array} * @memberof PArrayField */ - bcDataModule?: Array; + bcDataModule: Array; /** * * @type {BcPDF417INFO} @@ -58,7 +59,7 @@ export interface PArrayField { * @type {BcROIDETECT} * @memberof PArrayField */ - bcROI_DETECT?: BcROIDETECT; + bcROI_DETECT: BcROIDETECT; /** * * @type {number} @@ -73,16 +74,14 @@ export interface PArrayField { bcTextFieldType?: number; /** * - * @type {number} + * @type {BarcodeType} * @memberof PArrayField */ - bcType_DECODE?: number; + bcType_DECODE: BarcodeType; /** * * @type {number} * @memberof PArrayField */ - bcType_DETECT?: number; + bcType_DETECT: number; } - - diff --git a/src/models/parsing-error-codes.ts b/src/models/parsing-error-codes.ts new file mode 100644 index 0000000..860a5ac --- /dev/null +++ b/src/models/parsing-error-codes.ts @@ -0,0 +1,528 @@ +/* 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 enum 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 +} + diff --git a/src/models/parsing-notification-codes.ts b/src/models/parsing-notification-codes.ts index a20497b..47f0eed 100644 --- a/src/models/parsing-notification-codes.ts +++ b/src/models/parsing-notification-codes.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,559 +23,559 @@ export enum 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 */ @@ -639,267 +639,267 @@ export enum ParsingNotificationCodes { /** * 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 */ @@ -907,8 +907,6 @@ export enum ParsingNotificationCodes { /** * Country Codes from certificate and DG1 MRZ don't match */ - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = -1879047598 + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698 } - - diff --git a/src/models/per-document-config.ts b/src/models/per-document-config.ts index b05ec1b..028470b 100644 --- a/src/models/per-document-config.ts +++ b/src/models/per-document-config.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,5 +33,3 @@ export interface PerDocumentConfig { */ excludeAuthChecks?: number; } - - diff --git a/src/models/photo-ident-result-all-of.ts b/src/models/photo-ident-result-all-of.ts index aba2d49..e2e0854 100644 --- a/src/models/photo-ident-result-all-of.ts +++ b/src/models/photo-ident-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,10 @@ */ -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'; /** * @@ -29,25 +29,25 @@ export interface PhotoIdentResultAllOf { * @type {Light} * @memberof PhotoIdentResultAllOf */ - LightIndex?: Light; + LightIndex: Light; /** * * @type {RectangleCoordinates} * @memberof PhotoIdentResultAllOf */ - Area?: RectangleCoordinates; + Area: RectangleCoordinates; /** * * @type {ImageData} * @memberof PhotoIdentResultAllOf */ - SourceImage?: ImageData; + SourceImage: ImageData; /** * * @type {RawImageContainerList} * @memberof PhotoIdentResultAllOf */ - ResultImages?: RawImageContainerList; + ResultImages: RawImageContainerList; /** * * @type {number} @@ -72,6 +72,18 @@ export interface PhotoIdentResultAllOf { * @memberof PhotoIdentResultAllOf */ Angle?: number; + /** + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ + Reserved1?: number; + /** + * + * @type {number} + * @memberof PhotoIdentResultAllOf + */ + Reserved2?: number; /** * * @type {number} @@ -79,5 +91,3 @@ export interface PhotoIdentResultAllOf { */ Reserved3?: number; } - - diff --git a/src/models/photo-ident-result.ts b/src/models/photo-ident-result.ts index 4c1fb25..dd06a4e 100644 --- a/src/models/photo-ident-result.ts +++ b/src/models/photo-ident-result.ts @@ -2,9 +2,9 @@ /* 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.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 63ca78e..54c36e6 100644 --- a/src/models/point-array.ts +++ b/src/models/point-array.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Point } from './point'; +import type { Point } from './point'; /** * @@ -26,7 +26,5 @@ export interface PointArray { * @type {Array} * @memberof PointArray */ - PointsList?: Array; + PointsList: Array; } - - diff --git a/src/models/point.ts b/src/models/point.ts index 4557bd4..2fd3890 100644 --- a/src/models/point.ts +++ b/src/models/point.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,13 +25,11 @@ export interface Point { * @type {number} * @memberof Point */ - x?: number; + x: number; /** * * @type {number} * @memberof Point */ - y?: number; + y: number; } - - diff --git a/src/models/points-container.ts b/src/models/points-container.ts index ee479f8..72e29a2 100644 --- a/src/models/points-container.ts +++ b/src/models/points-container.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Point } from './point'; +import type { Point } from './point'; /** * @@ -32,7 +32,5 @@ export interface PointsContainer { * @type {Array} * @memberof PointsContainer */ - PointsList?: Array; + PointsList: Array; } - - diff --git a/src/models/process-param.ts b/src/models/process-param.ts deleted file mode 100755 index f6811fa..0000000 --- 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 0aff885..f24ad63 100644 --- a/src/models/process-params-rfid.ts +++ b/src/models/process-params-rfid.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ParsingNotificationCodes } from './parsing-notification-codes'; +import type { ParsingNotificationCodes } from './parsing-notification-codes'; /** * Params for the RFID chip data reprocessing @@ -28,5 +28,3 @@ export interface ProcessParamsRfid { */ paSensitiveCodesDisable?: Array; } - - diff --git a/src/models/process-params.ts b/src/models/process-params.ts old mode 100755 new mode 100644 index 232bc9f..d1ad3a5 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -2,9 +2,9 @@ /* 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.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,21 +13,22 @@ */ -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'; /** * @@ -37,16 +38,22 @@ import { TextPostProcessing } from './text-post-processing'; 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} + * @type {Array} + * @memberof ProcessParams + */ + lcidFilter?: Array; + /** + * This parameter is used to enable document liveness check. + * @type {boolean} * @memberof ProcessParams */ - lcidFilter?: Array; + 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} + * @type {Array} * @memberof ProcessParams */ - lcidIgnoreFilter?: Array; + 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} @@ -362,5 +369,3 @@ export interface 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 7d3bff7..0000000 --- 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 d2b194b..b994c39 --- a/src/models/process-request-image.ts +++ b/src/models/process-request-image.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { ImageData } from './image-data'; -import { Light } from './light'; +import type { ImageData } from './image-data'; +import type { Light } from './light'; /** * @@ -41,5 +41,3 @@ export interface 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 7893969..0408dc6 --- a/src/models/process-request.ts +++ b/src/models/process-request.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,11 @@ */ -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'; /** * @@ -24,6 +25,12 @@ import { ProcessSystemInfo } from './process-system-info'; * @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 + */ + lcidFilter?: Array; /** * * @type {ProcessParams} @@ -85,5 +92,3 @@ export interface 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 abf23bc..b908f27 --- a/src/models/process-response.ts +++ b/src/models/process-response.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,10 @@ */ -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'; /** * @@ -29,7 +29,7 @@ export interface ProcessResponse { * @type {RfidLocation} * @memberof ProcessResponse */ - ChipPage?: RfidLocation; + ChipPage: RfidLocation; /** * * @type {ProcessingStatus} @@ -65,13 +65,17 @@ export interface ProcessResponse { * @type {number} * @memberof ProcessResponse */ - morePagesAvailable?: number; + morePagesAvailable: number; /** * Time the document processing has taken, ms. * @type {number} * @memberof ProcessResponse */ - elapsedTime?: number; + 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 cbacb98..fc9a35f --- a/src/models/process-system-info.ts +++ b/src/models/process-system-info.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,5 +33,3 @@ export interface 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 3fa9002..22dcf7e --- a/src/models/processing-status.ts +++ b/src/models/processing-status.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,5 +34,3 @@ export enum ProcessingStatus { TIMEOUT = 2 } - - diff --git a/src/models/raw-data-result.ts b/src/models/raw-data-result.ts deleted file mode 100644 index 844ae26..0000000 --- a/src/models/raw-data-result.ts +++ /dev/null @@ -1,38 +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 { TBinaryData } from './tbinary-data'; - -/** - * - * @export - * @interface RawDataResult - */ -export interface RawDataResult { - /** - * Count of array fields - * @type {number} - * @memberof RawDataResult - */ - nFields?: number; - /** - * - * @type {Array} - * @memberof RawDataResult - */ - pArrayFields?: Array; -} - - diff --git a/src/models/raw-image-container-field-list-all-of.ts b/src/models/raw-image-container-field-list-all-of.ts new file mode 100644 index 0000000..87027ea --- /dev/null +++ b/src/models/raw-image-container-field-list-all-of.ts @@ -0,0 +1,29 @@ +/* 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 RawImageContainerFieldListAllOf + */ +export interface RawImageContainerFieldListAllOf { + /** + * Image format + * @type {string} + * @memberof RawImageContainerFieldListAllOf + */ + format: string; +} diff --git a/src/models/raw-image-container-field-list.ts b/src/models/raw-image-container-field-list.ts new file mode 100644 index 0000000..7161e57 --- /dev/null +++ b/src/models/raw-image-container-field-list.ts @@ -0,0 +1,24 @@ +/* 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 { ImageData } from './image-data'; +import type { RawImageContainerFieldListAllOf } from './raw-image-container-field-list-all-of'; + +/** + * @type RawImageContainerFieldList + * @export + */ +export type RawImageContainerFieldList = ImageData & RawImageContainerFieldListAllOf; + diff --git a/src/models/raw-image-container-list.ts b/src/models/raw-image-container-list.ts index 50c4bad..d203723 100644 --- a/src/models/raw-image-container-list.ts +++ b/src/models/raw-image-container-list.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ImageData } from './image-data'; +import type { ImageData } from './image-data'; /** * @@ -26,13 +26,11 @@ export interface RawImageContainerList { * @type {number} * @memberof RawImageContainerList */ - Count?: number; + Count: number; /** * * @type {Array} * @memberof RawImageContainerList */ - Images?: Array; + Images: Array; } - - diff --git a/src/models/raw-image-container.ts b/src/models/raw-image-container.ts deleted file mode 100755 index 033193b..0000000 --- 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 786e408..0000000 --- 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 ba57aef..0000000 --- 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 e1c925d..ab688f9 --- a/src/models/rectangle-coordinates.ts +++ b/src/models/rectangle-coordinates.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -45,5 +45,3 @@ export interface RectangleCoordinates { */ bottom: number; } - - diff --git a/src/models/result-item.ts b/src/models/result-item.ts old mode 100755 new mode 100644 index ea67022..725b645 --- a/src/models/result-item.ts +++ b/src/models/result-item.ts @@ -2,9 +2,9 @@ /* 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.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,21 +13,22 @@ */ -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'; /** * Common fields for all result objects @@ -66,5 +67,3 @@ export interface ResultItem { */ result_type: number; } - - diff --git a/src/models/result.ts b/src/models/result.ts old mode 100755 new mode 100644 index f37b180..48823d8 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -69,10 +69,18 @@ export enum Result { */ AUTHENTICITY = 20, /** + * Contains result of DocVisualExtendedInfoContainer + */ + MAGNETIC_STRIPE_TEXT_DATA = 26, + /** * Contains image quality check results */ IMAGE_QUALITY = 30, /** + * Contains result of DocGraphicsInfoContainer + */ + LIVE_PORTRAIT = 32, + /** * Contains check statuses with details, grouped by source */ STATUS = 33, @@ -81,6 +89,10 @@ export enum Result { */ 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, @@ -89,6 +101,10 @@ export enum Result { */ IMAGES = 37, /** + * Contains result of DocGraphicsInfoContainer + */ + FINGERPRINTS = 38, + /** * Contains result of fingerprints comparison */ FINGERPRINT_COMPARISON = 39, @@ -101,6 +117,14 @@ export enum Result { */ 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, @@ -126,5 +150,3 @@ export enum Result { RFID_ORIGINAL_GRAPHICS = 105 } - - diff --git a/src/models/rfid-access-control-info.ts b/src/models/rfid-access-control-info.ts new file mode 100644 index 0000000..9aa75a2 --- /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 0000000..efd2560 --- /dev/null +++ b/src/models/rfid-access-control-procedure-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 authentication or secure data access procedure + * @export + * @enum {string} + */ +export enum 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 +} + diff --git a/src/models/rfid-access-key.ts b/src/models/rfid-access-key.ts new file mode 100644 index 0000000..35a0f75 --- /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/rfid-achip.ts b/src/models/rfid-achip.ts new file mode 100644 index 0000000..efeb9d0 --- /dev/null +++ b/src/models/rfid-achip.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. + */ + + + +/** + * 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, + /** + * MIFARE® 1K + */ + MIFARE_1K = 1, + /** + * MIFARE® 4K + */ + MIFARE_4K = 2, + /** + * MIFARE® Ultralight + */ + MIFARE_ULTRALIGHT = 3, + /** + * MIFARE® DESFire + */ + MIFARE_DES_FIRE = 4, + /** + * MIFARE® ProX or SmartMX xD(T) + */ + MIFARE_PROX = 5 +} + diff --git a/src/models/rfid-application-type.ts b/src/models/rfid-application-type.ts new file mode 100644 index 0000000..a83ac44 --- /dev/null +++ b/src/models/rfid-application-type.ts @@ -0,0 +1,64 @@ +/* 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 enum 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, + /** + * 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 new file mode 100644 index 0000000..00b46c6 --- /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 0000000..098908b --- /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 0000000..58443ea --- /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 0000000..4b03e2d --- /dev/null +++ b/src/models/rfid-authentication-procedure-type.ts @@ -0,0 +1,40 @@ +/* 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 enum RfidAuthenticationProcedureType { + /** + * Not defined + */ + UNDEFINED = 0, + /** + * Standard authentication procedure + */ + STANDARD = 1, + /** + * Advanced authentication procedure + */ + ADVANCED = 2, + /** + * General authentication procedure + */ + GENERAL = 3 +} + diff --git a/src/models/rfid-baud-rate.ts b/src/models/rfid-baud-rate.ts new file mode 100644 index 0000000..e5487a5 --- /dev/null +++ b/src/models/rfid-baud-rate.ts @@ -0,0 +1,44 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfid-card-properties-ext.ts b/src/models/rfid-card-properties-ext.ts new file mode 100644 index 0000000..a4b7bd4 --- /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 0000000..761fd24 --- /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 0000000..7a1caae --- /dev/null +++ b/src/models/rfid-certificate-origin.ts @@ -0,0 +1,60 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfid-certificate-type.ts b/src/models/rfid-certificate-type.ts new file mode 100644 index 0000000..ac16837 --- /dev/null +++ b/src/models/rfid-certificate-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 used in the procedure of document security object digital signature verification + * @export + * @enum {string} + */ +export enum 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 +} + diff --git a/src/models/rfid-data-file-type.ts b/src/models/rfid-data-file-type.ts new file mode 100644 index 0000000..7328c96 --- /dev/null +++ b/src/models/rfid-data-file-type.ts @@ -0,0 +1,116 @@ +/* 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 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, + DTC_DG17 = 57, + DTC_DG18 = 58, + DTC_DG22 = 62, + DTC_DG23 = 63, + DTC_DG24 = 64, + 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 new file mode 100644 index 0000000..d01d031 --- /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 0000000..e4f95a6 --- /dev/null +++ b/src/models/rfid-data-group-type-tag.ts @@ -0,0 +1,244 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfid-dg1.ts b/src/models/rfid-dg1.ts new file mode 100644 index 0000000..59ec000 --- /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 0000000..919735e --- /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 e453c43..d503714 --- a/src/models/rfid-location.ts +++ b/src/models/rfid-location.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -34,5 +34,3 @@ export enum RfidLocation { BACK_PAGE = 2 } - - diff --git a/src/models/rfid-origin.ts b/src/models/rfid-origin.ts old mode 100755 new mode 100644 index d8333d3..8fde8b1 --- a/src/models/rfid-origin.ts +++ b/src/models/rfid-origin.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -31,19 +31,17 @@ export interface RfidOrigin { * @type {number} * @memberof RfidOrigin */ - dgTag?: number; + dgTag: number; /** * Index of the template in the record with biometric data * @type {number} * @memberof RfidOrigin */ - tagEntry?: number; + tagEntry: number; /** * Index of the variant of the biometric data template * @type {number} * @memberof RfidOrigin */ - entryView?: number; + entryView: number; } - - diff --git a/src/models/rfid-password-type.ts b/src/models/rfid-password-type.ts new file mode 100644 index 0000000..35251fd --- /dev/null +++ b/src/models/rfid-password-type.ts @@ -0,0 +1,52 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfid-pki-extension.ts b/src/models/rfid-pki-extension.ts new file mode 100644 index 0000000..3df5bcb --- /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 0000000..32be22a --- /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 0000000..2709bcc --- /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 0000000..3c909e4 --- /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 0000000..0cfe567 --- /dev/null +++ b/src/models/rfid-terminal-type.ts @@ -0,0 +1,44 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfid-terminal.ts b/src/models/rfid-terminal.ts new file mode 100644 index 0000000..a5b9385 --- /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 026c220..0000000 --- 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 0000000..ed59e4d --- /dev/null +++ b/src/models/rfid-type.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. + */ + + + +/** + * 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, + /** + * Type A + */ + A = 1, + /** + * Type B + */ + B = 2 +} + diff --git a/src/models/rfid-validity.ts b/src/models/rfid-validity.ts new file mode 100644 index 0000000..740f8d2 --- /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 0000000..09052ea --- /dev/null +++ b/src/models/rfiderror-codes.ts @@ -0,0 +1,480 @@ +/* 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 enum 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 +} + diff --git a/src/models/rfidpkdresource-type.ts b/src/models/rfidpkdresource-type.ts new file mode 100644 index 0000000..5bbe1d0 --- /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 +} + diff --git a/src/models/scenario.ts b/src/models/scenario.ts old mode 100755 new mode 100644 index ae3ded7..c3f8894 --- a/src/models/scenario.ts +++ b/src/models/scenario.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -94,5 +94,3 @@ export enum Scenario { CAPTURE = 'Capture' } - - diff --git a/src/models/security-feature-result-all-of.ts b/src/models/security-feature-result-all-of.ts index b58cef8..f95177e 100644 --- a/src/models/security-feature-result-all-of.ts +++ b/src/models/security-feature-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,11 +13,11 @@ */ -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'; /** * @@ -30,25 +30,25 @@ export interface SecurityFeatureResultAllOf { * @type {SecurityFeatureType} * @memberof SecurityFeatureResultAllOf */ - ElementType?: SecurityFeatureType; + ElementType: SecurityFeatureType; /** * * @type {RectangleCoordinates} * @memberof SecurityFeatureResultAllOf */ - ElementRect?: RectangleCoordinates; + ElementRect: RectangleCoordinates; /** * * @type {Visibility} * @memberof SecurityFeatureResultAllOf */ - Visibility?: Visibility; + Visibility: Visibility; /** * * @type {Critical} * @memberof SecurityFeatureResultAllOf */ - CriticalFlag?: Critical; + CriticalFlag: Critical; /** * * @type {AreaContainer} @@ -62,5 +62,3 @@ export interface SecurityFeatureResultAllOf { */ Reserved2?: number; } - - diff --git a/src/models/security-feature-result.ts b/src/models/security-feature-result.ts index 56b67c7..92cf947 100644 --- a/src/models/security-feature-result.ts +++ b/src/models/security-feature-result.ts @@ -2,9 +2,9 @@ /* 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.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 45c1d3b..40892da 100644 --- a/src/models/security-feature-type.ts +++ b/src/models/security-feature-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -226,5 +226,3 @@ export enum SecurityFeatureType { CONTACT_CHIP_CLASSIFICATION = 51 } - - diff --git a/src/models/source-validity.ts b/src/models/source-validity.ts old mode 100755 new mode 100644 index 1bb84d0..60038be --- a/src/models/source-validity.ts +++ b/src/models/source-validity.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** * @@ -35,5 +35,3 @@ export interface SourceValidity { */ status: CheckResult; } - - diff --git a/src/models/source.ts b/src/models/source.ts old mode 100755 new mode 100644 index 3e59e48..40bdb69 --- a/src/models/source.ts +++ b/src/models/source.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -39,8 +39,10 @@ export enum Source { /** * Magnetic */ - MAGNETIC = 'MAGNETIC' + MAGNETIC = 'MAGNETIC', + /** + * External + */ + EXTERNAL = 'EXTERNAL' } - - 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 8ee175f..02432fc --- a/src/models/status-result-all-of.ts +++ b/src/models/status-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Status } from './status'; +import type { Status } from './status'; /** * @@ -28,5 +28,3 @@ export interface StatusResultAllOf { */ Status: Status; } - - diff --git a/src/models/status-result.ts b/src/models/status-result.ts old mode 100755 new mode 100644 index 64a7b85..92a58e7 --- a/src/models/status-result.ts +++ b/src/models/status-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -37,5 +38,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 f0587e4..91afbe8 --- a/src/models/status.ts +++ b/src/models/status.ts @@ -2,9 +2,9 @@ /* 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.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,9 +13,9 @@ */ -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'; /** * @@ -40,19 +40,19 @@ export interface Status { * @type {CheckResult} * @memberof Status */ - portrait?: CheckResult; + portrait: CheckResult; /** * * @type {CheckResult} * @memberof Status */ - rfid?: CheckResult; + rfid: CheckResult; /** * * @type {CheckResult} * @memberof Status */ - stopList?: CheckResult; + stopList: CheckResult; /** * * @type {DetailsRFID} @@ -66,5 +66,3 @@ export interface 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 0507fe3..0b7704d --- a/src/models/string-recognition-result.ts +++ b/src/models/string-recognition-result.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -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 @@ -21,12 +21,34 @@ import { SymbolRecognitionResult } from './symbol-recognition-result'; * @interface StringRecognitionResult */ export interface 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 4f21d6d..ac7e85a --- a/src/models/symbol-candidate.ts +++ b/src/models/symbol-candidate.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -32,6 +32,10 @@ export interface SymbolCandidate { * @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 a35c40a..c5fe81f --- a/src/models/symbol-recognition-result.ts +++ b/src/models/symbol-recognition-result.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -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 @@ -28,12 +28,22 @@ export interface SymbolRecognitionResult { * @memberof SymbolRecognitionResult */ SymbolRect: RectangleCoordinates; + /** + * 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/tbinary-data.ts b/src/models/tbinary-data.ts deleted file mode 100644 index 76e5d11..0000000 --- a/src/models/tbinary-data.ts +++ /dev/null @@ -1,49 +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. - */ - - - -/** - * Container for extracted text fields. Fields are identified by type and language - * @export - * @interface TBinaryData - */ -export interface TBinaryData { - /** - * - * @type {number} - * @memberof TBinaryData - */ - FieldType?: number; - /** - * - * @type {string} - * @memberof TBinaryData - */ - FieldName?: string; - /** - * - * @type {number} - * @memberof TBinaryData - */ - Buf_Length?: number; - /** - * - * @type {string} - * @memberof TBinaryData - */ - Buffer?: string; -} - - diff --git a/src/models/tdoc-binary-info.ts b/src/models/tdoc-binary-info.ts new file mode 100644 index 0000000..22834b1 --- /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 2a2ca34..ffe55c3 --- a/src/models/text-available-source.ts +++ b/src/models/text-available-source.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { CheckResult } from './check-result'; -import { Source } from './source'; +import type { CheckResult } from './check-result'; +import type { Source } from './source'; /** * @@ -41,5 +41,3 @@ export interface 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 345e832..5d95f12 --- a/src/models/text-data-result-all-of.ts +++ b/src/models/text-data-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { DocVisualExtendedInfo } from './doc-visual-extended-info'; +import type { DocVisualExtendedInfo } from './doc-visual-extended-info'; /** * @@ -26,7 +26,5 @@ export interface TextDataResultAllOf { * @type {DocVisualExtendedInfo} * @memberof TextDataResultAllOf */ - DocVisualExtendedInfo?: DocVisualExtendedInfo; + 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 87967dd..af0ae6c --- a/src/models/text-data-result.ts +++ b/src/models/text-data-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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 @@ -38,5 +39,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 aaabbea..7f4cb67 --- a/src/models/text-field-type.ts +++ b/src/models/text-field-type.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -2574,5 +2574,3 @@ export enum 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 old mode 100755 new mode 100644 index 78bdc4c..bb01d04 --- a/src/models/text-field-value.ts +++ b/src/models/text-field-value.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,11 @@ */ -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'; /** * @@ -42,6 +43,12 @@ export interface TextFieldValue { * @memberof TextFieldValue */ originalValue?: string; + /** + * + * @type {CheckResult} + * @memberof TextFieldValue + */ + originalValidity: CheckResult; /** * * @type {Array} @@ -59,7 +66,7 @@ export interface TextFieldValue { * @type {number} * @memberof TextFieldValue */ - probability?: number; + probability: number; /** * * @type {RectangleCoordinates} @@ -73,5 +80,3 @@ export interface TextFieldValue { */ rfidOrigin?: RfidOrigin; } - - diff --git a/src/models/text-field.ts b/src/models/text-field.ts old mode 100755 new mode 100644 index 3624a66..9d3b7d1 --- a/src/models/text-field.ts +++ b/src/models/text-field.ts @@ -2,9 +2,9 @@ /* 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.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,12 +13,12 @@ */ -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'; /** * @@ -43,7 +43,13 @@ export interface TextField { * @type {LCID} * @memberof TextField */ - lcid?: LCID; + lcid: LCID; + /** + * LCID name + * @type {string} + * @memberof TextField + */ + lcidName: string; /** * * @type {CheckResult} @@ -87,5 +93,3 @@ export interface TextField { */ comparisonList: Array; } - - diff --git a/src/models/text-post-processing.ts b/src/models/text-post-processing.ts index f2669a8..441c1cd 100644 --- a/src/models/text-post-processing.ts +++ b/src/models/text-post-processing.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -38,5 +38,3 @@ export enum TextPostProcessing { CAPITAL = 3 } - - 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 9c29ea0..9a00c93 --- a/src/models/text-result-all-of.ts +++ b/src/models/text-result-all-of.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { Text } from './text'; +import type { Text } from './text'; /** * @@ -28,5 +28,3 @@ export interface TextResultAllOf { */ Text: Text; } - - diff --git a/src/models/text-result.ts b/src/models/text-result.ts old mode 100755 new mode 100644 index e16b487..0572e1d --- a/src/models/text-result.ts +++ b/src/models/text-result.ts @@ -2,9 +2,9 @@ /* 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.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,24 @@ */ -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 { 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'; /** * @type TextResult @@ -37,5 +38,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 78a3eec..9a5e344 --- a/src/models/text.ts +++ b/src/models/text.ts @@ -2,9 +2,9 @@ /* 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.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,9 +13,9 @@ */ -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 @@ -41,6 +41,12 @@ export interface Text { * @memberof Text */ comparisonStatus: CheckResult; + /** + * Date format + * @type {string} + * @memberof Text + */ + dateFormat: string; /** * * @type {Array} @@ -54,5 +60,3 @@ export interface Text { */ availableSourceList: Array; } - - diff --git a/src/models/tfdsidlist.ts b/src/models/tfdsidlist.ts deleted file mode 100755 index 4e0f0fe..0000000 --- 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 efbf119..0000000 --- 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 d7e2347..5ee4f75 100644 --- a/src/models/transaction-image.ts +++ b/src/models/transaction-image.ts @@ -2,9 +2,9 @@ /* 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.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,7 +13,7 @@ */ -import { ImagesFieldValue } from './images-field-value'; +import type { ImagesFieldValue } from './images-field-value'; /** * @@ -28,5 +28,3 @@ export interface 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 1137cfa..0000000 --- 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 60c7fd9..c1b428c --- a/src/models/transaction-info.ts +++ b/src/models/transaction-info.ts @@ -2,9 +2,9 @@ /* 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.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,6 +13,7 @@ */ +import type { DocumentsDatabase } from './documents-database'; /** * @@ -32,6 +33,24 @@ export interface TransactionInfo { * @memberof TransactionInfo */ DateTime?: string; + /** + * + * @type {DocumentsDatabase} + * @memberof TransactionInfo + */ + DocumentsDatabase?: DocumentsDatabase; + /** + * + * @type {string} + * @memberof TransactionInfo + */ + SystemInfo?: string; + /** + * + * @type {string} + * @memberof TransactionInfo + */ + Tag?: string; /** * * @type {string} @@ -44,6 +63,10 @@ export interface TransactionInfo { * @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 c383b09..01f8ff2 100644 --- a/src/models/transaction-process-get-response.ts +++ b/src/models/transaction-process-get-response.ts @@ -2,9 +2,9 @@ /* 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.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,8 +13,8 @@ */ -import { InData } from './in-data'; -import { OutData } from './out-data'; +import type { InData } from './in-data'; +import type { OutData } from './out-data'; /** * @@ -47,5 +47,3 @@ export interface TransactionProcessGetResponse { */ inData?: InData; } - - diff --git a/src/models/transaction-process-request.ts b/src/models/transaction-process-request.ts index 661b91f..a7b5095 100644 --- a/src/models/transaction-process-request.ts +++ b/src/models/transaction-process-request.ts @@ -2,9 +2,9 @@ /* 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.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,10 +13,10 @@ */ -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'; /** * @@ -67,5 +67,3 @@ export interface 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 new file mode 100644 index 0000000..1d1534b --- /dev/null +++ b/src/models/transaction-process-response-all-of.ts @@ -0,0 +1,29 @@ +/* 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 TransactionProcessResponseAllOf + */ +export interface TransactionProcessResponseAllOf { + /** + * + * @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 0000000..7f75859 --- /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/transaction-process-result.ts b/src/models/transaction-process-result.ts new file mode 100644 index 0000000..462c99c --- /dev/null +++ b/src/models/transaction-process-result.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 { InData } from './in-data'; +import type { OutData } from './out-data'; + +/** + * + * @export + * @interface TransactionProcessResult + */ +export interface TransactionProcessResult { + /** + * + * @type {OutData} + * @memberof TransactionProcessResult + */ + OutData?: OutData; + /** + * + * @type {InData} + * @memberof TransactionProcessResult + */ + InData?: InData; + /** + * + * @type {string} + * @memberof TransactionProcessResult + */ + tag?: string; + /** + * + * @type {string} + * @memberof TransactionProcessResult + */ + transactionId?: string; +} diff --git a/src/models/transaction-scenario-request.ts b/src/models/transaction-scenario-request.ts deleted file mode 100644 index 3f42933..0000000 --- a/src/models/transaction-scenario-request.ts +++ /dev/null @@ -1,32 +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 { Scenario } from './scenario'; - -/** - * - * @export - * @interface TransactionScenarioRequest - */ -export interface TransactionScenarioRequest { - /** - * - * @type {Scenario} - * @memberof TransactionScenarioRequest - */ - scenario?: Scenario; -} - - diff --git a/src/models/trf-ft-bytes.ts b/src/models/trf-ft-bytes.ts new file mode 100644 index 0000000..92d1b55 --- /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 0000000..4ad9e52 --- /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 30a0292..b2d1cb3 --- a/src/models/verification-result.ts +++ b/src/models/verification-result.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,5 +42,3 @@ export enum VerificationResult { COMPARE_NOT_MATCH = 4 } - - diff --git a/src/models/verified-field-map.ts b/src/models/verified-field-map.ts old mode 100755 new mode 100644 index ea5a2cb..3feb52a --- a/src/models/verified-field-map.ts +++ b/src/models/verified-field-map.ts @@ -2,9 +2,9 @@ /* 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.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,9 +13,9 @@ */ -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'; /** * @@ -28,13 +28,13 @@ export interface VerifiedFieldMap { * @type {TextFieldType} * @memberof VerifiedFieldMap */ - wFieldType?: TextFieldType; + wFieldType: TextFieldType; /** * * @type {LCID} * @memberof VerifiedFieldMap */ - wLCID?: LCID; + wLCID: LCID; /** * Field data extracted from mrz(machine readable zone) * @type {string} @@ -64,7 +64,5 @@ export interface VerifiedFieldMap { * @type {Array} * @memberof VerifiedFieldMap */ - Matrix?: Array; + Matrix: Array; } - - diff --git a/src/models/visibility.ts b/src/models/visibility.ts index 8fb304c..f888653 100644 --- a/src/models/visibility.ts +++ b/src/models/visibility.ts @@ -2,9 +2,9 @@ /* 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.2.0 + * The version of the OpenAPI document: 7.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,5 +42,3 @@ export enum Visibility { WHITE_IR_MATCHING = 8 } - - diff --git a/src/models/visual-ocr-extended-result.ts b/src/models/visual-ocr-extended-result.ts deleted file mode 100755 index 1edff53..0000000 --- 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 530c7ec..39ceede 100755 --- a/update-models.sh +++ b/update-models.sh @@ -2,35 +2,49 @@ 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 +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