From 280c3c38077a73534bd2bc309fe879236e72544c Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 31 Aug 2026 11:08:19 +0000 Subject: [PATCH] Commit: ab6132d1 --- client/.openapi-generator/FILES | 1 + .../webclient/model/ProcessParams.java | 12 +-- .../webclient/model/RfidAccessControl.java | 80 +++++++++++++++++++ .../webclient/model/RfidApplicationType.java | 8 +- .../webclient/model/RfidPasswordType.java | 5 +- 5 files changed, 95 insertions(+), 11 deletions(-) create mode 100644 client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControl.java diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES index 0d27dc50..322531e4 100755 --- a/client/.openapi-generator/FILES +++ b/client/.openapi-generator/FILES @@ -195,6 +195,7 @@ src/main/generated/com/regula/documentreader/webclient/model/ResultItem.java src/main/generated/com/regula/documentreader/webclient/model/ResultMRZDetector.java src/main/generated/com/regula/documentreader/webclient/model/ResultMRZDetectorItem.java src/main/generated/com/regula/documentreader/webclient/model/RfidAChip.java +src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControl.java src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlInfo.java src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControlProcedureType.java src/main/generated/com/regula/documentreader/webclient/model/RfidAccessKey.java 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 44fb10c2..8ca107b4 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/ProcessParams.java @@ -105,7 +105,6 @@ public class ProcessParams { public static final String SERIALIZED_NAME_DOUBLE_PAGE_SPREAD = "doublePageSpread"; - @Deprecated @SerializedName(SERIALIZED_NAME_DOUBLE_PAGE_SPREAD) @javax.annotation.Nullable private Boolean doublePageSpread; @@ -703,28 +702,23 @@ public void setResultTypeOutput(@javax.annotation.Nullable List resultTy this.resultTypeOutput = resultTypeOutput; } - @Deprecated public ProcessParams doublePageSpread(@javax.annotation.Nullable Boolean doublePageSpread) { this.doublePageSpread = doublePageSpread; return this; } /** - * Enable this option if the image you provide contains double page spread of the passport and you - * want to process both pages in one go. It makes sense to use it for documents that have - * meaningful information on both pages, like Russian domestic passport, or some others. Disabled - * by default. + * This option can be set to true if the image you provide contains double page spread of the + * passport and you want to process both pages in one go. It makes sense to use it for documents + * that have meaningful information on both pages. If disabled, only one page is extracted. * * @return doublePageSpread - * @deprecated */ - @Deprecated @javax.annotation.Nullable public Boolean getDoublePageSpread() { return doublePageSpread; } - @Deprecated public void setDoublePageSpread(@javax.annotation.Nullable Boolean doublePageSpread) { this.doublePageSpread = doublePageSpread; } diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControl.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControl.java new file mode 100644 index 00000000..a0c25fb9 --- /dev/null +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidAccessControl.java @@ -0,0 +1,80 @@ +/* + * Regula Document Reader Web API + * Fast and reliable identity document verification for on-premises installation or cloud integration. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core # Documentation Go to [Regula Developer Documentation](https://docs.regulaforensics.com/develop/doc-reader-sdk/web-service) to read the technologies description, licensing information, release notes, and instructions on the integration, installation, migration, etc. # Technical Support To submit a request to the Support Team, visit [Regula Help Center](https://support.regulaforensics.com/hc/en-us/requests/new). # Business Enquiries To discuss business opportunities, fill the [Enquiry Form](https://explore.regula.app/docs-support-request) and specify your scenarios, applications, and technical requirements. + * + * The version of the OpenAPI document: 8.1.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +package com.regula.documentreader.webclient.model; + +import com.google.gson.JsonElement; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +/** Gets or Sets RfidAccessControl */ +@JsonAdapter(RfidAccessControl.Adapter.class) +public enum RfidAccessControl { + + /** Default */ + DEFAULT(0), + + /** Chip access BAC */ + CHIP_ACCESS_BAC(1), + + /** Chip access PACE */ + CHIP_ACCESS_PACE(2), + + /** Local PIN */ + LOCAL_PIN(3); + + private Integer value; + + RfidAccessControl(Integer value) { + this.value = value; + } + + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static RfidAccessControl fromValue(Integer value) { + for (RfidAccessControl b : RfidAccessControl.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final RfidAccessControl enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public RfidAccessControl read(final JsonReader jsonReader) throws IOException { + Integer value = jsonReader.nextInt(); + return RfidAccessControl.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + Integer value = jsonElement.getAsInt(); + RfidAccessControl.fromValue(value); + } +} diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java index 1ca28105..d00bb1ce 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidApplicationType.java @@ -51,7 +51,13 @@ public enum RfidApplicationType { LDS2_AddBiometrics(7), /** Digital Travel Credentials */ - eDTC_PC(8); + eDTC_PC(8), + + /** Master File */ + APPLET_ROOT(50), + + /** Applet root */ + USER_DEFINED(100); private Integer value; diff --git a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java index 262313fe..29c037bf 100644 --- a/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java +++ b/client/src/main/generated/com/regula/documentreader/webclient/model/RfidPasswordType.java @@ -48,7 +48,10 @@ public enum RfidPasswordType { SAI(6), /** MRZ hash */ - MRZ_HASH(7); + MRZ_HASH(7), + + /** PIN (local) */ + PIN_LOCAL(8); private Integer value;