Skip to content

Commit 4bb1d93

Browse files
Update models
1 parent a658007 commit 4bb1d93

File tree

3 files changed

+66
-4
lines changed

3 files changed

+66
-4
lines changed

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

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ public class AuthParams {
123123
@javax.annotation.Nullable
124124
private Boolean checkLetterScreen;
125125

126+
public static final String SERIALIZED_NAME_CHECK_SECURITY_TEXT = "checkSecurityText";
127+
128+
@SerializedName(SERIALIZED_NAME_CHECK_SECURITY_TEXT)
129+
@javax.annotation.Nullable
130+
private Boolean checkSecurityText;
131+
126132
public AuthParams() {}
127133

128134
public AuthParams checkLiveness(@javax.annotation.Nullable Boolean checkLiveness) {
@@ -412,6 +418,25 @@ public void setCheckLetterScreen(@javax.annotation.Nullable Boolean checkLetterS
412418
this.checkLetterScreen = checkLetterScreen;
413419
}
414420

421+
public AuthParams checkSecurityText(@javax.annotation.Nullable Boolean checkSecurityText) {
422+
this.checkSecurityText = checkSecurityText;
423+
return this;
424+
}
425+
426+
/**
427+
* This parameter is used to enable Security text check
428+
*
429+
* @return checkSecurityText
430+
*/
431+
@javax.annotation.Nullable
432+
public Boolean getCheckSecurityText() {
433+
return checkSecurityText;
434+
}
435+
436+
public void setCheckSecurityText(@javax.annotation.Nullable Boolean checkSecurityText) {
437+
this.checkSecurityText = checkSecurityText;
438+
}
439+
415440
@Override
416441
public boolean equals(Object o) {
417442
if (this == o) {
@@ -435,7 +460,8 @@ public boolean equals(Object o) {
435460
&& Objects.equals(this.checkIPI, authParams.checkIPI)
436461
&& Objects.equals(this.checkPhotoEmbedding, authParams.checkPhotoEmbedding)
437462
&& Objects.equals(this.checkPhotoComparison, authParams.checkPhotoComparison)
438-
&& Objects.equals(this.checkLetterScreen, authParams.checkLetterScreen);
463+
&& Objects.equals(this.checkLetterScreen, authParams.checkLetterScreen)
464+
&& Objects.equals(this.checkSecurityText, authParams.checkSecurityText);
439465
}
440466

441467
@Override
@@ -455,7 +481,8 @@ public int hashCode() {
455481
checkIPI,
456482
checkPhotoEmbedding,
457483
checkPhotoComparison,
458-
checkLetterScreen);
484+
checkLetterScreen,
485+
checkSecurityText);
459486
}
460487

461488
@Override
@@ -483,6 +510,7 @@ public String toString() {
483510
.append(toIndentedString(checkPhotoComparison))
484511
.append("\n");
485512
sb.append(" checkLetterScreen: ").append(toIndentedString(checkLetterScreen)).append("\n");
513+
sb.append(" checkSecurityText: ").append(toIndentedString(checkSecurityText)).append("\n");
486514
sb.append("}");
487515
return sb.toString();
488516
}
@@ -518,6 +546,7 @@ private String toIndentedString(Object o) {
518546
openapiFields.add("checkPhotoEmbedding");
519547
openapiFields.add("checkPhotoComparison");
520548
openapiFields.add("checkLetterScreen");
549+
openapiFields.add("checkSecurityText");
521550

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ public enum CheckDiagnose {
254254

255255
LASINK_INVALID_LINES_FREQUENCY(230),
256256

257+
DOC_LIVENESS_DOCUMENT_NOT_LIVE(238),
258+
257259
DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED(239),
258260

259261
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED(240),

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

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public class LivenessParams {
5757
@javax.annotation.Nullable
5858
private Boolean checkED;
5959

60+
public static final String SERIALIZED_NAME_CHECK_BLACK_AND_WHITE_COPY = "checkBlackAndWhiteCopy";
61+
62+
@SerializedName(SERIALIZED_NAME_CHECK_BLACK_AND_WHITE_COPY)
63+
@javax.annotation.Nullable
64+
private Boolean checkBlackAndWhiteCopy;
65+
6066
public LivenessParams() {}
6167

6268
public LivenessParams checkOVI(@javax.annotation.Nullable Boolean checkOVI) {
@@ -135,6 +141,26 @@ public void setCheckED(@javax.annotation.Nullable Boolean checkED) {
135141
this.checkED = checkED;
136142
}
137143

144+
public LivenessParams checkBlackAndWhiteCopy(
145+
@javax.annotation.Nullable Boolean checkBlackAndWhiteCopy) {
146+
this.checkBlackAndWhiteCopy = checkBlackAndWhiteCopy;
147+
return this;
148+
}
149+
150+
/**
151+
* This parameter is used to enable Black and white copy check
152+
*
153+
* @return checkBlackAndWhiteCopy
154+
*/
155+
@javax.annotation.Nullable
156+
public Boolean getCheckBlackAndWhiteCopy() {
157+
return checkBlackAndWhiteCopy;
158+
}
159+
160+
public void setCheckBlackAndWhiteCopy(@javax.annotation.Nullable Boolean checkBlackAndWhiteCopy) {
161+
this.checkBlackAndWhiteCopy = checkBlackAndWhiteCopy;
162+
}
163+
138164
@Override
139165
public boolean equals(Object o) {
140166
if (this == o) {
@@ -147,12 +173,13 @@ public boolean equals(Object o) {
147173
return Objects.equals(this.checkOVI, livenessParams.checkOVI)
148174
&& Objects.equals(this.checkMLI, livenessParams.checkMLI)
149175
&& Objects.equals(this.checkHolo, livenessParams.checkHolo)
150-
&& Objects.equals(this.checkED, livenessParams.checkED);
176+
&& Objects.equals(this.checkED, livenessParams.checkED)
177+
&& Objects.equals(this.checkBlackAndWhiteCopy, livenessParams.checkBlackAndWhiteCopy);
151178
}
152179

153180
@Override
154181
public int hashCode() {
155-
return Objects.hash(checkOVI, checkMLI, checkHolo, checkED);
182+
return Objects.hash(checkOVI, checkMLI, checkHolo, checkED, checkBlackAndWhiteCopy);
156183
}
157184

158185
@Override
@@ -163,6 +190,9 @@ public String toString() {
163190
sb.append(" checkMLI: ").append(toIndentedString(checkMLI)).append("\n");
164191
sb.append(" checkHolo: ").append(toIndentedString(checkHolo)).append("\n");
165192
sb.append(" checkED: ").append(toIndentedString(checkED)).append("\n");
193+
sb.append(" checkBlackAndWhiteCopy: ")
194+
.append(toIndentedString(checkBlackAndWhiteCopy))
195+
.append("\n");
166196
sb.append("}");
167197
return sb.toString();
168198
}
@@ -187,6 +217,7 @@ private String toIndentedString(Object o) {
187217
openapiFields.add("checkMLI");
188218
openapiFields.add("checkHolo");
189219
openapiFields.add("checkED");
220+
openapiFields.add("checkBlackAndWhiteCopy");
190221

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

0 commit comments

Comments
 (0)