From 9e90130ffd814987c12bbbe85a87f0b17df8091e Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Fri, 6 Jun 2025 12:20:07 +0300 Subject: [PATCH 1/2] SP-18211 - update models --- .../Model/EncryptedRCLItem.cs | 2 +- .../Model/EncryptedRCLResult.cs | 2 +- .../Model/Ext/RecognitionParams.cs | 2 +- .../Model/LicenseItem.cs | 2 +- .../Model/LicenseResult.cs | 2 +- .../Model/OCRSecurityTextItem.cs | 31 ++++++++++--------- .../Model/OCRSecurityTextResult.cs | 31 ++++++++++--------- .../Model/PArrayField.cs | 14 ++++----- .../Model/ProcessParams.cs | 14 ++++----- .../Model/ProcessRequest.cs | 12 +------ .../Model/RFIDErrorCodes.cs | 4 +-- .../Model/SecurityFeatureItem.cs | 11 +------ .../Model/SecurityFeatureResult.cs | 11 +------ .../Model/VerifiedFieldMap.cs | 11 +------ 14 files changed, 57 insertions(+), 92 deletions(-) diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs index a1c55f0..2d8ea76 100644 --- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs @@ -56,7 +56,7 @@ protected EncryptedRCLItem() { } /// /// Base64 encoded data /* - [B@48386ddd + [B@7ba33386 */ [DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)] public byte[] EncryptedRCL { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs index 87f0829..bb7d889 100644 --- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs @@ -62,7 +62,7 @@ protected EncryptedRCLResult() { } /// /// Base64 encoded data /* - [B@48386ddd + [B@7ba33386 */ [DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)] public byte[] EncryptedRCL { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionParams.cs b/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionParams.cs index 2c12226..97c4bcd 100644 --- a/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionParams.cs +++ b/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionParams.cs @@ -36,7 +36,7 @@ public RecognitionParams WithLog(bool log) return this; } - public RecognitionParams WithProcessAuth(AuthenticityResultType processAuth) + public RecognitionParams WithProcessAuth(long processAuth) { ProcessAuth = processAuth; return this; diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs index 6fe0b1d..b5a5641 100644 --- a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs @@ -56,7 +56,7 @@ protected LicenseItem() { } /// /// Base64 encoded data /* - [B@2bc6826a + [B@6794a51e */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs index 14c421d..a8b812d 100644 --- a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs @@ -62,7 +62,7 @@ protected LicenseResult() { } /// /// Base64 encoded data /* - [B@2bc6826a + [B@6794a51e */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs index 7c3a47b..0e46d87 100644 --- a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs @@ -44,6 +44,18 @@ public partial class OCRSecurityTextItem : IValidatableObject /// [DataMember(Name = "LightType", IsRequired = true, EmitDefaultValue = true)] public Light LightType { get; set; } + + /// + /// Gets or Sets EtalonFieldType + /// + [DataMember(Name = "EtalonFieldType", IsRequired = true, EmitDefaultValue = true)] + public TextFieldType EtalonFieldType { get; set; } + + /// + /// Gets or Sets EtalonLightType + /// + [DataMember(Name = "EtalonLightType", IsRequired = true, EmitDefaultValue = true)] + public Light EtalonLightType { get; set; } /// /// Initializes a new instance of the class. /// @@ -55,7 +67,7 @@ protected OCRSecurityTextItem() { } /// criticalFlag (required). /// lightType (required). /// fieldRect (required). - /// etalonResultType (required). + /// Same as Result type, but used for safe parsing of not-described values. See Result type. (required) (default to 0). /// etalonFieldType (required). /// etalonLightType (required). /// etalonFieldRect (required). @@ -64,7 +76,7 @@ protected OCRSecurityTextItem() { } /// resultCode. /// reserved1. /// reserved2. - public OCRSecurityTextItem(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = default(int), int etalonFieldType = default(int), int etalonLightType = default(int), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int)) + public OCRSecurityTextItem(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int)) { this.CriticalFlag = criticalFlag; this.LightType = lightType; @@ -107,23 +119,12 @@ protected OCRSecurityTextItem() { } public RectangleCoordinates FieldRect { get; set; } /// - /// Gets or Sets EtalonResultType + /// Same as Result type, but used for safe parsing of not-described values. See Result type. /// + /// Same as Result type, but used for safe parsing of not-described values. See Result type. [DataMember(Name = "EtalonResultType", IsRequired = true, EmitDefaultValue = true)] public int EtalonResultType { get; set; } - /// - /// Gets or Sets EtalonFieldType - /// - [DataMember(Name = "EtalonFieldType", IsRequired = true, EmitDefaultValue = true)] - public int EtalonFieldType { get; set; } - - /// - /// Gets or Sets EtalonLightType - /// - [DataMember(Name = "EtalonLightType", IsRequired = true, EmitDefaultValue = true)] - public int EtalonLightType { get; set; } - /// /// Gets or Sets EtalonFieldRect /// diff --git a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs index e2270f0..2db46e3 100644 --- a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs @@ -45,6 +45,18 @@ public partial class OCRSecurityTextResult : AuthenticityCheckResultItem, IValid /// [DataMember(Name = "LightType", IsRequired = true, EmitDefaultValue = true)] public Light LightType { get; set; } + + /// + /// Gets or Sets EtalonFieldType + /// + [DataMember(Name = "EtalonFieldType", IsRequired = true, EmitDefaultValue = true)] + public TextFieldType EtalonFieldType { get; set; } + + /// + /// Gets or Sets EtalonLightType + /// + [DataMember(Name = "EtalonLightType", IsRequired = true, EmitDefaultValue = true)] + public Light EtalonLightType { get; set; } /// /// Initializes a new instance of the class. /// @@ -56,7 +68,7 @@ protected OCRSecurityTextResult() { } /// criticalFlag (required). /// lightType (required). /// fieldRect (required). - /// etalonResultType (required). + /// Same as Result type, but used for safe parsing of not-described values. See Result type. (required) (default to 0). /// etalonFieldType (required). /// etalonLightType (required). /// etalonFieldRect (required). @@ -69,7 +81,7 @@ protected OCRSecurityTextResult() { } /// elementResult. /// elementDiagnose. /// percentValue. - public OCRSecurityTextResult(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = default(int), int etalonFieldType = default(int), int etalonLightType = default(int), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.OCR_SECURITY_TEXT, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public OCRSecurityTextResult(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.OCR_SECURITY_TEXT, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.CriticalFlag = criticalFlag; this.LightType = lightType; @@ -112,23 +124,12 @@ protected OCRSecurityTextResult() { } public RectangleCoordinates FieldRect { get; set; } /// - /// Gets or Sets EtalonResultType + /// Same as Result type, but used for safe parsing of not-described values. See Result type. /// + /// Same as Result type, but used for safe parsing of not-described values. See Result type. [DataMember(Name = "EtalonResultType", IsRequired = true, EmitDefaultValue = true)] public int EtalonResultType { get; set; } - /// - /// Gets or Sets EtalonFieldType - /// - [DataMember(Name = "EtalonFieldType", IsRequired = true, EmitDefaultValue = true)] - public int EtalonFieldType { get; set; } - - /// - /// Gets or Sets EtalonLightType - /// - [DataMember(Name = "EtalonLightType", IsRequired = true, EmitDefaultValue = true)] - public int EtalonLightType { get; set; } - /// /// Gets or Sets EtalonFieldRect /// diff --git a/src/Regula.DocumentReader.WebClient/Model/PArrayField.cs b/src/Regula.DocumentReader.WebClient/Model/PArrayField.cs index c108e6c..4204bb7 100644 --- a/src/Regula.DocumentReader.WebClient/Model/PArrayField.cs +++ b/src/Regula.DocumentReader.WebClient/Model/PArrayField.cs @@ -33,6 +33,12 @@ namespace Regula.DocumentReader.WebClient.Model public partial class PArrayField : IValidatableObject { + /// + /// Gets or Sets BcTextFieldType + /// + [DataMember(Name = "bcTextFieldType", EmitDefaultValue = false)] + public TextFieldType? BcTextFieldType { get; set; } + /// /// Gets or Sets BcTypeDECODE /// @@ -56,7 +62,7 @@ protected PArrayField() { } /// bcTextFieldType. /// bcTypeDECODE (required). /// bcTypeDETECT (required). - public PArrayField(float bcAngleDETECT = default(float), int bcCodeResult = default(int), int bcCountModule = default(int), List bcDataModule = default(List), BcPDF417INFO bcPDF417INFO = default(BcPDF417INFO), BcROIDETECT bcROIDETECT = default(BcROIDETECT), int bcTextDecoderTypes = default(int), int bcTextFieldType = default(int), BarcodeType bcTypeDECODE = default(BarcodeType), int bcTypeDETECT = default(int)) + public PArrayField(float bcAngleDETECT = default(float), int bcCodeResult = default(int), int bcCountModule = default(int), List bcDataModule = default(List), BcPDF417INFO bcPDF417INFO = default(BcPDF417INFO), BcROIDETECT bcROIDETECT = default(BcROIDETECT), int bcTextDecoderTypes = default(int), TextFieldType? bcTextFieldType = default(TextFieldType?), BarcodeType bcTypeDECODE = default(BarcodeType), int bcTypeDETECT = default(int)) { this.BcAngleDETECT = bcAngleDETECT; this.BcCodeResult = bcCodeResult; @@ -122,12 +128,6 @@ protected PArrayField() { } [DataMember(Name = "bcTextDecoderTypes", EmitDefaultValue = false)] public int? BcTextDecoderTypes { get; set; } - /// - /// Gets or Sets BcTextFieldType - /// - [DataMember(Name = "bcTextFieldType", EmitDefaultValue = false)] - public int? BcTextFieldType { get; set; } - /// /// Gets or Sets BcTypeDETECT /// diff --git a/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs b/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs index ec8814e..f289211 100644 --- a/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs +++ b/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs @@ -63,12 +63,6 @@ public partial class ProcessParams : IValidatableObject [DataMember(Name = "convertCase", EmitDefaultValue = false)] public TextPostProcessing? ConvertCase { get; set; } - /// - /// Gets or Sets ProcessAuth - /// - [DataMember(Name = "processAuth", EmitDefaultValue = false)] - public AuthenticityResultType? ProcessAuth { get; set; } - /// /// Gets or Sets MrzDetectMode /// @@ -145,7 +139,7 @@ protected ProcessParams() { } /// Set to force DL categories expiry date to affect the overall status or not. As documents usually have their own date of expiry, which might be less or greater than category expiry date, this might be handy for specific cases.. /// Set to generate Alpha-2 codes for nationality and issuing state fields.. /// Limits the number of pages to be processed from a PDF file.. - public ProcessParams(bool generateDTCVC = default(bool), List lcidFilter = default(List), bool checkLiveness = default(bool), List lcidIgnoreFilter = default(List), bool oneShotIdentification = default(bool), bool useFaceApi = default(bool), FaceApi faceApi = default(FaceApi), bool doDetectCan = default(bool), int imageOutputMaxHeight = default(int), int imageOutputMaxWidth = default(int), Scenario scenario = default(Scenario), List resultTypeOutput = default(List), bool doublePageSpread = default(bool), bool generateDoublePageSpreadImage = default(bool), List fieldTypesFilter = default(List), string dateFormat = default(string), MeasureSystem? measureSystem = default(MeasureSystem?), int imageDpiOutMax = default(int), bool alreadyCropped = default(bool), Dictionary customParams = default(Dictionary), List config = default(List), bool log = default(bool), LogLevel? logLevel = default(LogLevel?), int forceDocID = default(int), bool matchTextFieldMask = default(bool), bool fastDocDetect = default(bool), bool updateOCRValidityByGlare = default(bool), bool checkRequiredTextFields = default(bool), bool returnCroppedBarcode = default(bool), ImageQA imageQa = default(ImageQA), bool strictImageQuality = default(bool), bool respectImageQuality = default(bool), DocumentFormat? forceDocFormat = default(DocumentFormat?), bool noGraphics = default(bool), bool depersonalizeLog = default(bool), bool multiDocOnImage = default(bool), int shiftExpiryDate = default(int), int minimalHolderAge = default(int), bool returnUncroppedImage = default(bool), List mrzFormatsFilter = default(List), bool forceReadMrzBeforeLocate = default(bool), bool parseBarcodes = default(bool), TextPostProcessing? convertCase = default(TextPostProcessing?), bool splitNames = default(bool), bool disablePerforationOCR = default(bool), List documentGroupFilter = default(List), AuthenticityResultType? processAuth = default(AuthenticityResultType?), int deviceId = default(int), int deviceType = default(int), string deviceTypeHex = default(string), bool ignoreDeviceIdFromImage = default(bool), List documentIdList = default(List), ProcessParamsRfid rfid = default(ProcessParamsRfid), bool checkAuth = default(bool), AuthParams authParams = default(AuthParams), MrzDetectModeEnum? mrzDetectMode = default(MrzDetectModeEnum?), bool generateNumericCodes = default(bool), bool strictBarcodeDigitalSignatureCheck = default(bool), bool selectLongestNames = default(bool), List doBarcodes = default(List), bool strictDLCategoryExpiry = default(bool), bool generateAlpha2Codes = default(bool), int pdfPagesLimit = default(int)) + public ProcessParams(bool generateDTCVC = default(bool), List lcidFilter = default(List), bool checkLiveness = default(bool), List lcidIgnoreFilter = default(List), bool oneShotIdentification = default(bool), bool useFaceApi = default(bool), FaceApi faceApi = default(FaceApi), bool doDetectCan = default(bool), int imageOutputMaxHeight = default(int), int imageOutputMaxWidth = default(int), Scenario scenario = default(Scenario), List resultTypeOutput = default(List), bool doublePageSpread = default(bool), bool generateDoublePageSpreadImage = default(bool), List fieldTypesFilter = default(List), string dateFormat = default(string), MeasureSystem? measureSystem = default(MeasureSystem?), int imageDpiOutMax = default(int), bool alreadyCropped = default(bool), Dictionary customParams = default(Dictionary), List config = default(List), bool log = default(bool), LogLevel? logLevel = default(LogLevel?), int forceDocID = default(int), bool matchTextFieldMask = default(bool), bool fastDocDetect = default(bool), bool updateOCRValidityByGlare = default(bool), bool checkRequiredTextFields = default(bool), bool returnCroppedBarcode = default(bool), ImageQA imageQa = default(ImageQA), bool strictImageQuality = default(bool), bool respectImageQuality = default(bool), DocumentFormat? forceDocFormat = default(DocumentFormat?), bool noGraphics = default(bool), bool depersonalizeLog = default(bool), bool multiDocOnImage = default(bool), int shiftExpiryDate = default(int), int minimalHolderAge = default(int), bool returnUncroppedImage = default(bool), List mrzFormatsFilter = default(List), bool forceReadMrzBeforeLocate = default(bool), bool parseBarcodes = default(bool), TextPostProcessing? convertCase = default(TextPostProcessing?), bool splitNames = default(bool), bool disablePerforationOCR = default(bool), List documentGroupFilter = default(List), long processAuth = default(long), int deviceId = default(int), int deviceType = default(int), string deviceTypeHex = default(string), bool ignoreDeviceIdFromImage = default(bool), List documentIdList = default(List), ProcessParamsRfid rfid = default(ProcessParamsRfid), bool checkAuth = default(bool), AuthParams authParams = default(AuthParams), MrzDetectModeEnum? mrzDetectMode = default(MrzDetectModeEnum?), bool generateNumericCodes = default(bool), bool strictBarcodeDigitalSignatureCheck = default(bool), bool selectLongestNames = default(bool), List doBarcodes = default(List), bool strictDLCategoryExpiry = default(bool), bool generateAlpha2Codes = default(bool), int pdfPagesLimit = default(int)) { this.Scenario = scenario; this.GenerateDTCVC = generateDTCVC; @@ -503,6 +497,12 @@ protected ProcessParams() { } [DataMember(Name = "documentGroupFilter", EmitDefaultValue = false)] public List? DocumentGroupFilter { get; set; } + /// + /// Gets or Sets ProcessAuth + /// + [DataMember(Name = "processAuth", EmitDefaultValue = false)] + public long? ProcessAuth { get; set; } + /// /// This parameter is used to specify the document reader device type from which input images were captured. Default 0. /// diff --git a/src/Regula.DocumentReader.WebClient/Model/ProcessRequest.cs b/src/Regula.DocumentReader.WebClient/Model/ProcessRequest.cs index c2c559f..8e7fa57 100644 --- a/src/Regula.DocumentReader.WebClient/Model/ProcessRequest.cs +++ b/src/Regula.DocumentReader.WebClient/Model/ProcessRequest.cs @@ -52,8 +52,7 @@ protected ProcessRequest() { } /// Free-form object to be included in response. Must be object, not list or simple value. Do not affect document processing. Use it freely to pass your app params. Stored in process logs.. /// Digital Travel Credential (DTC-VC) data in base64 format for processing. /// URLs to the document images for processing.. - /// The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default.. - public ProcessRequest(ProcessParams processParam = default(ProcessParams), List list = default(List), string tag = default(string), string tenant = default(string), string env = default(string), string livePortrait = default(string), string extPortrait = default(string), ContainerList containerList = default(ContainerList), ProcessSystemInfo systemInfo = default(ProcessSystemInfo), Dictionary passBackObject = default(Dictionary), string dtc = default(string), List imageUrls = default(List), List lcidFilter = default(List)) + public ProcessRequest(ProcessParams processParam = default(ProcessParams), List list = default(List), string tag = default(string), string tenant = default(string), string env = default(string), string livePortrait = default(string), string extPortrait = default(string), ContainerList containerList = default(ContainerList), ProcessSystemInfo systemInfo = default(ProcessSystemInfo), Dictionary passBackObject = default(Dictionary), string dtc = default(string), List imageUrls = default(List)) { // to ensure "processParam" is required (not null) if (processParam == null) @@ -72,7 +71,6 @@ protected ProcessRequest() { } this.PassBackObject = passBackObject; this.Dtc = dtc; this.ImageUrls = imageUrls; - this.LcidFilter = lcidFilter; } /// @@ -161,13 +159,6 @@ protected ProcessRequest() { } [DataMember(Name = "ImageUrls", EmitDefaultValue = false)] public List? ImageUrls { get; set; } - /// - /// The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. - /// - /// The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default. - [DataMember(Name = "lcidFilter", EmitDefaultValue = false)] - public List? LcidFilter { get; set; } - /// /// Returns the string presentation of the object /// @@ -188,7 +179,6 @@ public override string ToString() sb.Append(" PassBackObject: ").Append(PassBackObject).Append("\n"); sb.Append(" Dtc: ").Append(Dtc).Append("\n"); sb.Append(" ImageUrls: ").Append(ImageUrls).Append("\n"); - sb.Append(" LcidFilter: ").Append(LcidFilter).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs b/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs index 8a94dc0..7d0f116 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs @@ -588,9 +588,9 @@ public enum RFIDErrorCodes: long RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, /// - /// Enum RFID_ERROR_FAILED for value: 4294967295 + /// Enum RFID_ERROR_FAILED for value: -1 /// - RFID_ERROR_FAILED = 4294967295, + RFID_ERROR_FAILED = -1, /// /// Enum RFID_ERROR_NO_ERROR for value: 1 diff --git a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureItem.cs b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureItem.cs index 7f4c2eb..1f3374c 100644 --- a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureItem.cs @@ -63,9 +63,8 @@ protected SecurityFeatureItem() { } /// visibility (required). /// criticalFlag (required). /// areaList. - /// result. /// reserved2. - public SecurityFeatureItem(SecurityFeatureType elementType = default(SecurityFeatureType), RectangleCoordinates elementRect = default(RectangleCoordinates), Visibility visibility = default(Visibility), Critical criticalFlag = default(Critical), AreaContainer areaList = default(AreaContainer), int result = default(int), int reserved2 = default(int)) + public SecurityFeatureItem(SecurityFeatureType elementType = default(SecurityFeatureType), RectangleCoordinates elementRect = default(RectangleCoordinates), Visibility visibility = default(Visibility), Critical criticalFlag = default(Critical), AreaContainer areaList = default(AreaContainer), int reserved2 = default(int)) { this.ElementType = elementType; // to ensure "elementRect" is required (not null) @@ -77,7 +76,6 @@ protected SecurityFeatureItem() { } this.Visibility = visibility; this.CriticalFlag = criticalFlag; this.AreaList = areaList; - this.Result = result; this.Reserved2 = reserved2; } @@ -93,12 +91,6 @@ protected SecurityFeatureItem() { } [DataMember(Name = "AreaList", EmitDefaultValue = false)] public AreaContainer? AreaList { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Gets or Sets Reserved2 /// @@ -118,7 +110,6 @@ public override string ToString() sb.Append(" Visibility: ").Append(Visibility).Append("\n"); sb.Append(" CriticalFlag: ").Append(CriticalFlag).Append("\n"); sb.Append(" AreaList: ").Append(AreaList).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append(" Reserved2: ").Append(Reserved2).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs index 8296865..8ac7a38 100644 --- a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs @@ -64,13 +64,12 @@ protected SecurityFeatureResult() { } /// visibility (required). /// criticalFlag (required). /// areaList. - /// result. /// reserved2. /// type (required) (default to AuthenticityResultType.UV_LUMINESCENCE). /// elementResult. /// elementDiagnose. /// percentValue. - public SecurityFeatureResult(SecurityFeatureType elementType = default(SecurityFeatureType), RectangleCoordinates elementRect = default(RectangleCoordinates), Visibility visibility = default(Visibility), Critical criticalFlag = default(Critical), AreaContainer areaList = default(AreaContainer), int result = default(int), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.UV_LUMINESCENCE, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public SecurityFeatureResult(SecurityFeatureType elementType = default(SecurityFeatureType), RectangleCoordinates elementRect = default(RectangleCoordinates), Visibility visibility = default(Visibility), Critical criticalFlag = default(Critical), AreaContainer areaList = default(AreaContainer), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.UV_LUMINESCENCE, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.ElementType = elementType; // to ensure "elementRect" is required (not null) @@ -82,7 +81,6 @@ protected SecurityFeatureResult() { } this.Visibility = visibility; this.CriticalFlag = criticalFlag; this.AreaList = areaList; - this.Result = result; this.Reserved2 = reserved2; } @@ -98,12 +96,6 @@ protected SecurityFeatureResult() { } [DataMember(Name = "AreaList", EmitDefaultValue = false)] public AreaContainer? AreaList { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Gets or Sets Reserved2 /// @@ -124,7 +116,6 @@ public override string ToString() sb.Append(" Visibility: ").Append(Visibility).Append("\n"); sb.Append(" CriticalFlag: ").Append(CriticalFlag).Append("\n"); sb.Append(" AreaList: ").Append(AreaList).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append(" Reserved2: ").Append(Reserved2).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Regula.DocumentReader.WebClient/Model/VerifiedFieldMap.cs b/src/Regula.DocumentReader.WebClient/Model/VerifiedFieldMap.cs index 092edda..bfa0827 100644 --- a/src/Regula.DocumentReader.WebClient/Model/VerifiedFieldMap.cs +++ b/src/Regula.DocumentReader.WebClient/Model/VerifiedFieldMap.cs @@ -59,8 +59,7 @@ protected VerifiedFieldMap() { } /// Field data extracted from barcode. /// Field data extracted from rfid chip. /// results comparison matrix. Elements of the matrix with indices 0, 1, 2, 3 take one of the values Disabled(0), Verified(1) or Not_Verified(2), elements with indices 4, 5, 6, 7, 8 are one of the values Disabled(0), Compare_Match(3) or Compare_Not_Match(4). Elements of the Matrix matrix have the following semantic meaning: - element with index 0 –– the result of verification of data from the MRZ; - 1 –– the result of verification of data from the RFID microcircuit; - 2 –– the result of verification of data from text areas of the document; - 3 –– the result of verification data from barcodes; - 4 - the result of comparing MRZ data and RFID microcircuits; - 5 - the result of comparing MRZ data and text areas of document filling; - 6 - the result of comparing MRZ data and bar codes; - 7 - the result of comparing the data of text areas of the document and the RFID chip; - 8 - the result of comparing the data of the text areas of the document and barcodes; - 9 - the result of comparing the data of the RFID chip and barcodes. (required). - /// fieldType. - public VerifiedFieldMap(TextFieldType wFieldType = default(TextFieldType), LCID wLCID = default(LCID), string fieldMRZ = default(string), string fieldVisual = default(string), string fieldBarcode = default(string), string fieldRFID = default(string), List matrix = default(List), int fieldType = default(int)) + public VerifiedFieldMap(TextFieldType wFieldType = default(TextFieldType), LCID wLCID = default(LCID), string fieldMRZ = default(string), string fieldVisual = default(string), string fieldBarcode = default(string), string fieldRFID = default(string), List matrix = default(List)) { this.WFieldType = wFieldType; this.WLCID = wLCID; @@ -74,7 +73,6 @@ protected VerifiedFieldMap() { } this.FieldVisual = fieldVisual; this.FieldBarcode = fieldBarcode; this.FieldRFID = fieldRFID; - this.FieldType = fieldType; } /// @@ -115,12 +113,6 @@ protected VerifiedFieldMap() { } [DataMember(Name = "Matrix", IsRequired = true, EmitDefaultValue = true)] public List Matrix { get; set; } - /// - /// Gets or Sets FieldType - /// - [DataMember(Name = "FieldType", EmitDefaultValue = false)] - public int? FieldType { get; set; } - /// /// Returns the string presentation of the object /// @@ -136,7 +128,6 @@ public override string ToString() sb.Append(" FieldBarcode: ").Append(FieldBarcode).Append("\n"); sb.Append(" FieldRFID: ").Append(FieldRFID).Append("\n"); sb.Append(" Matrix: ").Append(Matrix).Append("\n"); - sb.Append(" FieldType: ").Append(FieldType).Append("\n"); sb.Append("}\n"); return sb.ToString(); } From 872c731f3385173a73f4d84aeb91708424c07012 Mon Sep 17 00:00:00 2001 From: Artem Tsybulko Date: Tue, 10 Jun 2025 16:37:16 +0300 Subject: [PATCH 2/2] SP-18211 - update models --- .../Model/CertificateData.cs | 9 +- .../Model/DocVisualExtendedField.cs | 3 +- .../Model/EncryptedRCLItem.cs | 2 +- .../Model/EncryptedRCLResult.cs | 2 +- .../Model/FiberItem.cs | 11 +- .../Model/FiberResult.cs | 11 +- .../Model/IdentItem.cs | 11 +- .../Model/IdentResult.cs | 11 +- .../Model/LicenseItem.cs | 2 +- .../Model/LicenseResult.cs | 2 +- .../Model/Light.cs | 14 +- .../Model/OCRSecurityTextItem.cs | 11 +- .../Model/OCRSecurityTextResult.cs | 11 +- .../Model/ParsingErrorCodes.cs | 40 ++ .../Model/ParsingNotificationCodes.cs | 557 +++++++++++++++++- .../Model/PhotoIdentItem.cs | 11 +- .../Model/PhotoIdentResult.cs | 11 +- .../Model/ProcessParams.cs | 5 +- .../Model/RFIDDocVisualExtendedField.cs | 3 +- .../Model/RFIDErrorCodes.cs | 466 ++++++++------- .../Model/RfidAccessControlProcedureType.cs | 7 +- .../Model/RfidBaudRate.cs | 17 +- .../Model/RfidCertificateType.cs | 22 +- .../Model/RfidDataFileType.cs | 44 +- .../Model/RfidDataGroupTypeTag.cs | 29 +- .../Model/RfidPasswordType.cs | 7 +- .../Model/SymbolRecognitionResult.cs | 11 +- .../Model/VisualExtendedFieldItem.cs | 11 +- 28 files changed, 955 insertions(+), 386 deletions(-) diff --git a/src/Regula.DocumentReader.WebClient/Model/CertificateData.cs b/src/Regula.DocumentReader.WebClient/Model/CertificateData.cs index 709c079..9e0ed61 100644 --- a/src/Regula.DocumentReader.WebClient/Model/CertificateData.cs +++ b/src/Regula.DocumentReader.WebClient/Model/CertificateData.cs @@ -42,7 +42,7 @@ protected CertificateData() { } /// /// data (required). /// length (required). - public CertificateData(string data = default(string), string length = default(string)) + public CertificateData(string data = default(string), int length = default(int)) { // to ensure "data" is required (not null) if (data == null) @@ -50,11 +50,6 @@ protected CertificateData() { } throw new ArgumentNullException("data is a required property for CertificateData and cannot be null"); } this.Data = data; - // to ensure "length" is required (not null) - if (length == null) - { - throw new ArgumentNullException("length is a required property for CertificateData and cannot be null"); - } this.Length = length; } @@ -68,7 +63,7 @@ protected CertificateData() { } /// Gets or Sets Length /// [DataMember(Name = "Length", IsRequired = true, EmitDefaultValue = true)] - public string Length { get; set; } + public int Length { get; set; } /// /// Returns the string presentation of the object diff --git a/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs b/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs index 18e452a..5b93771 100644 --- a/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs +++ b/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs @@ -41,7 +41,6 @@ protected DocVisualExtendedField() { } /// Initializes a new instance of the class. /// /// fieldRect (required). - /// fieldType (required). /// wFieldType (required). /// Field symbolic name (null-terminated string) (required). /// Number of StringsResult array elements (required). @@ -54,7 +53,7 @@ protected DocVisualExtendedField() { } /// wLCID. /// reserved2. /// reserved3. - public DocVisualExtendedField(RectangleCoordinates fieldRect = default(RectangleCoordinates), int fieldType = default(int), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) : base(fieldType, wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3) + public DocVisualExtendedField(RectangleCoordinates fieldRect = default(RectangleCoordinates), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) : base(wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3) { // to ensure "fieldRect" is required (not null) if (fieldRect == null) diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs index 2d8ea76..c0f8597 100644 --- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs @@ -56,7 +56,7 @@ protected EncryptedRCLItem() { } /// /// Base64 encoded data /* - [B@7ba33386 + [B@5022ed18 */ [DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)] public byte[] EncryptedRCL { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs index bb7d889..b852d68 100644 --- a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs @@ -62,7 +62,7 @@ protected EncryptedRCLResult() { } /// /// Base64 encoded data /* - [B@7ba33386 + [B@5022ed18 */ [DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)] public byte[] EncryptedRCL { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/FiberItem.cs b/src/Regula.DocumentReader.WebClient/Model/FiberItem.cs index 4e01f6f..ba284b2 100644 --- a/src/Regula.DocumentReader.WebClient/Model/FiberItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/FiberItem.cs @@ -55,8 +55,7 @@ protected FiberItem() { } /// Fibers length value for located areas (in pixels) (required). /// Fibers value for areas (in pixels) (required). /// Fibers color value (required). - /// errorCode. - public FiberItem(int rectCount = default(int), int expectedCount = default(int), Light? lightValue = default(Light?), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List), int errorCode = default(int)) + public FiberItem(int rectCount = default(int), int expectedCount = default(int), Light? lightValue = default(Light?), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List)) { this.RectCount = rectCount; this.ExpectedCount = expectedCount; @@ -92,7 +91,6 @@ protected FiberItem() { } this.ColorValues = colorValues; this.LightValue = lightValue; this.LightDisp = lightDisp; - this.ErrorCode = errorCode; } /// @@ -154,12 +152,6 @@ protected FiberItem() { } [DataMember(Name = "ColorValues", IsRequired = true, EmitDefaultValue = true)] public List ColorValues { get; set; } - /// - /// Gets or Sets ErrorCode - /// - [DataMember(Name = "ErrorCode", EmitDefaultValue = false)] - public int? ErrorCode { get; set; } - /// /// Returns the string presentation of the object /// @@ -177,7 +169,6 @@ public override string ToString() sb.Append(" Length: ").Append(Length).Append("\n"); sb.Append(" Area: ").Append(Area).Append("\n"); sb.Append(" ColorValues: ").Append(ColorValues).Append("\n"); - sb.Append(" ErrorCode: ").Append(ErrorCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs b/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs index 9119381..4eaa3e7 100644 --- a/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs @@ -56,12 +56,11 @@ protected FiberResult() { } /// Fibers length value for located areas (in pixels) (required). /// Fibers value for areas (in pixels) (required). /// Fibers color value (required). - /// errorCode. /// type (required) (default to AuthenticityResultType.UV_FIBERS). /// elementResult. /// elementDiagnose. /// percentValue. - public FiberResult(int rectCount = default(int), int expectedCount = default(int), Light? lightValue = default(Light?), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List), int errorCode = default(int), AuthenticityResultType type = AuthenticityResultType.UV_FIBERS, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public FiberResult(int rectCount = default(int), int expectedCount = default(int), Light? lightValue = default(Light?), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List), AuthenticityResultType type = AuthenticityResultType.UV_FIBERS, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.RectCount = rectCount; this.ExpectedCount = expectedCount; @@ -97,7 +96,6 @@ protected FiberResult() { } this.ColorValues = colorValues; this.LightValue = lightValue; this.LightDisp = lightDisp; - this.ErrorCode = errorCode; } /// @@ -159,12 +157,6 @@ protected FiberResult() { } [DataMember(Name = "ColorValues", IsRequired = true, EmitDefaultValue = true)] public List ColorValues { get; set; } - /// - /// Gets or Sets ErrorCode - /// - [DataMember(Name = "ErrorCode", EmitDefaultValue = false)] - public int? ErrorCode { get; set; } - /// /// Returns the string presentation of the object /// @@ -183,7 +175,6 @@ public override string ToString() sb.Append(" Length: ").Append(Length).Append("\n"); sb.Append(" Area: ").Append(Area).Append("\n"); sb.Append(" ColorValues: ").Append(ColorValues).Append("\n"); - sb.Append(" ErrorCode: ").Append(ErrorCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/IdentItem.cs b/src/Regula.DocumentReader.WebClient/Model/IdentItem.cs index b69ddea..ad91889 100644 --- a/src/Regula.DocumentReader.WebClient/Model/IdentItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/IdentItem.cs @@ -59,8 +59,7 @@ protected IdentItem() { } /// etalonImage (required). /// areaList. /// elementID. - /// result. - public IdentItem(SecurityFeatureType elementType = default(SecurityFeatureType), Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData image = default(ImageData), ImageData etalonImage = default(ImageData), AreaContainer areaList = default(AreaContainer), int elementID = default(int), int result = default(int)) + public IdentItem(SecurityFeatureType elementType = default(SecurityFeatureType), Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData image = default(ImageData), ImageData etalonImage = default(ImageData), AreaContainer areaList = default(AreaContainer), int elementID = default(int)) { this.ElementType = elementType; this.LightIndex = lightIndex; @@ -79,7 +78,6 @@ protected IdentItem() { } this.Area = area; this.AreaList = areaList; this.ElementID = elementID; - this.Result = result; } /// @@ -112,12 +110,6 @@ protected IdentItem() { } [DataMember(Name = "ElementID", EmitDefaultValue = false)] public int? ElementID { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Returns the string presentation of the object /// @@ -133,7 +125,6 @@ public override string ToString() sb.Append(" EtalonImage: ").Append(EtalonImage).Append("\n"); sb.Append(" AreaList: ").Append(AreaList).Append("\n"); sb.Append(" ElementID: ").Append(ElementID).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/IdentResult.cs b/src/Regula.DocumentReader.WebClient/Model/IdentResult.cs index b7e9314..3f8c53d 100644 --- a/src/Regula.DocumentReader.WebClient/Model/IdentResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/IdentResult.cs @@ -60,12 +60,11 @@ protected IdentResult() { } /// etalonImage (required). /// areaList. /// elementID. - /// result. /// type (required) (default to AuthenticityResultType.IMAGE_PATTERN). /// elementResult. /// elementDiagnose. /// percentValue. - public IdentResult(SecurityFeatureType elementType = default(SecurityFeatureType), Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData image = default(ImageData), ImageData etalonImage = default(ImageData), AreaContainer areaList = default(AreaContainer), int elementID = default(int), int result = default(int), AuthenticityResultType type = AuthenticityResultType.IMAGE_PATTERN, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public IdentResult(SecurityFeatureType elementType = default(SecurityFeatureType), Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData image = default(ImageData), ImageData etalonImage = default(ImageData), AreaContainer areaList = default(AreaContainer), int elementID = default(int), AuthenticityResultType type = AuthenticityResultType.IMAGE_PATTERN, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.ElementType = elementType; this.LightIndex = lightIndex; @@ -84,7 +83,6 @@ protected IdentResult() { } this.Area = area; this.AreaList = areaList; this.ElementID = elementID; - this.Result = result; } /// @@ -117,12 +115,6 @@ protected IdentResult() { } [DataMember(Name = "ElementID", EmitDefaultValue = false)] public int? ElementID { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Returns the string presentation of the object /// @@ -139,7 +131,6 @@ public override string ToString() sb.Append(" EtalonImage: ").Append(EtalonImage).Append("\n"); sb.Append(" AreaList: ").Append(AreaList).Append("\n"); sb.Append(" ElementID: ").Append(ElementID).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs index b5a5641..91f5422 100644 --- a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs @@ -56,7 +56,7 @@ protected LicenseItem() { } /// /// Base64 encoded data /* - [B@6794a51e + [B@77df6449 */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs index a8b812d..44ec665 100644 --- a/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs @@ -62,7 +62,7 @@ protected LicenseResult() { } /// /// Base64 encoded data /* - [B@6794a51e + [B@77df6449 */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/Light.cs b/src/Regula.DocumentReader.WebClient/Model/Light.cs index 73d6d34..78b060c 100644 --- a/src/Regula.DocumentReader.WebClient/Model/Light.cs +++ b/src/Regula.DocumentReader.WebClient/Model/Light.cs @@ -37,6 +37,16 @@ public enum Light /// OFF = 0, + /// + /// Enum WHITE_TOP for value: 2 + /// + WHITE_TOP = 2, + + /// + /// Enum WHITE_SIDE for value: 4 + /// + WHITE_SIDE = 4, + /// /// Enum WHITE for value: 6 /// @@ -53,9 +63,9 @@ public enum Light UV = 128, /// - /// Enum AXIAL_WHITE_FULL for value: 3072 + /// Enum AXIAL_WHITE for value: 3072 /// - AXIAL_WHITE_FULL = 3072 + AXIAL_WHITE = 3072 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs index 0e46d87..d3c9513 100644 --- a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextItem.cs @@ -73,10 +73,9 @@ protected OCRSecurityTextItem() { } /// etalonFieldRect (required). /// securityTextResultOCR (required). /// etalonResultOCR (required). - /// resultCode. /// reserved1. /// reserved2. - public OCRSecurityTextItem(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int)) + public OCRSecurityTextItem(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int reserved1 = default(int), int reserved2 = default(int)) { this.CriticalFlag = criticalFlag; this.LightType = lightType; @@ -107,7 +106,6 @@ protected OCRSecurityTextItem() { } throw new ArgumentNullException("etalonResultOCR is a required property for OCRSecurityTextItem and cannot be null"); } this.EtalonResultOCR = etalonResultOCR; - this.ResultCode = resultCode; this.Reserved1 = reserved1; this.Reserved2 = reserved2; } @@ -143,12 +141,6 @@ protected OCRSecurityTextItem() { } [DataMember(Name = "EtalonResultOCR", IsRequired = true, EmitDefaultValue = true)] public string EtalonResultOCR { get; set; } - /// - /// Gets or Sets ResultCode - /// - [DataMember(Name = "ResultCode", EmitDefaultValue = false)] - public int? ResultCode { get; set; } - /// /// Gets or Sets Reserved1 /// @@ -178,7 +170,6 @@ public override string ToString() sb.Append(" EtalonFieldRect: ").Append(EtalonFieldRect).Append("\n"); sb.Append(" SecurityTextResultOCR: ").Append(SecurityTextResultOCR).Append("\n"); sb.Append(" EtalonResultOCR: ").Append(EtalonResultOCR).Append("\n"); - sb.Append(" ResultCode: ").Append(ResultCode).Append("\n"); sb.Append(" Reserved1: ").Append(Reserved1).Append("\n"); sb.Append(" Reserved2: ").Append(Reserved2).Append("\n"); sb.Append("}\n"); diff --git a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs index 2db46e3..d6fc94f 100644 --- a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs @@ -74,14 +74,13 @@ protected OCRSecurityTextResult() { } /// etalonFieldRect (required). /// securityTextResultOCR (required). /// etalonResultOCR (required). - /// resultCode. /// reserved1. /// reserved2. /// type (required) (default to AuthenticityResultType.OCR_SECURITY_TEXT). /// elementResult. /// elementDiagnose. /// percentValue. - public OCRSecurityTextResult(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int resultCode = default(int), int reserved1 = default(int), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.OCR_SECURITY_TEXT, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public OCRSecurityTextResult(Critical criticalFlag = default(Critical), Light lightType = default(Light), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = 0, TextFieldType etalonFieldType = default(TextFieldType), Light etalonLightType = default(Light), RectangleCoordinates etalonFieldRect = default(RectangleCoordinates), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int reserved1 = default(int), int reserved2 = default(int), AuthenticityResultType type = AuthenticityResultType.OCR_SECURITY_TEXT, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.CriticalFlag = criticalFlag; this.LightType = lightType; @@ -112,7 +111,6 @@ protected OCRSecurityTextResult() { } throw new ArgumentNullException("etalonResultOCR is a required property for OCRSecurityTextResult and cannot be null"); } this.EtalonResultOCR = etalonResultOCR; - this.ResultCode = resultCode; this.Reserved1 = reserved1; this.Reserved2 = reserved2; } @@ -148,12 +146,6 @@ protected OCRSecurityTextResult() { } [DataMember(Name = "EtalonResultOCR", IsRequired = true, EmitDefaultValue = true)] public string EtalonResultOCR { get; set; } - /// - /// Gets or Sets ResultCode - /// - [DataMember(Name = "ResultCode", EmitDefaultValue = false)] - public int? ResultCode { get; set; } - /// /// Gets or Sets Reserved1 /// @@ -184,7 +176,6 @@ public override string ToString() sb.Append(" EtalonFieldRect: ").Append(EtalonFieldRect).Append("\n"); sb.Append(" SecurityTextResultOCR: ").Append(SecurityTextResultOCR).Append("\n"); sb.Append(" EtalonResultOCR: ").Append(EtalonResultOCR).Append("\n"); - sb.Append(" ResultCode: ").Append(ResultCode).Append("\n"); sb.Append(" Reserved1: ").Append(Reserved1).Append("\n"); sb.Append(" Reserved2: ").Append(Reserved2).Append("\n"); sb.Append("}\n"); diff --git a/src/Regula.DocumentReader.WebClient/Model/ParsingErrorCodes.cs b/src/Regula.DocumentReader.WebClient/Model/ParsingErrorCodes.cs index e0b2fb2..a725ab1 100644 --- a/src/Regula.DocumentReader.WebClient/Model/ParsingErrorCodes.cs +++ b/src/Regula.DocumentReader.WebClient/Model/ParsingErrorCodes.cs @@ -182,6 +182,46 @@ public enum ParsingErrorCodes: long /// errLDS_ASN_SignerInfo_UnsignedAttrs_IncorrectData = 2147483687, + /// + /// Enum errLDS_ASN_DTC_SignerInfo_IncorrectData for value: 2147483712 + /// + errLDS_ASN_DTC_SignerInfo_IncorrectData = 2147483712, + + /// + /// Enum errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData for value: 2147483713 + /// + errLDS_ASN_DTC_SignerInfo_Certificate_IncorrectData = 2147483713, + + /// + /// Enum errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData for value: 2147483714 + /// + errLDS_ASN_DTC_SignerInfo_DigestAlg_IncorrectData = 2147483714, + + /// + /// Enum errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData for value: 2147483715 + /// + errLDS_ASN_DTC_SignerInfo_SignedAttrs_IncorrectData = 2147483715, + + /// + /// Enum errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData for value: 2147483716 + /// + errLDS_ASN_DTC_SignerInfo_SignAlg_IncorrectData = 2147483716, + + /// + /// Enum errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData for value: 2147483717 + /// + errLDS_ASN_DTC_SignerInfo_Signature_IncorrectData = 2147483717, + + /// + /// Enum errLDS_ASN_DTC_SecurityInfo_IncorrectData for value: 2147483718 + /// + errLDS_ASN_DTC_SecurityInfo_IncorrectData = 2147483718, + + /// + /// Enum errLDS_ASN_DTC_ContentInfo_IncorrectData for value: 2147483719 + /// + errLDS_ASN_DTC_ContentInfo_IncorrectData = 2147483719, + /// /// Enum errLDS_ICAO_LDSObject_UnsupportedDigestAlgorithm for value: 2147483696 /// diff --git a/src/Regula.DocumentReader.WebClient/Model/ParsingNotificationCodes.cs b/src/Regula.DocumentReader.WebClient/Model/ParsingNotificationCodes.cs index 8e3828d..a5c3762 100644 --- a/src/Regula.DocumentReader.WebClient/Model/ParsingNotificationCodes.cs +++ b/src/Regula.DocumentReader.WebClient/Model/ParsingNotificationCodes.cs @@ -477,6 +477,31 @@ public enum ParsingNotificationCodes: long /// ntfLDS_ICAO_Certificate_Subject_CommonNameNonCompliant = 2415919695, + /// + /// Enum ntfLDS_ICAO_Certificate_Chain_Country_NonMatching for value: 2415919696 + /// + ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = 2415919696, + + /// + /// Enum ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching for value: 2415919697 + /// + ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697, + + /// + /// Enum ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching for value: 2415919698 + /// + ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698, + + /// + /// Enum ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase for value: 2415919699 + /// + ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase = 2415919699, + + /// + /// Enum ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase for value: 2415919700 + /// + ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase = 2415919700, + /// /// Enum ntfLDS_ICAO_COM_LDS_Version_Incorrect for value: 2415919136 /// @@ -802,6 +827,11 @@ public enum ParsingNotificationCodes: long /// ntfLDS_MRZ_Incorrect = 139288, + /// + /// Enum ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching for value: 139289 + /// + ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, + /// /// Enum ntfLDS_Biometrics_FormatOwner_Missing for value: 2415984640 /// @@ -857,6 +887,11 @@ public enum ParsingNotificationCodes: long /// ntfLDS_Biometrics_BDB_DataLength_Incorrect = 2416640000, + /// + /// Enum ntfLDS_Biometrics_BDB_Data_Incorrect for value: 2416705536 + /// + ntfLDS_Biometrics_BDB_Data_Incorrect = 2416705536, + /// /// Enum ntfLDS_Biometrics_BDB_Data_Gender for value: 2416967680 /// @@ -912,6 +947,496 @@ public enum ParsingNotificationCodes: long /// ntfLDS_Biometrics_BDB_Data_ImageDataType = 2417623040, + /// + /// Enum ntfLDS_Biometrics_RB_Data_Incorrect for value: 2449539072 + /// + ntfLDS_Biometrics_RB_Data_Incorrect = 2449539072, + + /// + /// Enum ntfLDS_Biometrics_RB_Item_Incorrect for value: 2449604608 + /// + ntfLDS_Biometrics_RB_Item_Incorrect = 2449604608, + + /// + /// Enum ntfLDS_Biometrics_RB_Item_Missing for value: 2449670144 + /// + ntfLDS_Biometrics_RB_Item_Missing = 2449670144, + + /// + /// Enum ntfLDS_Biometrics_RB_Item_Unexpected for value: 2449735680 + /// + ntfLDS_Biometrics_RB_Item_Unexpected = 2449735680, + + /// + /// Enum ntfLDS_Biometrics_RB_RID_Incorrect for value: 2449801232 + /// + ntfLDS_Biometrics_RB_RID_Incorrect = 2449801232, + + /// + /// Enum ntfLDS_Biometrics_RB_ImageR_Incorrect for value: 2449801248 + /// + ntfLDS_Biometrics_RB_ImageR_Incorrect = 2449801248, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Item_Incorrect for value: 2449801264 + /// + ntfLDS_Biometrics_RB_Image_Item_Incorrect = 2449801264, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Item_Missing for value: 2449801265 + /// + ntfLDS_Biometrics_RB_Image_Item_Missing = 2449801265, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Item_Unexpected for value: 2449801266 + /// + ntfLDS_Biometrics_RB_Image_Item_Unexpected = 2449801266, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Item_Incorrect for value: 2449801280 + /// + ntfLDS_Biometrics_RB_Image_Info_Item_Incorrect = 2449801280, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Item_Missing for value: 2449801281 + /// + ntfLDS_Biometrics_RB_Image_Info_Item_Missing = 2449801281, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Item_Unexpected for value: 2449801282 + /// + ntfLDS_Biometrics_RB_Image_Info_Item_Unexpected = 2449801282, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Format_Incorrect for value: 2449801283 + /// + ntfLDS_Biometrics_RB_Image_Info_Format_Incorrect = 2449801283, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Format_Unsupported for value: 2449801284 + /// + ntfLDS_Biometrics_RB_Image_Info_Format_Unsupported = 2449801284, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Kind_Incorrect for value: 2449801285 + /// + ntfLDS_Biometrics_RB_Image_Info_Kind_Incorrect = 2449801285, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Kind_Unsupported for value: 2449801286 + /// + ntfLDS_Biometrics_RB_Image_Info_Kind_Unsupported = 2449801286, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_PostAPB_Incorrect for value: 2449801287 + /// + ntfLDS_Biometrics_RB_Image_Info_PostAPB_Incorrect = 2449801287, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_LossyTA_Incorrect for value: 2449801288 + /// + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Incorrect = 2449801288, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_LossyTA_Unsupported for value: 2449801289 + /// + ntfLDS_Biometrics_RB_Image_Info_LossyTA_Unsupported = 2449801289, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Cam2Subj_Unsupported for value: 2449801290 + /// + ntfLDS_Biometrics_RB_Image_Info_Cam2Subj_Unsupported = 2449801290, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_SensDiag_Unsupported for value: 2449801291 + /// + ntfLDS_Biometrics_RB_Image_Info_SensDiag_Unsupported = 2449801291, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_LensF_Unsupported for value: 2449801292 + /// + ntfLDS_Biometrics_RB_Image_Info_LensF_Unsupported = 2449801292, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_ImSize_Incorrect for value: 2449801293 + /// + ntfLDS_Biometrics_RB_Image_Info_ImSize_Incorrect = 2449801293, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_ImSize_Unsupported for value: 2449801294 + /// + ntfLDS_Biometrics_RB_Image_Info_ImSize_Unsupported = 2449801294, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_ImMeas_Incorrect for value: 2449801295 + /// + ntfLDS_Biometrics_RB_Image_Info_ImMeas_Incorrect = 2449801295, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Color_Incorrect for value: 2449801296 + /// + ntfLDS_Biometrics_RB_Image_Info_Color_Incorrect = 2449801296, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_Color_Unsupported for value: 2449801297 + /// + ntfLDS_Biometrics_RB_Image_Info_Color_Unsupported = 2449801297, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Info_ColorMap_Incorrect for value: 2449801298 + /// + ntfLDS_Biometrics_RB_Image_Info_ColorMap_Incorrect = 2449801298, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Capt_Item_Incorrect for value: 2449801312 + /// + ntfLDS_Biometrics_RB_Image_Capt_Item_Incorrect = 2449801312, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Capt_Item_Unexpected for value: 2449801313 + /// + ntfLDS_Biometrics_RB_Image_Capt_Item_Unexpected = 2449801313, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Capt_Spectral_Unsupported for value: 2449801314 + /// + ntfLDS_Biometrics_RB_Image_Capt_Spectral_Unsupported = 2449801314, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Capt_TechCode_Incorrect for value: 2449801315 + /// + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Incorrect = 2449801315, + + /// + /// Enum ntfLDS_Biometrics_RB_Image_Capt_TechCode_Unsupported for value: 2449801316 + /// + ntfLDS_Biometrics_RB_Image_Capt_TechCode_Unsupported = 2449801316, + + /// + /// Enum ntfLDS_Biometrics_RB_Date_Item_Incorrect for value: 2449801328 + /// + ntfLDS_Biometrics_RB_Date_Item_Incorrect = 2449801328, + + /// + /// Enum ntfLDS_Biometrics_RB_Date_Item_Missing for value: 2449801329 + /// + ntfLDS_Biometrics_RB_Date_Item_Missing = 2449801329, + + /// + /// Enum ntfLDS_Biometrics_RB_Date_Item_Unexpected for value: 2449801330 + /// + ntfLDS_Biometrics_RB_Date_Item_Unexpected = 2449801330, + + /// + /// Enum ntfLDS_Biometrics_RB_Date_Incorrect for value: 2449801331 + /// + ntfLDS_Biometrics_RB_Date_Incorrect = 2449801331, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Item_Incorrect for value: 2449801344 + /// + ntfLDS_Biometrics_RB_Quality_Item_Incorrect = 2449801344, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Item_Missing for value: 2449801345 + /// + ntfLDS_Biometrics_RB_Quality_Item_Missing = 2449801345, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Item_Unexpected for value: 2449801346 + /// + ntfLDS_Biometrics_RB_Quality_Item_Unexpected = 2449801346, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_AlgID_Item_Incorrect for value: 2449801347 + /// + ntfLDS_Biometrics_RB_Quality_AlgID_Item_Incorrect = 2449801347, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_SoE_Item_Incorrect for value: 2449801348 + /// + ntfLDS_Biometrics_RB_Quality_SoE_Item_Incorrect = 2449801348, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Score_Item_Incorrect for value: 2449801349 + /// + ntfLDS_Biometrics_RB_Quality_Score_Item_Incorrect = 2449801349, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Error_Item_Incorrect for value: 2449801350 + /// + ntfLDS_Biometrics_RB_Quality_Error_Item_Incorrect = 2449801350, + + /// + /// Enum ntfLDS_Biometrics_RB_Quality_Error_Item_Unsupported for value: 2449801351 + /// + ntfLDS_Biometrics_RB_Quality_Error_Item_Unsupported = 2449801351, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Item_Incorrect for value: 2449801360 + /// + ntfLDS_Biometrics_RB_PAD_Item_Incorrect = 2449801360, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Item_Unexpected for value: 2449801361 + /// + ntfLDS_Biometrics_RB_PAD_Item_Unexpected = 2449801361, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Decision_Item_Incorrect for value: 2449801362 + /// + ntfLDS_Biometrics_RB_PAD_Decision_Item_Incorrect = 2449801362, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Decision_Item_Unsupported for value: 2449801363 + /// + ntfLDS_Biometrics_RB_PAD_Decision_Item_Unsupported = 2449801363, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Score_Item_Incorrect for value: 2449801364 + /// + ntfLDS_Biometrics_RB_PAD_Score_Item_Incorrect = 2449801364, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Score_RegID_Item_Incorrect for value: 2449801365 + /// + ntfLDS_Biometrics_RB_PAD_Score_RegID_Item_Incorrect = 2449801365, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SoE_Item_Incorrect for value: 2449801366 + /// + ntfLDS_Biometrics_RB_PAD_SoE_Item_Incorrect = 2449801366, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SoE_Score_Item_Incorrect for value: 2449801367 + /// + ntfLDS_Biometrics_RB_PAD_SoE_Score_Item_Incorrect = 2449801367, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Incorrect for value: 2449801368 + /// + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Incorrect = 2449801368, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Unsupported for value: 2449801369 + /// + ntfLDS_Biometrics_RB_PAD_SoE_Error_Item_Unsupported = 2449801369, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_ExtData_Item_Incorrect for value: 2449801370 + /// + ntfLDS_Biometrics_RB_PAD_ExtData_Item_Incorrect = 2449801370, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_ExtData_Type_Item_Incorrect for value: 2449801371 + /// + ntfLDS_Biometrics_RB_PAD_ExtData_Type_Item_Incorrect = 2449801371, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Context_Item_Incorrect for value: 2449801372 + /// + ntfLDS_Biometrics_RB_PAD_Context_Item_Incorrect = 2449801372, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Context_Item_Unsupported for value: 2449801373 + /// + ntfLDS_Biometrics_RB_PAD_Context_Item_Unsupported = 2449801373, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SLevel_Item_Incorrect for value: 2449801374 + /// + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Incorrect = 2449801374, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_SLevel_Item_Unsupported for value: 2449801375 + /// + ntfLDS_Biometrics_RB_PAD_SLevel_Item_Unsupported = 2449801375, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_RiskLevel_Item_Incorrect for value: 2449801376 + /// + ntfLDS_Biometrics_RB_PAD_RiskLevel_Item_Incorrect = 2449801376, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Criteria_Item_Incorrect for value: 2449801377 + /// + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Incorrect = 2449801377, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Criteria_Item_Unsupported for value: 2449801378 + /// + ntfLDS_Biometrics_RB_PAD_Criteria_Item_Unsupported = 2449801378, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Date_Item_Incorrect for value: 2449801379 + /// + ntfLDS_Biometrics_RB_PAD_Date_Item_Incorrect = 2449801379, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Date_Item_Missing for value: 2449801380 + /// + ntfLDS_Biometrics_RB_PAD_Date_Item_Missing = 2449801380, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Date_Item_Unexpected for value: 2449801381 + /// + ntfLDS_Biometrics_RB_PAD_Date_Item_Unexpected = 2449801381, + + /// + /// Enum ntfLDS_Biometrics_RB_PAD_Date_Incorrect for value: 2449801382 + /// + ntfLDS_Biometrics_RB_PAD_Date_Incorrect = 2449801382, + + /// + /// Enum ntfLDS_Biometrics_RB_SessionID_Incorrect for value: 2449801392 + /// + ntfLDS_Biometrics_RB_SessionID_Incorrect = 2449801392, + + /// + /// Enum ntfLDS_Biometrics_RB_Derived_Incorrect for value: 2449801408 + /// + ntfLDS_Biometrics_RB_Derived_Incorrect = 2449801408, + + /// + /// Enum ntfLDS_Biometrics_RB_Device_Incorrect for value: 2449801424 + /// + ntfLDS_Biometrics_RB_Device_Incorrect = 2449801424, + + /// + /// Enum ntfLDS_Biometrics_RB_Device_Item_Unexpected for value: 2449801425 + /// + ntfLDS_Biometrics_RB_Device_Item_Unexpected = 2449801425, + + /// + /// Enum ntfLDS_Biometrics_RB_Device_ModelID_Item_Incorrect for value: 2449801426 + /// + ntfLDS_Biometrics_RB_Device_ModelID_Item_Incorrect = 2449801426, + + /// + /// Enum ntfLDS_Biometrics_RB_Device_CertID_Item_Incorrect for value: 2449801427 + /// + ntfLDS_Biometrics_RB_Device_CertID_Item_Incorrect = 2449801427, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Item_Incorrect for value: 2449801440 + /// + ntfLDS_Biometrics_RB_Metadata_Item_Incorrect = 2449801440, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Item_Unexpected for value: 2449801441 + /// + ntfLDS_Biometrics_RB_Metadata_Item_Unexpected = 2449801441, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Gender_Item_Incorrect for value: 2449801442 + /// + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Incorrect = 2449801442, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Gender_Item_Unsupported for value: 2449801443 + /// + ntfLDS_Biometrics_RB_Metadata_Gender_Item_Unsupported = 2449801443, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Eye_Item_Incorrect for value: 2449801444 + /// + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Incorrect = 2449801444, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Eye_Item_Unsupported for value: 2449801445 + /// + ntfLDS_Biometrics_RB_Metadata_Eye_Item_Unsupported = 2449801445, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Hair_Item_Incorrect for value: 2449801446 + /// + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Incorrect = 2449801446, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Hair_Item_Unsupported for value: 2449801447 + /// + ntfLDS_Biometrics_RB_Metadata_Hair_Item_Unsupported = 2449801447, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Height_Item_Incorrect for value: 2449801448 + /// + ntfLDS_Biometrics_RB_Metadata_Height_Item_Incorrect = 2449801448, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Props_Item_Incorrect for value: 2449801449 + /// + ntfLDS_Biometrics_RB_Metadata_Props_Item_Incorrect = 2449801449, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Props_Item_Unexpected for value: 2449801450 + /// + ntfLDS_Biometrics_RB_Metadata_Props_Item_Unexpected = 2449801450, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Express_Item_Incorrect for value: 2449801451 + /// + ntfLDS_Biometrics_RB_Metadata_Express_Item_Incorrect = 2449801451, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Express_Item_Unexpected for value: 2449801452 + /// + ntfLDS_Biometrics_RB_Metadata_Express_Item_Unexpected = 2449801452, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Pose_Item_Incorrect for value: 2449801453 + /// + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Incorrect = 2449801453, + + /// + /// Enum ntfLDS_Biometrics_RB_Metadata_Pose_Item_Unexpected for value: 2449801454 + /// + ntfLDS_Biometrics_RB_Metadata_Pose_Item_Unexpected = 2449801454, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Item_Incorrect for value: 2449801456 + /// + ntfLDS_Biometrics_RB_LandMark_Item_Incorrect = 2449801456, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Item_Missing for value: 2449801457 + /// + ntfLDS_Biometrics_RB_LandMark_Item_Missing = 2449801457, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Item_Unexpected for value: 2449801458 + /// + ntfLDS_Biometrics_RB_LandMark_Item_Unexpected = 2449801458, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Kind_Item_Incorrect for value: 2449801459 + /// + ntfLDS_Biometrics_RB_LandMark_Kind_Item_Incorrect = 2449801459, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Incorrect for value: 2449801460 + /// + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Incorrect = 2449801460, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Unsupported for value: 2449801461 + /// + ntfLDS_Biometrics_RB_LandMark_Mpeg4_Item_Unsupported = 2449801461, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_AntrL_Item_Incorrect for value: 2449801462 + /// + ntfLDS_Biometrics_RB_LandMark_AntrL_Item_Incorrect = 2449801462, + + /// + /// Enum ntfLDS_Biometrics_RB_LandMark_Coord_Item_Incorrect for value: 2449801463 + /// + ntfLDS_Biometrics_RB_LandMark_Coord_Item_Incorrect = 2449801463, + + /// + /// Enum ntfLDS_DTC_ContentInfo_Version_Incorrect for value: 2415919872 + /// + ntfLDS_DTC_ContentInfo_Version_Incorrect = 2415919872, + /// /// Enum ntfLDS_SI_PACE_Info_UnsupportedStdParameters for value: 2432696320 /// @@ -1120,37 +1645,7 @@ public enum ParsingNotificationCodes: long /// /// Enum ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid for value: 2449473817 /// - ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = 2449473817, - - /// - /// Enum ntfLDS_ICAO_Certificate_Chain_Country_NonMatching for value: 2415919696 - /// - ntfLDS_ICAO_Certificate_Chain_Country_NonMatching = 2415919696, - - /// - /// Enum ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching for value: 2415919697 - /// - ntfLDS_ICAO_Certificate_VisualMrz_Country_NonMatching = 2415919697, - - /// - /// Enum ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching for value: 139289 - /// - ntfLDS_MRZ_CountryCode_VisualMrz_NonMatching = 139289, - - /// - /// Enum ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching for value: 2415919698 - /// - ntfLDS_ICAO_Certificate_MRZ_Country_NonMatching = 2415919698, - - /// - /// Enum ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase for value: 2415919699 - /// - ntfLDS_ICAO_Certificate_Issuer_CountryNonUpperCase = 2415919699, - - /// - /// Enum ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase for value: 2415919700 - /// - ntfLDS_ICAO_Certificate_Subject_CountryNonUpperCase = 2415919700 + ntfLDS_Auth_MLSignerInfo_Certificate_SignatureInvalid = 2449473817 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentItem.cs b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentItem.cs index 8b304a0..bcb5a1d 100644 --- a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentItem.cs @@ -54,9 +54,8 @@ protected PhotoIdentItem() { } /// fieldTypesList. /// step. /// angle. - /// result. /// reserved3. - public PhotoIdentItem(Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int result = default(int), int reserved3 = default(int)) + public PhotoIdentItem(Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int reserved3 = default(int)) { this.LightIndex = lightIndex; // to ensure "area" is required (not null) @@ -81,7 +80,6 @@ protected PhotoIdentItem() { } this.FieldTypesList = fieldTypesList; this.Step = step; this.Angle = angle; - this.Result = result; this.Reserved3 = reserved3; } @@ -127,12 +125,6 @@ protected PhotoIdentItem() { } [DataMember(Name = "Angle", EmitDefaultValue = false)] public int? Angle { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Gets or Sets Reserved3 /// @@ -155,7 +147,6 @@ public override string ToString() sb.Append(" FieldTypesList: ").Append(FieldTypesList).Append("\n"); sb.Append(" Step: ").Append(Step).Append("\n"); sb.Append(" Angle: ").Append(Angle).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append(" Reserved3: ").Append(Reserved3).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs index 57847cc..12c7c8b 100644 --- a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs @@ -55,13 +55,12 @@ protected PhotoIdentResult() { } /// fieldTypesList. /// step. /// angle. - /// result. /// reserved3. /// type (required) (default to AuthenticityResultType.IPI). /// elementResult. /// elementDiagnose. /// percentValue. - public PhotoIdentResult(Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int result = default(int), int reserved3 = default(int), AuthenticityResultType type = AuthenticityResultType.IPI, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) + public PhotoIdentResult(Light lightIndex = default(Light), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int reserved3 = default(int), AuthenticityResultType type = AuthenticityResultType.IPI, CheckResult? elementResult = default(CheckResult?), CheckDiagnose? elementDiagnose = default(CheckDiagnose?), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue) { this.LightIndex = lightIndex; // to ensure "area" is required (not null) @@ -86,7 +85,6 @@ protected PhotoIdentResult() { } this.FieldTypesList = fieldTypesList; this.Step = step; this.Angle = angle; - this.Result = result; this.Reserved3 = reserved3; } @@ -132,12 +130,6 @@ protected PhotoIdentResult() { } [DataMember(Name = "Angle", EmitDefaultValue = false)] public int? Angle { get; set; } - /// - /// Gets or Sets Result - /// - [DataMember(Name = "Result", EmitDefaultValue = false)] - public int? Result { get; set; } - /// /// Gets or Sets Reserved3 /// @@ -161,7 +153,6 @@ public override string ToString() sb.Append(" FieldTypesList: ").Append(FieldTypesList).Append("\n"); sb.Append(" Step: ").Append(Step).Append("\n"); sb.Append(" Angle: ").Append(Angle).Append("\n"); - sb.Append(" Result: ").Append(Result).Append("\n"); sb.Append(" Reserved3: ").Append(Reserved3).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs b/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs index f289211..41efa22 100644 --- a/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs +++ b/src/Regula.DocumentReader.WebClient/Model/ProcessParams.cs @@ -122,7 +122,7 @@ protected ProcessParams() { } /// When enabled, the Surname and GivenNames fields from MRZ will be divided into ft_First_Name, ft_Second_Name, ft_Third_Name, ft_Fourth_Name, ft_Last_Name fields. Disabled by default.. /// When enabled, OCR of perforated fields in the document template will not be performed. Disabled by default.. /// List of specific eligible document types from DocumentType enum to recognize from. You may, for example, specify only passports to be recognized by setting this property. Empty by default.. - /// processAuth. + /// 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.. /// This parameter is used to specify the document reader device type from which input images were captured. Default 0.. /// This parameter is used to specify the document reader device type from which input images were captured. Default 0.. /// This parameter is used to specify the document reader device type from which input images were captured. @@ -498,8 +498,9 @@ protected ProcessParams() { } public List? DocumentGroupFilter { get; set; } /// - /// Gets or Sets ProcessAuth + /// 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. /// + /// 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. [DataMember(Name = "processAuth", EmitDefaultValue = false)] public long? ProcessAuth { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs b/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs index 8b4087b..4b83536 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs @@ -44,7 +44,6 @@ protected RFIDDocVisualExtendedField() { } /// originDGTag. /// Record index of the text field source in the data group (required). /// originEntryView. - /// fieldType (required). /// wFieldType (required). /// Field symbolic name (null-terminated string) (required). /// Number of StringsResult array elements (required). @@ -57,7 +56,7 @@ protected RFIDDocVisualExtendedField() { } /// wLCID. /// reserved2. /// reserved3. - public RFIDDocVisualExtendedField(int originDG = default(int), int originDGTag = default(int), decimal originTagEntry = default(decimal), int originEntryView = default(int), int fieldType = default(int), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) : base(fieldType, wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3) + public RFIDDocVisualExtendedField(int originDG = default(int), int originDGTag = default(int), decimal originTagEntry = default(decimal), int originEntryView = default(int), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) : base(wFieldType, fieldName, stringsCount, stringsResult, bufLength, bufText, fieldMask, validity, inComparison, wLCID, reserved2, reserved3) { this.OriginDG = originDG; this.OriginTagEntry = originTagEntry; diff --git a/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs b/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs index 7d0f116..0ec0fca 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RFIDErrorCodes.cs @@ -33,574 +33,584 @@ namespace Regula.DocumentReader.WebClient.Model public enum RFIDErrorCodes: long { /// - /// Enum RFID_ERROR_LAYER6_FILE_EOF1 for value: 2147508866 + /// Enum RFID_Error_NoError for value: 1 /// - RFID_ERROR_LAYER6_FILE_EOF1 = 2147508866, + RFID_Error_NoError = 1, /// - /// Enum RFID_ERROR_LAYER6_PWD_DEACTIVATED for value: 2147508867 + /// Enum RFID_Error_AlreadyDone for value: 2 /// - RFID_ERROR_LAYER6_PWD_DEACTIVATED = 2147508867, + RFID_Error_AlreadyDone = 2, /// - /// Enum RFID_ERROR_LAYER6_PWD_BLOCKED for value: 2147509184 + /// Enum RFID_Error_Failed for value: 4294967295 /// - RFID_ERROR_LAYER6_PWD_BLOCKED = 2147509184, + RFID_Error_Failed = 4294967295, /// - /// Enum RFID_ERROR_LAYER6_PWD_SUSPEND for value: 2147509185 + /// Enum RFID_Error_NoChipDetected for value: 2147549185 /// - RFID_ERROR_LAYER6_PWD_SUSPEND = 2147509185, + RFID_Error_NoChipDetected = 2147549185, /// - /// Enum RFID_ERROR_LAYER6_PWD_BLOCKED2 for value: 2147510659 + /// Enum RFID_Error_NotAvailable for value: 2147549186 /// - RFID_ERROR_LAYER6_PWD_BLOCKED2 = 2147510659, + RFID_Error_NotAvailable = 2147549186, /// - /// Enum RFID_ERROR_LAYER6_PWD_DEACTIVATED2 for value: 2147510660 + /// Enum RFID_Error_InvalidParameter for value: 2147549188 /// - RFID_ERROR_LAYER6_PWD_DEACTIVATED2 = 2147510660, + RFID_Error_InvalidParameter = 2147549188, /// - /// Enum RFID_ERROR_LAYER6_PWD_SUSPEND2 for value: 2147510661 + /// Enum RFID_Error_NotInitialized for value: 2147549189 /// - RFID_ERROR_LAYER6_PWD_SUSPEND2 = 2147510661, + RFID_Error_NotInitialized = 2147549189, /// - /// Enum RFID_ERROR_LAYER6_INCORRECT_PARAMS for value: 2147510912 + /// Enum RFID_Error_NotEnoughMemory for value: 2147549190 /// - RFID_ERROR_LAYER6_INCORRECT_PARAMS = 2147510912, + RFID_Error_NotEnoughMemory = 2147549190, /// - /// Enum RFID_ERROR_LAYER6_FILE_NOT_FOUND for value: 2147510914 + /// Enum RFID_Error_NotEnoughData for value: 2147549191 /// - RFID_ERROR_LAYER6_FILE_NOT_FOUND = 2147510914, + RFID_Error_NotEnoughData = 2147549191, /// - /// Enum RFID_ERROR_LAYER6_NO_REFERENCE_DATA for value: 2147510920 + /// Enum RFID_Error_InvalidDirectory for value: 2147549192 /// - RFID_ERROR_LAYER6_NO_REFERENCE_DATA = 2147510920, + RFID_Error_InvalidDirectory = 2147549192, /// - /// Enum RFID_ERROR_LAYER6_FILE_EOF2 for value: 2147511040 + /// Enum RFID_Error_UnknownCommand for value: 2147549193 /// - RFID_ERROR_LAYER6_FILE_EOF2 = 2147511040, + RFID_Error_UnknownCommand = 2147549193, /// - /// Enum RFID_ERROR_NO_CHIP_DETECTED for value: 2147549185 + /// Enum RFID_Error_FileIOError for value: 2147549194 /// - RFID_ERROR_NO_CHIP_DETECTED = 2147549185, + RFID_Error_FileIOError = 2147549194, /// - /// Enum RFID_ERROR_NOT_AVAILABLE for value: 2147549186 + /// Enum RFID_Error_Busy for value: 2147549195 /// - RFID_ERROR_NOT_AVAILABLE = 2147549186, + RFID_Error_Busy = 2147549195, /// - /// Enum RFID_ERROR_INVALID_PARAMETER for value: 2147549188 + /// Enum RFID_Error_OldFirmware for value: 2147549196 /// - RFID_ERROR_INVALID_PARAMETER = 2147549188, + RFID_Error_OldFirmware = 2147549196, /// - /// Enum RFID_ERROR_NOT_INITIALIZED for value: 2147549189 + /// Enum RFID_Error_PCSC_Failed for value: 2147614720 /// - RFID_ERROR_NOT_INITIALIZED = 2147549189, + RFID_Error_PCSC_Failed = 2147614720, /// - /// Enum RFID_ERROR_NOT_ENOUGH_MEMORY for value: 2147549190 + /// Enum RFID_Error_PCSC_ReaderNotAvailable for value: 2147614721 /// - RFID_ERROR_NOT_ENOUGH_MEMORY = 2147549190, + RFID_Error_PCSC_ReaderNotAvailable = 2147614721, /// - /// Enum RFID_ERROR_INVALID_DIRECTORY for value: 2147549192 + /// Enum RFID_Error_PCSC_CantConnectCard for value: 2147614722 /// - RFID_ERROR_INVALID_DIRECTORY = 2147549192, + RFID_Error_PCSC_CantConnectCard = 2147614722, /// - /// Enum RFID_ERROR_UNKNOWN_COMMAND for value: 2147549193 + /// Enum RFID_Error_PCSC_CardIsNotConnected for value: 2147614723 /// - RFID_ERROR_UNKNOWN_COMMAND = 2147549193, + RFID_Error_PCSC_CardIsNotConnected = 2147614723, /// - /// Enum RFID_ERROR_FILE_IO_ERROR for value: 2147549194 + /// Enum RFID_Error_PCSC_OperationCancelled for value: 2147614724 /// - RFID_ERROR_FILE_IO_ERROR = 2147549194, + RFID_Error_PCSC_OperationCancelled = 2147614724, /// - /// Enum RFID_ERROR_BUSY for value: 2147549195 + /// Enum RFID_Error_PCSC_CardIsBusy for value: 2147614725 /// - RFID_ERROR_BUSY = 2147549195, + RFID_Error_PCSC_CardIsBusy = 2147614725, /// - /// Enum RFID_ERROR_OLD_FIRMWARE for value: 2147549196 + /// Enum RFID_Error_PCSC_FailedSCard for value: 2147614726 /// - RFID_ERROR_OLD_FIRMWARE = 2147549196, + RFID_Error_PCSC_FailedSCard = 2147614726, /// - /// Enum RFID_ERROR_PCSC_FAILED for value: 2147614720 + /// Enum RFID_Error_PCSC_ExtLe_Failed for value: 2147614736 /// - RFID_ERROR_PCSC_FAILED = 2147614720, + RFID_Error_PCSC_ExtLe_Failed = 2147614736, /// - /// Enum RFID_ERROR_PCSC_READER_NOT_AVAILABLE for value: 2147614721 + /// Enum RFID_LAYER6_SECURITY_MANAGER for value: 2248146944 /// - RFID_ERROR_PCSC_READER_NOT_AVAILABLE = 2147614721, + RFID_LAYER6_SECURITY_MANAGER = 2248146944, /// - /// Enum RFID_ERROR_PCSC_CANT_CONNECT_CARD for value: 2147614722 + /// Enum RFID_LAYER6_APP_SELECTION_FAILURE for value: 2248146945 /// - RFID_ERROR_PCSC_CANT_CONNECT_CARD = 2147614722, + RFID_LAYER6_APP_SELECTION_FAILURE = 2248146945, /// - /// Enum RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED for value: 2147614723 + /// Enum RFID_LAYER6_MUTUAL_AUTH_MAC_FAIL for value: 2248147200 /// - RFID_ERROR_PCSC_CARD_IS_NOT_CONNECTED = 2147614723, + RFID_LAYER6_MUTUAL_AUTH_MAC_FAIL = 2248147200, /// - /// Enum RFID_ERROR_PCSC_OPERATION_CANCELLED for value: 2147614724 + /// Enum RFID_LAYER6_MUTUAL_AUTH_ENC_FAIL for value: 2248147201 /// - RFID_ERROR_PCSC_OPERATION_CANCELLED = 2147614724, + RFID_LAYER6_MUTUAL_AUTH_ENC_FAIL = 2248147201, /// - /// Enum RFID_ERROR_PCSC_CARD_IS_BUSY for value: 2147614725 + /// Enum RFID_LAYER6_MUTUAL_AUTH_FAILURE for value: 2248147202 /// - RFID_ERROR_PCSC_CARD_IS_BUSY = 2147614725, + RFID_LAYER6_MUTUAL_AUTH_FAILURE = 2248147202, /// - /// Enum RFID_ERROR_PCSC_FAILED_SCARD for value: 2147614726 + /// Enum RFID_LAYER6_MUTUAL_AUTH_FAILURE_DATA for value: 2248147203 /// - RFID_ERROR_PCSC_FAILED_SCARD = 2147614726, + RFID_LAYER6_MUTUAL_AUTH_FAILURE_DATA = 2248147203, /// - /// Enum RFID_ERROR_PCSC_EXT_LE_FAILED for value: 2147614736 + /// Enum RFID_LAYER6_SM_DO8E_MISSING for value: 2248147456 /// - RFID_ERROR_PCSC_EXT_LE_FAILED = 2147614736, + RFID_LAYER6_SM_DO8E_MISSING = 2248147456, /// - /// Enum RFID_ERROR_LAYER6_PWD_FAILED for value: 2148557760 + /// Enum RFID_LAYER6_SM_DO87_MISSING for value: 2248147457 /// - RFID_ERROR_LAYER6_PWD_FAILED = 2148557760, + RFID_LAYER6_SM_DO87_MISSING = 2248147457, /// - /// Enum RFID_ERROR_NOT_PERFORMED for value: 2197815296 + /// Enum RFID_LAYER6_SM_DO99_MISSING for value: 2248147458 /// - RFID_ERROR_NOT_PERFORMED = 2197815296, + RFID_LAYER6_SM_DO99_MISSING = 2248147458, /// - /// Enum RFID_ERROR_SESSION_IS_CLOSED for value: 2197815297 + /// Enum RFID_LAYER6_SM_MAC_INCORRECT for value: 2248147459 /// - RFID_ERROR_SESSION_IS_CLOSED = 2197815297, + RFID_LAYER6_SM_MAC_INCORRECT = 2248147459, /// - /// Enum RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION for value: 2197815298 + /// Enum RFID_LAYER6_SM_DO87_INCORRECT for value: 2248147460 /// - RFID_ERROR_SESSION_TERMINAL_UNSUPPORTED_OPERATION = 2197815298, + RFID_LAYER6_SM_DO87_INCORRECT = 2248147460, /// - /// Enum RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN for value: 2197815312 + /// Enum RFID_LAYER6_NON_TLV_RESPONSE_DATA for value: 2248147712 /// - RFID_ERROR_SESSION_TERMINAL_TYPE_UNKNOWN = 2197815312, + RFID_LAYER6_NON_TLV_RESPONSE_DATA = 2248147712, /// - /// Enum RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE for value: 2197815313 + /// Enum RFID_LAYER6_WRONG_RND_ICC_LENGTH for value: 2248147713 /// - RFID_ERROR_SESSION_TERMINAL_TYPE_BAD_CERTIFICATE = 2197815313, + RFID_LAYER6_WRONG_RND_ICC_LENGTH = 2248147713, /// - /// Enum RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET for value: 2197815314 + /// Enum RFID_LAYER6_INT_AUTH_FAILURE for value: 2248147714 /// - RFID_ERROR_SESSION_TERMINAL_TYPE_NOT_SET = 2197815314, + RFID_LAYER6_INT_AUTH_FAILURE = 2248147714, /// - /// Enum RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN for value: 2197815315 + /// Enum RFID_LAYER6_MSE_SET_KAT_FAILURE for value: 2248147715 /// - RFID_ERROR_SESSION_PROCEDURE_TYPE_UNKNOWN = 2197815315, + RFID_LAYER6_MSE_SET_KAT_FAILURE = 2248147715, /// - /// Enum RFID_ERROR_Session_Procedure_Type_Unsupported for value: 2197815316 + /// Enum RFID_LAYER6_MSE_SET_DST_FAILURE for value: 2248147716 /// - RFID_ERROR_Session_Procedure_Type_Unsupported = 2197815316, + RFID_LAYER6_MSE_SET_DST_FAILURE = 2248147716, /// - /// Enum RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET for value: 2197815317 + /// Enum RFID_LAYER6_PSO_CERTIFICATE_FAILURE for value: 2248147717 /// - RFID_ERROR_SESSION_PROCEDURE_TYPE_NOT_SET = 2197815317, + RFID_LAYER6_PSO_CERTIFICATE_FAILURE = 2248147717, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE for value: 2197815318 + /// Enum RFID_LAYER6_MSE_SET_AT_FAILURE for value: 2248147718 /// - RFID_ERROR_SESSION_ACCESS_KEY_UNKNOWN_TYPE = 2197815318, + RFID_LAYER6_MSE_SET_AT_FAILURE = 2248147718, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE for value: 2197815319 + /// Enum RFID_LAYER6_GET_CHALLENGE_FAILURE for value: 2248147719 /// - RFID_ERROR_SESSION_ACCESS_KEY_UNSUPPORTED_SM_TYPE = 2197815319, + RFID_LAYER6_GET_CHALLENGE_FAILURE = 2248147719, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE for value: 2197815320 + /// Enum RFID_LAYER6_EXT_AUTH_FAILURE for value: 2248147720 /// - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_SM_TYPE = 2197815320, + RFID_LAYER6_EXT_AUTH_FAILURE = 2248147720, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED for value: 2197815321 + /// Enum RFID_LAYER6_GENERAL_AUTH_FAILURE for value: 2248147721 /// - RFID_ERROR_SESSION_ACCESS_KEY_RESTRICTED = 2197815321, + RFID_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA for value: 2197815322 + /// Enum RFID_LAYER6_FILE_NOT_FOUND for value: 2147510914 /// - RFID_ERROR_SESSION_ACCESS_KEY_INCORRECT_DATA = 2197815322, + RFID_LAYER6_FILE_NOT_FOUND = 2147510914, /// - /// Enum RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET for value: 2197815323 + /// Enum RFID_LAYER6_FILE_EOF1 for value: 2147508866 /// - RFID_ERROR_SESSION_ACCESS_KEY_NOT_SET = 2197815323, + RFID_LAYER6_FILE_EOF1 = 2147508866, /// - /// Enum RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED for value: 2197815324 + /// Enum RFID_LAYER6_FILE_EOF2 for value: 2147511040 /// - RFID_ERROR_SESSION_PWD_MANAGEMENT_NOT_AUTHORIZED = 2197815324, + RFID_LAYER6_FILE_EOF2 = 2147511040, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE for value: 2197815328 + /// Enum RFID_LAYER6_WRONG_LENGTH for value: 2147510016 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_UNKNOWN_TYPE = 2197815328, + RFID_LAYER6_WRONG_LENGTH = 2147510016, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM for value: 2197815329 + /// Enum RFID_LAYER6_INCORRECT_PARAMS for value: 2147510912 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_SM = 2197815329, + RFID_LAYER6_INCORRECT_PARAMS = 2147510912, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE for value: 2197815330 + /// Enum RFID_LAYER6_NO_REFERENCE_DATA for value: 2147510920 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_PACE = 2197815330, + RFID_LAYER6_NO_REFERENCE_DATA = 2147510920, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS for value: 2197815331 + /// Enum RFID_LAYER6_PWD_SUSPENDED for value: 2147509185 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA_KEYS = 2197815331, + RFID_LAYER6_PWD_SUSPENDED = 2147509185, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA for value: 2197815332 + /// Enum RFID_LAYER6_PWD_BLOCKED for value: 2147509184 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_TA = 2197815332, + RFID_LAYER6_PWD_BLOCKED = 2147509184, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA for value: 2197815333 + /// Enum RFID_LAYER6_PWD_DEACTIVATED for value: 2147508867 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_REQUIRES_CA = 2197815333, + RFID_LAYER6_PWD_DEACTIVATED = 2147508867, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA for value: 2197815334 + /// Enum RFID_LAYER6_PWD_BLOCKED_2 for value: 2147510659 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_INCORRECT_OPTION_CA = 2197815334, + RFID_LAYER6_PWD_BLOCKED_2 = 2147510659, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED for value: 2197815335 + /// Enum RFID_LAYER6_PWD_DEACTIVATED_2 for value: 2147510660 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_CA_FAILED = 2197815335, + RFID_LAYER6_PWD_DEACTIVATED_2 = 2147510660, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED for value: 2197815336 + /// Enum RFID_LAYER6_PWD_SUSPENDED_2 for value: 2147510661 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_TA_FAILED = 2197815336, + RFID_LAYER6_PWD_SUSPENDED_2 = 2147510661, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED for value: 2197815337 + /// Enum RFID_LAYER6_PWD_FAILED for value: 2148557760 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_AA_FAILED = 2197815337, + RFID_LAYER6_PWD_FAILED = 2148557760, /// - /// Enum RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED for value: 2197815338 + /// Enum RFID_Error_NotPerformed for value: 2197815296 /// - RFID_ERROR_SESSION_ACCESS_CONTROL_RI_FAILED = 2197815338, + RFID_Error_NotPerformed = 2197815296, /// - /// Enum RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED for value: 2197815344 + /// Enum RFID_Error_Session_IsClosed for value: 2197815297 /// - RFID_ERROR_SESSION_PA_SIGNATURE_CHECK_FAILED = 2197815344, + RFID_Error_Session_IsClosed = 2197815297, /// - /// Enum RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED for value: 2197815345 + /// Enum RFID_Error_Session_Terminal_UnsupportedOperation for value: 2197815298 /// - RFID_ERROR_SESSION_PA_HASH_CHECK_FAILED = 2197815345, + RFID_Error_Session_Terminal_UnsupportedOperation = 2197815298, /// - /// Enum RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY for value: 2197815360 + /// Enum RFID_Error_Session_TerminalType_Unknown for value: 2197815312 /// - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_EXPIRY = 2197815360, + RFID_Error_Session_TerminalType_Unknown = 2197815312, /// - /// Enum RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH for value: 2197815361 + /// Enum RFID_Error_Session_TerminalType_BadCertificate for value: 2197815313 /// - RFID_ERROR_SESSION_INVALID_AUX_DATA_DATE_OF_BIRTH = 2197815361, + RFID_Error_Session_TerminalType_BadCertificate = 2197815313, /// - /// Enum RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID for value: 2197815362 + /// Enum RFID_Error_Session_TerminalType_NotSet for value: 2197815314 /// - RFID_ERROR_SESSION_INVALID_AUX_DATA_COMMUNITY_ID = 2197815362, + RFID_Error_Session_TerminalType_NotSet = 2197815314, /// - /// Enum RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION for value: 2197815376 + /// Enum RFID_Error_Session_ProcedureType_Unknown for value: 2197815315 /// - RFID_ERROR_SESSION_E_SIGN_REQUIRES_APP_SELECTION = 2197815376, + RFID_Error_Session_ProcedureType_Unknown = 2197815315, /// - /// Enum RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET for value: 2197815377 + /// Enum RFID_Error_Session_ProcedureType_Unsupported for value: 2197815316 /// - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_SET = 2197815377, + RFID_Error_Session_ProcedureType_Unsupported = 2197815316, /// - /// Enum RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED for value: 2197815378 + /// Enum RFID_Error_Session_ProcedureType_NotSet for value: 2197815317 /// - RFID_ERROR_SESSION_E_SIGN_PIN_NOT_VERIFIED = 2197815378, + RFID_Error_Session_ProcedureType_NotSet = 2197815317, /// - /// Enum RFID_ERROR_SESSION_INCORRECT_DATA for value: 2197815392 + /// Enum RFID_Error_Session_AccessKey_UnknownType for value: 2197815318 /// - RFID_ERROR_SESSION_INCORRECT_DATA = 2197815392, + RFID_Error_Session_AccessKey_UnknownType = 2197815318, /// - /// Enum RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA for value: 2197880832 + /// Enum RFID_Error_Session_AccessKey_UnsupportedSMType for value: 2197815319 /// - RFID_ERROR_SESSION_FILE_NOT_ENOUGH_DATA = 2197880832, + RFID_Error_Session_AccessKey_UnsupportedSMType = 2197815319, /// - /// Enum RFID_ERROR_SESSION_FILE_INCORRECT_DATA for value: 2197946368 + /// Enum RFID_Error_Session_AccessKey_IncorrectSMType for value: 2197815320 /// - RFID_ERROR_SESSION_FILE_INCORRECT_DATA = 2197946368, + RFID_Error_Session_AccessKey_IncorrectSMType = 2197815320, /// - /// Enum RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA for value: 2198011904 + /// Enum RFID_Error_Session_AccessKey_Restricted for value: 2197815321 /// - RFID_ERROR_SESSION_FILE_UNEXPECTED_DATA = 2198011904, + RFID_Error_Session_AccessKey_Restricted = 2197815321, /// - /// Enum RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA for value: 2198077440 + /// Enum RFID_Error_Session_AccessKey_IncorrectData for value: 2197815322 /// - RFID_ERROR_SESSION_FILE_CONTENTS_UNEXPECTED_DATA = 2198077440, + RFID_Error_Session_AccessKey_IncorrectData = 2197815322, /// - /// Enum RFID_ERROR_SESSION_FILE_WRONG_TAG for value: 2198142976 + /// Enum RFID_Error_Session_AccessKey_NotSet for value: 2197815323 /// - RFID_ERROR_SESSION_FILE_WRONG_TAG = 2198142976, + RFID_Error_Session_AccessKey_NotSet = 2197815323, /// - /// Enum RFID_ERROR_SESSION_FILE_CANT_USE_DATA for value: 2198208512 + /// Enum RFID_Error_Session_PwdManagement_NotAuthorized for value: 2197815324 /// - RFID_ERROR_SESSION_FILE_CANT_USE_DATA = 2198208512, + RFID_Error_Session_PwdManagement_NotAuthorized = 2197815324, /// - /// Enum RFID_ERROR_SESSION_FILE_CANT_READ_DATA for value: 2198274048 + /// Enum RFID_Error_Session_AccessControl_UnknownType for value: 2197815328 /// - RFID_ERROR_SESSION_FILE_CANT_READ_DATA = 2198274048, + RFID_Error_Session_AccessControl_UnknownType = 2197815328, /// - /// Enum RFID_ERROR_SESSION_FILE_ACCESS_DENIED for value: 2198339584 + /// Enum RFID_Error_Session_AccessControl_RequiresSM for value: 2197815329 /// - RFID_ERROR_SESSION_FILE_ACCESS_DENIED = 2198339584, + RFID_Error_Session_AccessControl_RequiresSM = 2197815329, /// - /// Enum RFID_ERROR_LAYER34_NO_ERROR for value: 2214592512 + /// Enum RFID_Error_Session_AccessControl_RequiresPACE for value: 2197815330 /// - RFID_ERROR_LAYER34_NO_ERROR = 2214592512, + RFID_Error_Session_AccessControl_RequiresPACE = 2197815330, /// - /// Enum RFID_ERROR_LAYER34_TIME_OUT for value: 2214658048 + /// Enum RFID_Error_Session_AccessControl_RequiresCAKeys for value: 2197815331 /// - RFID_ERROR_LAYER34_TIME_OUT = 2214658048, + RFID_Error_Session_AccessControl_RequiresCAKeys = 2197815331, /// - /// Enum RFID_ERROR_LAYER34_COLLISION for value: 2214723584 + /// Enum RFID_Error_Session_AccessControl_RequiresTA for value: 2197815332 /// - RFID_ERROR_LAYER34_COLLISION = 2214723584, + RFID_Error_Session_AccessControl_RequiresTA = 2197815332, /// - /// Enum RFID_ERROR_LAYER34_CRC for value: 2214789120 + /// Enum RFID_Error_Session_AccessControl_RequiresCA for value: 2197815333 /// - RFID_ERROR_LAYER34_CRC = 2214789120, + RFID_Error_Session_AccessControl_RequiresCA = 2197815333, /// - /// Enum RFID_ERROR_LAYER34_DATA_INTEGRITY for value: 2214854656 + /// Enum RFID_Error_Session_AccessControl_IncorrectOptionCA for value: 2197815334 /// - RFID_ERROR_LAYER34_DATA_INTEGRITY = 2214854656, + RFID_Error_Session_AccessControl_IncorrectOptionCA = 2197815334, /// - /// Enum RFID_ERROR_LAYER34_DATA_LENGTH for value: 2214920192 + /// Enum RFID_Error_Session_AccessControl_CA_Failed for value: 2197815335 /// - RFID_ERROR_LAYER34_DATA_LENGTH = 2214920192, + RFID_Error_Session_AccessControl_CA_Failed = 2197815335, /// - /// Enum RFID_ERROR_Layer34_RFU for value: 2214985728 + /// Enum RFID_Error_Session_AccessControl_TA_Failed for value: 2197815336 /// - RFID_ERROR_Layer34_RFU = 2214985728, + RFID_Error_Session_AccessControl_TA_Failed = 2197815336, /// - /// Enum RFID_ERROR_LAYER34_COLLISION_TOO_MANY for value: 2215051264 + /// Enum RFID_Error_Session_AccessControl_AA_Failed for value: 2197815337 /// - RFID_ERROR_LAYER34_COLLISION_TOO_MANY = 2215051264, + RFID_Error_Session_AccessControl_AA_Failed = 2197815337, /// - /// Enum RFID_ERROR_LAYER34_PROTOCOL_B for value: 2215116800 + /// Enum RFID_Error_Session_AccessControl_RI_Failed for value: 2197815338 /// - RFID_ERROR_LAYER34_PROTOCOL_B = 2215116800, + RFID_Error_Session_AccessControl_RI_Failed = 2197815338, /// - /// Enum RFID_ERROR_LAYER34_DATA_CONTENTS for value: 2215182336 + /// Enum RFID_Error_Session_PA_SignatureCheckFailed for value: 2197815344 /// - RFID_ERROR_LAYER34_DATA_CONTENTS = 2215182336, + RFID_Error_Session_PA_SignatureCheckFailed = 2197815344, /// - /// Enum RFID_ERROR_LAYER34_PROTOCOL for value: 2215247872 + /// Enum RFID_Error_Session_PA_HashCheckFailed for value: 2197815345 /// - RFID_ERROR_LAYER34_PROTOCOL = 2215247872, + RFID_Error_Session_PA_HashCheckFailed = 2197815345, /// - /// Enum RFID_ERROR_LAYER34_GLOBAL_TIME_OUT for value: 2215313408 + /// Enum RFID_Error_Session_InvalidAuxData_DateOfExpiry for value: 2197815360 /// - RFID_ERROR_LAYER34_GLOBAL_TIME_OUT = 2215313408, + RFID_Error_Session_InvalidAuxData_DateOfExpiry = 2197815360, /// - /// Enum RFID_ERROR_LAYER34_MIFARE_AUTH for value: 2215378944 + /// Enum RFID_Error_Session_InvalidAuxData_DateOfBirth for value: 2197815361 /// - RFID_ERROR_LAYER34_MIFARE_AUTH = 2215378944, + RFID_Error_Session_InvalidAuxData_DateOfBirth = 2197815361, /// - /// Enum RFID_ERROR_LAYER34_SAM_ERROR for value: 2215444480 + /// Enum RFID_Error_Session_InvalidAuxData_CommunityID for value: 2197815362 /// - RFID_ERROR_LAYER34_SAM_ERROR = 2215444480, + RFID_Error_Session_InvalidAuxData_CommunityID = 2197815362, /// - /// Enum RFID_ERROR_LAYER34_SAM_COLLISION for value: 2215510016 + /// Enum RFID_Error_Session_eSign_RequiresAppSelection for value: 2197815376 /// - RFID_ERROR_LAYER34_SAM_COLLISION = 2215510016, + RFID_Error_Session_eSign_RequiresAppSelection = 2197815376, /// - /// Enum RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE for value: 2215575552 + /// Enum RFID_Error_Session_eSign_PIN_NotSet for value: 2197815377 /// - RFID_ERROR_LAYER34_SAM_ACKNOWLEDGE = 2215575552, + RFID_Error_Session_eSign_PIN_NotSet = 2197815377, /// - /// Enum RFID_ERROR_LAYER6_SECURITY_MANAGER for value: 2248146944 + /// Enum RFID_Error_Session_eSign_PIN_NotVerified for value: 2197815378 /// - RFID_ERROR_LAYER6_SECURITY_MANAGER = 2248146944, + RFID_Error_Session_eSign_PIN_NotVerified = 2197815378, /// - /// Enum RFID_ERROR_LAYER6_APP_SELECTION_FAILURE for value: 2248146945 + /// Enum RFID_Error_Session_IncorrectData for value: 2197815392 /// - RFID_ERROR_LAYER6_APP_SELECTION_FAILURE = 2248146945, + RFID_Error_Session_IncorrectData = 2197815392, /// - /// Enum RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL for value: 2248147200 + /// Enum RFID_Error_Session_File_NotEnoughData for value: 2197880832 /// - RFID_ERROR_LAYER6_MUTUAL_AUTH_MAC_FAIL = 2248147200, + RFID_Error_Session_File_NotEnoughData = 2197880832, /// - /// Enum RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL for value: 2248147201 + /// Enum RFID_Error_Session_File_IncorrectData for value: 2197946368 /// - RFID_ERROR_LAYER6_MUTUAL_AUTH_ENC_FAIL = 2248147201, + RFID_Error_Session_File_IncorrectData = 2197946368, /// - /// Enum RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE for value: 2248147202 + /// Enum RFID_Error_Session_File_UnexpectedData for value: 2198011904 /// - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE = 2248147202, + RFID_Error_Session_File_UnexpectedData = 2198011904, /// - /// Enum RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA for value: 2248147203 + /// Enum RFID_Error_Session_File_Contents_UnexpectedData for value: 2198077440 /// - RFID_ERROR_LAYER6_MUTUAL_AUTH_FAILURE_DATA = 2248147203, + RFID_Error_Session_File_Contents_UnexpectedData = 2198077440, /// - /// Enum RFID_ERROR_LAYER6_SM_DO_8E_MISSING for value: 2248147456 + /// Enum RFID_Error_Session_File_WrongTag for value: 2198142976 /// - RFID_ERROR_LAYER6_SM_DO_8E_MISSING = 2248147456, + RFID_Error_Session_File_WrongTag = 2198142976, /// - /// Enum RFID_ERROR_LAYER6_SM_DO_87_MISSING for value: 2248147457 + /// Enum RFID_Error_Session_File_CantUseData for value: 2198208512 /// - RFID_ERROR_LAYER6_SM_DO_87_MISSING = 2248147457, + RFID_Error_Session_File_CantUseData = 2198208512, /// - /// Enum RFID_ERROR_LAYER6_SM_DO_99_MISSING for value: 2248147458 + /// Enum RFID_Error_Session_File_CantReadData for value: 2198274048 /// - RFID_ERROR_LAYER6_SM_DO_99_MISSING = 2248147458, + RFID_Error_Session_File_CantReadData = 2198274048, /// - /// Enum RFID_ERROR_LAYER6_SM_MAC_INCORRECT for value: 2248147459 + /// Enum RFID_Error_Session_File_AccessDenied for value: 2198339584 /// - RFID_ERROR_LAYER6_SM_MAC_INCORRECT = 2248147459, + RFID_Error_Session_File_AccessDenied = 2198339584, /// - /// Enum RFID_ERROR_LAYER6_SM_DO_87_INCORRECT for value: 2248147460 + /// Enum RFID_Error_Layer34_NoError for value: 2214592512 /// - RFID_ERROR_LAYER6_SM_DO_87_INCORRECT = 2248147460, + RFID_Error_Layer34_NoError = 2214592512, /// - /// Enum RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA for value: 2248147712 + /// Enum RFID_Error_Layer34_TimeOut for value: 2214658048 /// - RFID_ERROR_LAYER6_NON_TLV_RESPONSE_DATA = 2248147712, + RFID_Error_Layer34_TimeOut = 2214658048, /// - /// Enum RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH for value: 2248147713 + /// Enum RFID_Error_Layer34_Collision for value: 2214723584 /// - RFID_ERROR_LAYER6_WRONG_RND_ICC_LENGTH = 2248147713, + RFID_Error_Layer34_Collision = 2214723584, /// - /// Enum RFID_ERROR_LAYER6_INT_AUTH_FAILURE for value: 2248147714 + /// Enum RFID_Error_Layer34_CRC for value: 2214789120 /// - RFID_ERROR_LAYER6_INT_AUTH_FAILURE = 2248147714, + RFID_Error_Layer34_CRC = 2214789120, /// - /// Enum RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE for value: 2248147715 + /// Enum RFID_Error_Layer34_DataIntegrity for value: 2214854656 /// - RFID_ERROR_LAYER6_MSE_SET_KAT_FAILURE = 2248147715, + RFID_Error_Layer34_DataIntegrity = 2214854656, /// - /// Enum RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE for value: 2248147716 + /// Enum RFID_Error_Layer34_DataLength for value: 2214920192 /// - RFID_ERROR_LAYER6_MSE_SET_DST_FAILURE = 2248147716, + RFID_Error_Layer34_DataLength = 2214920192, /// - /// Enum RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE for value: 2248147717 + /// Enum RFID_Error_Layer34_RFU for value: 2214985728 /// - RFID_ERROR_LAYER6_PSO_CERTIFICATE_FAILURE = 2248147717, + RFID_Error_Layer34_RFU = 2214985728, /// - /// Enum RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE for value: 2248147718 + /// Enum RFID_Error_Layer34_Collision_TooMany for value: 2215051264 /// - RFID_ERROR_LAYER6_MSE_SET_AT_FAILURE = 2248147718, + RFID_Error_Layer34_Collision_TooMany = 2215051264, /// - /// Enum RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE for value: 2248147719 + /// Enum RFID_Error_Layer34_ProtocolB for value: 2215116800 /// - RFID_ERROR_LAYER6_GET_CHALLENGE_FAILURE = 2248147719, + RFID_Error_Layer34_ProtocolB = 2215116800, /// - /// Enum RFID_ERROR_LAYER6_EXT_AUTH_FAILURE for value: 2248147720 + /// Enum RFID_Error_Layer34_DataContents for value: 2215182336 /// - RFID_ERROR_LAYER6_EXT_AUTH_FAILURE = 2248147720, + RFID_Error_Layer34_DataContents = 2215182336, /// - /// Enum RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE for value: 2248147721 + /// Enum RFID_Error_Layer34_Protocol for value: 2215247872 /// - RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE = 2248147721, + RFID_Error_Layer34_Protocol = 2215247872, /// - /// Enum RFID_ERROR_FAILED for value: -1 + /// Enum RFID_Error_Layer34_GlobalTimeOut for value: 2215313408 /// - RFID_ERROR_FAILED = -1, + RFID_Error_Layer34_GlobalTimeOut = 2215313408, /// - /// Enum RFID_ERROR_NO_ERROR for value: 1 + /// Enum RFID_Error_Layer34_MIFARE_Auth for value: 2215378944 /// - RFID_ERROR_NO_ERROR = 1, + RFID_Error_Layer34_MIFARE_Auth = 2215378944, /// - /// Enum RFID_ERROR_ALREADY_DONE for value: 2 + /// Enum RFID_Error_Layer34_SAM_Error for value: 2215444480 /// - RFID_ERROR_ALREADY_DONE = 2 + RFID_Error_Layer34_SAM_Error = 2215444480, + + /// + /// Enum RFID_Error_Layer34_SAM_Collision for value: 2215510016 + /// + RFID_Error_Layer34_SAM_Collision = 2215510016, + + /// + /// Enum RFID_Error_Layer34_SAM_Acknowledge for value: 2215575552 + /// + RFID_Error_Layer34_SAM_Acknowledge = 2215575552 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlProcedureType.cs b/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlProcedureType.cs index 9d34771..b4c8fb5 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlProcedureType.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidAccessControlProcedureType.cs @@ -70,7 +70,12 @@ public enum RfidAccessControlProcedureType /// /// Enum CARD_INFO for value: 10 /// - CARD_INFO = 10 + CARD_INFO = 10, + + /// + /// Enum DTC_INFO for value: 11 + /// + DTC_INFO = 11 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidBaudRate.cs b/src/Regula.DocumentReader.WebClient/Model/RfidBaudRate.cs index 143253d..fa846e9 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidBaudRate.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidBaudRate.cs @@ -55,7 +55,22 @@ public enum RfidBaudRate /// /// Enum RFBR_848 for value: 8 /// - RFBR_848 = 8 + RFBR_848 = 8, + + /// + /// Enum RFBR_1695 for value: 16 + /// + RFBR_1695 = 16, + + /// + /// Enum RFBR_3390 for value: 32 + /// + RFBR_3390 = 32, + + /// + /// Enum RFBR_6780 for value: 64 + /// + RFBR_6780 = 64 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidCertificateType.cs b/src/Regula.DocumentReader.WebClient/Model/RfidCertificateType.cs index 193b356..02debc8 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidCertificateType.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidCertificateType.cs @@ -70,7 +70,27 @@ public enum RfidCertificateType /// /// Enum BLS for value: 7 /// - BLS = 7 + BLS = 7, + + /// + /// Enum LDS2 for value: 8 + /// + LDS2 = 8, + + /// + /// Enum BCS for value: 9 + /// + BCS = 9, + + /// + /// Enum BCS_NC for value: 10 + /// + BCS_NC = 10, + + /// + /// Enum DTCS for value: 11 + /// + DTCS = 11 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidDataFileType.cs b/src/Regula.DocumentReader.WebClient/Model/RfidDataFileType.cs index dd0ea8d..bf663e2 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidDataFileType.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidDataFileType.cs @@ -407,6 +407,11 @@ public enum RfidDataFileType /// ATR = 400, + /// + /// Enum DIR for value: 401 + /// + DIR = 401, + /// /// Enum _E_SIGN_PK for value: 500 /// @@ -433,9 +438,14 @@ public enum RfidDataFileType DEFECT_LIST = 602, /// - /// Enum BLACK_LIST for value: 603 + /// Enum DEVIATION_LIST for value: 603 + /// + DEVIATION_LIST = 603, + + /// + /// Enum BLACK_LIST for value: 604 /// - BLACK_LIST = 603, + BLACK_LIST = 604, /// /// Enum APP_DIRECTORY for value: 700 @@ -457,6 +467,11 @@ public enum RfidDataFileType /// CHIP_PROPERTIES = 703, + /// + /// Enum DTC_INFO for value: 704 + /// + DTC_INFO = 704, + /// /// Enum POST_CA_RESPONSE for value: 710 /// @@ -487,6 +502,31 @@ public enum RfidDataFileType /// POST_CA_CHECK_SK = 715, + /// + /// Enum SAM_DATA for value: 800 + /// + SAM_DATA = 800, + + /// + /// Enum SAM_DATA_MAX for value: 832 + /// + SAM_DATA_MAX = 832, + + /// + /// Enum VDS for value: 900 + /// + VDS = 900, + + /// + /// Enum VDS_NC for value: 901 + /// + VDS_NC = 901, + + /// + /// Enum DS for value: 902 + /// + DS = 902, + /// /// Enum USER_DEFINED for value: 1000 /// diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidDataGroupTypeTag.cs b/src/Regula.DocumentReader.WebClient/Model/RfidDataGroupTypeTag.cs index 1e27d4f..5eb06b2 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidDataGroupTypeTag.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidDataGroupTypeTag.cs @@ -122,6 +122,31 @@ public enum RfidDataGroupTypeTag /// SOD = 119, + /// + /// Enum DG17 for value: 113 + /// + DG17 = 113, + + /// + /// Enum DG18 for value: 114 + /// + DG18 = 114, + + /// + /// Enum DG22 for value: 115 + /// + DG22 = 115, + + /// + /// Enum DG23 for value: 116 + /// + DG23 = 116, + + /// + /// Enum DG24 for value: 98 + /// + DG24 = 98, + /// /// Enum EID_DG1 for value: 97 /// @@ -238,9 +263,9 @@ public enum RfidDataGroupTypeTag EDL_SOD = 119, /// - /// Enum EDL_CE for value: 119 + /// Enum EDL_CE for value: 83 /// - EDL_CE = 119, + EDL_CE = 83, /// /// Enum EDL_DG1 for value: 97 diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidPasswordType.cs b/src/Regula.DocumentReader.WebClient/Model/RfidPasswordType.cs index cf38376..88fc5c1 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidPasswordType.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidPasswordType.cs @@ -65,7 +65,12 @@ public enum RfidPasswordType /// /// Enum SAI for value: 6 /// - SAI = 6 + SAI = 6, + + /// + /// Enum MRZ_HASH for value: 7 + /// + MRZ_HASH = 7 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/SymbolRecognitionResult.cs b/src/Regula.DocumentReader.WebClient/Model/SymbolRecognitionResult.cs index 2ac2a04..248ec83 100644 --- a/src/Regula.DocumentReader.WebClient/Model/SymbolRecognitionResult.cs +++ b/src/Regula.DocumentReader.WebClient/Model/SymbolRecognitionResult.cs @@ -45,8 +45,7 @@ protected SymbolRecognitionResult() { } /// Array of candidate characters. Sorted in descending order of recognition probabilities (the first element has highest probability) (required). /// baseLineBottom. /// baseLineTop. - /// reserved. - public SymbolRecognitionResult(RectangleCoordinates symbolRect = default(RectangleCoordinates), decimal candidatesCount = default(decimal), List listOfCandidates = default(List), int baseLineBottom = default(int), int baseLineTop = default(int), int reserved = default(int)) + public SymbolRecognitionResult(RectangleCoordinates symbolRect = default(RectangleCoordinates), decimal candidatesCount = default(decimal), List listOfCandidates = default(List), int baseLineBottom = default(int), int baseLineTop = default(int)) { this.CandidatesCount = candidatesCount; // to ensure "listOfCandidates" is required (not null) @@ -58,7 +57,6 @@ protected SymbolRecognitionResult() { } this.SymbolRect = symbolRect; this.BaseLineBottom = baseLineBottom; this.BaseLineTop = baseLineTop; - this.Reserved = reserved; } /// @@ -93,12 +91,6 @@ protected SymbolRecognitionResult() { } [DataMember(Name = "BaseLineTop", EmitDefaultValue = false)] public int? BaseLineTop { get; set; } - /// - /// Gets or Sets Reserved - /// - [DataMember(Name = "Reserved", EmitDefaultValue = false)] - public int? Reserved { get; set; } - /// /// Returns the string presentation of the object /// @@ -112,7 +104,6 @@ public override string ToString() sb.Append(" ListOfCandidates: ").Append(ListOfCandidates).Append("\n"); sb.Append(" BaseLineBottom: ").Append(BaseLineBottom).Append("\n"); sb.Append(" BaseLineTop: ").Append(BaseLineTop).Append("\n"); - sb.Append(" Reserved: ").Append(Reserved).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs b/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs index 825c975..52277bf 100644 --- a/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs @@ -46,7 +46,6 @@ protected VisualExtendedFieldItem() { } /// /// Initializes a new instance of the class. /// - /// fieldType (required). /// wFieldType (required). /// Field symbolic name (null-terminated string) (required). /// Number of StringsResult array elements (required). @@ -59,9 +58,8 @@ protected VisualExtendedFieldItem() { } /// wLCID. /// reserved2. /// reserved3. - public VisualExtendedFieldItem(int fieldType = default(int), TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) + public VisualExtendedFieldItem(TextFieldType wFieldType = default(TextFieldType), string fieldName = default(string), decimal stringsCount = default(decimal), List stringsResult = default(List), decimal bufLength = default(decimal), string bufText = default(string), string fieldMask = default(string), int validity = default(int), int inComparison = default(int), int wLCID = default(int), int reserved2 = default(int), int reserved3 = default(int)) { - this.FieldType = fieldType; this.WFieldType = wFieldType; // to ensure "fieldName" is required (not null) if (fieldName == null) @@ -91,12 +89,6 @@ protected VisualExtendedFieldItem() { } this.Reserved3 = reserved3; } - /// - /// Gets or Sets FieldType - /// - [DataMember(Name = "FieldType", IsRequired = true, EmitDefaultValue = true)] - public int FieldType { get; set; } - /// /// Field symbolic name (null-terminated string) /// @@ -176,7 +168,6 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class VisualExtendedFieldItem {\n"); - sb.Append(" FieldType: ").Append(FieldType).Append("\n"); sb.Append(" WFieldType: ").Append(WFieldType).Append("\n"); sb.Append(" FieldName: ").Append(FieldName).Append("\n"); sb.Append(" StringsCount: ").Append(StringsCount).Append("\n");