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.2
v3.84.0
6 changes: 2 additions & 4 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.2</version>
<version>3.84.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

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

Expand Down Expand Up @@ -110,7 +110,6 @@ Class | Method | HTTP request | Description
*AnalysesResultsMetadataApi* | [**getAnalysisFunctionsPaginated**](docs/AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
*AnalysesResultsMetadataApi* | [**getCapabilities**](docs/AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
*AnalysesResultsMetadataApi* | [**getFunctionsList**](docs/AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
*AnalysesResultsMetadataApi* | [**getPdf**](docs/AnalysesResultsMetadataApi.md#getPdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis
*AnalysesResultsMetadataApi* | [**getSbom**](docs/AnalysesResultsMetadataApi.md#getSbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
*AnalysesResultsMetadataApi* | [**getTags**](docs/AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
*AnalysesResultsMetadataApi* | [**getVulnerabilities**](docs/AnalysesResultsMetadataApi.md#getVulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
Expand Down Expand Up @@ -507,7 +506,6 @@ Class | Method | HTTP request | Description
- [ReportEvent](docs/ReportEvent.md)
- [ReportInfo](docs/ReportInfo.md)
- [ReportOptions](docs/ReportOptions.md)
- [RevertOutputBody](docs/RevertOutputBody.md)
- [SBOM](docs/SBOM.md)
- [SBOMPackage](docs/SBOMPackage.md)
- [SandboxOptions](docs/SandboxOptions.md)
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.2'
version = '3.84.0'



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

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

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.2",
version := "3.84.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
1 change: 0 additions & 1 deletion docs/APIError.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**error** | **ErrorBody** | | |


Expand Down
69 changes: 0 additions & 69 deletions docs/AnalysesResultsMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ All URIs are relative to *https://api.reveng.ai*
| [**getAnalysisFunctionsPaginated**](AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis |
| [**getCapabilities**](AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis |
| [**getFunctionsList**](AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis |
| [**getPdf**](AnalysesResultsMetadataApi.md#getPdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis |
| [**getSbom**](AnalysesResultsMetadataApi.md#getSbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis |
| [**getTags**](AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score |
| [**getVulnerabilities**](AnalysesResultsMetadataApi.md#getVulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis |
Expand Down Expand Up @@ -237,74 +236,6 @@ public class Example {
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getPdf"></a>
# **getPdf**
> Object getPdf(analysisId)

Gets the PDF found in the analysis

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AnalysesResultsMetadataApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

AnalysesResultsMetadataApi apiInstance = new AnalysesResultsMetadataApi(defaultClient);
Integer analysisId = 56; // Integer |
try {
Object result = apiInstance.getPdf(analysisId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesResultsMetadataApi#getPdf");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Integer**| | |

### Return type

**Object**

### Authorization

[APIKey](../README.md#APIKey)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getSbom"></a>
# **getSbom**
> BaseResponseListSBOM getSbom(analysisId)
Expand Down
1 change: 1 addition & 0 deletions docs/Basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
|**baseAddress** | **Integer** | | |
|**binaryUuid** | **String** | | [optional] |
|**sequencerVersion** | **String** | | [optional] |
|**teamId** | **Integer** | The team ID of the analysis | |



1 change: 0 additions & 1 deletion docs/BatchRenameInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**functions** | **List&lt;BatchRenameItem&gt;** | List of functions to rename | |


Expand Down
1 change: 0 additions & 1 deletion docs/BatchRenameOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**renamedCount** | **Long** | Number of functions renamed | |


Expand Down
1 change: 0 additions & 1 deletion docs/CommentsData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**inlineComments** | **List&lt;InlineComment&gt;** | Structured inline comments with line numbers | |
|**taskStatus** | [**TaskStatusEnum**](#TaskStatusEnum) | Task status | |

Expand Down
1 change: 0 additions & 1 deletion docs/ConfirmToolInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**approved** | **Boolean** | Whether the user approves the pending tool call. | |


Expand Down
1 change: 0 additions & 1 deletion docs/Conversation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**context** | **Object** | | [optional] |
|**conversationUuid** | **String** | | |
|**createdAt** | **OffsetDateTime** | | |
Expand Down
1 change: 0 additions & 1 deletion docs/ConversationWithEvents.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**context** | **Object** | | [optional] |
|**conversationUuid** | **String** | | |
|**createdAt** | **OffsetDateTime** | | |
Expand Down
1 change: 0 additions & 1 deletion docs/CreateAIDecompOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**status** | **Boolean** | | |


Expand Down
1 change: 0 additions & 1 deletion docs/CreateConversationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**context** | **ConversationContext** | | [optional] |
|**title** | **String** | | [optional] |

Expand Down
1 change: 0 additions & 1 deletion docs/DecompilationData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**decompilation** | **String** | Source code with placeholders replaced | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | Task status | |

Expand Down
6 changes: 3 additions & 3 deletions docs/FunctionsRenamingHistoryApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public class Example {

<a id="revertFunctionName_0"></a>
# **revertFunctionName_0**
> RevertOutputBody revertFunctionName_0(functionId, historyId)
> Map&lt;String, Object&gt; revertFunctionName_0(functionId, historyId)

Revert function name

Expand Down Expand Up @@ -552,7 +552,7 @@ public class Example {
Long functionId = 56L; // Long | Function ID
Long historyId = 56L; // Long | History ID to revert to
try {
RevertOutputBody result = apiInstance.revertFunctionName_0(functionId, historyId);
Map<String, Object> result = apiInstance.revertFunctionName_0(functionId, historyId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FunctionsRenamingHistoryApi#revertFunctionName_0");
Expand All @@ -574,7 +574,7 @@ public class Example {

### Return type

[**RevertOutputBody**](RevertOutputBody.md)
**Map&lt;String, Object&gt;**

### Authorization

Expand Down
1 change: 0 additions & 1 deletion docs/GeneratePDFOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**alreadyRunning** | **Boolean** | True when an existing PDF generation is in progress for this analysis and user | [optional] |
|**taskId** | **String** | Workflow task ID β€” use to poll status and download the PDF | |

Expand Down
1 change: 0 additions & 1 deletion docs/QueuePositionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**queuePosition** | **Long** | Number of Processing analyses ahead of this one in the queue. 0 if this analysis is not Processing or has no analyses ahead of it. | |


Expand Down
1 change: 0 additions & 1 deletion docs/RegenerateOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**status** | **Boolean** | | |


Expand Down
1 change: 0 additions & 1 deletion docs/RenameInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**newMangledName** | **String** | New mangled function name | [optional] |
|**newName** | **String** | New function name | |

Expand Down
1 change: 0 additions & 1 deletion docs/RenameOutputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**renamedCount** | **Long** | Number of functions renamed | |


Expand Down
13 changes: 0 additions & 13 deletions docs/RevertOutputBody.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/SendMessageRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**content** | **String** | | |
|**context** | **ConversationContext** | | [optional] |

Expand Down
1 change: 0 additions & 1 deletion docs/StatusResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**conversationUuid** | **UUID** | | |
|**status** | **String** | | |
|**traceId** | **String** | OpenTelemetry trace ID for this run. Use this to look up tool call spans in your trace backend. | [optional] |
Expand Down
1 change: 0 additions & 1 deletion docs/SummaryData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**aiSummary** | **String** | Summary with code tags removed | |
|**summary** | **String** | Raw summary from the model | |
|**taskStatus** | [**TaskStatusEnum**](#TaskStatusEnum) | Task status | |
Expand Down
1 change: 0 additions & 1 deletion docs/TokenisedData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**functionMapping** | [**FunctionMapping**](FunctionMapping.md) | Complete mapping data for token resolution | [optional] |
|**predictedFunctionName** | **String** | Predicted function name from the AI model | [optional] |
|**status** | [**StatusEnum**](#StatusEnum) | Task status | |
Expand Down
1 change: 0 additions & 1 deletion docs/UpsertOverridesData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**userOverrideMappings** | **Map&lt;String, String&gt;** | Merged override mappings after applying changes | |


Expand Down
1 change: 0 additions & 1 deletion docs/UpsertOverridesInputBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**overrides** | **Map&lt;String, String&gt;** | Token to name mappings. Empty string removes the override. | |


Expand Down
1 change: 0 additions & 1 deletion docs/WorkflowProgress.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**$schema** | **URI** | A URL to the JSON Schema for this object. | [optional] [readonly] |
|**messages** | **List&lt;ProgressMessage&gt;** | Log messages emitted during execution | |
|**status** | [**StatusEnum**](#StatusEnum) | Current workflow status | |
|**step** | **String** | Name of the current step | |
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.2</version>
<version>3.84.0</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
Loading