Skip to content
Closed
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 @@
v2.37.4
v2.41.1
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>2.37.4</version>
<version>2.41.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:2.37.4"
implementation "ai.reveng:sdk:2.41.1"
}
```

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 = '2.37.4'
version = '2.41.1'



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

coordinates("ai.reveng", "sdk", "2.37.4")
coordinates("ai.reveng", "sdk", "2.41.1")

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 := "2.37.4",
version := "2.41.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
4 changes: 2 additions & 2 deletions docs/AnalysesCoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ public class Example {
| **sha256Hash** | **String**| | [optional] |
| **limit** | **Integer**| | [optional] [default to 20] |
| **offset** | **Integer**| | [optional] [default to 0] |
| **orderBy** | [**AppApiRestV2AnalysesEnumsOrderBy**](.md)| | [optional] [enum: created, name, size] |
| **order** | [**Order**](.md)| | [optional] [enum: ASC, DESC] |
| **orderBy** | [**AppApiRestV2AnalysesEnumsOrderBy**](.md)| | [optional] [default to created] [enum: created, name, size] |
| **order** | [**Order**](.md)| | [optional] [default to DESC] [enum: ASC, DESC] |

### Return type

Expand Down
4 changes: 2 additions & 2 deletions docs/CollectionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ public class Example {
| **filters** | [**List&lt;Filters&gt;**](Filters.md)| | [optional] |
| **limit** | **Integer**| | [optional] [default to 20] |
| **offset** | **Integer**| | [optional] [default to 0] |
| **orderBy** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| | [optional] [enum: created, collection, model, owner, collection_size, updated] |
| **order** | [**Order**](.md)| | [optional] [enum: ASC, DESC] |
| **orderBy** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| | [optional] [default to collection] [enum: created, collection, model, owner, collection_size, updated] |
| **order** | [**Order**](.md)| | [optional] [default to ASC] [enum: ASC, DESC] |

### Return type

Expand Down
4 changes: 2 additions & 2 deletions docs/SearchApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ public class Example {
| **tags** | [**List&lt;String&gt;**](String.md)| The tags to be searched for | [optional] |
| **modelName** | **String**| The name of the model used to analyze the binary the function belongs to | [optional] |
| **filters** | [**List&lt;Filters&gt;**](Filters.md)| The filters to be used for the search | [optional] |
| **orderBy** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| The field to sort the order by in the results | [optional] [enum: created, collection, model, owner, collection_size, updated] |
| **orderByDirection** | [**Order**](.md)| The order direction in which to return results | [optional] [enum: ASC, DESC] |
| **orderBy** | [**AppApiRestV2CollectionsEnumsOrderBy**](.md)| The field to sort the order by in the results | [optional] [default to created] [enum: created, collection, model, owner, collection_size, updated] |
| **orderByDirection** | [**Order**](.md)| The order direction in which to return results | [optional] [default to DESC] [enum: ASC, DESC] |

### Return type

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>2.37.4</version>
<version>2.41.1</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/ai/reveng/api/AnalysesCoreApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,8 @@ public okhttp3.Call getAnalysisStatusAsync(@javax.annotation.Nonnull Integer ana
* @param sha256Hash (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to created)
* @param order (optional, default to DESC)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -1158,8 +1158,8 @@ private okhttp3.Call listAnalysesValidateBeforeCall(@javax.annotation.Nullable S
* @param sha256Hash (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to created)
* @param order (optional, default to DESC)
* @return BaseResponseRecent
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand Down Expand Up @@ -1187,8 +1187,8 @@ public BaseResponseRecent listAnalyses(@javax.annotation.Nullable String searchT
* @param sha256Hash (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to created)
* @param order (optional, default to DESC)
* @return ApiResponse&lt;BaseResponseRecent&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand Down Expand Up @@ -1217,8 +1217,8 @@ public ApiResponse<BaseResponseRecent> listAnalysesWithHttpInfo(@javax.annotatio
* @param sha256Hash (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to created)
* @param order (optional, default to DESC)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/ai/reveng/api/CollectionsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ public okhttp3.Call getCollectionAsync(@javax.annotation.Nonnull Integer collect
* @param filters (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to collection)
* @param order (optional, default to ASC)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -592,8 +592,8 @@ private okhttp3.Call listCollectionsValidateBeforeCall(@javax.annotation.Nullabl
* @param filters (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to collection)
* @param order (optional, default to ASC)
* @return BaseResponseListCollectionResults
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand All @@ -616,8 +616,8 @@ public BaseResponseListCollectionResults listCollections(@javax.annotation.Nulla
* @param filters (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to collection)
* @param order (optional, default to ASC)
* @return ApiResponse&lt;BaseResponseListCollectionResults&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand All @@ -641,8 +641,8 @@ public ApiResponse<BaseResponseListCollectionResults> listCollectionsWithHttpInf
* @param filters (optional)
* @param limit (optional, default to 20)
* @param offset (optional, default to 0)
* @param orderBy (optional)
* @param order (optional)
* @param orderBy (optional, default to collection)
* @param order (optional, default to ASC)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/ai/reveng/api/SearchApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ public okhttp3.Call searchBinariesAsync(@javax.annotation.Nullable Integer page,
* @param tags The tags to be searched for (optional)
* @param modelName The name of the model used to analyze the binary the function belongs to (optional)
* @param filters The filters to be used for the search (optional)
* @param orderBy The field to sort the order by in the results (optional)
* @param orderByDirection The order direction in which to return results (optional)
* @param orderBy The field to sort the order by in the results (optional, default to created)
* @param orderByDirection The order direction in which to return results (optional, default to DESC)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -380,8 +380,8 @@ private okhttp3.Call searchCollectionsValidateBeforeCall(@javax.annotation.Nulla
* @param tags The tags to be searched for (optional)
* @param modelName The name of the model used to analyze the binary the function belongs to (optional)
* @param filters The filters to be used for the search (optional)
* @param orderBy The field to sort the order by in the results (optional)
* @param orderByDirection The order direction in which to return results (optional)
* @param orderBy The field to sort the order by in the results (optional, default to created)
* @param orderByDirection The order direction in which to return results (optional, default to DESC)
* @return BaseResponseCollectionSearchResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand Down Expand Up @@ -409,8 +409,8 @@ public BaseResponseCollectionSearchResponse searchCollections(@javax.annotation.
* @param tags The tags to be searched for (optional)
* @param modelName The name of the model used to analyze the binary the function belongs to (optional)
* @param filters The filters to be used for the search (optional)
* @param orderBy The field to sort the order by in the results (optional)
* @param orderByDirection The order direction in which to return results (optional)
* @param orderBy The field to sort the order by in the results (optional, default to created)
* @param orderByDirection The order direction in which to return results (optional, default to DESC)
* @return ApiResponse&lt;BaseResponseCollectionSearchResponse&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand Down Expand Up @@ -439,8 +439,8 @@ public ApiResponse<BaseResponseCollectionSearchResponse> searchCollectionsWithHt
* @param tags The tags to be searched for (optional)
* @param modelName The name of the model used to analyze the binary the function belongs to (optional)
* @param filters The filters to be used for the search (optional)
* @param orderBy The field to sort the order by in the results (optional)
* @param orderByDirection The order direction in which to return results (optional)
* @param orderBy The field to sort the order by in the results (optional, default to created)
* @param orderByDirection The order direction in which to return results (optional, default to DESC)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
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/2.37.4/java");
setUserAgent("OpenAPI-Generator/2.41.1/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 = "2.37.4";
public static final String VERSION = "2.41.1";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/ai/reveng/model/AnalysisConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class AnalysisConfig {
public static final String SERIALIZED_NAME_SCRAPE_THIRD_PARTY_CONFIG = "scrape_third_party_config";
@SerializedName(SERIALIZED_NAME_SCRAPE_THIRD_PARTY_CONFIG)
@javax.annotation.Nullable
private ScrapeThirdPartyConfig scrapeThirdPartyConfig;
private ScrapeThirdPartyConfig scrapeThirdPartyConfig = {enabled=false};

public static final String SERIALIZED_NAME_GENERATE_CVES = "generate_cves";
@SerializedName(SERIALIZED_NAME_GENERATE_CVES)
Expand Down Expand Up @@ -86,7 +86,7 @@ public class AnalysisConfig {
public static final String SERIALIZED_NAME_SANDBOX_CONFIG = "sandbox_config";
@SerializedName(SERIALIZED_NAME_SANDBOX_CONFIG)
@javax.annotation.Nullable
private SandboxOptions sandboxConfig;
private SandboxOptions sandboxConfig = {enabled=false, command_line_args=};

public AnalysisConfig() {
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/ai/reveng/model/AnalysisCreateRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class AnalysisCreateRequest {
public static final String SERIALIZED_NAME_ANALYSIS_SCOPE = "analysis_scope";
@SerializedName(SERIALIZED_NAME_ANALYSIS_SCOPE)
@javax.annotation.Nullable
private AnalysisScope analysisScope;
private AnalysisScope analysisScope = AnalysisScope.PRIVATE;

public static final String SERIALIZED_NAME_SYMBOLS = "symbols";
@SerializedName(SERIALIZED_NAME_SYMBOLS)
Expand All @@ -92,12 +92,12 @@ public class AnalysisCreateRequest {
public static final String SERIALIZED_NAME_ANALYSIS_CONFIG = "analysis_config";
@SerializedName(SERIALIZED_NAME_ANALYSIS_CONFIG)
@javax.annotation.Nullable
private AnalysisConfig analysisConfig;
private AnalysisConfig analysisConfig = {scrape_third_party_config={enabled=false}, generate_cves=false, generate_sbom=false, generate_capabilities=false, no_cache=false, advanced_analysis=false, sandbox_config={command_line_args=, enabled=false}};

public static final String SERIALIZED_NAME_BINARY_CONFIG = "binary_config";
@SerializedName(SERIALIZED_NAME_BINARY_CONFIG)
@javax.annotation.Nullable
private BinaryConfig binaryConfig;
private BinaryConfig binaryConfig = {};

public AnalysisCreateRequest() {
}
Expand Down
Loading