From e64e7b2db0c1b7c977f860214915c66d24057f98 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Fri, 6 Jun 2025 13:49:28 +0300 Subject: [PATCH 1/2] SP-18211 - update models --- src/models/authenticity-check-result-list-inner.ts | 3 +++ src/models/ocrsecurity-text-item.ts | 13 ++++++++----- src/models/ocrsecurity-text-result.ts | 3 +++ src/models/parray-field.ts | 7 +++++-- src/models/process-params.ts | 7 ++----- src/models/process-request.ts | 9 --------- src/models/result.ts | 4 ++-- src/models/rfiderror-codes.ts | 2 +- src/models/security-feature-item.ts | 6 ------ src/models/verified-field-map.ts | 6 ------ 10 files changed, 24 insertions(+), 36 deletions(-) diff --git a/src/models/authenticity-check-result-list-inner.ts b/src/models/authenticity-check-result-list-inner.ts index 615a643c..f38c3e0a 100644 --- a/src/models/authenticity-check-result-list-inner.ts +++ b/src/models/authenticity-check-result-list-inner.ts @@ -60,6 +60,9 @@ import type { SecurityFeatureResult } from './security-feature-result'; import type { SecurityFeatureType } from './security-feature-type'; // May contain unused imports in some cases // @ts-ignore +import type { TextFieldType } from './text-field-type'; +// May contain unused imports in some cases +// @ts-ignore import type { Visibility } from './visibility'; /** diff --git a/src/models/ocrsecurity-text-item.ts b/src/models/ocrsecurity-text-item.ts index 99f89455..70fded36 100644 --- a/src/models/ocrsecurity-text-item.ts +++ b/src/models/ocrsecurity-text-item.ts @@ -22,6 +22,9 @@ import type { Light } from './light'; // May contain unused imports in some cases // @ts-ignore import type { RectangleCoordinates } from './rectangle-coordinates'; +// May contain unused imports in some cases +// @ts-ignore +import type { TextFieldType } from './text-field-type'; /** * @@ -48,23 +51,23 @@ export interface OCRSecurityTextItem { */ 'FieldRect': RectangleCoordinates; /** - * + * Same as Result type, but used for safe parsing of not-described values. See Result type. * @type {number} * @memberof OCRSecurityTextItem */ 'EtalonResultType': number; /** * - * @type {number} + * @type {TextFieldType} * @memberof OCRSecurityTextItem */ - 'EtalonFieldType': number; + 'EtalonFieldType': TextFieldType; /** * - * @type {number} + * @type {Light} * @memberof OCRSecurityTextItem */ - 'EtalonLightType': number; + 'EtalonLightType': Light; /** * * @type {RectangleCoordinates} diff --git a/src/models/ocrsecurity-text-result.ts b/src/models/ocrsecurity-text-result.ts index fdaab536..d9dfc7fc 100644 --- a/src/models/ocrsecurity-text-result.ts +++ b/src/models/ocrsecurity-text-result.ts @@ -37,6 +37,9 @@ import type { OCRSecurityTextItem } from './ocrsecurity-text-item'; // May contain unused imports in some cases // @ts-ignore import type { RectangleCoordinates } from './rectangle-coordinates'; +// May contain unused imports in some cases +// @ts-ignore +import type { TextFieldType } from './text-field-type'; /** * @type OCRSecurityTextResult diff --git a/src/models/parray-field.ts b/src/models/parray-field.ts index 05833526..a83d0b66 100644 --- a/src/models/parray-field.ts +++ b/src/models/parray-field.ts @@ -25,6 +25,9 @@ import type { BcROIDETECT } from './bc-roidetect'; // May contain unused imports in some cases // @ts-ignore import type { DataModule } from './data-module'; +// May contain unused imports in some cases +// @ts-ignore +import type { TextFieldType } from './text-field-type'; /** * @@ -76,10 +79,10 @@ export interface PArrayField { 'bcTextDecoderTypes'?: number; /** * - * @type {number} + * @type {TextFieldType} * @memberof PArrayField */ - 'bcTextFieldType'?: number; + 'bcTextFieldType'?: TextFieldType; /** * * @type {BarcodeType} diff --git a/src/models/process-params.ts b/src/models/process-params.ts index b833774f..3b859dca 100644 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -18,9 +18,6 @@ import type { AuthParams } from './auth-params'; // May contain unused imports in some cases // @ts-ignore -import type { AuthenticityResultType } from './authenticity-result-type'; -// May contain unused imports in some cases -// @ts-ignore import type { DocumentFormat } from './document-format'; // May contain unused imports in some cases // @ts-ignore @@ -355,10 +352,10 @@ export interface ProcessParams { 'documentGroupFilter'?: Array; /** * - * @type {AuthenticityResultType} + * @type {number} * @memberof ProcessParams */ - 'processAuth'?: AuthenticityResultType; + 'processAuth'?: number; /** * This parameter is used to specify the document reader device type from which input images were captured. Default 0. * @type {number} diff --git a/src/models/process-request.ts b/src/models/process-request.ts index c5ad4458..ca4cddb3 100644 --- a/src/models/process-request.ts +++ b/src/models/process-request.ts @@ -18,9 +18,6 @@ import type { ContainerList } from './container-list'; // May contain unused imports in some cases // @ts-ignore -import type { LCID } from './lcid'; -// May contain unused imports in some cases -// @ts-ignore import type { ProcessParams } from './process-params'; // May contain unused imports in some cases // @ts-ignore @@ -107,11 +104,5 @@ export interface ProcessRequest { * @memberof ProcessRequest */ 'ImageUrls'?: Array; - /** - * 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; } diff --git a/src/models/result.ts b/src/models/result.ts index 554fc0d9..aeaa9541 100644 --- a/src/models/result.ts +++ b/src/models/result.ts @@ -122,11 +122,11 @@ export enum Result { */ LICENSE = 50, /** - * Contains result of DocumentPosition + * Contains result of MRZ position */ MRZ_POSITION = 61, /** - * Contains result of DocumentPosition + * Contains result of barcode position */ BARCODE_POSITION = 62, /** diff --git a/src/models/rfiderror-codes.ts b/src/models/rfiderror-codes.ts index 0ec07479..6c3e14bd 100644 --- a/src/models/rfiderror-codes.ts +++ b/src/models/rfiderror-codes.ts @@ -468,7 +468,7 @@ export enum RFIDErrorCodes { /** * RFID: Failed */ - RFID_ERROR_FAILED = 4294967295, + RFID_ERROR_FAILED = -1, /** * RFID: No error */ diff --git a/src/models/security-feature-item.ts b/src/models/security-feature-item.ts index a7efd0a5..4387f315 100644 --- a/src/models/security-feature-item.ts +++ b/src/models/security-feature-item.ts @@ -65,12 +65,6 @@ export interface SecurityFeatureItem { * @memberof SecurityFeatureItem */ 'AreaList'?: AreaContainer; - /** - * - * @type {number} - * @memberof SecurityFeatureItem - */ - 'Result'?: number; /** * * @type {number} diff --git a/src/models/verified-field-map.ts b/src/models/verified-field-map.ts index df8e492e..9566d7d6 100644 --- a/src/models/verified-field-map.ts +++ b/src/models/verified-field-map.ts @@ -71,12 +71,6 @@ export interface VerifiedFieldMap { * @memberof VerifiedFieldMap */ 'Matrix': Array; - /** - * - * @type {number} - * @memberof VerifiedFieldMap - */ - 'FieldType'?: number; } From 0cab0b676afd24f1e5fc69aebb8f021564f14a13 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Tue, 10 Jun 2025 16:32:52 +0300 Subject: [PATCH 2/2] SP-18211 - update models --- src/models/certificate-data.ts | 4 +- src/models/fiber-item.ts | 6 - src/models/ident-item.ts | 6 - src/models/light.ts | 12 +- src/models/ocrsecurity-text-item.ts | 6 - src/models/parsing-error-codes.ts | 32 + src/models/parsing-notification-codes.ts | 546 +++++++++++++++--- src/models/photo-ident-item.ts | 6 - src/models/process-params.ts | 2 +- .../rfid-access-control-procedure-type.ts | 6 +- src/models/rfid-baud-rate.ts | 14 +- src/models/rfid-certificate-type.ts | 18 +- src/models/rfid-data-file-type.ts | 10 +- src/models/rfid-data-group-type-tag.ts | 22 +- src/models/rfid-password-type.ts | 6 +- src/models/rfiderror-codes.ts | 464 +++++++-------- src/models/symbol-recognition-result.ts | 6 - src/models/visual-extended-field-item.ts | 6 - 18 files changed, 822 insertions(+), 350 deletions(-) diff --git a/src/models/certificate-data.ts b/src/models/certificate-data.ts index a6a3ddd4..6b651949 100644 --- a/src/models/certificate-data.ts +++ b/src/models/certificate-data.ts @@ -28,9 +28,9 @@ export interface CertificateData { 'Data': string; /** * - * @type {string} + * @type {number} * @memberof CertificateData */ - 'Length': string; + 'Length': number; } diff --git a/src/models/fiber-item.ts b/src/models/fiber-item.ts index fa7ed715..22f78e62 100644 --- a/src/models/fiber-item.ts +++ b/src/models/fiber-item.ts @@ -80,12 +80,6 @@ export interface FiberItem { * @memberof FiberItem */ 'ColorValues': Array; - /** - * - * @type {number} - * @memberof FiberItem - */ - 'ErrorCode'?: number; } diff --git a/src/models/ident-item.ts b/src/models/ident-item.ts index eb4a111a..43fc140a 100644 --- a/src/models/ident-item.ts +++ b/src/models/ident-item.ts @@ -77,12 +77,6 @@ export interface IdentItem { * @memberof IdentItem */ 'ElementID'?: number; - /** - * - * @type {number} - * @memberof IdentItem - */ - 'Result'?: number; } diff --git a/src/models/light.ts b/src/models/light.ts index b57f6eeb..843a81eb 100644 --- a/src/models/light.ts +++ b/src/models/light.ts @@ -26,6 +26,14 @@ export enum Light { */ OFF = 0, /** + * Upper/lower lighters of white light scheme + */ + WHITE_TOP = 2, + /** + * Side lighters of white light scheme + */ + WHITE_SIDE = 4, + /** * White */ WHITE = 6, @@ -38,9 +46,9 @@ export enum Light { */ UV = 128, /** - * Right and left lighters of white coaxial light scheme + * White coaxial */ - AXIAL_WHITE_FULL = 3072 + AXIAL_WHITE = 3072 } diff --git a/src/models/ocrsecurity-text-item.ts b/src/models/ocrsecurity-text-item.ts index 70fded36..dad4b80f 100644 --- a/src/models/ocrsecurity-text-item.ts +++ b/src/models/ocrsecurity-text-item.ts @@ -86,12 +86,6 @@ export interface OCRSecurityTextItem { * @memberof OCRSecurityTextItem */ 'EtalonResultOCR': string; - /** - * - * @type {number} - * @memberof OCRSecurityTextItem - */ - 'ResultCode'?: number; /** * * @type {number} diff --git a/src/models/parsing-error-codes.ts b/src/models/parsing-error-codes.ts index b0766e61..b074d2eb 100644 --- a/src/models/parsing-error-codes.ts +++ b/src/models/parsing-error-codes.ts @@ -142,6 +142,38 @@ export enum ParsingErrorCodes { */ errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687, /** + * ASN DTC Signer info: Incorrect data + */ + errLDS_ASN_DTC_SignerInfo_IncorrectData = 2147483712, + /** + * ASN DTC Signer info: Certificate incorrect data + */ + errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData = 2147483713, + /** + * ASN DTC Signer info: Digest algorithms incorrect data + */ + errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData = 2147483714, + /** + * ASN DTC Signer info: Signed attributes incorrect data + */ + errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData = 2147483715, + /** + * ASN DTC Signer info: Sign algorithms incorrect data + */ + errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData = 2147483716, + /** + * ASN DTC Signer info: Signature incorrect data + */ + errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData = 2147483717, + /** + * ASN DTC Security info: Incorrect data + */ + errLDS_ASN_DTC_SecurityInfo_IncorrectData = 2147483718, + /** + * ASN DTC Content info: Incorrect data + */ + errLDS_ASN_DTC_ContentInfo_IncorrectData = 2147483719, + /** * ICAO LDS object: Unsupported digest algorithm */ errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm = 2147483696, diff --git a/src/models/parsing-notification-codes.ts b/src/models/parsing-notification-codes.ts index 75d9808e..9b25b74b 100644 --- a/src/models/parsing-notification-codes.ts +++ b/src/models/parsing-notification-codes.ts @@ -54,7 +54,7 @@ export enum ParsingNotificationCodes { */ ntfLDS_ASN_Certificate_ForcedDefaultCSCARole = 2415919118, /** - * ASN certificate: Forced Default DS role + * ASN certificate: Forced default DS role */ ntfLDS_ASN_Certificate_ForcedDefaultDSRole = 2415919119, /** @@ -178,11 +178,11 @@ export enum ParsingNotificationCodes { */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_Missed = 2415919643, /** - * ICAO certificate extension Auth key: Incorrect data + * ICAO certificate extension Auth key: ID incorrect data */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_IncorrectData = 2415919644, /** - * ICAO certificate extension Auth key: Key ID missed + * ICAO certificate extension Auth key: ID key ID missed */ ntfLDS_ICAO_Certificate_Ext_AuthKeyID_KeyID_Missed = 2415919645, /** @@ -290,7 +290,7 @@ export enum ParsingNotificationCodes { */ ntfLDS_ICAO_Certificate_Ext_DocTypeList_DocTypes_Empty = 2415919673, /** - * ICAO certificate extension: Dert policies incorrect data + * ICAO certificate extension: Cert policies incorrect data */ ntfLDS_ICAO_Certificate_Ext_CertPolicies_IncorrectData = 2415919674, /** @@ -358,7 +358,7 @@ export enum ParsingNotificationCodes { */ ntfLDS_ICAO_Certificate_Ext_NameChange_Critical = 2415919690, /** - * ICAO certificate extension Doc type list: non-compliant + * ICAO certificate extension Doc type list: Non-compliant */ ntfLDS_ICAO_Certificate_Ext_DocTypeList_NonCompliant = 2415919691, /** @@ -378,6 +378,26 @@ export enum ParsingNotificationCodes { */ ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant = 2415919695, /** + * ICAO certificate: Chain country non-matching + */ + ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = 2415919696, + /** + * ICAO certificate: Visual MRZ country non-matching + */ + ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697, + /** + * ICAO certificate: MRZ country non-matching + */ + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698, + /** + * ICAO certificate: Issuer country non-uppercase + */ + ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase = 2415919699, + /** + * ICAO certificate: Subject country non-uppercase + */ + ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase = 2415919700, + /** * ICAO COM: LDS version incorrect */ ntfLDS_ICAO_COM_LDS_Version_Incorrect = 2415919136, @@ -486,11 +506,11 @@ export enum ParsingNotificationCodes { */ ntfLDS_ICAO_MasterList_Version_Incorrect = 2415919552, /** - * ICAO Deviation list: Version incorrect + * ICAO deviation list: Version incorrect */ ntfLDS_ICAO_DeviationList_Version_Incorrect = 2415919560, /** - * BSI: Defect list version incorrect + * BSI: Defect list version incorrect */ ntfLDS_BSI_DefectList_Version_Incorrect = 2415919568, /** @@ -638,6 +658,10 @@ export enum ParsingNotificationCodes { */ ntfLDS_MRZ_Incorrect = 139288, /** + * MRZ: Country code visual MRZ non-matching + */ + ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, + /** * Biometrics: Format owner missing */ ntfLDS_Biometrics_FormatOwner_Missing = 2415984640, @@ -682,87 +706,483 @@ export enum ParsingNotificationCodes { */ ntfLDS_Biometrics_BDB_DataLength_Incorrect = 2416640000, /** - * Biometrics: BDB Data Gender + * Biometrics: BDB data incorrect + */ + ntfLDS_Biometrics_BDB_Data_Incorrect = 2416705536, + /** + * Biometrics: BDB data gender */ ntfLDS_Biometrics_BDB_Data_Gender = 2416967680, /** - * Biometrics: BDB Data Eye Color + * Biometrics: BDB data eye color */ ntfLDS_Biometrics_BDB_Data_EyeColor = 2417033216, /** - * Biometrics: BDB Data Hair Color + * Biometrics: BDB data hair color */ ntfLDS_Biometrics_BDB_Data_HairColor = 2417098752, /** - * Biometrics: BDB Data Pose Angle Yaw + * Biometrics: BDB data pose angle yaw */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Yaw = 2417164288, /** - * Biometrics: BDB Data Pose Angle Pitch + * Biometrics: BDB data pose angle pitch */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Pitch = 2417229824, /** - * Biometrics: BDB Data Pose Angle Roll + * Biometrics: BDB data pose angle roll */ ntfLDS_Biometrics_BDB_Data_PoseAngle_Roll = 2417295360, /** - * Biometrics: BDB Data Pose Angle U Yaw + * Biometrics: BDB data pose angle U yaw */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Yaw = 2417360896, /** - * Biometrics: BDB Data Pose Angle U Pitch + * Biometrics: BDB data pose angle U pitch */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Pitch = 2417426432, /** - * Biometrics: BDB Data Pose Angle U Roll + * Biometrics: BDB data pose angle U roll */ ntfLDS_Biometrics_BDB_Data_PoseAngleU_Roll = 2417491968, /** - * Biometrics: BDB Data Face Image Type + * Biometrics: BDB data face image type */ ntfLDS_Biometrics_BDB_Data_FaceImageType = 2417557504, /** - * Biometrics: BDB Data Image Data Type + * Biometrics: BDB data image data type */ ntfLDS_Biometrics_BDB_Data_ImageDataType = 2417623040, /** - * SI: PACE Info Unsupported Std Parameters + * Biometrics: RB data incorrect + */ + ntfLDS_Biometrics_RB_Data_Incorrect = 2449539072, + /** + * Biometrics: RB item incorrect + */ + ntfLDS_Biometrics_RB_Item_Incorrect = 2449604608, + /** + * Biometrics: RB item missing + */ + ntfLDS_Biometrics_RB_Item_Missing = 2449670144, + /** + * Biometrics: RB item unexpected + */ + ntfLDS_Biometrics_RB_Item_Unexpected = 2449735680, + /** + * Biometrics: RB RID incorrect + */ + ntfLDS_Biometrics_RB_RID_Incorrect = 2449801232, + /** + * Biometrics: RB image R incorrect + */ + ntfLDS_Biometrics_RB_ImageR_Incorrect = 2449801248, + /** + * Biometrics: RB image item incorrect + */ + ntfLDS_Biometrics_RB_Image_Item_Incorrect = 2449801264, + /** + * Biometrics: RB image item missing + */ + ntfLDS_Biometrics_RB_Image_Item_Missing = 2449801265, + /** + * Biometrics: RB image item unexpected + */ + ntfLDS_Biometrics_RB_Image_Item_Unexpected = 2449801266, + /** + * Biometrics: RB image info item incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_Item_Incorrect = 2449801280, + /** + * Biometrics: RB image info item missing + */ + ntfLDS_Biometrics_RB_Image_Info_Item_Missing = 2449801281, + /** + * Biometrics: RB image info item unexpected + */ + ntfLDS_Biometrics_RB_Image_Info_Item_Unexpected = 2449801282, + /** + * Biometrics: RB image info format incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_Format_Incorrect = 2449801283, + /** + * Biometrics: RB image info format unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_Format_Unsupported = 2449801284, + /** + * Biometrics: RB image info kind incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_Kind_Incorrect = 2449801285, + /** + * Biometrics: RB image info kind unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_Kind_Unsupported = 2449801286, + /** + * Biometrics: RB image info post APB incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_PostAPB_Incorrect = 2449801287, + /** + * Biometrics: RB image info lossy TA incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Incorrect = 2449801288, + /** + * Biometrics: RB image info lossy TA unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Unsupported = 2449801289, + /** + * Biometrics: RB image info cam 2 subj unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_Cam2Subj_Unsupported = 2449801290, + /** + * Biometrics: RB image info sens diag unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_SensDiag_Unsupported = 2449801291, + /** + * Biometrics: RB image info lens F unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_LensF_Unsupported = 2449801292, + /** + * Biometrics: RB image info im size incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_ImSize_Incorrect = 2449801293, + /** + * Biometrics: RB image info im size unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_ImSize_Unsupported = 2449801294, + /** + * Biometrics: RB image info im meas incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_ImMeas_Incorrect = 2449801295, + /** + * Biometrics: RB image info color incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_Color_Incorrect = 2449801296, + /** + * Biometrics: RB image info color unsupported + */ + ntfLDS_Biometrics_RB_Image_Info_Color_Unsupported = 2449801297, + /** + * Biometrics: RB image info color map incorrect + */ + ntfLDS_Biometrics_RB_Image_Info_ColorMap_Incorrect = 2449801298, + /** + * Biometrics: RB image capt item incorrect + */ + ntfLDS_Biometrics_RB_Image_Capt_Item_Incorrect = 2449801312, + /** + * Biometrics: RB image capt item unexpected + */ + ntfLDS_Biometrics_RB_Image_Capt_Item_Unexpected = 2449801313, + /** + * Biometrics: RB image capt spectral unsupported + */ + ntfLDS_Biometrics_RB_Image_Capt_Spectral_Unsupported = 2449801314, + /** + * Biometrics: RB image capt tech code incorrect + */ + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Incorrect = 2449801315, + /** + * Biometrics: RB image capt tech code unsupported + */ + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Unsupported = 2449801316, + /** + * Biometrics: RB date item incorrect + */ + ntfLDS_Biometrics_RB_Date_Item_Incorrect = 2449801328, + /** + * Biometrics: RB date item missing + */ + ntfLDS_Biometrics_RB_Date_Item_Missing = 2449801329, + /** + * Biometrics: RB date item unexpected + */ + ntfLDS_Biometrics_RB_Date_Item_Unexpected = 2449801330, + /** + * Biometrics: RB date incorrect + */ + ntfLDS_Biometrics_RB_Date_Incorrect = 2449801331, + /** + * Biometrics: RB quality item incorrect + */ + ntfLDS_Biometrics_RB_Quality_Item_Incorrect = 2449801344, + /** + * Biometrics: RB quality item missing + */ + ntfLDS_Biometrics_RB_Quality_Item_Missing = 2449801345, + /** + * Biometrics: RB quality item unexpected + */ + ntfLDS_Biometrics_RB_Quality_Item_Unexpected = 2449801346, + /** + * Biometrics: RB quality alg ID item incorrect + */ + ntfLDS_Biometrics_RB_Quality_AlgID_Item_Incorrect = 2449801347, + /** + * Biometrics: RB quality SoE item incorrect + */ + ntfLDS_Biometrics_RB_Quality_SoE_Item_Incorrect = 2449801348, + /** + * Biometrics: RB quality score item incorrect + */ + ntfLDS_Biometrics_RB_Quality_Score_Item_Incorrect = 2449801349, + /** + * Biometrics: RB quality error item incorrect + */ + ntfLDS_Biometrics_RB_Quality_Error_Item_Incorrect = 2449801350, + /** + * Biometrics: RB quality error item unsupported + */ + ntfLDS_Biometrics_RB_Quality_Error_Item_Unsupported = 2449801351, + /** + * Biometrics: RB PAD item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Item_Incorrect = 2449801360, + /** + * Biometrics: RB PAD item unexpected + */ + ntfLDS_Biometrics_RB_PAD_Item_Unexpected = 2449801361, + /** + * Biometrics: RB PAD decision item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Decision_Item_Incorrect = 2449801362, + /** + * Biometrics: RB PAD decision item unsupported + */ + ntfLDS_Biometrics_RB_PAD_Decision_Item_Unsupported = 2449801363, + /** + * Biometrics: RB PAD score item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Score_Item_Incorrect = 2449801364, + /** + * Biometrics: RB PAD score reg ID item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Score_RegID_Item_Incorrect = 2449801365, + /** + * Biometrics: RB PAD SoE item incorrect + */ + ntfLDS_Biometrics_RB_PAD_SoE_Item_Incorrect = 2449801366, + /** + * Biometrics: RB PAD SoE score item incorrect + */ + ntfLDS_Biometrics_RB_PAD_SoE_Score_Item_Incorrect = 2449801367, + /** + * Biometrics: RB PAD SoE error item incorrect + */ + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Incorrect = 2449801368, + /** + * Biometrics: RB PAD SoE error item unsupported + */ + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Unsupported = 2449801369, + /** + * Biometrics: RB PAD external data item incorrect + */ + ntfLDS_Biometrics_RB_PAD_ExtData_Item_Incorrect = 2449801370, + /** + * Biometrics: RB PAD external data type item incorrect + */ + ntfLDS_Biometrics_RB_PAD_ExtData_Type_Item_Incorrect = 2449801371, + /** + * Biometrics: RB PAD context item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Context_Item_Incorrect = 2449801372, + /** + * Biometrics: RB PAD context item unsupported + */ + ntfLDS_Biometrics_RB_PAD_Context_Item_Unsupported = 2449801373, + /** + * Biometrics: RB PAD S level item incorrect + */ + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Incorrect = 2449801374, + /** + * Biometrics: RB PAD S level item unsupported + */ + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Unsupported = 2449801375, + /** + * Biometrics: RB PAD risk level item incorrect + */ + ntfLDS_Biometrics_RB_PAD_RiskLevel_Item_Incorrect = 2449801376, + /** + * Biometrics: RB PAD criteria item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Incorrect = 2449801377, + /** + * Biometrics: RB PAD criteria item unsupported + */ + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Unsupported = 2449801378, + /** + * Biometrics: RB PAD date item incorrect + */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Incorrect = 2449801379, + /** + * Biometrics: RB PAD date item missing + */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Missing = 2449801380, + /** + * Biometrics: RB PAD date item unexpected + */ + ntfLDS_Biometrics_RB_PAD_Date_Item_Unexpected = 2449801381, + /** + * Biometrics: RB PAD date incorrect + */ + ntfLDS_Biometrics_RB_PAD_Date_Incorrect = 2449801382, + /** + * Biometrics: RB session ID incorrect + */ + ntfLDS_Biometrics_RB_SessionID_Incorrect = 2449801392, + /** + * Biometrics: RB derived incorrect + */ + ntfLDS_Biometrics_RB_Derived_Incorrect = 2449801408, + /** + * Biometrics: RB device incorrect + */ + ntfLDS_Biometrics_RB_Device_Incorrect = 2449801424, + /** + * Biometrics: RB device item unexpected + */ + ntfLDS_Biometrics_RB_Device_Item_Unexpected = 2449801425, + /** + * Biometrics: RB device model ID item incorrect + */ + ntfLDS_Biometrics_RB_Device_ModelID_Item_Incorrect = 2449801426, + /** + * Biometrics: RB device cert ID item incorrect + */ + ntfLDS_Biometrics_RB_Device_CertID_Item_Incorrect = 2449801427, + /** + * Biometrics: RB metadata item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Item_Incorrect = 2449801440, + /** + * Biometrics: RB metadata item unexpected + */ + ntfLDS_Biometrics_RB_Metadata_Item_Unexpected = 2449801441, + /** + * Biometrics: RB metadata gender item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Incorrect = 2449801442, + /** + * Biometrics: RB metadata gender item unsupported + */ + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Unsupported = 2449801443, + /** + * Biometrics: RB metadata eye item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Incorrect = 2449801444, + /** + * Biometrics: RB metadata eye item unsupported + */ + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Unsupported = 2449801445, + /** + * Biometrics: RB metadata hair item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Incorrect = 2449801446, + /** + * Biometrics: RB metadata hair item unsupported + */ + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Unsupported = 2449801447, + /** + * Biometrics: RB metadata height item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Height_Item_Incorrect = 2449801448, + /** + * Biometrics: RB metadata props item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Props_Item_Incorrect = 2449801449, + /** + * Biometrics: RB metadata props item unexpected + */ + ntfLDS_Biometrics_RB_Metadata_Props_Item_Unexpected = 2449801450, + /** + * Biometrics: RB metadata express item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Express_Item_Incorrect = 2449801451, + /** + * Biometrics: RB metadata express item unexpected + */ + ntfLDS_Biometrics_RB_Metadata_Express_Item_Unexpected = 2449801452, + /** + * Biometrics: RB metadata pose item incorrect + */ + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Incorrect = 2449801453, + /** + * Biometrics: RB metadata pose item unexpected + */ + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Unexpected = 2449801454, + /** + * Biometrics: RB landmark item incorrect + */ + ntfLDS_Biometrics_RB_LandMark_Item_Incorrect = 2449801456, + /** + * Biometrics: RB landmark item missing + */ + ntfLDS_Biometrics_RB_LandMark_Item_Missing = 2449801457, + /** + * Biometrics: RB landmark item unexpected + */ + ntfLDS_Biometrics_RB_LandMark_Item_Unexpected = 2449801458, + /** + * Biometrics: RB landmark kind item incorrect + */ + ntfLDS_Biometrics_RB_LandMark_Kind_Item_Incorrect = 2449801459, + /** + * Biometrics: RB landmark mpeg4 item incorrect + */ + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Incorrect = 2449801460, + /** + * Biometrics: RB landmark mpeg4 item unsupported + */ + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Unsupported = 2449801461, + /** + * Biometrics: RB landmark antr L item incorrect + */ + ntfLDS_Biometrics_RB_LandMark_AntrL_Item_Incorrect = 2449801462, + /** + * Biometrics: RB landmark coordinate item incorrect + */ + ntfLDS_Biometrics_RB_LandMark_Coord_Item_Incorrect = 2449801463, + /** + * DTC content info: Version incorrect + */ + ntfLDS_DTC_ContentInfo_Version_Incorrect = 2415919872, + /** + * SI: PACE info unsupported std parameters */ ntfLDS_SI_PACE_Info_UnsupportedStdParameters = 2432696320, /** - * SI: PACE Info Deprecated Version + * SI: PACE info deprecated version */ ntfLDS_SI_PACE_Info_DeprecatedVersion = 2432696321, /** - * SI: PACE Domain Params Using Std Ref + * SI: PACE domain params using std ref */ ntfLDS_SI_PACE_DomainParams_UsingStdRef = 2432696322, /** - * SI: PACE Domain Params Unsupported Algorithm + * SI: PACE domain params unsupported algorithm */ ntfLDS_SI_PACE_DomainParams_UnsupportedAlgorithm = 2432696323, /** - * SI: CA Info Incorrect Version + * SI: CA info incorrect version */ ntfLDS_SI_CA_Info_IncorrectVersion = 2432696324, /** - * SI: CA PublicKey Unsupported Algorithm + * SI: CA public key unsupported algorithm */ ntfLDS_SI_CA_PublicKey_UnsupportedAlgorithm = 2432696325, /** - * SI: CA Domain Params Unsupported Algorithm + * SI: CA domain params unsupported algorithm */ ntfLDS_SI_CA_DomainParams_UnsupportedAlgorithm = 2432696326, /** - * SI: TA Info Incorrect Version + * SI: TA info incorrect version */ ntfLDS_SI_TA_Info_IncorrectVersion = 2432696327, /** - * SI: TA Info File ID For Version 2 + * SI: TA info file ID for version 2 */ ntfLDS_SI_TA_Info_FileIDForVersion2 = 2432696328, /** - * SI: eID Security Unsupported Digest Algorithm + * SI: eID security unsupported digest algorithm */ ntfLDS_SI_eIDSecurity_UnsupportedDigestAlgorithm = 2432696329, /** @@ -786,87 +1206,87 @@ export enum ParsingNotificationCodes { */ ntfLDS_SI_AA_Info_InconsistentAlgorithmReference = 2432696334, /** - * SI: PACE Info Not Available + * SI: storage PACE info not available */ ntfLDS_SI_Storage_PACE_Info_NotAvailable = 2432696576, /** - * SI: PACE Info No Std Parameters + * SI: storage PACE info no std parameters */ ntfLDS_SI_Storage_PACE_Info_NoStdParameters = 2432696577, /** - * SI: PACE Info No Matching Domain Params + * SI: storage PACE info no matching domain params */ ntfLDS_SI_Storage_PACE_Info_NoMatchingDomainParams = 2432696578, /** - * SI: CA Info Not Available + * SI: storage CA info not available */ ntfLDS_SI_Storage_CA_Info_NotAvailable = 2432696579, /** - * SI: CA Domain Params No Required Option + * SI: storage CA domain params no required option */ ntfLDS_SI_Storage_CA_DomainParams_NoRequiredOption = 2432696580, /** - * SI: CA Domain Params Not Available + * SI: storage CA domain params not available */ ntfLDS_SI_Storage_CA_DomainParams_NotAvailable = 2432696581, /** - * SI: CA Anonymous Infos + * SI: storage CA anonymous infos */ ntfLDS_SI_Storage_CA_AnonymousInfos = 2432696582, /** - * SI: CA Info No Matching Domain Params + * SI: storage CA info no matching domain params */ ntfLDS_SI_Storage_CA_Info_NoMatchingDomainParams = 2432696583, /** - * SI: CA Info No Matching Public Key + * SI: storage CA info no matching public key */ ntfLDS_SI_Storage_CA_Info_NoMatchingPublicKey = 2432696584, /** - * SI: CA Incorrect Infos Quantity + * SI: storage CA incorrect infos quantity */ ntfLDS_SI_Storage_CA_IncorrectInfosQuantity = 2432696585, /** - * SI: TA Info Not Available + * SI: storage TA info not available */ ntfLDS_SI_Storage_TA_Info_NotAvailable = 2432696586, /** - * SI: Card Info Locator Multiple Entries + * SI: storage card info locator multiple entries */ ntfLDS_SI_Storage_CardInfoLocator_MultipleEntries = 2432696587, /** - * SI: eID Security Info Multiple Entries + * SI: storage eID security info multiple entries */ ntfLDS_SI_Storage_eIDSecurityInfo_MultipleEntries = 2432696588, /** - * SI: Privileged TI Multiple Entries + * SI: storage privileged TI multiple entries */ ntfLDS_SI_Storage_PrivilegedTI_MultipleEntries = 2432696589, /** - * SI: Privileged TI Incorrect Usage + * SI: storage privileged TI incorrect usage */ ntfLDS_SI_Storage_PrivilegedTI_IncorrectUsage = 2432696590, /** - * SI: RI domain params multiple entries + * SI: storage RI domain params multiple entries */ ntfLDS_SI_Storage_RI_DomainParams_MultipleEntries = 2432696591, /** - * SI: Storage PACE Info Non Consistant + * SI: storage PACE infos non consistent */ ntfLDS_SI_Storage_PACEInfos_NonConsistant = 2432696592, /** - * CV Certificate: Profile incorrect version + * CV certificate: Profile incorrect version */ ntfLDS_CVCertificate_Profile_IncorrectVersion = 2432696833, /** - * CV Certificate: Validity + * CV certificate: Validity */ ntfLDS_CVCertificate_Validity = 2432696834, /** - * CV Certificate: Non CVCA domain parameters + * CV certificate: non CVCA domain parameters */ ntfLDS_CVCertificate_NonCVCADomainParameters = 2432696835, /** - * CV Certificate: Private key incorrect version + * CV certificate: private key incorrect version */ ntfLDS_CV_Certificate_PrivateKey_IncorrectVersion = 2432696836, /** @@ -882,7 +1302,7 @@ export enum ParsingNotificationCodes { */ ntfLDS_Auth_MLSignerInfo_Certificate_RootIsNotTrusted = 2449473814, /** - * Auth ML signer info: Certificate cannot find CSCA + * Auth ML signer info: Certificate can't find CSCA */ ntfLDS_Auth_MLSignerInfo_Certificate_CantFindCSCA = 2449473815, /** @@ -892,31 +1312,7 @@ export enum ParsingNotificationCodes { /** * Auth ML signer info: Certificate signature invalid */ - ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = 2449473817, - /** - * Country Codes from certificate chain don't match - */ - ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = 2415919696, - /** - * Country Codes from certificate and visual MRZ don't match - */ - ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697, - /** - * Incorrect MRZ, country code doesn't match codes from Visual MRZ - */ - ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, - /** - * Country Codes from certificate and DG1 MRZ don't match - */ - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698, - /** - * ICAO certificate: Issuer country non upper case - */ - ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase = 2415919699, - /** - * ICAO certificate: Subject country non upper case - */ - ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase = 2415919700 + ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = 2449473817 } diff --git a/src/models/photo-ident-item.ts b/src/models/photo-ident-item.ts index 277d16b3..943ddf9f 100644 --- a/src/models/photo-ident-item.ts +++ b/src/models/photo-ident-item.ts @@ -80,12 +80,6 @@ export interface PhotoIdentItem { * @memberof PhotoIdentItem */ 'Angle'?: number; - /** - * - * @type {number} - * @memberof PhotoIdentItem - */ - 'Result'?: number; /** * * @type {number} diff --git a/src/models/process-params.ts b/src/models/process-params.ts index 3b859dca..7382a8c8 100644 --- a/src/models/process-params.ts +++ b/src/models/process-params.ts @@ -351,7 +351,7 @@ export interface ProcessParams { */ 'documentGroupFilter'?: Array; /** - * + * Authenticity checks that should be performed regardless of the document type. The available checks are listed in the eRPRM_Authenticity enum. Note that only supported by your license checks can be added. * @type {number} * @memberof ProcessParams */ diff --git a/src/models/rfid-access-control-procedure-type.ts b/src/models/rfid-access-control-procedure-type.ts index dd9e281c..c58577aa 100644 --- a/src/models/rfid-access-control-procedure-type.ts +++ b/src/models/rfid-access-control-procedure-type.ts @@ -52,7 +52,11 @@ export enum RfidAccessControlProcedureType { /** * Card info */ - CARD_INFO = 10 + CARD_INFO = 10, + /** + * DTC info + */ + DTC_INFO = 11 } diff --git a/src/models/rfid-baud-rate.ts b/src/models/rfid-baud-rate.ts index feec1dc8..d04e3c89 100644 --- a/src/models/rfid-baud-rate.ts +++ b/src/models/rfid-baud-rate.ts @@ -40,7 +40,19 @@ export enum RfidBaudRate { /** * 848 bits/s */ - RFBR_848 = 8 + RFBR_848 = 8, + /** + * 1695 bits/s + */ + RFBR_1695 = 16, + /** + * 3390 bits/s + */ + RFBR_3390 = 32, + /** + * 6780 bits/s + */ + RFBR_6780 = 64 } diff --git a/src/models/rfid-certificate-type.ts b/src/models/rfid-certificate-type.ts index 046f5860..49807227 100644 --- a/src/models/rfid-certificate-type.ts +++ b/src/models/rfid-certificate-type.ts @@ -52,7 +52,23 @@ export enum RfidCertificateType { /** * Black List signer */ - BLS = 7 + BLS = 7, + /** + * LDS 2 + */ + LDS2 = 8, + /** + * Barcode signer (VDS) + */ + BCS = 9, + /** + * Barcode signer (VDS for non-constrained environment) + */ + BCS_NC = 10, + /** + * DTC signer + */ + DTCS = 11 } diff --git a/src/models/rfid-data-file-type.ts b/src/models/rfid-data-file-type.ts index 5fb16c83..7ea59c77 100644 --- a/src/models/rfid-data-file-type.ts +++ b/src/models/rfid-data-file-type.ts @@ -96,22 +96,30 @@ export enum RfidDataFileType { MIFARE_VALIDITY = 301, AUTHENTICITY_V2 = 302, ATR = 400, + DIR = 401, _E_SIGN_PK = 500, _E_SIGN_SIGNED_DATA = 501, CERTIFICATE = 600, MASTER_LIST = 601, DEFECT_LIST = 602, - BLACK_LIST = 603, + DEVIATION_LIST = 603, + BLACK_LIST = 604, APP_DIRECTORY = 700, SESSION = 701, LOG_DATA = 702, CHIP_PROPERTIES = 703, + DTC_INFO = 704, 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, + SAM_DATA = 800, + SAM_DATA_MAX = 832, + VDS = 900, + VDS_NC = 901, + DS = 902, USER_DEFINED = 1000 } diff --git a/src/models/rfid-data-group-type-tag.ts b/src/models/rfid-data-group-type-tag.ts index 20ba44c3..feddf6a6 100644 --- a/src/models/rfid-data-group-type-tag.ts +++ b/src/models/rfid-data-group-type-tag.ts @@ -94,6 +94,26 @@ export enum RfidDataGroupTypeTag { */ SOD = 119, /** + * Data Group 17 + */ + DG17 = 113, + /** + * Data Group 18 + */ + DG18 = 114, + /** + * Data Group 22 + */ + DG22 = 115, + /** + * Data Group 23 + */ + DG23 = 116, + /** + * Data Group 24 + */ + DG24 = 98, + /** * eID, Data Group 1 */ EID_DG1 = 97, @@ -188,7 +208,7 @@ export enum RfidDataGroupTypeTag { /** * eDL, Card Entitlement */ - EDL_CE = 119, + EDL_CE = 83, /** * eDL, Data Group 1 */ diff --git a/src/models/rfid-password-type.ts b/src/models/rfid-password-type.ts index 27a9418a..5dcfa15b 100644 --- a/src/models/rfid-password-type.ts +++ b/src/models/rfid-password-type.ts @@ -48,7 +48,11 @@ export enum RfidPasswordType { /** * Scanning Area Identifier (for eDL application) */ - SAI = 6 + SAI = 6, + /** + * MRZ hash + */ + MRZ_HASH = 7 } diff --git a/src/models/rfiderror-codes.ts b/src/models/rfiderror-codes.ts index 6c3e14bd..0f520c9c 100644 --- a/src/models/rfiderror-codes.ts +++ b/src/models/rfiderror-codes.ts @@ -22,461 +22,469 @@ export enum RFIDErrorCodes { /** - * LAYER6: Reading beyond EOF / Unexpected EOF + * RFID: No error */ - RFID_ERROR_LAYER6_FILE_EOF1 = 2147508866, + RFID_Error_NoError = 1, /** - * LAYER6: PWD deactivated + * RFID: Already done */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED = 2147508867, + RFID_Error_AlreadyDone = 2, /** - * LAYER6: PWD blocked + * RFID: Failed */ - RFID_ERROR_LAYER6_PWD_BLOCKED = 2147509184, + RFID_Error_Failed = 4294967295, /** - * LAYER6: PWD suspended + * RFID: No chip detected */ - RFID_ERROR_LAYER6_PWD_SUSPEND = 2147509185, + RFID_Error_NoChipDetected = 2147549185, /** - * LAYER6: PWD blocked 2 + * RFID: Not available */ - RFID_ERROR_LAYER6_PWD_BLOCKED2 = 2147510659, + RFID_Error_NotAvailable = 2147549186, /** - * LAYER6: PWD deactivated 2 + * RFID: Invalid parameter */ - RFID_ERROR_LAYER6_PWD_DEACTIVATED2 = 2147510660, + RFID_Error_InvalidParameter = 2147549188, /** - * LAYER6: PWD suspended 2 + * RFID: Not initialized */ - RFID_ERROR_LAYER6_PWD_SUSPEND2 = 2147510661, + RFID_Error_NotInitialized = 2147549189, /** - * LAYER6: Incorrect params + * RFID: Not enough memory */ - RFID_ERROR_LAYER6_INCORRECT_PARAMS = 2147510912, + RFID_Error_NotEnoughMemory = 2147549190, /** - * LAYER6: File selection failure / file not found + * RFID: Not enough data */ - RFID_ERROR_LAYER6_FILE_NOT_FOUND = 2147510914, + RFID_Error_NotEnoughData = 2147549191, /** - * LAYER6: No reference data + * RFID: Invalid directory */ - RFID_ERROR_LAYER6_NO_REFERENCE_DATA = 2147510920, + RFID_Error_InvalidDirectory = 2147549192, /** - * LAYER6: Reading beyond EOF / Unexpected EOF + * RFID: Unknown command */ - RFID_ERROR_LAYER6_FILE_EOF2 = 2147511040, + RFID_Error_UnknownCommand = 2147549193, /** - * RFID: No chip is detected + * RFID: File IO error */ - RFID_ERROR_NO_CHIP_DETECTED = 2147549185, + RFID_Error_FileIOError = 2147549194, /** - * RFID: Unavailable + * RFID: Busy */ - RFID_ERROR_NOT_AVAILABLE = 2147549186, + RFID_Error_Busy = 2147549195, /** - * RFID: Invalid parameter in ExecuteCommand() call found + * RFID: Old firmware */ - RFID_ERROR_INVALID_PARAMETER = 2147549188, + RFID_Error_OldFirmware = 2147549196, /** - * RFID: Device is uninitialized + * PCSC: Failed */ - RFID_ERROR_NOT_INITIALIZED = 2147549189, + RFID_Error_PCSC_Failed = 2147614720, /** - * RFID: Out of memory + * PCSC: Reader not available */ - RFID_ERROR_NOT_ENOUGH_MEMORY = 2147549190, + RFID_Error_PCSC_ReaderNotAvailable = 2147614721, /** - * RFID: Invalid directory + * PCSC: Can't connect card */ - RFID_ERROR_INVALID_DIRECTORY = 2147549192, + RFID_Error_PCSC_CantConnectCard = 2147614722, /** - * RFID: Unknown command + * PCSC: Card is not connected */ - RFID_ERROR_UNKNOWN_COMMAND = 2147549193, + RFID_Error_PCSC_CardIsNotConnected = 2147614723, /** - * RFID File: IO Error + * PCSC: Operation cancelled */ - RFID_ERROR_FILE_IO_ERROR = 2147549194, + RFID_Error_PCSC_OperationCancelled = 2147614724, /** - * RFID: RFID is busy + * PCSC: Card is busy */ - RFID_ERROR_BUSY = 2147549195, + RFID_Error_PCSC_CardIsBusy = 2147614725, /** - * RFID: The firmware needs to be updated to a newer version + * PCSC: Failed smart card */ - RFID_ERROR_OLD_FIRMWARE = 2147549196, + RFID_Error_PCSC_FailedSCard = 2147614726, /** - * PCSC: Failed + * PCSC: ExtLe failed */ - RFID_ERROR_PCSC_FAILED = 2147614720, + RFID_Error_PCSC_ExtLe_Failed = 2147614736, /** - * PCSC: The reader is unavailable + * Layer 6: Security manager */ - RFID_ERROR_PCSC_READER_NOT_AVAILABLE = 2147614721, + RFID_LAYER6_SECURITY_MANAGER = 2248146944, /** - * PCSC: The card cannot be connected + * Layer 6: App selection failure */ - RFID_ERROR_PCSC_CANT_CONNECT_CARD = 2147614722, + RFID_LAYER6_APP_SELECTION_FAILURE = 2248146945, /** - * PCSC: The card is not connected + * Layer 6: Mutual auth MAC fail */ - RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED = 2147614723, + RFID_LAYER6_MUTUAL_AUTH_MAC_FAIL = 2248147200, /** - * PCSC: Operation is cancelled + * Layer 6: Mutual auth ENC fail */ - RFID_ERROR_PCSC_OPERATION_CANCELLED = 2147614724, + RFID_LAYER6_MUTUAL_AUTH_ENC_FAIL = 2248147201, /** - * PCSC: The card is busy + * Layer 6: Mutual auth failure */ - RFID_ERROR_PCSC_CARD_IS_BUSY = 2147614725, + RFID_LAYER6_MUTUAL_AUTH_FAILURE = 2248147202, /** - * PCSC: Failed Smart Card + * Layer 6: Mutual auth failure data */ - RFID_ERROR_PCSC_FAILED_SCARD = 2147614726, + RFID_LAYER6_MUTUAL_AUTH_FAILURE_DATA = 2248147203, /** - * PCSC: ExtLe Failed + * Layer 6: SM DO8E missing */ - RFID_ERROR_PCSC_EXT_LE_FAILED = 2147614736, + RFID_LAYER6_SM_DO8E_MISSING = 2248147456, /** - * LAYER6: PWD failed + * Layer 6: SM DO87 missing */ - RFID_ERROR_LAYER6_PWD_FAILED = 2148557760, + RFID_LAYER6_SM_DO87_MISSING = 2248147457, /** - * RFID: Not performed + * Layer 6: SM DO99 missing */ - RFID_ERROR_NOT_PERFORMED = 2197815296, + RFID_LAYER6_SM_DO99_MISSING = 2248147458, /** - * RFID: Session is closed + * Layer 6: SM MAC incorrect */ - RFID_ERROR_SESSION_IS_CLOSED = 2197815297, + RFID_LAYER6_SM_MAC_INCORRECT = 2248147459, /** - * RFID: Unsupported terminal operation + * Layer 6: SM DO87 incorrect */ - RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION = 2197815298, + RFID_LAYER6_SM_DO87_INCORRECT = 2248147460, /** - * RFID: Terminal type unknown + * Layer 6: NON TLV response data */ - RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN = 2197815312, + RFID_LAYER6_NON_TLV_RESPONSE_DATA = 2248147712, /** - * RFID: Terminal type bad certificate + * Layer 6: Wrong RND ICC length */ - RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = 2197815313, + RFID_LAYER6_WRONG_RND_ICC_LENGTH = 2248147713, /** - * RFID: Terminal type not set + * Layer 6: Int auth failure */ - RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET = 2197815314, + RFID_LAYER6_INT_AUTH_FAILURE = 2248147714, /** - * RFID: Unknown procedure type + * Layer 6: MSE set KAT failure */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN = 2197815315, + RFID_LAYER6_MSE_SET_KAT_FAILURE = 2248147715, /** - * RFID: Unsupported procedure type + * Layer 6: MSE set DST failure */ - RFID_ERROR_Session_Procedure_Type_Unsupported = 2197815316, + RFID_LAYER6_MSE_SET_DST_FAILURE = 2248147716, /** - * RFID: Procedure type not set + * Layer 6: PSO certificate failure */ - RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET = 2197815317, + RFID_LAYER6_PSO_CERTIFICATE_FAILURE = 2248147717, /** - * RFID: Access key unknown type + * Layer 6: MSE set at failure */ - RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE = 2197815318, + RFID_LAYER6_MSE_SET_AT_FAILURE = 2248147718, /** - * RFID: Access key unsupported SM type + * Layer 6: Get challenge failure */ - RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = 2197815319, + RFID_LAYER6_GET_CHALLENGE_FAILURE = 2248147719, /** - * RFID: Access key incorrect SM type + * Layer 6: EXT auth failure */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = 2197815320, + RFID_LAYER6_EXT_AUTH_FAILURE = 2248147720, /** - * RFID: Access key restricted + * Layer 6: GENERAL auth failure */ - RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED = 2197815321, + RFID_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, /** - * RFID: Access key incorrect data + * Layer 6: File not found */ - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA = 2197815322, + RFID_LAYER6_FILE_NOT_FOUND = 2147510914, /** - * RFID: Access key not set + * Layer 6: File EOF1 */ - RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET = 2197815323, + RFID_LAYER6_FILE_EOF1 = 2147508866, /** - * RFID: PWD management not authorized + * Layer 6: File EOF2 */ - RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = 2197815324, + RFID_LAYER6_FILE_EOF2 = 2147511040, /** - * RFID: Access control unknown type + * Layer 6: Wrong length */ - RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = 2197815328, + RFID_LAYER6_WRONG_LENGTH = 2147510016, /** - * RFID: SM required + * Layer 6: Incorrect params */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM = 2197815329, + RFID_LAYER6_INCORRECT_PARAMS = 2147510912, /** - * RFID: PACE required + * Layer 6: No reference data */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE = 2197815330, + RFID_LAYER6_NO_REFERENCE_DATA = 2147510920, /** - * RFID: CA keys required + * Layer 6: PWD suspended */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = 2197815331, + RFID_LAYER6_PWD_SUSPENDED = 2147509185, /** - * RFID: TA required + * Layer 6: PWD blocked */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA = 2197815332, + RFID_LAYER6_PWD_BLOCKED = 2147509184, /** - * RFID: CA required + * Layer 6: PWD deactivated */ - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA = 2197815333, + RFID_LAYER6_PWD_DEACTIVATED = 2147508867, /** - * RFID: Incorrect option CA + * Layer 6: PWD blocked 2 */ - RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = 2197815334, + RFID_LAYER6_PWD_BLOCKED_2 = 2147510659, /** - * RFID: CA failed + * Layer 6: PWD deactivated 2 */ - RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED = 2197815335, + RFID_LAYER6_PWD_DEACTIVATED_2 = 2147510660, /** - * RFID: TA failed + * Layer 6: PWD suspended 2 */ - RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED = 2197815336, + RFID_LAYER6_PWD_SUSPENDED_2 = 2147510661, /** - * RFID: AA failed + * Layer 6: PWD failed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED = 2197815337, + RFID_LAYER6_PWD_FAILED = 2148557760, /** - * RFID: RI failed + * RFID: NotPerformed */ - RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED = 2197815338, + RFID_Error_NotPerformed = 2197815296, /** - * RFID: SO signature check failed + * RFID: Session is closed */ - RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED = 2197815344, + RFID_Error_Session_IsClosed = 2197815297, /** - * RFID: Hash check failed + * Session terminal: Unsupported operation */ - RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED = 2197815345, + RFID_Error_Session_Terminal_UnsupportedOperation = 2197815298, /** - * RFID: Invalid aux data - date of expiry + * Session terminal type: Unknown */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = 2197815360, + RFID_Error_Session_TerminalType_Unknown = 2197815312, /** - * RFID: Invalid aux data - date of birth + * Session terminal type: Bad certificate */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = 2197815361, + RFID_Error_Session_TerminalType_BadCertificate = 2197815313, /** - * RFID: Invalid aux data - community ID + * Session terminal type: Not set */ - RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID = 2197815362, + RFID_Error_Session_TerminalType_NotSet = 2197815314, /** - * RFID: eSign requires app selection + * Session procedure type: Unknown */ - RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION = 2197815376, + RFID_Error_Session_ProcedureType_Unknown = 2197815315, /** - * RFID: eSign PIN not set + * Session procedure type: Unsupported */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET = 2197815377, + RFID_Error_Session_ProcedureType_Unsupported = 2197815316, /** - * RFID: eSign PIN not verified + * Session procedure type: Not set */ - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED = 2197815378, + RFID_Error_Session_ProcedureType_NotSet = 2197815317, /** - * RFID: Incorrect data + * Session access key: Unknown type */ - RFID_ERROR_SESSION_INCORRECT_DATA = 2197815392, + RFID_Error_Session_AccessKey_UnknownType = 2197815318, /** - * RFID file: Insufficient data + * Session access key: Unsupported SM type */ - RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA = 2197880832, + RFID_Error_Session_AccessKey_UnsupportedSMType = 2197815319, /** - * RFID file: Incorrect data + * Session access key: Incorrect SM type */ - RFID_ERROR_SESSION_FILE_INCORRECT_DATA = 2197946368, + RFID_Error_Session_AccessKey_IncorrectSMType = 2197815320, /** - * RFID file: Unexpected data + * Session access key: Restricted */ - RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA = 2198011904, + RFID_Error_Session_AccessKey_Restricted = 2197815321, /** - * RFID file: Contains unexpected data + * Session access key: Incorrect data */ - RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA = 2198077440, + RFID_Error_Session_AccessKey_IncorrectData = 2197815322, /** - * RFID file: Wrong tag + * Session access key: Not set */ - RFID_ERROR_SESSION_FILE_WRONG_TAG = 2198142976, + RFID_Error_Session_AccessKey_NotSet = 2197815323, /** - * RFID file: Cannot use data + * Session pwd management: Not authorized */ - RFID_ERROR_SESSION_FILE_CANT_USE_DATA = 2198208512, + RFID_Error_Session_PwdManagement_NotAuthorized = 2197815324, /** - * RFID file: Cannot read data + * Session access control: Unknown type */ - RFID_ERROR_SESSION_FILE_CANT_READ_DATA = 2198274048, + RFID_Error_Session_AccessControl_UnknownType = 2197815328, /** - * RFID file: Access denied + * Session access control: Requires SM */ - RFID_ERROR_SESSION_FILE_ACCESS_DENIED = 2198339584, + RFID_Error_Session_AccessControl_RequiresSM = 2197815329, /** - * RFID: Layer 34 - No error + * Session access control: Requires PACE */ - RFID_ERROR_LAYER34_NO_ERROR = 2214592512, + RFID_Error_Session_AccessControl_RequiresPACE = 2197815330, /** - * RFID: Layer 34 - Timeout + * Session access control: Requires CA keys */ - RFID_ERROR_LAYER34_TIME_OUT = 2214658048, + RFID_Error_Session_AccessControl_RequiresCAKeys = 2197815331, /** - * RFID: Layer 34 - Collision + * Session access control: Requires TA */ - RFID_ERROR_LAYER34_COLLISION = 2214723584, + RFID_Error_Session_AccessControl_RequiresTA = 2197815332, /** - * RFID: Layer 34 - CRC + * Session access control: Requires CA */ - RFID_ERROR_LAYER34_CRC = 2214789120, + RFID_Error_Session_AccessControl_RequiresCA = 2197815333, /** - * RFID: Layer 34 - Data integrity + * Session access control: Incorrect option CA */ - RFID_ERROR_LAYER34_DATA_INTEGRITY = 2214854656, + RFID_Error_Session_AccessControl_IncorrectOptionCA = 2197815334, /** - * RFID: Layer 34 - Data length + * Session access control: CA Failed */ - RFID_ERROR_LAYER34_DATA_LENGTH = 2214920192, + RFID_Error_Session_AccessControl_CA_Failed = 2197815335, /** - * RFID: Layer 34 - RFU + * Session access control: TA Failed */ - RFID_ERROR_Layer34_RFU = 2214985728, + RFID_Error_Session_AccessControl_TA_Failed = 2197815336, /** - * RFID: Layer 34 - Too many collision + * Session access control: AA Failed */ - RFID_ERROR_LAYER34_COLLISION_TOO_MANY = 2215051264, + RFID_Error_Session_AccessControl_AA_Failed = 2197815337, /** - * RFID: Layer 34 - Protocol B + * Session access control: RI Failed */ - RFID_ERROR_LAYER34_PROTOCOL_B = 2215116800, + RFID_Error_Session_AccessControl_RI_Failed = 2197815338, /** - * RFID: Layer 34 - Data contents + * Session PA: Signature check failed */ - RFID_ERROR_LAYER34_DATA_CONTENTS = 2215182336, + RFID_Error_Session_PA_SignatureCheckFailed = 2197815344, /** - * RFID: Layer 34 - Protocol + * Session PA: Hash check failed */ - RFID_ERROR_LAYER34_PROTOCOL = 2215247872, + RFID_Error_Session_PA_HashCheckFailed = 2197815345, /** - * RFID: Layer 34 - Globa timeout + * Session invalid aux data: Date of expiry */ - RFID_ERROR_LAYER34_GLOBAL_TIME_OUT = 2215313408, + RFID_Error_Session_InvalidAuxData_DateOfExpiry = 2197815360, /** - * RFID: Layer 34 - MIFARE auth + * Session invalid aux data: Date of birth */ - RFID_ERROR_LAYER34_MIFARE_AUTH = 2215378944, + RFID_Error_Session_InvalidAuxData_DateOfBirth = 2197815361, /** - * RFID: Layer 34 - SAM error + * Session invalid aux data: Community ID */ - RFID_ERROR_LAYER34_SAM_ERROR = 2215444480, + RFID_Error_Session_InvalidAuxData_CommunityID = 2197815362, /** - * RFID: Layer 34 - SAM collision + * Session eSign: Requires app selection */ - RFID_ERROR_LAYER34_SAM_COLLISION = 2215510016, + RFID_Error_Session_eSign_RequiresAppSelection = 2197815376, /** - * RFID: Layer 34 - SAM acknowledge + * Session eSign: PIN not set */ - RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE = 2215575552, + RFID_Error_Session_eSign_PIN_NotSet = 2197815377, /** - * LAYER6: Secure Messaging was not activated + * Session eSign: PIN not verified */ - RFID_ERROR_LAYER6_SECURITY_MANAGER = 2248146944, + RFID_Error_Session_eSign_PIN_NotVerified = 2197815378, /** - * LAYER6: ISO7816_A_03 Application selection failure + * Session: Incorrect data */ - RFID_ERROR_LAYER6_APP_SELECTION_FAILURE = 2248146945, + RFID_Error_Session_IncorrectData = 2197815392, /** - * LAYER6: ISO7816_B_01 Mutual authentication MAC failure + * Session file: Not enough data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL = 2248147200, + RFID_Error_Session_File_NotEnoughData = 2197880832, /** - * LAYER6: ISO7816_B_02 Mutual authentication encryption failure + * Session file: Incorrect data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL = 2248147201, + RFID_Error_Session_File_IncorrectData = 2197946368, /** - * LAYER6: ISO7816_B_03 Mutual authentication failure + * Session file: Unexpected data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE = 2248147202, + RFID_Error_Session_File_UnexpectedData = 2198011904, /** - * LAYER6: ISO7816_B_03 Mutual authentication failure data + * Session file: Contents unexpected data */ - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA = 2248147203, + RFID_Error_Session_File_Contents_UnexpectedData = 2198077440, /** - * LAYER6: SM failure – MAC missing + * Session file: Wrong tag */ - RFID_ERROR_LAYER6_SM_DO_8E_MISSING = 2248147456, + RFID_Error_Session_File_WrongTag = 2198142976, /** - * LAYER6: SM failure – cryptogram missing + * Session file: Cant use data */ - RFID_ERROR_LAYER6_SM_DO_87_MISSING = 2248147457, + RFID_Error_Session_File_CantUseData = 2198208512, /** - * LAYER6: SM failure – secured status bytes missing + * Session file: Cant read data */ - RFID_ERROR_LAYER6_SM_DO_99_MISSING = 2248147458, + RFID_Error_Session_File_CantReadData = 2198274048, /** - * LAYER6: SM failure – incorrect MAC + * Session file: Access denied */ - RFID_ERROR_LAYER6_SM_MAC_INCORRECT = 2248147459, + RFID_Error_Session_File_AccessDenied = 2198339584, /** - * LAYER6: SM failure – incorrect cryptogram + * Layer 34: No error */ - RFID_ERROR_LAYER6_SM_DO_87_INCORRECT = 2248147460, + RFID_Error_Layer34_NoError = 2214592512, /** - * LAYER6: Not TLV response data + * Layer 34: Time out */ - RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA = 2248147712, + RFID_Error_Layer34_TimeOut = 2214658048, /** - * LAYER6: Wrong data length (APDU_INS_GET_CHALLENGE) + * Layer 34: Collision */ - RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH = 2248147713, + RFID_Error_Layer34_Collision = 2214723584, /** - * LAYER6: APDU_INS_INTERNAL_AUTHENTICATE failure + * Layer 34: CRC */ - RFID_ERROR_LAYER6_INT_AUTH_FAILURE = 2248147714, + RFID_Error_Layer34_CRC = 2214789120, /** - * LAYER6: MSE:Set KAT failure + * Layer 34: Data integrity */ - RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE = 2248147715, + RFID_Error_Layer34_DataIntegrity = 2214854656, /** - * LAYER6: MSE:Set DST failure + * Layer 34: Data length */ - RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE = 2248147716, + RFID_Error_Layer34_DataLength = 2214920192, /** - * LAYER6: PSO CERTIFICATE failure + * Layer 34: RFU */ - RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE = 2248147717, + RFID_Error_Layer34_RFU = 2214985728, /** - * LAYER6: MSE:Set AT failure + * Layer 34: Collision too many */ - RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE = 2248147718, + RFID_Error_Layer34_Collision_TooMany = 2215051264, /** - * LAYER6: GET CHALLENGE failure + * Layer 34: Protocol B */ - RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE = 2248147719, + RFID_Error_Layer34_ProtocolB = 2215116800, /** - * LAYER6: APDU_INS_EXTERNAL_AUTHENTICATE (external authentication) failure + * Layer 34: Data contents */ - RFID_ERROR_LAYER6_EXT_AUTH_FAILURE = 2248147720, + RFID_Error_Layer34_DataContents = 2215182336, /** - * LAYER6: General Authenticity Failure + * Layer 34: Protocol */ - RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, + RFID_Error_Layer34_Protocol = 2215247872, /** - * RFID: Failed + * Layer 34: Global timeOut */ - RFID_ERROR_FAILED = -1, + RFID_Error_Layer34_GlobalTimeOut = 2215313408, /** - * RFID: No error + * Layer 34: MIFARE auth + */ + RFID_Error_Layer34_MIFARE_Auth = 2215378944, + /** + * Layer 34: SAM error + */ + RFID_Error_Layer34_SAM_Error = 2215444480, + /** + * Layer 34: SAM collision */ - RFID_ERROR_NO_ERROR = 1, + RFID_Error_Layer34_SAM_Collision = 2215510016, /** - * RFID: The requested operation is already performed + * Layer 34: SAM acknowledge */ - RFID_ERROR_ALREADY_DONE = 2 + RFID_Error_Layer34_SAM_Acknowledge = 2215575552 } diff --git a/src/models/symbol-recognition-result.ts b/src/models/symbol-recognition-result.ts index db935dd8..a179f4ce 100644 --- a/src/models/symbol-recognition-result.ts +++ b/src/models/symbol-recognition-result.ts @@ -56,11 +56,5 @@ export interface SymbolRecognitionResult { * @memberof SymbolRecognitionResult */ 'BaseLineTop'?: number; - /** - * - * @type {number} - * @memberof SymbolRecognitionResult - */ - 'Reserved'?: number; } diff --git a/src/models/visual-extended-field-item.ts b/src/models/visual-extended-field-item.ts index b9e95b69..49d635e7 100644 --- a/src/models/visual-extended-field-item.ts +++ b/src/models/visual-extended-field-item.ts @@ -26,12 +26,6 @@ import type { TextFieldType } from './text-field-type'; * @interface VisualExtendedFieldItem */ export interface VisualExtendedFieldItem { - /** - * - * @type {number} - * @memberof VisualExtendedFieldItem - */ - 'FieldType': number; /** * * @type {TextFieldType}