diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java index 6f1db2c..6c26ed0 100755 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java @@ -321,6 +321,11 @@ public class ProcessParams { @SerializedName(SERIALIZED_NAME_DO_BARCODES) private List doBarcodes = null; + public static final String SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY = "strictDLCategoryExpiry"; + + @SerializedName(SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY) + private Boolean strictDLCategoryExpiry; + public ProcessParams withGenerateDTCVC(Boolean generateDTCVC) { this.generateDTCVC = generateDTCVC; return this; @@ -1575,6 +1580,27 @@ public void setDoBarcodes(List doBarcodes) { this.doBarcodes = doBarcodes; } + public ProcessParams withStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) { + this.strictDLCategoryExpiry = strictDLCategoryExpiry; + return this; + } + + /** + * Set to force DL categories expiry date to affect the overall status or not. As documents + * usually have their own date of expiry, which might be less or greater than category expiry + * date, this might be handy for specific cases. + * + * @return strictDLCategoryExpiry + */ + @javax.annotation.Nullable + public Boolean getStrictDLCategoryExpiry() { + return strictDLCategoryExpiry; + } + + public void setStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) { + this.strictDLCategoryExpiry = strictDLCategoryExpiry; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -1645,7 +1671,8 @@ public boolean equals(java.lang.Object o) { this.strictBarcodeDigitalSignatureCheck, processParams.strictBarcodeDigitalSignatureCheck) && Objects.equals(this.selectLongestNames, processParams.selectLongestNames) - && Objects.equals(this.doBarcodes, processParams.doBarcodes); + && Objects.equals(this.doBarcodes, processParams.doBarcodes) + && Objects.equals(this.strictDLCategoryExpiry, processParams.strictDLCategoryExpiry); } @Override @@ -1709,7 +1736,8 @@ public int hashCode() { generateNumericCodes, strictBarcodeDigitalSignatureCheck, selectLongestNames, - doBarcodes); + doBarcodes, + strictDLCategoryExpiry); } @Override @@ -1805,6 +1833,9 @@ public String toString() { .append("\n"); sb.append(" selectLongestNames: ").append(toIndentedString(selectLongestNames)).append("\n"); sb.append(" doBarcodes: ").append(toIndentedString(doBarcodes)).append("\n"); + sb.append(" strictDLCategoryExpiry: ") + .append(toIndentedString(strictDLCategoryExpiry)) + .append("\n"); sb.append("}"); return sb.toString(); } diff --git a/client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java b/client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java index 00e8f81..20192bc 100755 --- a/client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java +++ b/client/src/main/java/com/regula/documentreader/webclient/api/DocumentReaderApi.java @@ -80,7 +80,6 @@ public Healthcheck health(String xRequestID) throws ApiException { return healthcheckApi.healthz(xRequestID); } - /** * Reads list of documents and return extracted data *