Skip to content

Commit 30b43b2

Browse files
Merge pull request #207 from regulaforensics/5671dcd5
Commit: 5671dcd5
2 parents 08a35a6 + 366dbc0 commit 30b43b2

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

client/src/main/generated/com/regula/documentreader/webclient/model/ImageQualityCheckType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public enum ImageQualityCheckType {
4444
/** Signals if the portrait is present */
4545
Portrait(7),
4646

47+
/** Signals if the document contains handwritten text in the scanned fields */
48+
Handwritten(8),
49+
4750
/** Signals if the document image is bright enough */
4851
Brightness(9),
4952

client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ public class ProcessParams {
429429
@javax.annotation.Nullable
430430
private Boolean disableAuthResolutionFilter;
431431

432+
public static final String SERIALIZED_NAME_STRICT_SECURITY_CHECKS = "strictSecurityChecks";
433+
434+
@SerializedName(SERIALIZED_NAME_STRICT_SECURITY_CHECKS)
435+
@javax.annotation.Nullable
436+
private Boolean strictSecurityChecks;
437+
432438
public ProcessParams() {}
433439

434440
public ProcessParams generateDTCVC(@javax.annotation.Nullable Boolean generateDTCVC) {
@@ -1820,6 +1826,28 @@ public void setDisableAuthResolutionFilter(
18201826
this.disableAuthResolutionFilter = disableAuthResolutionFilter;
18211827
}
18221828

1829+
public ProcessParams strictSecurityChecks(
1830+
@javax.annotation.Nullable Boolean strictSecurityChecks) {
1831+
this.strictSecurityChecks = strictSecurityChecks;
1832+
return this;
1833+
}
1834+
1835+
/**
1836+
* When enabled, this parameter marks security checks that don’t meet minimum requirements as
1837+
* 'Failed' (instead of 'WasNotDone'), which causes the overall security status to
1838+
* be 'Failed'.
1839+
*
1840+
* @return strictSecurityChecks
1841+
*/
1842+
@javax.annotation.Nullable
1843+
public Boolean getStrictSecurityChecks() {
1844+
return strictSecurityChecks;
1845+
}
1846+
1847+
public void setStrictSecurityChecks(@javax.annotation.Nullable Boolean strictSecurityChecks) {
1848+
this.strictSecurityChecks = strictSecurityChecks;
1849+
}
1850+
18231851
@Override
18241852
public boolean equals(Object o) {
18251853
if (this == o) {
@@ -1896,7 +1924,8 @@ public boolean equals(Object o) {
18961924
&& Objects.equals(this.generateAlpha2Codes, processParams.generateAlpha2Codes)
18971925
&& Objects.equals(this.pdfPagesLimit, processParams.pdfPagesLimit)
18981926
&& Objects.equals(
1899-
this.disableAuthResolutionFilter, processParams.disableAuthResolutionFilter);
1927+
this.disableAuthResolutionFilter, processParams.disableAuthResolutionFilter)
1928+
&& Objects.equals(this.strictSecurityChecks, processParams.strictSecurityChecks);
19001929
}
19011930

19021931
@Override
@@ -1965,7 +1994,8 @@ public int hashCode() {
19651994
strictDLCategoryExpiry,
19661995
generateAlpha2Codes,
19671996
pdfPagesLimit,
1968-
disableAuthResolutionFilter);
1997+
disableAuthResolutionFilter,
1998+
strictSecurityChecks);
19691999
}
19702000

19712001
@Override
@@ -2072,6 +2102,9 @@ public String toString() {
20722102
sb.append(" disableAuthResolutionFilter: ")
20732103
.append(toIndentedString(disableAuthResolutionFilter))
20742104
.append("\n");
2105+
sb.append(" strictSecurityChecks: ")
2106+
.append(toIndentedString(strictSecurityChecks))
2107+
.append("\n");
20752108
sb.append("}");
20762109
return sb.toString();
20772110
}
@@ -2156,6 +2189,7 @@ private String toIndentedString(Object o) {
21562189
openapiFields.add("generateAlpha2Codes");
21572190
openapiFields.add("pdfPagesLimit");
21582191
openapiFields.add("disableAuthResolutionFilter");
2192+
openapiFields.add("strictSecurityChecks");
21592193

21602194
// a set of required properties/fields (JSON key names)
21612195
openapiRequiredFields = new HashSet<String>();

0 commit comments

Comments
 (0)