Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "4204f00",
"long_sha": "4204f00a2c7f0f5bd61da3b5442d8eb613418e9e",
"version": "v6.0.0"
"short_sha": "6a19890",
"long_sha": "6a198909828b3935c65b669e44cf2927e84957c0",
"version": "v6.0.1"
},
"release": "v7.0.0"
"release": "v7.1.0"
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.onfido</groupId>
<artifactId>onfido-api-java</artifactId>
<version>7.0.0</version>
<version>7.1.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -66,7 +66,7 @@ Add this dependency to your project's build file:
}

dependencies {
implementation "com.onfido:onfido-api-java:7.0.0"
implementation "com.onfido:onfido-api-java:7.1.0"
}
```

Expand All @@ -80,10 +80,10 @@ mvn clean package

Then manually install the following JARs:

- `target/onfido-api-java-7.0.0.jar`
- `target/onfido-api-java-7.1.0.jar`
- `target/lib/*.jar`

The latest version can be found at <https://search.maven.org/artifact/com.onfido/onfido-api-java/7.0.0/jar>.
The latest version can be found at <https://search.maven.org/artifact/com.onfido/onfido-api-java/7.1.0/jar>.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'com.onfido'
version = '7.0.0'
version = '7.1.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.onfido",
name := "onfido-api-java",
version := "7.0.0",
version := "7.1.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>onfido-api-java</artifactId>
<packaging>jar</packaging>
<name>onfido-api-java</name>
<version>7.0.0</version>
<version>7.1.0</version>
<url>https://documentation.onfido.com</url>
<description>Official Java API client library for the Onfido API</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/onfido/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("onfido-java/7.0.0");
setUserAgent("onfido-java/7.1.0");

authentications = new HashMap<String, Authentication>();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/onfido/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.16.0")
public class Configuration {
public static final String VERSION = "7.0.0";
public static final String VERSION = "7.1.0";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
@javax.annotation.Nullable
private Boolean randomizedDevice;

public static final String SERIALIZED_NAME_NUMBER_OF_IP_REUSE_REPORTS = "number_of_ip_reuse_reports";
@SerializedName(SERIALIZED_NAME_NUMBER_OF_IP_REUSE_REPORTS)
@javax.annotation.Nullable
private BigDecimal numberOfIpReuseReports;

public static final String SERIALIZED_NAME_NUMBER_OF_SUSPECTED_IP_REUSE_REPORTS = "number_of_suspected_ip_reuse_reports";
@SerializedName(SERIALIZED_NAME_NUMBER_OF_SUSPECTED_IP_REUSE_REPORTS)
@javax.annotation.Nullable
private BigDecimal numberOfSuspectedIpReuseReports;

public static final String SERIALIZED_NAME_FAKE_NETWORK_REQUEST = "fake_network_request";
@SerializedName(SERIALIZED_NAME_FAKE_NETWORK_REQUEST)
@javax.annotation.Nullable
Expand Down Expand Up @@ -555,6 +565,44 @@ public void setRandomizedDevice(@javax.annotation.Nullable Boolean randomizedDev
}


public DeviceIntelligencePropertiesDevice numberOfIpReuseReports(@javax.annotation.Nullable BigDecimal numberOfIpReuseReports) {
this.numberOfIpReuseReports = numberOfIpReuseReports;
return this;
}

/**
* Counts the number of distinct document reports submitted in the last 24 hours that are associated with the applicant’s IP address.
* @return numberOfIpReuseReports
*/
@javax.annotation.Nullable
public BigDecimal getNumberOfIpReuseReports() {
return numberOfIpReuseReports;
}

public void setNumberOfIpReuseReports(@javax.annotation.Nullable BigDecimal numberOfIpReuseReports) {
this.numberOfIpReuseReports = numberOfIpReuseReports;
}


public DeviceIntelligencePropertiesDevice numberOfSuspectedIpReuseReports(@javax.annotation.Nullable BigDecimal numberOfSuspectedIpReuseReports) {
this.numberOfSuspectedIpReuseReports = numberOfSuspectedIpReuseReports;
return this;
}

/**
* Counts the number of distinct document reports from the last 24 hours associated with the applicant’s IP address that have a result of suspected and other document integrity or authenticity signals have been flagged.
* @return numberOfSuspectedIpReuseReports
*/
@javax.annotation.Nullable
public BigDecimal getNumberOfSuspectedIpReuseReports() {
return numberOfSuspectedIpReuseReports;
}

public void setNumberOfSuspectedIpReuseReports(@javax.annotation.Nullable BigDecimal numberOfSuspectedIpReuseReports) {
this.numberOfSuspectedIpReuseReports = numberOfSuspectedIpReuseReports;
}


public DeviceIntelligencePropertiesDevice fakeNetworkRequest(@javax.annotation.Nullable Boolean fakeNetworkRequest) {
this.fakeNetworkRequest = fakeNetworkRequest;
return this;
Expand Down Expand Up @@ -731,6 +779,8 @@ public boolean equals(Object o) {
Objects.equals(this.browser, deviceIntelligencePropertiesDevice.browser) &&
Objects.equals(this.emulator, deviceIntelligencePropertiesDevice.emulator) &&
Objects.equals(this.randomizedDevice, deviceIntelligencePropertiesDevice.randomizedDevice) &&
Objects.equals(this.numberOfIpReuseReports, deviceIntelligencePropertiesDevice.numberOfIpReuseReports) &&
Objects.equals(this.numberOfSuspectedIpReuseReports, deviceIntelligencePropertiesDevice.numberOfSuspectedIpReuseReports) &&
Objects.equals(this.fakeNetworkRequest, deviceIntelligencePropertiesDevice.fakeNetworkRequest) &&
Objects.equals(this.ipReputation, deviceIntelligencePropertiesDevice.ipReputation) &&
Objects.equals(this.deviceFingerprintReuse, deviceIntelligencePropertiesDevice.deviceFingerprintReuse) &&
Expand All @@ -746,7 +796,7 @@ private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b)

@Override
public int hashCode() {
return Objects.hash(sdkVersion, sdkSource, authenticationType, rawModel, os, browser, emulator, randomizedDevice, fakeNetworkRequest, ipReputation, deviceFingerprintReuse, singleDeviceUsed, documentCapture, biometricCapture, additionalProperties);
return Objects.hash(sdkVersion, sdkSource, authenticationType, rawModel, os, browser, emulator, randomizedDevice, numberOfIpReuseReports, numberOfSuspectedIpReuseReports, fakeNetworkRequest, ipReputation, deviceFingerprintReuse, singleDeviceUsed, documentCapture, biometricCapture, additionalProperties);
}

private static <T> int hashCodeNullable(JsonNullable<T> a) {
Expand All @@ -768,6 +818,8 @@ public String toString() {
sb.append(" browser: ").append(toIndentedString(browser)).append("\n");
sb.append(" emulator: ").append(toIndentedString(emulator)).append("\n");
sb.append(" randomizedDevice: ").append(toIndentedString(randomizedDevice)).append("\n");
sb.append(" numberOfIpReuseReports: ").append(toIndentedString(numberOfIpReuseReports)).append("\n");
sb.append(" numberOfSuspectedIpReuseReports: ").append(toIndentedString(numberOfSuspectedIpReuseReports)).append("\n");
sb.append(" fakeNetworkRequest: ").append(toIndentedString(fakeNetworkRequest)).append("\n");
sb.append(" ipReputation: ").append(toIndentedString(ipReputation)).append("\n");
sb.append(" deviceFingerprintReuse: ").append(toIndentedString(deviceFingerprintReuse)).append("\n");
Expand Down Expand Up @@ -796,7 +848,7 @@ private String toIndentedString(Object o) {

static {
// a set of all properties/fields (JSON key names)
openapiFields = new HashSet<String>(Arrays.asList("sdk_version", "sdk_source", "authentication_type", "raw_model", "os", "browser", "emulator", "randomized_device", "fake_network_request", "ip_reputation", "device_fingerprint_reuse", "single_device_used", "document_capture", "biometric_capture"));
openapiFields = new HashSet<String>(Arrays.asList("sdk_version", "sdk_source", "authentication_type", "raw_model", "os", "browser", "emulator", "randomized_device", "number_of_ip_reuse_reports", "number_of_suspected_ip_reuse_reports", "fake_network_request", "ip_reputation", "device_fingerprint_reuse", "single_device_used", "document_capture", "biometric_capture"));

// a set of required properties/fields (JSON key names)
openapiRequiredFields = new HashSet<String>(0);
Expand Down
Loading