From 8cbacb39b7704d50e99878aa931e8926bfdd0833 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 27 Oct 2026 14:58:46 +0000 Subject: [PATCH] Commit: 286a2c4c --- .../webclient/model/CheckDiagnose.java | 8 +++- .../webclient/model/PropertiesParams.java | 37 +++++++++++++++++-- .../webclient/model/SecurityFeatureType.java | 5 ++- .../webclient/model/TextFieldType.java | 5 ++- 4 files changed, 49 insertions(+), 6 deletions(-) diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java index 8505a6ad..7ba13aa2 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/CheckDiagnose.java @@ -421,7 +421,13 @@ public enum CheckDiagnose { PROPERTY_TEXT_AS_SIGNATURE(261), /** Fingerprint as signature */ - PROPERTY_FINGERPRINT_AS_SIGNATURE(262); + PROPERTY_FINGERPRINT_AS_SIGNATURE(262), + + /** Document damaged */ + PROPERTY_DOCUMENT_DAMAGED(263), + + /** Document cancelled */ + PROPERTY_DOCUMENT_CANCELLED(264); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/PropertiesParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/PropertiesParams.java index bc1f775e..5d280ec9 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/PropertiesParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/PropertiesParams.java @@ -38,6 +38,12 @@ public class PropertiesParams { @javax.annotation.Nullable private Boolean checkHoldersSignature; + public static final String SERIALIZED_NAME_CHECK_DOCUMENT_DAMAGE = "checkDocumentDamage"; + + @SerializedName(SERIALIZED_NAME_CHECK_DOCUMENT_DAMAGE) + @javax.annotation.Nullable + private Boolean checkDocumentDamage; + public PropertiesParams() {} public PropertiesParams checkHoldersSignature( @@ -60,6 +66,26 @@ public void setCheckHoldersSignature(@javax.annotation.Nullable Boolean checkHol this.checkHoldersSignature = checkHoldersSignature; } + public PropertiesParams checkDocumentDamage( + @javax.annotation.Nullable Boolean checkDocumentDamage) { + this.checkDocumentDamage = checkDocumentDamage; + return this; + } + + /** + * Set to true to enable detection of damaged or defaced documents. + * + * @return checkDocumentDamage + */ + @javax.annotation.Nullable + public Boolean getCheckDocumentDamage() { + return checkDocumentDamage; + } + + public void setCheckDocumentDamage(@javax.annotation.Nullable Boolean checkDocumentDamage) { + this.checkDocumentDamage = checkDocumentDamage; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -69,12 +95,13 @@ public boolean equals(Object o) { return false; } PropertiesParams propertiesParams = (PropertiesParams) o; - return Objects.equals(this.checkHoldersSignature, propertiesParams.checkHoldersSignature); + return Objects.equals(this.checkHoldersSignature, propertiesParams.checkHoldersSignature) + && Objects.equals(this.checkDocumentDamage, propertiesParams.checkDocumentDamage); } @Override public int hashCode() { - return Objects.hash(checkHoldersSignature); + return Objects.hash(checkHoldersSignature, checkDocumentDamage); } @Override @@ -84,6 +111,9 @@ public String toString() { sb.append(" checkHoldersSignature: ") .append(toIndentedString(checkHoldersSignature)) .append("\n"); + sb.append(" checkDocumentDamage: ") + .append(toIndentedString(checkDocumentDamage)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -103,7 +133,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("checkHoldersSignature")); + openapiFields = + new HashSet(Arrays.asList("checkHoldersSignature", "checkDocumentDamage")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java index 823b0fbe..1a1faae8 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/SecurityFeatureType.java @@ -210,7 +210,10 @@ public enum SecurityFeatureType { PORTRAIT_COMPARISON_EXT_VS_GHOST(61), /** Signature presence */ - SIGNATURE_PRESENCE(62); + SIGNATURE_PRESENCE(62), + + /** Damage check */ + DAMAGE_CHECK(63); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java index c18c68f5..2922b7dd 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/TextFieldType.java @@ -1995,7 +1995,10 @@ public enum TextFieldType { DL_CLASS_CODE_B3_TO(707), /** DL category B3 codes */ - DL_CLASS_CODE_B3_NOTES(708); + DL_CLASS_CODE_B3_NOTES(708), + + /** Post office */ + FT_ADDRESS_POST_OFFICE(709); private Integer value;