diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index e7572d3..92ecfd5 100755 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -22,6 +22,8 @@ models/barcode-type.ts models/bc-pdf417-info.ts models/bc-roidetect.ts models/binary-data.ts +models/bsiv2-item.ts +models/bsiv2-result.ts models/byte-array-item.ts models/byte-array-result.ts models/candidates-list-item.ts diff --git a/src/models/bsiv2-item.ts b/src/models/bsiv2-item.ts new file mode 100644 index 0000000..5ca5c95 --- /dev/null +++ b/src/models/bsiv2-item.ts @@ -0,0 +1,23 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This file is auto generated by OpenAPI Generator. + * Do not edit the file manually. + */ + + + +/** + * + * @export + * @interface BSIV2Item + */ +export interface BSIV2Item { + /** + * + * @type {string} + * @memberof BSIV2Item + */ + 'XML_buffer': string; +} + diff --git a/src/models/bsiv2-result.ts b/src/models/bsiv2-result.ts new file mode 100644 index 0000000..f2b46bb --- /dev/null +++ b/src/models/bsiv2-result.ts @@ -0,0 +1,25 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * NOTE: This file is auto generated by OpenAPI Generator. + * Do not edit the file manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BSIV2Item } from './bsiv2-item'; +// May contain unused imports in some cases +// @ts-ignore +import type { Result } from './result'; +// May contain unused imports in some cases +// @ts-ignore +import type { ResultItem } from './result-item'; + +/** + * @type BSIV2Result + * @export + */ +export type BSIV2Result = BSIV2Item & ResultItem; + + diff --git a/src/models/container-list-list-inner.ts b/src/models/container-list-list-inner.ts index d3b7563..b49640a 100644 --- a/src/models/container-list-list-inner.ts +++ b/src/models/container-list-list-inner.ts @@ -14,6 +14,9 @@ import type { AuthenticityCheckList } from './authenticity-check-list'; import type { AuthenticityResult } from './authenticity-result'; // May contain unused imports in some cases // @ts-ignore +import type { BSIV2Result } from './bsiv2-result'; +// May contain unused imports in some cases +// @ts-ignore import type { BarcodePositionResult } from './barcode-position-result'; // May contain unused imports in some cases // @ts-ignore @@ -155,6 +158,6 @@ import type { VDSNCDataResult } from './vdsncdata-result'; * @type ContainerListListInner * @export */ -export type ContainerListListInner = AuthenticityResult | BarcodePositionResult | ByteArrayResult | ChosenDocumentTypeResult | DocBarCodeInfo | DocumentBinaryInfoResult | DocumentImageResult | DocumentPositionResult | DocumentTypesCandidatesResult | EncryptedRCLResult | FaceDetectionResult | GraphicsResult | ImageQualityResult | ImagesResult | LexicalAnalysisResult | LicenseResult | MDLResult | MRZDetectorResult | MRZPositionResult | MRZTestQualityResult | RFIDGraphicsInfoResult | RFIDTextDataResult | StatusResult | TextDataResult | TextResult | VDSDataResult | VDSNCDataResult; +export type ContainerListListInner = AuthenticityResult | BSIV2Result | BarcodePositionResult | ByteArrayResult | ChosenDocumentTypeResult | DocBarCodeInfo | DocumentBinaryInfoResult | DocumentImageResult | DocumentPositionResult | DocumentTypesCandidatesResult | EncryptedRCLResult | FaceDetectionResult | GraphicsResult | ImageQualityResult | ImagesResult | LexicalAnalysisResult | LicenseResult | MDLResult | MRZDetectorResult | MRZPositionResult | MRZTestQualityResult | RFIDGraphicsInfoResult | RFIDTextDataResult | StatusResult | TextDataResult | TextResult | VDSDataResult | VDSNCDataResult; diff --git a/src/models/index.ts b/src/models/index.ts index abaa57d..64dd55d 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -8,6 +8,8 @@ export * from './authenticity-check-result-item'; export * from './authenticity-check-result-list-inner'; export * from './authenticity-result'; export * from './authenticity-result-type'; +export * from './bsiv2-item'; +export * from './bsiv2-result'; export * from './bar-code-module-type'; export * from './barcode-position-item'; export * from './barcode-position-result'; diff --git a/src/models/process-params.ts b/src/models/process-params.ts index e02aba4..43a9951 100644 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -469,6 +469,18 @@ export interface ProcessParams { * @memberof ProcessParams */ 'returnTransliteratedFields'?: boolean; + /** + * When enabled, returns processing results in accordance with the BSI TR-03135 standard in addition to the existing processing results. + * @type {boolean} + * @memberof ProcessParams + */ + 'bsiTr03135Results'?: boolean; + /** + * When enabled, activates detection of the document holder’s signature presence. + * @type {boolean} + * @memberof ProcessParams + */ + 'checkHoldersSignature'?: boolean; } diff --git a/src/models/result.ts b/src/models/result.ts index d131616..69b9a2a 100644 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -123,6 +123,10 @@ export enum Result { */ BARCODE_POSITION = 62, /** + * Contains results in accordance with the BSI TR-03135 standard + */ + BSI_XML_V2 = 73, + /** * Contains information about document position on the input image, its center, angle, etc */ DOCUMENT_POSITION = 85, diff --git a/src/models/security-feature-type.ts b/src/models/security-feature-type.ts index 4d3cd71..a9c8445 100644 --- a/src/models/security-feature-type.ts +++ b/src/models/security-feature-type.ts @@ -241,7 +241,23 @@ export enum SecurityFeatureType { /** * Sex check */ - SEX_CHECK = 57 + SEX_CHECK = 57, + /** + * RFID vs ghost portrait comparison + */ + PORTRAIT_COMPARISON_RFID_VS_GHOST = 58, + /** + * Barcode vs ghost portrait comparison + */ + PORTRAIT_COMPARISON_BARCODE_VS_GHOST = 59, + /** + * Ghost vs live camera portrait comparison + */ + PORTRAIT_COMPARISON_GHOST_VS_LIVE = 60, + /** + * External vs ghost portrait comparison + */ + PORTRAIT_COMPARISON_EXT_VS_GHOST = 61 }