Skip to content

Commit 631f29b

Browse files
Merge pull request #282 from regulaforensics/e6655090
Commit: e6655090
2 parents 2ce6f4c + 6490a7a commit 631f29b

10 files changed

Lines changed: 137 additions & 8 deletions

File tree

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ src/Regula.DocumentReader.WebClient/Model/ProcessRequestImage.cs
177177
src/Regula.DocumentReader.WebClient/Model/ProcessResponse.cs
178178
src/Regula.DocumentReader.WebClient/Model/ProcessSystemInfo.cs
179179
src/Regula.DocumentReader.WebClient/Model/ProcessingStatus.cs
180+
src/Regula.DocumentReader.WebClient/Model/PropertiesParams.cs
180181
src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedField.cs
181182
src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedFieldItem.cs
182183
src/Regula.DocumentReader.WebClient/Model/RFIDDocVisualExtendedInfo.cs

src/Regula.DocumentReader.WebClient/Model/AuthParams.cs

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ public partial class AuthParams : IValidatableObject
5151
/// <param name="checkPhotoComparison">This parameter is used to enable Portrait comparison check.</param>
5252
/// <param name="checkLetterScreen">This parameter is used to enable LetterScreen check.</param>
5353
/// <param name="checkSecurityText">This parameter is used to enable Security text check.</param>
54-
public AuthParams(bool? checkLiveness = default, LivenessParams? livenessParams = default, bool? checkUVLuminiscence = default, bool? checkIRB900 = default, bool? checkImagePatterns = default, bool? checkFibers = default, bool? checkExtMRZ = default, bool? checkExtOCR = default, bool? checkAxial = default, bool? checkBarcodeFormat = default, bool? checkIRVisibility = default, bool? checkIPI = default, bool? checkPhotoEmbedding = default, bool? checkPhotoComparison = default, bool? checkLetterScreen = default, bool? checkSecurityText = default)
54+
/// <param name="checkProperties">Set to true to enable detection of the document properties, such as holder&#39;s signature and other attributes..</param>
55+
/// <param name="propertiesParams">propertiesParams.</param>
56+
public AuthParams(bool? checkLiveness = default, LivenessParams? livenessParams = default, bool? checkUVLuminiscence = default, bool? checkIRB900 = default, bool? checkImagePatterns = default, bool? checkFibers = default, bool? checkExtMRZ = default, bool? checkExtOCR = default, bool? checkAxial = default, bool? checkBarcodeFormat = default, bool? checkIRVisibility = default, bool? checkIPI = default, bool? checkPhotoEmbedding = default, bool? checkPhotoComparison = default, bool? checkLetterScreen = default, bool? checkSecurityText = default, bool? checkProperties = default, PropertiesParams? propertiesParams = default)
5557
{
5658
this.CheckLiveness = checkLiveness;
5759
this.LivenessParams = livenessParams;
@@ -69,6 +71,8 @@ public AuthParams(bool? checkLiveness = default, LivenessParams? livenessParams
6971
this.CheckPhotoComparison = checkPhotoComparison;
7072
this.CheckLetterScreen = checkLetterScreen;
7173
this.CheckSecurityText = checkSecurityText;
74+
this.CheckProperties = checkProperties;
75+
this.PropertiesParams = propertiesParams;
7276
}
7377

7478
/// <summary>
@@ -182,6 +186,19 @@ public AuthParams(bool? checkLiveness = default, LivenessParams? livenessParams
182186
[DataMember(Name = "checkSecurityText", EmitDefaultValue = false)]
183187
public bool? CheckSecurityText { get; set; }
184188

189+
/// <summary>
190+
/// Set to true to enable detection of the document properties, such as holder&#39;s signature and other attributes.
191+
/// </summary>
192+
/// <value>Set to true to enable detection of the document properties, such as holder&#39;s signature and other attributes.</value>
193+
[DataMember(Name = "checkProperties", EmitDefaultValue = false)]
194+
public bool? CheckProperties { get; set; }
195+
196+
/// <summary>
197+
/// Gets or Sets PropertiesParams
198+
/// </summary>
199+
[DataMember(Name = "propertiesParams", EmitDefaultValue = false)]
200+
public PropertiesParams? PropertiesParams { get; set; }
201+
185202
/// <summary>
186203
/// Returns the string presentation of the object
187204
/// </summary>
@@ -206,6 +223,8 @@ public override string ToString()
206223
sb.Append(" CheckPhotoComparison: ").Append(CheckPhotoComparison).Append("\n");
207224
sb.Append(" CheckLetterScreen: ").Append(CheckLetterScreen).Append("\n");
208225
sb.Append(" CheckSecurityText: ").Append(CheckSecurityText).Append("\n");
226+
sb.Append(" CheckProperties: ").Append(CheckProperties).Append("\n");
227+
sb.Append(" PropertiesParams: ").Append(PropertiesParams).Append("\n");
209228
sb.Append("}\n");
210229
return sb.ToString();
211230
}

src/Regula.DocumentReader.WebClient/Model/AuthenticityResultType.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,12 @@ public enum AuthenticityResultType: long
140140
/// <summary>
141141
/// Enum ENCRYPTED_IPI for value: 16777216
142142
/// </summary>
143-
ENCRYPTED_IPI = 16777216
143+
ENCRYPTED_IPI = 16777216,
144+
145+
/// <summary>
146+
/// Enum PROPERTY for value: 33554432
147+
/// </summary>
148+
PROPERTY = 33554432
144149
}
145150

146151
}

src/Regula.DocumentReader.WebClient/Model/CheckDiagnose.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,22 @@ public enum CheckDiagnose
675675
/// <summary>
676676
/// Enum CHD_INCORRECT_OBJECT_COLOR for value: 250
677677
/// </summary>
678-
CHD_INCORRECT_OBJECT_COLOR = 250
678+
CHD_INCORRECT_OBJECT_COLOR = 250,
679+
680+
/// <summary>
681+
/// Enum PROPERTY_NO_SIGNATURE for value: 260
682+
/// </summary>
683+
PROPERTY_NO_SIGNATURE = 260,
684+
685+
/// <summary>
686+
/// Enum PROPERTY_TEXT_AS_SIGNATURE for value: 261
687+
/// </summary>
688+
PROPERTY_TEXT_AS_SIGNATURE = 261,
689+
690+
/// <summary>
691+
/// Enum PROPERTY_FINGERPRINT_AS_SIGNATURE for value: 262
692+
/// </summary>
693+
PROPERTY_FINGERPRINT_AS_SIGNATURE = 262
679694
}
680695

681696
}

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public EncryptedRCLItem(byte[] encryptedRCL = default)
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@643cdc8d</example>
59+
<example>[B@5cf2cd73</example>
6060
*/
6161
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/EncryptedRCLResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public EncryptedRCLResult(byte[] encryptedRCL = default, int? bufLength = defaul
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@643cdc8d</example>
65+
<example>[B@5cf2cd73</example>
6666
*/
6767
[DataMember(Name = "EncryptedRCL", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] EncryptedRCL { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public LicenseItem(byte[] license = default)
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@5a3b79e4</example>
59+
<example>[B@934c927</example>
6060
*/
6161
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6262
public byte[] License { get; set; }

src/Regula.DocumentReader.WebClient/Model/LicenseResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public LicenseResult(byte[] license = default, int? bufLength = default, int? li
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@5a3b79e4</example>
65+
<example>[B@934c927</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
/*
2+
* Regula Document Reader Web API
3+
*
4+
* 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
5+
*
6+
* The version of the OpenAPI document: 8.1.0
7+
* Generated by: https://github.com/openapitools/openapi-generator.git
8+
*/
9+
10+
11+
using System;
12+
using System.Collections;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.IO;
17+
using System.Runtime.Serialization;
18+
using System.Text;
19+
using System.Text.RegularExpressions;
20+
using Newtonsoft.Json;
21+
using Newtonsoft.Json.Converters;
22+
using Newtonsoft.Json.Linq;
23+
using System.ComponentModel.DataAnnotations;
24+
using FileParameter = Regula.DocumentReader.WebClient.Client.FileParameter;
25+
using OpenAPIDateConverter = Regula.DocumentReader.WebClient.Client.OpenAPIDateConverter;
26+
27+
namespace Regula.DocumentReader.WebClient.Model
28+
{
29+
/// <summary>
30+
/// PropertiesParams
31+
/// </summary>
32+
[DataContract(Name = "PropertiesParams")]
33+
public partial class PropertiesParams : IValidatableObject
34+
{
35+
/// <summary>
36+
/// Initializes a new instance of the <see cref="PropertiesParams" /> class.
37+
/// </summary>
38+
/// <param name="checkHoldersSignature">Set to true to enable detection of the document holder’s signature..</param>
39+
public PropertiesParams(bool? checkHoldersSignature = default)
40+
{
41+
this.CheckHoldersSignature = checkHoldersSignature;
42+
}
43+
44+
/// <summary>
45+
/// Set to true to enable detection of the document holder’s signature.
46+
/// </summary>
47+
/// <value>Set to true to enable detection of the document holder’s signature.</value>
48+
[DataMember(Name = "checkHoldersSignature", EmitDefaultValue = false)]
49+
public bool? CheckHoldersSignature { get; set; }
50+
51+
/// <summary>
52+
/// Returns the string presentation of the object
53+
/// </summary>
54+
/// <returns>String presentation of the object</returns>
55+
public override string ToString()
56+
{
57+
StringBuilder sb = new StringBuilder();
58+
sb.Append("class PropertiesParams {\n");
59+
sb.Append(" CheckHoldersSignature: ").Append(CheckHoldersSignature).Append("\n");
60+
sb.Append("}\n");
61+
return sb.ToString();
62+
}
63+
64+
/// <summary>
65+
/// Returns the JSON string presentation of the object
66+
/// </summary>
67+
/// <returns>JSON string presentation of the object</returns>
68+
public virtual string ToJson()
69+
{
70+
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
71+
}
72+
73+
/// <summary>
74+
/// To validate all properties of the instance
75+
/// </summary>
76+
/// <param name="validationContext">Validation context</param>
77+
/// <returns>Validation Result</returns>
78+
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
79+
{
80+
yield break;
81+
}
82+
}
83+
84+
}

src/Regula.DocumentReader.WebClient/Model/SecurityFeatureType.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,12 @@ public enum SecurityFeatureType
335335
/// <summary>
336336
/// Enum PORTRAIT_COMPARISON_EXT_VS_GHOST for value: 61
337337
/// </summary>
338-
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61
338+
PORTRAIT_COMPARISON_EXT_VS_GHOST = 61,
339+
340+
/// <summary>
341+
/// Enum SIGNATURE_PRESENCE for value: 62
342+
/// </summary>
343+
SIGNATURE_PRESENCE = 62
339344
}
340345

341346
}

0 commit comments

Comments
 (0)