Skip to content

Commit 62a0b7b

Browse files
author
regula-bot
committed
Merge remote-tracking branch 'origin/develop' into stable
2 parents 688ff7f + aaba055 commit 62a0b7b

File tree

9 files changed

+348
-30
lines changed

9 files changed

+348
-30
lines changed

client/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ src/main/generated/com/regula/documentreader/webclient/model/ProcessRequestImage
177177
src/main/generated/com/regula/documentreader/webclient/model/ProcessResponse.java
178178
src/main/generated/com/regula/documentreader/webclient/model/ProcessSystemInfo.java
179179
src/main/generated/com/regula/documentreader/webclient/model/ProcessingStatus.java
180+
src/main/generated/com/regula/documentreader/webclient/model/PropertiesParams.java
180181
src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedField.java
181182
src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedFieldItem.java
182183
src/main/generated/com/regula/documentreader/webclient/model/RFIDDocVisualExtendedInfo.java

client/src/main/generated/com/regula/documentreader/webclient/JSON.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,8 @@ private static Class getClassByDiscriminator(
13161316
new com.regula.documentreader.webclient.model.ProcessResponse.CustomTypeAdapterFactory());
13171317
gsonBuilder.registerTypeAdapterFactory(
13181318
new com.regula.documentreader.webclient.model.ProcessSystemInfo.CustomTypeAdapterFactory());
1319+
gsonBuilder.registerTypeAdapterFactory(
1320+
new com.regula.documentreader.webclient.model.PropertiesParams.CustomTypeAdapterFactory());
13191321
gsonBuilder.registerTypeAdapterFactory(
13201322
new com.regula.documentreader.webclient.model.RFIDDocVisualExtendedField
13211323
.CustomTypeAdapterFactory());

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

Lines changed: 66 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,18 @@ public class AuthParams {
128128
@javax.annotation.Nullable
129129
private Boolean checkSecurityText;
130130

131+
public static final String SERIALIZED_NAME_CHECK_PROPERTIES = "checkProperties";
132+
133+
@SerializedName(SERIALIZED_NAME_CHECK_PROPERTIES)
134+
@javax.annotation.Nullable
135+
private Boolean checkProperties;
136+
137+
public static final String SERIALIZED_NAME_PROPERTIES_PARAMS = "propertiesParams";
138+
139+
@SerializedName(SERIALIZED_NAME_PROPERTIES_PARAMS)
140+
@javax.annotation.Nullable
141+
private PropertiesParams propertiesParams;
142+
131143
public AuthParams() {}
132144

133145
public AuthParams checkLiveness(@javax.annotation.Nullable Boolean checkLiveness) {
@@ -436,6 +448,45 @@ public void setCheckSecurityText(@javax.annotation.Nullable Boolean checkSecurit
436448
this.checkSecurityText = checkSecurityText;
437449
}
438450

451+
public AuthParams checkProperties(@javax.annotation.Nullable Boolean checkProperties) {
452+
this.checkProperties = checkProperties;
453+
return this;
454+
}
455+
456+
/**
457+
* Set to true to enable detection of the document properties, such as holder's signature and
458+
* other attributes.
459+
*
460+
* @return checkProperties
461+
*/
462+
@javax.annotation.Nullable
463+
public Boolean getCheckProperties() {
464+
return checkProperties;
465+
}
466+
467+
public void setCheckProperties(@javax.annotation.Nullable Boolean checkProperties) {
468+
this.checkProperties = checkProperties;
469+
}
470+
471+
public AuthParams propertiesParams(@javax.annotation.Nullable PropertiesParams propertiesParams) {
472+
this.propertiesParams = propertiesParams;
473+
return this;
474+
}
475+
476+
/**
477+
* Get propertiesParams
478+
*
479+
* @return propertiesParams
480+
*/
481+
@javax.annotation.Nullable
482+
public PropertiesParams getPropertiesParams() {
483+
return propertiesParams;
484+
}
485+
486+
public void setPropertiesParams(@javax.annotation.Nullable PropertiesParams propertiesParams) {
487+
this.propertiesParams = propertiesParams;
488+
}
489+
439490
@Override
440491
public boolean equals(Object o) {
441492
if (this == o) {
@@ -460,7 +511,9 @@ public boolean equals(Object o) {
460511
&& Objects.equals(this.checkPhotoEmbedding, authParams.checkPhotoEmbedding)
461512
&& Objects.equals(this.checkPhotoComparison, authParams.checkPhotoComparison)
462513
&& Objects.equals(this.checkLetterScreen, authParams.checkLetterScreen)
463-
&& Objects.equals(this.checkSecurityText, authParams.checkSecurityText);
514+
&& Objects.equals(this.checkSecurityText, authParams.checkSecurityText)
515+
&& Objects.equals(this.checkProperties, authParams.checkProperties)
516+
&& Objects.equals(this.propertiesParams, authParams.propertiesParams);
464517
}
465518

466519
@Override
@@ -481,7 +534,9 @@ public int hashCode() {
481534
checkPhotoEmbedding,
482535
checkPhotoComparison,
483536
checkLetterScreen,
484-
checkSecurityText);
537+
checkSecurityText,
538+
checkProperties,
539+
propertiesParams);
485540
}
486541

487542
@Override
@@ -510,6 +565,8 @@ public String toString() {
510565
.append("\n");
511566
sb.append(" checkLetterScreen: ").append(toIndentedString(checkLetterScreen)).append("\n");
512567
sb.append(" checkSecurityText: ").append(toIndentedString(checkSecurityText)).append("\n");
568+
sb.append(" checkProperties: ").append(toIndentedString(checkProperties)).append("\n");
569+
sb.append(" propertiesParams: ").append(toIndentedString(propertiesParams)).append("\n");
513570
sb.append("}");
514571
return sb.toString();
515572
}
@@ -547,7 +604,9 @@ private String toIndentedString(Object o) {
547604
"checkPhotoEmbedding",
548605
"checkPhotoComparison",
549606
"checkLetterScreen",
550-
"checkSecurityText"));
607+
"checkSecurityText",
608+
"checkProperties",
609+
"propertiesParams"));
551610

552611
// a set of required properties/fields (JSON key names)
553612
openapiRequiredFields = new HashSet<String>(0);
@@ -575,6 +634,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
575634
if (jsonObj.get("livenessParams") != null && !jsonObj.get("livenessParams").isJsonNull()) {
576635
LivenessParams.validateJsonElement(jsonObj.get("livenessParams"));
577636
}
637+
// validate the optional field `propertiesParams`
638+
if (jsonObj.get("propertiesParams") != null && !jsonObj.get("propertiesParams").isJsonNull()) {
639+
PropertiesParams.validateJsonElement(jsonObj.get("propertiesParams"));
640+
}
578641
}
579642

580643
public static class CustomTypeAdapterFactory implements TypeAdapterFactory {

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ public enum AuthenticityResultType {
9090
EXTENDED_MRZ_CHECK(8388608l),
9191

9292
/** Encrypted IPI */
93-
ENCRYPTED_IPI(16777216l);
93+
ENCRYPTED_IPI(16777216l),
94+
95+
/** Document property check */
96+
PROPERTY(33554432l);
9497

9598
private Long value;
9699

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,13 @@ public enum CheckDiagnose {
282282

283283
CHD_ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT(248),
284284

285-
CHD_INCORRECT_OBJECT_COLOR(250);
285+
CHD_INCORRECT_OBJECT_COLOR(250),
286+
287+
PROPERTY_NO_SIGNATURE(260),
288+
289+
PROPERTY_TEXT_AS_SIGNATURE(261),
290+
291+
PROPERTY_FINGERPRINT_AS_SIGNATURE(262);
286292

287293
private Integer value;
288294

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

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,18 @@ public class ProcessParams {
455455
@javax.annotation.Nullable
456456
private BsiTr03135 bsiTr03135;
457457

458+
public static final String SERIALIZED_NAME_STRICT_EXPIRY_DATE = "strictExpiryDate";
459+
460+
@SerializedName(SERIALIZED_NAME_STRICT_EXPIRY_DATE)
461+
@javax.annotation.Nullable
462+
private Boolean strictExpiryDate;
463+
464+
public static final String SERIALIZED_NAME_CHECK_V_D_S = "checkVDS";
465+
466+
@SerializedName(SERIALIZED_NAME_CHECK_V_D_S)
467+
@javax.annotation.Nullable
468+
private Boolean checkVDS;
469+
458470
public ProcessParams() {}
459471

460472
public ProcessParams generateDTCVC(@javax.annotation.Nullable Boolean generateDTCVC) {
@@ -1945,6 +1957,44 @@ public void setBsiTr03135(@javax.annotation.Nullable BsiTr03135 bsiTr03135) {
19451957
this.bsiTr03135 = bsiTr03135;
19461958
}
19471959

1960+
public ProcessParams strictExpiryDate(@javax.annotation.Nullable Boolean strictExpiryDate) {
1961+
this.strictExpiryDate = strictExpiryDate;
1962+
return this;
1963+
}
1964+
1965+
/**
1966+
* When disabled, date of expiry doesn&#39;t affect the MRZ and text statuses.
1967+
*
1968+
* @return strictExpiryDate
1969+
*/
1970+
@javax.annotation.Nullable
1971+
public Boolean getStrictExpiryDate() {
1972+
return strictExpiryDate;
1973+
}
1974+
1975+
public void setStrictExpiryDate(@javax.annotation.Nullable Boolean strictExpiryDate) {
1976+
this.strictExpiryDate = strictExpiryDate;
1977+
}
1978+
1979+
public ProcessParams checkVDS(@javax.annotation.Nullable Boolean checkVDS) {
1980+
this.checkVDS = checkVDS;
1981+
return this;
1982+
}
1983+
1984+
/**
1985+
* This parameter is used to enable Visible Digital Seal check. Disabled by default.
1986+
*
1987+
* @return checkVDS
1988+
*/
1989+
@javax.annotation.Nullable
1990+
public Boolean getCheckVDS() {
1991+
return checkVDS;
1992+
}
1993+
1994+
public void setCheckVDS(@javax.annotation.Nullable Boolean checkVDS) {
1995+
this.checkVDS = checkVDS;
1996+
}
1997+
19481998
@Override
19491999
public boolean equals(Object o) {
19502000
if (this == o) {
@@ -2025,7 +2075,9 @@ public boolean equals(Object o) {
20252075
this.disableAuthResolutionFilter, processParams.disableAuthResolutionFilter)
20262076
&& Objects.equals(this.strictSecurityChecks, processParams.strictSecurityChecks)
20272077
&& Objects.equals(this.returnTransliteratedFields, processParams.returnTransliteratedFields)
2028-
&& Objects.equals(this.bsiTr03135, processParams.bsiTr03135);
2078+
&& Objects.equals(this.bsiTr03135, processParams.bsiTr03135)
2079+
&& Objects.equals(this.strictExpiryDate, processParams.strictExpiryDate)
2080+
&& Objects.equals(this.checkVDS, processParams.checkVDS);
20292081
}
20302082

20312083
@Override
@@ -2098,7 +2150,9 @@ public int hashCode() {
20982150
disableAuthResolutionFilter,
20992151
strictSecurityChecks,
21002152
returnTransliteratedFields,
2101-
bsiTr03135);
2153+
bsiTr03135,
2154+
strictExpiryDate,
2155+
checkVDS);
21022156
}
21032157

21042158
@Override
@@ -2215,6 +2269,8 @@ public String toString() {
22152269
.append(toIndentedString(returnTransliteratedFields))
22162270
.append("\n");
22172271
sb.append(" bsiTr03135: ").append(toIndentedString(bsiTr03135)).append("\n");
2272+
sb.append(" strictExpiryDate: ").append(toIndentedString(strictExpiryDate)).append("\n");
2273+
sb.append(" checkVDS: ").append(toIndentedString(checkVDS)).append("\n");
22182274
sb.append("}");
22192275
return sb.toString();
22202276
}
@@ -2304,7 +2360,9 @@ private String toIndentedString(Object o) {
23042360
"disableAuthResolutionFilter",
23052361
"strictSecurityChecks",
23062362
"returnTransliteratedFields",
2307-
"bsiTr03135"));
2363+
"bsiTr03135",
2364+
"strictExpiryDate",
2365+
"checkVDS"));
23082366

23092367
// a set of required properties/fields (JSON key names)
23102368
openapiRequiredFields = new HashSet<String>(Arrays.asList("scenario"));

0 commit comments

Comments
 (0)