Skip to content

Commit e3b55d0

Browse files
committed
Commit: 9a69cd29
1 parent f616b86 commit e3b55d0

12 files changed

Lines changed: 361 additions & 7 deletions

File tree

.openapi-generator/FILES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ src/Regula.DocumentReader.WebClient/Model/CrossSourceValueComparison.cs
5252
src/Regula.DocumentReader.WebClient/Model/DataModule.cs
5353
src/Regula.DocumentReader.WebClient/Model/DatabaseDocument.cs
5454
src/Regula.DocumentReader.WebClient/Model/DatabaseDocumentList.cs
55+
src/Regula.DocumentReader.WebClient/Model/DetailsAge.cs
5556
src/Regula.DocumentReader.WebClient/Model/DetailsOptical.cs
5657
src/Regula.DocumentReader.WebClient/Model/DetailsRFID.cs
5758
src/Regula.DocumentReader.WebClient/Model/DeviceInfo.cs
@@ -131,6 +132,9 @@ src/Regula.DocumentReader.WebClient/Model/ListVerifiedFields.cs
131132
src/Regula.DocumentReader.WebClient/Model/ListVerifiedFieldsItem.cs
132133
src/Regula.DocumentReader.WebClient/Model/LivenessParams.cs
133134
src/Regula.DocumentReader.WebClient/Model/LogLevel.cs
135+
src/Regula.DocumentReader.WebClient/Model/MDLDeviceEngagement.cs
136+
src/Regula.DocumentReader.WebClient/Model/MDLDeviceRetrieval.cs
137+
src/Regula.DocumentReader.WebClient/Model/MDLServerRetrieval.cs
134138
src/Regula.DocumentReader.WebClient/Model/MRZDetectorResult.cs
135139
src/Regula.DocumentReader.WebClient/Model/MRZFormat.cs
136140
src/Regula.DocumentReader.WebClient/Model/MRZPositionResult.cs
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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+
/// DetailsAge
31+
/// </summary>
32+
[DataContract(Name = "DetailsAge")]
33+
public partial class DetailsAge : IValidatableObject
34+
{
35+
36+
/// <summary>
37+
/// Gets or Sets OverThreshold
38+
/// </summary>
39+
[DataMember(Name = "overThreshold", IsRequired = true, EmitDefaultValue = true)]
40+
public CheckResult OverThreshold { get; set; }
41+
42+
/// <summary>
43+
/// Gets or Sets Over18
44+
/// </summary>
45+
[DataMember(Name = "over18", IsRequired = true, EmitDefaultValue = true)]
46+
public CheckResult Over18 { get; set; }
47+
48+
/// <summary>
49+
/// Gets or Sets Over21
50+
/// </summary>
51+
[DataMember(Name = "over21", IsRequired = true, EmitDefaultValue = true)]
52+
public CheckResult Over21 { get; set; }
53+
54+
/// <summary>
55+
/// Gets or Sets Over25
56+
/// </summary>
57+
[DataMember(Name = "over25", IsRequired = true, EmitDefaultValue = true)]
58+
public CheckResult Over25 { get; set; }
59+
60+
/// <summary>
61+
/// Gets or Sets Over65
62+
/// </summary>
63+
[DataMember(Name = "over65", IsRequired = true, EmitDefaultValue = true)]
64+
public CheckResult Over65 { get; set; }
65+
/// <summary>
66+
/// Initializes a new instance of the <see cref="DetailsAge" /> class.
67+
/// </summary>
68+
[JsonConstructorAttribute]
69+
protected DetailsAge() { }
70+
/// <summary>
71+
/// Initializes a new instance of the <see cref="DetailsAge" /> class.
72+
/// </summary>
73+
/// <param name="threshold">threshold (required).</param>
74+
/// <param name="overThreshold">overThreshold (required).</param>
75+
/// <param name="over18">over18 (required).</param>
76+
/// <param name="over21">over21 (required).</param>
77+
/// <param name="over25">over25 (required).</param>
78+
/// <param name="over65">over65 (required).</param>
79+
public DetailsAge(int threshold = default(int), CheckResult overThreshold = default(CheckResult), CheckResult over18 = default(CheckResult), CheckResult over21 = default(CheckResult), CheckResult over25 = default(CheckResult), CheckResult over65 = default(CheckResult))
80+
{
81+
this.Threshold = threshold;
82+
this.OverThreshold = overThreshold;
83+
this.Over18 = over18;
84+
this.Over21 = over21;
85+
this.Over25 = over25;
86+
this.Over65 = over65;
87+
}
88+
89+
/// <summary>
90+
/// Gets or Sets Threshold
91+
/// </summary>
92+
[DataMember(Name = "threshold", IsRequired = true, EmitDefaultValue = true)]
93+
public int Threshold { get; set; }
94+
95+
/// <summary>
96+
/// Returns the string presentation of the object
97+
/// </summary>
98+
/// <returns>String presentation of the object</returns>
99+
public override string ToString()
100+
{
101+
StringBuilder sb = new StringBuilder();
102+
sb.Append("class DetailsAge {\n");
103+
sb.Append(" Threshold: ").Append(Threshold).Append("\n");
104+
sb.Append(" OverThreshold: ").Append(OverThreshold).Append("\n");
105+
sb.Append(" Over18: ").Append(Over18).Append("\n");
106+
sb.Append(" Over21: ").Append(Over21).Append("\n");
107+
sb.Append(" Over25: ").Append(Over25).Append("\n");
108+
sb.Append(" Over65: ").Append(Over65).Append("\n");
109+
sb.Append("}\n");
110+
return sb.ToString();
111+
}
112+
113+
/// <summary>
114+
/// Returns the JSON string presentation of the object
115+
/// </summary>
116+
/// <returns>JSON string presentation of the object</returns>
117+
public virtual string ToJson()
118+
{
119+
return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented);
120+
}
121+
122+
/// <summary>
123+
/// To validate all properties of the instance
124+
/// </summary>
125+
/// <param name="validationContext">Validation context</param>
126+
/// <returns>Validation Result</returns>
127+
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
128+
{
129+
yield break;
130+
}
131+
}
132+
133+
}

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 @@ protected EncryptedRCLItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@e5d994d</example>
59+
<example>[B@83c65a3</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 @@ protected EncryptedRCLResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@e5d994d</example>
65+
<example>[B@83c65a3</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 @@ protected LicenseItem() { }
5656
/// </summary>
5757
/// <value>Base64 encoded data</value>
5858
/*
59-
<example>[B@5c344ece</example>
59+
<example>[B@1b23a931</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 @@ protected LicenseResult() { }
6262
/// </summary>
6363
/// <value>Base64 encoded data</value>
6464
/*
65-
<example>[B@5c344ece</example>
65+
<example>[B@1b23a931</example>
6666
*/
6767
[DataMember(Name = "License", IsRequired = true, EmitDefaultValue = true)]
6868
public byte[] License { get; set; }
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
/// Defines MDLDeviceEngagement
31+
/// </summary>
32+
public enum MDLDeviceEngagement
33+
{
34+
/// <summary>
35+
/// Enum QR for value: 0
36+
/// </summary>
37+
QR = 0,
38+
39+
/// <summary>
40+
/// Enum NFC for value: 1
41+
/// </summary>
42+
NFC = 1
43+
}
44+
45+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
/// Defines MDLDeviceRetrieval
31+
/// </summary>
32+
public enum MDLDeviceRetrieval
33+
{
34+
/// <summary>
35+
/// Enum NFC for value: 1
36+
/// </summary>
37+
NFC = 1,
38+
39+
/// <summary>
40+
/// Enum BLE for value: 2
41+
/// </summary>
42+
BLE = 2,
43+
44+
/// <summary>
45+
/// Enum WIFI_AWARE for value: 3
46+
/// </summary>
47+
WIFI_AWARE = 3
48+
}
49+
50+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
/// Defines MDLServerRetrieval
31+
/// </summary>
32+
public enum MDLServerRetrieval
33+
{
34+
/// <summary>
35+
/// Enum WEB_API for value: 0
36+
/// </summary>
37+
WEB_API = 0,
38+
39+
/// <summary>
40+
/// Enum OIDC for value: 1
41+
/// </summary>
42+
OIDC = 1
43+
}
44+
45+
}

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

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,37 @@ public enum Result
209209
/// <summary>
210210
/// Enum DTC_VC for value: 109
211211
/// </summary>
212-
DTC_VC = 109
212+
DTC_VC = 109,
213+
214+
/// <summary>
215+
/// Enum MDL_DEVICE_RAW_RESPONSE for value: 120
216+
/// </summary>
217+
MDL_DEVICE_RAW_RESPONSE = 120,
218+
219+
/// <summary>
220+
/// Enum MDL_DEVICE_PARSED_RESPONSE for value: 121
221+
/// </summary>
222+
MDL_DEVICE_PARSED_RESPONSE = 121,
223+
224+
/// <summary>
225+
/// Enum MDL_SERVER_RAW_RESPONSE for value: 122
226+
/// </summary>
227+
MDL_SERVER_RAW_RESPONSE = 122,
228+
229+
/// <summary>
230+
/// Enum MDL_SERVER_PARSED_RESPONSE for value: 123
231+
/// </summary>
232+
MDL_SERVER_PARSED_RESPONSE = 123,
233+
234+
/// <summary>
235+
/// Enum VDS_NC for value: 124
236+
/// </summary>
237+
VDS_NC = 124,
238+
239+
/// <summary>
240+
/// Enum VDS for value: 125
241+
/// </summary>
242+
VDS = 125
213243
}
214244

215245
}

0 commit comments

Comments
 (0)