diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index afe3d4e..e4ef64d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -179,7 +179,6 @@ src/Regula.DocumentReader.WebClient/Model/RfidAccessControlInfo.cs src/Regula.DocumentReader.WebClient/Model/RfidAccessControlProcedureType.cs src/Regula.DocumentReader.WebClient/Model/RfidAccessKey.cs src/Regula.DocumentReader.WebClient/Model/RfidApplication.cs -src/Regula.DocumentReader.WebClient/Model/RfidApplicationType.cs src/Regula.DocumentReader.WebClient/Model/RfidAttributeData.cs src/Regula.DocumentReader.WebClient/Model/RfidAttributeName.cs src/Regula.DocumentReader.WebClient/Model/RfidAuthenticationProcedureType.cs @@ -191,7 +190,6 @@ src/Regula.DocumentReader.WebClient/Model/RfidCertificateType.cs src/Regula.DocumentReader.WebClient/Model/RfidDG1.cs src/Regula.DocumentReader.WebClient/Model/RfidDataFile.cs src/Regula.DocumentReader.WebClient/Model/RfidDataFileType.cs -src/Regula.DocumentReader.WebClient/Model/RfidDataGroupTypeTag.cs src/Regula.DocumentReader.WebClient/Model/RfidDistinguishedName.cs src/Regula.DocumentReader.WebClient/Model/RfidLocation.cs src/Regula.DocumentReader.WebClient/Model/RfidOrigin.cs diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs index 8caa42a..192a0c0 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@449b4f85 + [B@104089c6 */ [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 8051be1..1dc2e8d 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@449b4f85 + [B@104089c6 */ [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 79d9b53..2654b15 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@769d7d5d + [B@5f8c7cde */ [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 620787a..5727bae 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@769d7d5d + [B@5f8c7cde */ [DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)] public byte[] License { get; set; } diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidApplication.cs b/src/Regula.DocumentReader.WebClient/Model/RfidApplication.cs index 4760d38..f5fb25c 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidApplication.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidApplication.cs @@ -33,12 +33,6 @@ namespace Regula.DocumentReader.WebClient.Model public partial class RfidApplication : IValidatableObject { - /// - /// Gets or Sets Type - /// - [DataMember(Name = "Type", IsRequired = true, EmitDefaultValue = true)] - public RfidApplicationType Type { get; set; } - /// /// Gets or Sets Status /// @@ -59,7 +53,7 @@ protected RfidApplication() { } /// Unicode version for application (required). /// Algorithm for calculating hash values for files for the procedure of PA (required). /// List of containers to store information about the read files of the application (required). - public RfidApplication(RfidApplicationType type = default(RfidApplicationType), RFIDErrorCodes status = default(RFIDErrorCodes), string applicationID = default(string), string varVersion = default(string), string unicodeVersion = default(string), string dataHashAlgorithm = default(string), List files = default(List)) + public RfidApplication(int type = default(int), RFIDErrorCodes status = default(RFIDErrorCodes), string applicationID = default(string), string varVersion = default(string), string unicodeVersion = default(string), string dataHashAlgorithm = default(string), List files = default(List)) { this.Type = type; this.Status = status; @@ -95,6 +89,12 @@ protected RfidApplication() { } this.Files = files; } + /// + /// Gets or Sets Type + /// + [DataMember(Name = "Type", IsRequired = true, EmitDefaultValue = true)] + public int Type { get; set; } + /// /// Application identifier /// diff --git a/src/Regula.DocumentReader.WebClient/Model/RfidDG1.cs b/src/Regula.DocumentReader.WebClient/Model/RfidDG1.cs index cbbab52..d5f25a0 100644 --- a/src/Regula.DocumentReader.WebClient/Model/RfidDG1.cs +++ b/src/Regula.DocumentReader.WebClient/Model/RfidDG1.cs @@ -33,12 +33,6 @@ namespace Regula.DocumentReader.WebClient.Model public partial class RfidDG1 : IValidatableObject { - /// - /// Gets or Sets Type - /// - [DataMember(Name = "Type", IsRequired = true, EmitDefaultValue = true)] - public RfidDataGroupTypeTag Type { get; set; } - /// /// Gets or Sets DocumentID /// @@ -68,7 +62,7 @@ protected RfidDG1() { } /// DO’s personal number or other additional data (required). /// Check digit of additional data (required). /// General check digit (required). - public RfidDG1(RfidDataGroupTypeTag type = default(RfidDataGroupTypeTag), DocumentFormat documentID = default(DocumentFormat), string documentType = default(string), string state = default(string), string holder = default(string), string documentNumber = default(string), decimal checkDigitDocumentNumber = default(decimal), string nationality = default(string), string birthday = default(string), decimal checkDigitBirthday = default(decimal), string sex = default(string), string expiryDate = default(string), decimal checkDigitExpiryDate = default(decimal), string optionalData = default(string), decimal checkDigitOptionalData = default(decimal), decimal checkDigitComposite = default(decimal)) + public RfidDG1(int type = default(int), DocumentFormat documentID = default(DocumentFormat), string documentType = default(string), string state = default(string), string holder = default(string), string documentNumber = default(string), decimal checkDigitDocumentNumber = default(decimal), string nationality = default(string), string birthday = default(string), decimal checkDigitBirthday = default(decimal), string sex = default(string), string expiryDate = default(string), decimal checkDigitExpiryDate = default(decimal), string optionalData = default(string), decimal checkDigitOptionalData = default(decimal), decimal checkDigitComposite = default(decimal)) { this.Type = type; this.DocumentID = documentID; @@ -133,6 +127,12 @@ protected RfidDG1() { } this.CheckDigitComposite = checkDigitComposite; } + /// + /// Gets or Sets Type + /// + [DataMember(Name = "Type", IsRequired = true, EmitDefaultValue = true)] + public int Type { get; set; } + /// /// Symbolic code of document type ///