Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ models/in-data.ts
models/index.ts
models/inline-response200.ts
models/inline-response2001.ts
models/input-barcode-type.ts
models/input-image-quality-checks.ts
models/lcid.ts
models/lexical-analysis-result-all-of.ts
Expand Down
4 changes: 4 additions & 0 deletions src/ext/authenticity/authenticity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ export class Authenticity implements AuthenticityCheckList {
return this.securityFeatureOrUndefined(AuthenticityResultType.EXTENDED_MRZ_CHECK);
}

public livenessChecks(): IdentChecks | undefined {
return this.identOrUndefined(AuthenticityResultType.LIVENESS);
}

public resultByType(authenticityType: number): AuthenticityCheckResult | undefined {
for (const result of this.List) {
if (result.Type == authenticityType) {
Expand Down
12 changes: 12 additions & 0 deletions src/models/face-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ export interface FaceApi {
* @memberof FaceApi
*/
proxy_type?: number;
/**
* Minimum age of a child, at which portrait comparison result will be effective. Default: 13.
* @type {number}
* @memberof FaceApi
*/
childAgeThreshold?: number;
/**
* Estimated duration of validity for a child\'s passport, years. Default: 5.
* @type {number}
* @memberof FaceApi
*/
childDocValidityYears?: number;
}


1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export * from './in-data-transaction-images-field-value';
export * from './in-data-video';
export * from './inline-response200';
export * from './inline-response2001';
export * from './input-barcode-type';
export * from './input-image-quality-checks';
export * from './lcid';
export * from './lexical-analysis-result';
Expand Down
106 changes: 106 additions & 0 deletions src/models/input-barcode-type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/* 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.
*/



/**
* Enumeration contains the types of barcodes that can be processed
* @export
* @enum {string}
*/
export enum InputBarcodeType {
/**
* Unknown
*/
UNKNOWN = 'bct_unknown',
/**
* Code 128
*/
CODE128 = 'bct_Code128',
/**
* Code 39
*/
CODE39 = 'bct_Code39',
/**
* EAN-8
*/
EAN8 = 'bct_EAN8',
/**
* ITF
*/
ITF = 'bct_ITF',
/**
* PDF417
*/
PDF417 = 'bct_PDF417',
/**
* STF
*/
STF = 'bct_STF',
/**
* MTF
*/
MTF = 'bct_MTF',
/**
* IATA
*/
IATA = 'bct_IATA',
/**
* Codabar
*/
CODABAR = 'bct_CODABAR',
/**
* UPC-A
*/
UPCA = 'bct_UPCA',
/**
* Code 93
*/
CODE93 = 'bct_CODE93',
/**
* UPC-E
*/
UPCE = 'bct_UPCE',
/**
* EAN-13
*/
EAN13 = 'bct_EAN13',
/**
* QR code
*/
QRCODE = 'bct_QRCODE',
/**
* Aztec code
*/
AZTEC = 'bct_AZTEC',
/**
* Datamatrix
*/
DATAMATRIX = 'bct_DATAMATRIX',
/**
* All 1D barcodes
*/
ALL_1D = 'bct_ALL_1D',
/**
* Code 11
*/
CODE11 = 'bct_Code11',
/**
* JAB code
*/
JABCODE = 'bct_JABCODE'
}



7 changes: 7 additions & 0 deletions src/models/process-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { DocumentFormat } from './document-format';
import { DocumentType } from './document-type';
import { FaceApi } from './face-api';
import { ImageQA } from './image-qa';
import { InputBarcodeType } from './input-barcode-type';
import { LogLevel } from './log-level';
import { MRZFormat } from './mrzformat';
import { MeasureSystem } from './measure-system';
Expand Down Expand Up @@ -386,6 +387,12 @@ export interface ProcessParams {
* @memberof ProcessParams
*/
selectLongestNames?: boolean;
/**
* Set the types of barcodes to process.
* @type {Array<InputBarcodeType>}
* @memberof ProcessParams
*/
doBarcodes?: Array<InputBarcodeType>;
}