diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
index 1640478..a2d21ce 100644
--- a/.openapi-generator/FILES
+++ b/.openapi-generator/FILES
@@ -50,6 +50,7 @@ src/Regula.DocumentReader.WebClient/Model/DataModule.cs
src/Regula.DocumentReader.WebClient/Model/DetailsOptical.cs
src/Regula.DocumentReader.WebClient/Model/DetailsRFID.cs
src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
+src/Regula.DocumentReader.WebClient/Model/DeviceInfoDocumentsDatabase.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfo.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfoFieldsList.cs
src/Regula.DocumentReader.WebClient/Model/DocBarCodeInfoItem.cs
diff --git a/src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs b/src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
index dc7412a..5a5013a 100644
--- a/src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
@@ -35,49 +35,68 @@ public partial class DeviceInfo : IValidatableObject
///
/// Initializes a new instance of the class.
///
- /// appName.
- /// varVersion.
- /// licenseId.
- /// licenseSerial.
- /// validUntil.
+ /// Application name..
+ /// Product version..
+ /// Unique license identifier..
+ /// License serial number..
+ /// licenseType.
+ /// License validity date..
/// serverTime.
- public DeviceInfo(string appName = default(string), string varVersion = default(string), string licenseId = default(string), string licenseSerial = default(string), DateTime validUntil = default(DateTime), DateTime serverTime = default(DateTime))
+ /// List of supported scenarios..
+ /// metadata.
+ /// documentsDatabase.
+ public DeviceInfo(string appName = default(string), string varVersion = default(string), string licenseId = default(string), string licenseSerial = default(string), string licenseType = default(string), DateTime validUntil = default(DateTime), string serverTime = default(string), List supportedScenarios = default(List), Dictionary metadata = default(Dictionary), DeviceInfoDocumentsDatabase documentsDatabase = default(DeviceInfoDocumentsDatabase))
{
this.AppName = appName;
this.VarVersion = varVersion;
this.LicenseId = licenseId;
this.LicenseSerial = licenseSerial;
+ this.LicenseType = licenseType;
this.ValidUntil = validUntil;
this.ServerTime = serverTime;
+ this.SupportedScenarios = supportedScenarios;
+ this.Metadata = metadata;
+ this.DocumentsDatabase = documentsDatabase;
}
///
- /// Gets or Sets AppName
+ /// Application name.
///
+ /// Application name.
[DataMember(Name = "app-name", EmitDefaultValue = false)]
public string? AppName { get; set; }
///
- /// Gets or Sets VarVersion
+ /// Product version.
///
+ /// Product version.
[DataMember(Name = "version", EmitDefaultValue = false)]
public string? VarVersion { get; set; }
///
- /// Gets or Sets LicenseId
+ /// Unique license identifier.
///
+ /// Unique license identifier.
[DataMember(Name = "license-id", EmitDefaultValue = false)]
public string? LicenseId { get; set; }
///
- /// Gets or Sets LicenseSerial
+ /// License serial number.
///
+ /// License serial number.
[DataMember(Name = "license-serial", EmitDefaultValue = false)]
public string? LicenseSerial { get; set; }
///
- /// Gets or Sets ValidUntil
+ /// Gets or Sets LicenseType
///
+ [DataMember(Name = "license-type", EmitDefaultValue = false)]
+ public string? LicenseType { get; set; }
+
+ ///
+ /// License validity date.
+ ///
+ /// License validity date.
[DataMember(Name = "valid-until", EmitDefaultValue = false)]
public DateTime? ValidUntil { get; set; }
@@ -85,7 +104,26 @@ public partial class DeviceInfo : IValidatableObject
/// Gets or Sets ServerTime
///
[DataMember(Name = "server-time", EmitDefaultValue = false)]
- public DateTime? ServerTime { get; set; }
+ public string? ServerTime { get; set; }
+
+ ///
+ /// List of supported scenarios.
+ ///
+ /// List of supported scenarios.
+ [DataMember(Name = "supported-scenarios", EmitDefaultValue = false)]
+ public List? SupportedScenarios { get; set; }
+
+ ///
+ /// Gets or Sets Metadata
+ ///
+ [DataMember(Name = "metadata", EmitDefaultValue = false)]
+ public Dictionary? Metadata { get; set; }
+
+ ///
+ /// Gets or Sets DocumentsDatabase
+ ///
+ [DataMember(Name = "documents-database", EmitDefaultValue = false)]
+ public DeviceInfoDocumentsDatabase? DocumentsDatabase { get; set; }
///
/// Returns the string presentation of the object
@@ -99,8 +137,12 @@ public override string ToString()
sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
sb.Append(" LicenseId: ").Append(LicenseId).Append("\n");
sb.Append(" LicenseSerial: ").Append(LicenseSerial).Append("\n");
+ sb.Append(" LicenseType: ").Append(LicenseType).Append("\n");
sb.Append(" ValidUntil: ").Append(ValidUntil).Append("\n");
sb.Append(" ServerTime: ").Append(ServerTime).Append("\n");
+ sb.Append(" SupportedScenarios: ").Append(SupportedScenarios).Append("\n");
+ sb.Append(" Metadata: ").Append(Metadata).Append("\n");
+ sb.Append(" DocumentsDatabase: ").Append(DocumentsDatabase).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
diff --git a/src/Regula.DocumentReader.WebClient/Model/DeviceInfoDocumentsDatabase.cs b/src/Regula.DocumentReader.WebClient/Model/DeviceInfoDocumentsDatabase.cs
new file mode 100644
index 0000000..3baa446
--- /dev/null
+++ b/src/Regula.DocumentReader.WebClient/Model/DeviceInfoDocumentsDatabase.cs
@@ -0,0 +1,139 @@
+/*
+ * Regula Document Reader Web API
+ *
+ * Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
+ *
+ * The version of the OpenAPI document: 8.1.0
+ * Generated by: https://github.com/openapitools/openapi-generator.git
+ */
+
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Text.RegularExpressions;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using Newtonsoft.Json.Linq;
+using System.ComponentModel.DataAnnotations;
+using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
+using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
+
+namespace Regula.DocumentReader.WebClient.Model
+{
+ ///
+ /// Database information.
+ ///
+ [DataContract(Name = "DeviceInfo_documents_database")]
+ public partial class DeviceInfoDocumentsDatabase : IValidatableObject
+ {
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ [JsonConstructorAttribute]
+ protected DeviceInfoDocumentsDatabase() { }
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Database identifier. (required).
+ /// Database version. (required).
+ /// Date of database creation. (required).
+ /// Description of the database contents, such as the list of supported countries and documents. (required).
+ public DeviceInfoDocumentsDatabase(string id = default(string), string varVersion = default(string), string exportDate = default(string), string description = default(string))
+ {
+ // to ensure "id" is required (not null)
+ if (id == null)
+ {
+ throw new ArgumentNullException("id is a required property for DeviceInfoDocumentsDatabase and cannot be null");
+ }
+ this.Id = id;
+ // to ensure "varVersion" is required (not null)
+ if (varVersion == null)
+ {
+ throw new ArgumentNullException("varVersion is a required property for DeviceInfoDocumentsDatabase and cannot be null");
+ }
+ this.VarVersion = varVersion;
+ // to ensure "exportDate" is required (not null)
+ if (exportDate == null)
+ {
+ throw new ArgumentNullException("exportDate is a required property for DeviceInfoDocumentsDatabase and cannot be null");
+ }
+ this.ExportDate = exportDate;
+ // to ensure "description" is required (not null)
+ if (description == null)
+ {
+ throw new ArgumentNullException("description is a required property for DeviceInfoDocumentsDatabase and cannot be null");
+ }
+ this.Description = description;
+ }
+
+ ///
+ /// Database identifier.
+ ///
+ /// Database identifier.
+ [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
+ public string Id { get; set; }
+
+ ///
+ /// Database version.
+ ///
+ /// Database version.
+ [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)]
+ public string VarVersion { get; set; }
+
+ ///
+ /// Date of database creation.
+ ///
+ /// Date of database creation.
+ [DataMember(Name = "export-date", IsRequired = true, EmitDefaultValue = true)]
+ public string ExportDate { get; set; }
+
+ ///
+ /// Description of the database contents, such as the list of supported countries and documents.
+ ///
+ /// Description of the database contents, such as the list of supported countries and documents.
+ [DataMember(Name = "description", IsRequired = true, EmitDefaultValue = true)]
+ public string Description { get; set; }
+
+ ///
+ /// Returns the string presentation of the object
+ ///
+ /// String presentation of the object
+ public override string ToString()
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("class DeviceInfoDocumentsDatabase {\n");
+ sb.Append(" Id: ").Append(Id).Append("\n");
+ sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
+ sb.Append(" ExportDate: ").Append(ExportDate).Append("\n");
+ sb.Append(" Description: ").Append(Description).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns the JSON string presentation of the object
+ ///
+ /// JSON string presentation of the object
+ public virtual string ToJson()
+ {
+ return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
+ }
+
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
+ IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
+ {
+ yield break;
+ }
+ }
+
+}
diff --git a/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs b/src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs
index 2f0426f..a6a0d9d 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@56f1b55a
+ [B@614a8340
*/
[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 a708662..c8e4876 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@56f1b55a
+ [B@614a8340
*/
[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 bea1e75..ded6ec0 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@6299255d
+ [B@2b060232
*/
[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 99e8335..3fb7573 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@6299255d
+ [B@2b060232
*/
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
public byte[] License { get; set; }
diff --git a/src/Regula.DocumentReader.WebClient/Model/ProcessParamsRfid.cs b/src/Regula.DocumentReader.WebClient/Model/ProcessParamsRfid.cs
index c237c0e..478201b 100644
--- a/src/Regula.DocumentReader.WebClient/Model/ProcessParamsRfid.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/ProcessParamsRfid.cs
@@ -35,18 +35,18 @@ public partial class ProcessParamsRfid : IValidatableObject
///
/// Initializes a new instance of the class.
///
- /// A list of notification codes that should be ignored during passive authentication (PA).
- public ProcessParamsRfid(List paSensitiveCodesDisable = default(List))
+ /// A list of notification codes that should be ignored during passive authentication (PA).
+ public ProcessParamsRfid(List paIgnoreNotificationCodes = default(List))
{
- this.PaSensitiveCodesDisable = paSensitiveCodesDisable;
+ this.PaIgnoreNotificationCodes = paIgnoreNotificationCodes;
}
///
/// A list of notification codes that should be ignored during passive authentication (PA)
///
/// A list of notification codes that should be ignored during passive authentication (PA)
- [DataMember(Name = "paSensitiveCodesDisable", EmitDefaultValue = false)]
- public List? PaSensitiveCodesDisable { get; set; }
+ [DataMember(Name = "paIgnoreNotificationCodes", EmitDefaultValue = false)]
+ public List? PaIgnoreNotificationCodes { get; set; }
///
/// Returns the string presentation of the object
@@ -56,7 +56,7 @@ public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class ProcessParamsRfid {\n");
- sb.Append(" PaSensitiveCodesDisable: ").Append(PaSensitiveCodesDisable).Append("\n");
+ sb.Append(" PaIgnoreNotificationCodes: ").Append(PaIgnoreNotificationCodes).Append("\n");
sb.Append("}\n");
return sb.ToString();
}