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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ Class | Method | HTTP request | Description
*FunctionsRenamingHistoryApi* | [**revertFunctionName**](docs/FunctionsRenamingHistoryApi.md#revertFunctionName) | **POST** /v2/functions/history/{function_id}/{history_id} | Revert the function name
*FunctionsRenamingHistoryApi* | [**revertFunctionName_0**](docs/FunctionsRenamingHistoryApi.md#revertFunctionName_0) | **POST** /v3/functions/{function_id}/history/{history_id}/revert | Revert function name
*ModelsApi* | [**getModels**](docs/ModelsApi.md#getModels) | **GET** /v2/models | Gets models
*ReportsApi* | [**createPdfReport**](docs/ReportsApi.md#createPdfReport) | **POST** /v3/analysis/{analysis_id}/pdf | Start PDF report generation
*ReportsApi* | [**downloadPdfReport**](docs/ReportsApi.md#downloadPdfReport) | **GET** /v3/analysis/{analysis_id}/pdf/{task_id} | Download generated PDF report
*ReportsApi* | [**getPdfReportStatus**](docs/ReportsApi.md#getPdfReportStatus) | **GET** /v3/analysis/{analysis_id}/pdf/{task_id}/status | Get PDF report workflow status
*ReportsApi* | [**createPdfReport**](docs/ReportsApi.md#createPdfReport) | **POST** /v3/analyses/{analysis_id}/pdf | Start PDF report generation
*ReportsApi* | [**downloadPdfReport**](docs/ReportsApi.md#downloadPdfReport) | **GET** /v3/analyses/{analysis_id}/pdf/{task_id} | Download generated PDF report
*ReportsApi* | [**getPdfReportStatus**](docs/ReportsApi.md#getPdfReportStatus) | **GET** /v3/analyses/{analysis_id}/pdf/{task_id}/status | Get PDF report workflow status
*SearchApi* | [**searchBinaries**](docs/SearchApi.md#searchBinaries) | **GET** /v2/search/binaries | Binaries search
*SearchApi* | [**searchCollections**](docs/SearchApi.md#searchCollections) | **GET** /v2/search/collections | Collections search
*SearchApi* | [**searchFunctions**](docs/SearchApi.md#searchFunctions) | **GET** /v2/search/functions | Functions search
Expand Down
3 changes: 2 additions & 1 deletion docs/FunctionsAiDecompilationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ All URIs are relative to *https://api.reveng.ai*

Start AI decompilation

Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) β€” Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) β€” Bad Request - `409` [`CONFLICT`](/errors/CONFLICT) β€” Conflict
Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) β€” Access Denied - `400` [`BAD_REQUEST`](/errors/BAD_REQUEST) β€” Bad Request - `409` [`CONFLICT`](/errors/CONFLICT) β€” Conflict - `402` [`INSUFFICIENT_CREDITS`](/errors/INSUFFICIENT_CREDITS) β€” Insufficient Credits

### Example
```java
Expand Down Expand Up @@ -99,6 +99,7 @@ public class Example {
|-------------|-------------|------------------|
| **201** | Created | - |
| **400** | Bad Request | - |
| **402** | Payment Required | - |
| **403** | Forbidden | - |
| **409** | Conflict | - |
| **422** | Unprocessable Entity | - |
Expand Down
6 changes: 3 additions & 3 deletions docs/ReportsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All URIs are relative to *https://api.reveng.ai*

| Method | HTTP request | Description |
|------------- | ------------- | -------------|
| [**createPdfReport**](ReportsApi.md#createPdfReport) | **POST** /v3/analysis/{analysis_id}/pdf | Start PDF report generation |
| [**downloadPdfReport**](ReportsApi.md#downloadPdfReport) | **GET** /v3/analysis/{analysis_id}/pdf/{task_id} | Download generated PDF report |
| [**getPdfReportStatus**](ReportsApi.md#getPdfReportStatus) | **GET** /v3/analysis/{analysis_id}/pdf/{task_id}/status | Get PDF report workflow status |
| [**createPdfReport**](ReportsApi.md#createPdfReport) | **POST** /v3/analyses/{analysis_id}/pdf | Start PDF report generation |
| [**downloadPdfReport**](ReportsApi.md#downloadPdfReport) | **GET** /v3/analyses/{analysis_id}/pdf/{task_id} | Download generated PDF report |
| [**getPdfReportStatus**](ReportsApi.md#getPdfReportStatus) | **GET** /v3/analyses/{analysis_id}/pdf/{task_id}/status | Get PDF report workflow status |


<a id="createPdfReport"></a>
Expand Down
10 changes: 7 additions & 3 deletions src/main/java/ai/reveng/api/FunctionsAiDecompilationApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public void setCustomBaseUrl(String customBaseUrl) {
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
<tr><td> 402 </td><td> Payment Required </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </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>
Expand Down Expand Up @@ -177,7 +178,7 @@ private okhttp3.Call createAiDecompilationValidateBeforeCall(@javax.annotation.N

/**
* Start AI decompilation
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict - &#x60;402&#x60; [&#x60;INSUFFICIENT_CREDITS&#x60;](/errors/INSUFFICIENT_CREDITS) β€” Insufficient Credits
* @param functionId Function ID (required)
* @param contextAware Use context-aware decompilation (optional, default to false)
* @param temperature LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
Expand All @@ -189,6 +190,7 @@ private okhttp3.Call createAiDecompilationValidateBeforeCall(@javax.annotation.N
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
<tr><td> 402 </td><td> Payment Required </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </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>
Expand All @@ -202,7 +204,7 @@ public CreateAIDecompOutputBody createAiDecompilation(@javax.annotation.Nonnull

/**
* Start AI decompilation
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict - &#x60;402&#x60; [&#x60;INSUFFICIENT_CREDITS&#x60;](/errors/INSUFFICIENT_CREDITS) β€” Insufficient Credits
* @param functionId Function ID (required)
* @param contextAware Use context-aware decompilation (optional, default to false)
* @param temperature LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
Expand All @@ -214,6 +216,7 @@ public CreateAIDecompOutputBody createAiDecompilation(@javax.annotation.Nonnull
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
<tr><td> 402 </td><td> Payment Required </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </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>
Expand All @@ -228,7 +231,7 @@ public ApiResponse<CreateAIDecompOutputBody> createAiDecompilationWithHttpInfo(@

/**
* Start AI decompilation (asynchronously)
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict
* Begins the AI decompilation process for a function. Charges team credits and starts the workflow. **Error codes:** - &#x60;403&#x60; [&#x60;ACCESS_DENIED&#x60;](/errors/ACCESS_DENIED) β€” Access Denied - &#x60;400&#x60; [&#x60;BAD_REQUEST&#x60;](/errors/BAD_REQUEST) β€” Bad Request - &#x60;409&#x60; [&#x60;CONFLICT&#x60;](/errors/CONFLICT) β€” Conflict - &#x60;402&#x60; [&#x60;INSUFFICIENT_CREDITS&#x60;](/errors/INSUFFICIENT_CREDITS) β€” Insufficient Credits
* @param functionId Function ID (required)
* @param contextAware Use context-aware decompilation (optional, default to false)
* @param temperature LLM temperature (0.0-1.0). Overrides the server default when set. Omit or set to -1 to use the server default. (optional, default to -1)
Expand All @@ -241,6 +244,7 @@ public ApiResponse<CreateAIDecompOutputBody> createAiDecompilationWithHttpInfo(@
<tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
<tr><td> 201 </td><td> Created </td><td> - </td></tr>
<tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
<tr><td> 402 </td><td> Payment Required </td><td> - </td></tr>
<tr><td> 403 </td><td> Forbidden </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>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/ai/reveng/api/ReportsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public okhttp3.Call createPdfReportCall(@javax.annotation.Nonnull Long analysisI
Object localVarPostBody = null;

// create path and map variables
String localVarPath = "/v3/analysis/{analysis_id}/pdf"
String localVarPath = "/v3/analyses/{analysis_id}/pdf"
.replace("{" + "analysis_id" + "}", localVarApiClient.escapeString(analysisId.toString()));

List<Pair> localVarQueryParams = new ArrayList<Pair>();
Expand Down Expand Up @@ -252,7 +252,7 @@ public okhttp3.Call downloadPdfReportCall(@javax.annotation.Nonnull Long analysi
Object localVarPostBody = null;

// create path and map variables
String localVarPath = "/v3/analysis/{analysis_id}/pdf/{task_id}"
String localVarPath = "/v3/analyses/{analysis_id}/pdf/{task_id}"
.replace("{" + "analysis_id" + "}", localVarApiClient.escapeString(analysisId.toString()))
.replace("{" + "task_id" + "}", localVarApiClient.escapeString(taskId.toString()));

Expand Down Expand Up @@ -404,7 +404,7 @@ public okhttp3.Call getPdfReportStatusCall(@javax.annotation.Nonnull Long analys
Object localVarPostBody = null;

// create path and map variables
String localVarPath = "/v3/analysis/{analysis_id}/pdf/{task_id}/status"
String localVarPath = "/v3/analyses/{analysis_id}/pdf/{task_id}/status"
.replace("{" + "analysis_id" + "}", localVarApiClient.escapeString(analysisId.toString()))
.replace("{" + "task_id" + "}", localVarApiClient.escapeString(taskId.toString()));

Expand Down