diff --git a/.release.json b/.release.json
index bb30e12..e5b52f1 100644
--- a/.release.json
+++ b/.release.json
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
- "short_sha": "f941ec8",
- "long_sha": "f941ec84c3aeb0d3fcceea537991ba7e1ac96414",
- "version": "v3.3.0"
+ "short_sha": "a33e3b2",
+ "long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65",
+ "version": "v3.4.0"
},
- "release": "v4.1.0"
+ "release": "v4.2.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5ec6a25..ec728c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,8 +3,8 @@
## v4.1.0 24th July 2024
- Release based on Onfido OpenAPI spec version [v3.3.0](https://github.com/onfido/onfido-openapi-spec/releases/tag/v3.3.0):
- - Expose `customer_user_id` in `workflow_runs`
- - adding sdk_token to workflow run schema
+ - Expose `customer_user_id` in `workflow_runs`
+ - adding sdk_token to workflow run schema
## v4.0.0 17th July 2024
diff --git a/README.md b/README.md
index 5967a57..dbf01e8 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ Add this dependency to your project's POM:
com.onfido
onfido-api-java
- 4.1.0
+ 4.2.0
compile
```
@@ -59,7 +59,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.onfido:onfido-api-java:4.1.0"
+ implementation "com.onfido:onfido-api-java:4.2.0"
}
```
@@ -73,10 +73,10 @@ mvn clean package
Then manually install the following JARs:
-- `target/onfido-api-java-4.1.0.jar`
+- `target/onfido-api-java-4.2.0.jar`
- `target/lib/*.jar`
-The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.1.0
+The latest version can be found at: https://search.maven.org/artifact/com.onfido/4.2.0
## Getting Started
diff --git a/build.gradle b/build.gradle
index 9d126c9..ae5c847 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'
group = 'com.onfido'
-version = '4.1.0'
+version = '4.2.0'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index ce32d14..830d5db 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.onfido",
name := "onfido-api-java",
- version := "4.1.0",
+ version := "4.2.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/pom.xml b/pom.xml
index 1fc62f8..9017583 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
onfido-api-java
jar
onfido-api-java
- 4.1.0
+ 4.2.0
https://documentation.onfido.com
Official Java API client library for the Onfido API
diff --git a/src/main/java/com/onfido/ApiClient.java b/src/main/java/com/onfido/ApiClient.java
index ee88f16..a2d309f 100644
--- a/src/main/java/com/onfido/ApiClient.java
+++ b/src/main/java/com/onfido/ApiClient.java
@@ -160,7 +160,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("onfido-java/4.1.0");
+ setUserAgent("onfido-java/4.2.0");
authentications = new HashMap();
}
diff --git a/src/main/java/com/onfido/Configuration.java b/src/main/java/com/onfido/Configuration.java
index 2a392b9..5db1244 100644
--- a/src/main/java/com/onfido/Configuration.java
+++ b/src/main/java/com/onfido/Configuration.java
@@ -15,7 +15,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0")
public class Configuration {
- public static final String VERSION = "4.1.0";
+ public static final String VERSION = "4.2.0";
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/src/main/java/com/onfido/model/SdkTokenBuilder.java b/src/main/java/com/onfido/model/SdkTokenBuilder.java
index ee96fa3..e8d0819 100644
--- a/src/main/java/com/onfido/model/SdkTokenBuilder.java
+++ b/src/main/java/com/onfido/model/SdkTokenBuilder.java
@@ -62,7 +62,7 @@ public class SdkTokenBuilder {
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private UUID applicationId;
+ private String applicationId;
public static final String SERIALIZED_NAME_CROSS_DEVICE_URL = "cross_device_url";
@SerializedName(SERIALIZED_NAME_CROSS_DEVICE_URL)
@@ -109,7 +109,7 @@ public void setReferrer(String referrer) {
}
- public SdkTokenBuilder applicationId(UUID applicationId) {
+ public SdkTokenBuilder applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
@@ -119,11 +119,11 @@ public SdkTokenBuilder applicationId(UUID applicationId) {
* @return applicationId
**/
@javax.annotation.Nullable
- public UUID getApplicationId() {
+ public String getApplicationId() {
return applicationId;
}
- public void setApplicationId(UUID applicationId) {
+ public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}
diff --git a/src/main/java/com/onfido/model/SdkTokenRequest.java b/src/main/java/com/onfido/model/SdkTokenRequest.java
index fd81bc0..1032cc3 100644
--- a/src/main/java/com/onfido/model/SdkTokenRequest.java
+++ b/src/main/java/com/onfido/model/SdkTokenRequest.java
@@ -62,7 +62,7 @@ public class SdkTokenRequest {
public static final String SERIALIZED_NAME_APPLICATION_ID = "application_id";
@SerializedName(SERIALIZED_NAME_APPLICATION_ID)
- private UUID applicationId;
+ private String applicationId;
public static final String SERIALIZED_NAME_CROSS_DEVICE_URL = "cross_device_url";
@SerializedName(SERIALIZED_NAME_CROSS_DEVICE_URL)
@@ -109,7 +109,7 @@ public void setReferrer(String referrer) {
}
- public SdkTokenRequest applicationId(UUID applicationId) {
+ public SdkTokenRequest applicationId(String applicationId) {
this.applicationId = applicationId;
return this;
}
@@ -119,11 +119,11 @@ public SdkTokenRequest applicationId(UUID applicationId) {
* @return applicationId
**/
@javax.annotation.Nullable
- public UUID getApplicationId() {
+ public String getApplicationId() {
return applicationId;
}
- public void setApplicationId(UUID applicationId) {
+ public void setApplicationId(String applicationId) {
this.applicationId = applicationId;
}