diff --git a/README.md b/README.md index 12aa73a..22e299b 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Currently, the package is available in Github Packages, so make sure to have the ai.pluggy pluggy-java - 0.16.0 + 0.16.1 ``` diff --git a/pom.xml b/pom.xml index 7698688..a8c388d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ ai.pluggy pluggy-java - 0.16.0 + 0.16.1 jar diff --git a/src/main/java/ai/pluggy/client/PluggyClient.java b/src/main/java/ai/pluggy/client/PluggyClient.java index e363dff..64e8109 100644 --- a/src/main/java/ai/pluggy/client/PluggyClient.java +++ b/src/main/java/ai/pluggy/client/PluggyClient.java @@ -286,7 +286,7 @@ public String authenticate() throws IOException, PluggyException { .post(body) .addHeader("content-type", "application/json") .addHeader("cache-control", "no-cache") - .addHeader("User-Agent", "PluggyJava/0.16.0") + .addHeader("User-Agent", "PluggyJava/0.16.1") .build(); String apiKey; diff --git a/src/main/java/ai/pluggy/client/auth/ApiKeyAuthInterceptor.java b/src/main/java/ai/pluggy/client/auth/ApiKeyAuthInterceptor.java index 1e756e6..01b3702 100644 --- a/src/main/java/ai/pluggy/client/auth/ApiKeyAuthInterceptor.java +++ b/src/main/java/ai/pluggy/client/auth/ApiKeyAuthInterceptor.java @@ -115,7 +115,7 @@ private Request requestWithAuth(Request originalRequest, String apiKey) { return originalRequest.newBuilder() .header(X_API_KEY_HEADER, apiKey) // TOOD: add dynamic version - .header("User-Agent", "PluggyJava/0.16.0") + .header("User-Agent", "PluggyJava/0.16.1") .build(); } diff --git a/src/main/java/ai/pluggy/client/response/Connector.java b/src/main/java/ai/pluggy/client/response/Connector.java index 0d52325..96f6c37 100644 --- a/src/main/java/ai/pluggy/client/response/Connector.java +++ b/src/main/java/ai/pluggy/client/response/Connector.java @@ -18,4 +18,7 @@ public class Connector { String imageUrl; Boolean hasMFA; Date createdAt; + Boolean isOpenFinance; + Boolean supportsPaymentInitiation; + Boolean isSandbox; }