diff --git a/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs b/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs index 4c51768..4beffb4 100644 --- a/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs +++ b/src/Regula.DocumentReader.WebClient/Model/DocVisualExtendedField.cs @@ -46,7 +46,7 @@ protected DocVisualExtendedField() { } /// Number of StringsResult array elements (required). /// Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. (required). /// Buf_Text text string length (required). - /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^' (required). + /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^'. /// fieldMask. /// validity. /// inComparison. diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs index 2b1bfb4..8aab898 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@1c224bac + [B@1f89ae0 */ [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 a3b905f..2afb2ef 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@1c224bac + [B@1f89ae0 */ [DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)] public byte[] EncryptedRCL { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs b/src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs index bb41f3c..8dbcba0 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@4333699a + [B@1a81e6d9 */ [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 91c4470..327c47d 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@4333699a + [B@1a81e6d9 */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs b/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs index 47ff6a7..d187ad8 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs @@ -49,7 +49,7 @@ protected RFIDDocVisualExtendedField() { } /// Number of StringsResult array elements (required). /// Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. (required). /// Buf_Text text string length (required). - /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^' (required). + /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^'. /// fieldMask. /// validity. /// inComparison. diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidSessionData.cs b/src/Regula.DocumentReader.WebClient/Model/RfidSessionData.cs index 873eb26..3b58765 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidSessionData.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidSessionData.cs @@ -70,7 +70,7 @@ protected RfidSessionData() { } /// List of containers to store information about the read files of the root Master File (required). /// Total number of bytes transmitted to the RFID-chip during the whole session (required). /// Total number of bytes received from the RFID-chip during the whole session (required). - /// sessionKey (required). + /// sessionKey. /// sessionTerminal (required). /// sessionProcedure (required). /// List of containers to store information about the detected document security objects (required). @@ -105,12 +105,6 @@ protected RfidSessionData() { } this.RootFiles = rootFiles; this.TotalBytesSent = totalBytesSent; this.TotalBytesReceived = totalBytesReceived; - // to ensure "sessionKey" is required (not null) - if (sessionKey == null) - { - throw new ArgumentNullException("sessionKey is a required property for RfidSessionData and cannot be null"); - } - this.SessionKey = sessionKey; // to ensure "sessionTerminal" is required (not null) if (sessionTerminal == null) { @@ -128,6 +122,7 @@ protected RfidSessionData() { } this.SDKVersion = sDKVersion; this.DriverVersion = driverVersion; this.FirmwareVersion = firmwareVersion; + this.SessionKey = sessionKey; this.Status = status; } @@ -210,8 +205,8 @@ protected RfidSessionData() { } /// /// Gets or Sets SessionKey /// - [DataMember(Name = "Session_key", IsRequired = true, EmitDefaultValue = true)] - public RfidAccessKey SessionKey { get; set; } + [DataMember(Name = "Session_key", EmitDefaultValue = false)] + public RfidAccessKey? SessionKey { get; set; } /// /// Gets or Sets SessionTerminal diff --git a/src/Regula.DocumentReader.WebClient/Model/Source.cs b/src/Regula.DocumentReader.WebClient/Model/Source.cs index a2e7bfd..9ae6602 100644 --- a/src/Regula.DocumentReader.WebClient/Model/Source.cs +++ b/src/Regula.DocumentReader.WebClient/Model/Source.cs @@ -67,7 +67,19 @@ public enum Source /// Enum EXTERNAL for value: EXTERNAL /// [EnumMember(Value = "EXTERNAL")] - EXTERNAL = 6 + EXTERNAL = 6, + + /// + /// Enum LIVE for value: LIVE + /// + [EnumMember(Value = "LIVE")] + LIVE = 7, + + /// + /// Enum FINGERPRINT for value: FINGERPRINT + /// + [EnumMember(Value = "FINGERPRINT")] + FINGERPRINT = 8 } } diff --git a/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs b/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs index 8dc44f8..5b53659 100644 --- a/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs +++ b/src/Regula.DocumentReader.WebClient/Model/VisualExtendedFieldItem.cs @@ -57,7 +57,7 @@ protected VisualExtendedFieldItem() { } /// Number of StringsResult array elements (required). /// Array of recognizing probabilities for a each line of text field. Only for Result.VISUAL_TEXT and Result.MRZ_TEXT results. (required). /// Buf_Text text string length (required). - /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^' (required). + /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^'. /// fieldMask. /// validity. /// inComparison. @@ -81,11 +81,6 @@ protected VisualExtendedFieldItem() { } } this.StringsResult = stringsResult; this.BufLength = bufLength; - // to ensure "bufText" is required (not null) - if (bufText == null) - { - throw new ArgumentNullException("bufText is a required property for VisualExtendedFieldItem and cannot be null"); - } this.BufText = bufText; this.FieldMask = fieldMask; this.Validity = validity; @@ -127,8 +122,8 @@ protected VisualExtendedFieldItem() { } /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^' /// /// Text field data in UTF8 format. Results of reading different lines of a multi-line field are separated by '^' - [DataMember(Name = "Buf_Text", IsRequired = true, EmitDefaultValue = true)] - public string BufText { get; set; } + [DataMember(Name = "Buf_Text", EmitDefaultValue = false)] + public string? BufText { get; set; } /// /// Gets or Sets FieldMask