diff --git a/src/Regula.DocumentReader.WebClient/Model/AuthenticityCheckResultItem.cs b/src/Regula.DocumentReader.WebClient/Model/AuthenticityCheckResultItem.cs
index c8e1f98..0cd1e9a 100644
--- a/src/Regula.DocumentReader.WebClient/Model/AuthenticityCheckResultItem.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/AuthenticityCheckResultItem.cs
@@ -58,7 +58,8 @@ protected AuthenticityCheckResultItem() { }
/// Same as authenticity result type, but used for safe parsing of not-described values. See authenticity result type (required) (default to 0).
/// elementResult.
/// elementDiagnose.
- public AuthenticityCheckResultItem(int type = 0, int elementResult = default(int), int elementDiagnose = default(int))
+ /// percentValue.
+ public AuthenticityCheckResultItem(int type = 0, int elementResult = default(int), int elementDiagnose = default(int), int percentValue = 0)
{
// to ensure "type" is required (not null)
if (type == null)
@@ -69,7 +70,7 @@ protected AuthenticityCheckResultItem() { }
{
this.Type = type;
}
-
+ this.PercentValue = percentValue;
this.ElementResult = elementResult;
this.ElementDiagnose = elementDiagnose;
}
@@ -81,6 +82,13 @@ protected AuthenticityCheckResultItem() { }
[DataMember(Name="Type", EmitDefaultValue=true)]
public int Type { get; set; }
+ ///
+ /// Gets or Sets PercentValue
+ ///
+ [DataMember(Name="PercentValue", EmitDefaultValue=false)]
+ public int PercentValue { get; set; }
+
+
///
/// Gets or Sets ElementResult
///
diff --git a/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionRequest.cs b/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionRequest.cs
index 3e2c8e2..f24f2b2 100644
--- a/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionRequest.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/Ext/RecognitionRequest.cs
@@ -24,6 +24,11 @@ public RecognitionRequest(ProcessParams param, ContainerList containerList, stri
{
}
+ public RecognitionRequest(ProcessParams param, List images, string extPortrait, string tag = null)
+ : base(param, images, tag, extPortrait:extPortrait)
+ {
+ }
+
public string Json => Newtonsoft.Json.JsonConvert.SerializeObject(this);
}
}
diff --git a/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs b/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs
index 1573b66..28e5056 100644
--- a/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/FiberResult.cs
@@ -47,7 +47,7 @@ protected FiberResult() { }
/// Fibers length value for located areas (in pixels).
/// Fibers value for areas (in pixels).
/// Fibers color value.
- public FiberResult(int rectCount = default(int), int expectedCount = default(int), int lightValue = default(int), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List), int type = 0, int elementResult = default(int), int elementDiagnose = default(int)) : base(type, elementResult, elementDiagnose)
+ public FiberResult(int rectCount = default(int), int expectedCount = default(int), int lightValue = default(int), int lightDisp = default(int), List rectArray = default(List), List width = default(List), List length = default(List), List area = default(List), List colorValues = default(List), int type = 0, int elementResult = default(int), int elementDiagnose = default(int), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue)
{
this.RectCount = rectCount;
this.ExpectedCount = expectedCount;
diff --git a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs
index 8a64067..1119507 100644
--- a/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/OCRSecurityTextResult.cs
@@ -48,7 +48,7 @@ protected OCRSecurityTextResult() { }
/// etalonResultOCR.
/// reserved1.
/// reserved2.
- public OCRSecurityTextResult(int criticalFlag = default(int), int lightType = default(int), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = default(int), int etalonFieldType = default(int), int etalonLightType = default(int), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int reserved1 = default(int), int reserved2 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int)) : base(type, elementResult, elementDiagnose)
+ public OCRSecurityTextResult(int criticalFlag = default(int), int lightType = default(int), RectangleCoordinates fieldRect = default(RectangleCoordinates), int etalonResultType = default(int), int etalonFieldType = default(int), int etalonLightType = default(int), string securityTextResultOCR = default(string), string etalonResultOCR = default(string), int reserved1 = default(int), int reserved2 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue)
{
this.CriticalFlag = criticalFlag;
this.LightType = lightType;
diff --git a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs
index a602b56..4b3d55e 100644
--- a/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/PhotoIdentResult.cs
@@ -47,7 +47,7 @@ protected PhotoIdentResult() { }
/// step.
/// angle.
/// reserved3.
- public PhotoIdentResult(int lightIndex = default(int), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int reserved3 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int)) : base(type, elementResult, elementDiagnose)
+ public PhotoIdentResult(int lightIndex = default(int), RectangleCoordinates area = default(RectangleCoordinates), ImageData sourceImage = default(ImageData), RawImageContainerList resultImages = default(RawImageContainerList), int fieldTypesCount = default(int), List fieldTypesList = default(List), int step = default(int), int angle = default(int), int reserved3 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue)
{
this.LightIndex = lightIndex;
this.Area = area;
diff --git a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs
index 5ce28d0..ffbc6f3 100644
--- a/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs
+++ b/src/Regula.DocumentReader.WebClient/Model/SecurityFeatureResult.cs
@@ -44,7 +44,7 @@ protected SecurityFeatureResult() { }
/// criticalFlag.
/// areaList.
/// reserved2.
- public SecurityFeatureResult(int elementType = default(int), RectangleCoordinates elementRect = default(RectangleCoordinates), int visibility = default(int), int criticalFlag = default(int), AreaContainer areaList = default(AreaContainer), int reserved2 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int)) : base(type, elementResult, elementDiagnose)
+ public SecurityFeatureResult(int elementType = default(int), RectangleCoordinates elementRect = default(RectangleCoordinates), int visibility = default(int), int criticalFlag = default(int), AreaContainer areaList = default(AreaContainer), int reserved2 = default(int), int type = 0, int elementResult = default(int), int elementDiagnose = default(int), int percentValue = default(int)) : base(type, elementResult, elementDiagnose, percentValue)
{
this.ElementType = elementType;
this.ElementRect = elementRect;