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
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.82.1
v3.82.2
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>ai.reveng</groupId>
<artifactId>sdk</artifactId>
<version>3.82.1</version>
<version>3.82.2</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:3.82.1"
implementation "ai.reveng:sdk:3.82.2"
}
```

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

group = 'ai.reveng'
version = '3.82.1'
version = '3.82.2'



Expand Down Expand Up @@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()

coordinates("ai.reveng", "sdk", "3.82.1")
coordinates("ai.reveng", "sdk", "3.82.2")

pom {
name = "sdk"
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 := "ai.reveng",
name := "sdk",
version := "3.82.1",
version := "3.82.2",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 1 addition & 0 deletions docs/ErrorBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
| EXTERNAL_USER | &quot;EXTERNAL_USER&quot; |
| FORBIDDEN | &quot;FORBIDDEN&quot; |
| GATEWAY_TIMEOUT | &quot;GATEWAY_TIMEOUT&quot; |
| GROUP_HAS_MEMBERS | &quot;GROUP_HAS_MEMBERS&quot; |
| INSUFFICIENT_CREDITS | &quot;INSUFFICIENT_CREDITS&quot; |
| INTERNAL_ERROR | &quot;INTERNAL_ERROR&quot; |
| INTERNAL_ISSUER | &quot;INTERNAL_ISSUER&quot; |
Expand Down
3 changes: 1 addition & 2 deletions docs/ReportsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ All URIs are relative to *https://api.reveng.ai*

Start PDF report generation

Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;409&#x60; [&#x60;ANALYSIS_NOT_READY&#x60;](/errors/ANALYSIS_NOT_READY) β€” Analysis Not Ready
Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. Idempotent: if a workflow is already running for this analysis and user, the same task_id is returned with &#x60;already_running: true&#x60; so the caller can rejoin the in-flight workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found

### Example
```java
Expand Down Expand Up @@ -79,7 +79,6 @@ public class Example {
| **202** | Accepted | - |
| **403** | Forbidden | - |
| **404** | Not Found | - |
| **409** | Conflict | - |
| **422** | Unprocessable Entity | - |
| **500** | Internal Server Error | - |

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>sdk</artifactId>
<packaging>jar</packaging>
<name>sdk</name>
<version>3.82.1</version>
<version>3.82.2</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
10 changes: 3 additions & 7 deletions src/main/java/ai/reveng/api/ReportsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public void setCustomBaseUrl(String customBaseUrl) {
<tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
<tr><td> 409 </td><td> Conflict </td><td> - </td></tr>
<tr><td> 422 </td><td> Unprocessable Entity </td><td> - </td></tr>
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
</table>
Expand Down Expand Up @@ -149,7 +148,7 @@ private okhttp3.Call createPdfReportValidateBeforeCall(@javax.annotation.Nonnull

/**
* Start PDF report generation
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;409&#x60; [&#x60;ANALYSIS_NOT_READY&#x60;](/errors/ANALYSIS_NOT_READY) β€” Analysis Not Ready
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. Idempotent: if a workflow is already running for this analysis and user, the same task_id is returned with &#x60;already_running: true&#x60; so the caller can rejoin the in-flight workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found
* @param analysisId Analysis ID (required)
* @return GeneratePDFOutputBody
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
Expand All @@ -160,7 +159,6 @@ private okhttp3.Call createPdfReportValidateBeforeCall(@javax.annotation.Nonnull
<tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
<tr><td> 409 </td><td> Conflict </td><td> - </td></tr>
<tr><td> 422 </td><td> Unprocessable Entity </td><td> - </td></tr>
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
</table>
Expand All @@ -172,7 +170,7 @@ public GeneratePDFOutputBody createPdfReport(@javax.annotation.Nonnull Long anal

/**
* Start PDF report generation
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;409&#x60; [&#x60;ANALYSIS_NOT_READY&#x60;](/errors/ANALYSIS_NOT_READY) β€” Analysis Not Ready
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. Idempotent: if a workflow is already running for this analysis and user, the same task_id is returned with &#x60;already_running: true&#x60; so the caller can rejoin the in-flight workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found
* @param analysisId Analysis ID (required)
* @return ApiResponse&lt;GeneratePDFOutputBody&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
Expand All @@ -183,7 +181,6 @@ public GeneratePDFOutputBody createPdfReport(@javax.annotation.Nonnull Long anal
<tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
<tr><td> 409 </td><td> Conflict </td><td> - </td></tr>
<tr><td> 422 </td><td> Unprocessable Entity </td><td> - </td></tr>
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
</table>
Expand All @@ -196,7 +193,7 @@ public ApiResponse<GeneratePDFOutputBody> createPdfReportWithHttpInfo(@javax.ann

/**
* Start PDF report generation (asynchronously)
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found - &#x60;409&#x60; [&#x60;ANALYSIS_NOT_READY&#x60;](/errors/ANALYSIS_NOT_READY) β€” Analysis Not Ready
* Starts an asynchronous PDF report generation workflow for the given analysis. Returns a deterministic task_id used to poll status and download the resulting PDF. Idempotent: if a workflow is already running for this analysis and user, the same task_id is returned with &#x60;already_running: true&#x60; so the caller can rejoin the in-flight workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;404&#x60; [&#x60;NOT_FOUND&#x60;](/errors/NOT_FOUND) β€” Not Found
* @param analysisId Analysis ID (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
Expand All @@ -208,7 +205,6 @@ public ApiResponse<GeneratePDFOutputBody> createPdfReportWithHttpInfo(@javax.ann
<tr><td> 202 </td><td> Accepted </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
<tr><td> 409 </td><td> Conflict </td><td> - </td></tr>
<tr><td> 422 </td><td> Unprocessable Entity </td><td> - </td></tr>
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/reveng/invoker/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/3.82.1/java");
setUserAgent("OpenAPI-Generator/3.82.2/java");

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

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
public static final String VERSION = "3.82.1";
public static final String VERSION = "3.82.2";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/ai/reveng/model/ErrorBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public enum CodeEnum {

GATEWAY_TIMEOUT("GATEWAY_TIMEOUT"),

GROUP_HAS_MEMBERS("GROUP_HAS_MEMBERS"),

INSUFFICIENT_CREDITS("INSUFFICIENT_CREDITS"),

INTERNAL_ERROR("INTERNAL_ERROR"),
Expand Down