Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -703,28 +702,23 @@ public void setResultTypeOutput(@javax.annotation.Nullable List<Result> 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;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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<RfidAccessControl> {
@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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down