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 @@
v1.98.0
v1.98.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>1.98.0</version>
<version>1.98.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:1.98.0"
implementation "ai.reveng:sdk:1.98.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 = '1.98.0'
version = '1.98.1'



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

coordinates("ai.reveng", "sdk", "1.98.0")
coordinates("ai.reveng", "sdk", "1.98.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 := "1.98.0",
version := "1.98.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion docs/AnalysisRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|**modelId** | **Integer** | ID to identify the model used for analysis | |
|**modelName** | **String** | Name of the model used for analysis | |
|**status** | **String** | The current status of analysis | |
|**creation** | **java.time.Instant** | The current status of analysis | |
|**creation** | **OffsetDateTime** | The current status of analysis | |
|**isOwner** | **Boolean** | Whether the current user is the owner of a binary | |
|**binaryName** | **String** | The name of the file uploaded | |
|**sha256Hash** | **String** | The hash of the binary | |
Expand Down
2 changes: 1 addition & 1 deletion docs/Basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**binaryName** | **String** | The name of the binary uploaded | |
|**binarySize** | **Integer** | The size of the binary uploaded (bytes) | |
|**creation** | **java.time.Instant** | When the binary was uploaded | |
|**creation** | **OffsetDateTime** | When the binary was uploaded | |
|**sha256Hash** | **String** | The hash of the binary uploaded | |
|**modelName** | **String** | The model name used for analysis | |
|**ownerUsername** | **String** | The name of the owner of the binary | |
Expand Down
2 changes: 1 addition & 1 deletion docs/BinaryAdditionalResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**binaryId** | **Integer** | | |
|**details** | [**BinaryAdditionalDetailsDataResponse**](BinaryAdditionalDetailsDataResponse.md) | | |
|**creation** | **java.time.Instant** | | [optional] |
|**creation** | **OffsetDateTime** | | [optional] |



2 changes: 1 addition & 1 deletion docs/BinaryDetailsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
|**tlsh** | **String** | | |
|**type** | **String** | | |
|**debug** | **Boolean** | | |
|**firstSeen** | **java.time.Instant** | | |
|**firstSeen** | **OffsetDateTime** | | |



4 changes: 2 additions & 2 deletions docs/BinaryExternalsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
|------------ | ------------- | ------------- | -------------|
|**sha256Hash** | **String** | SHA256 hash of the binary | |
|**vt** | **Map&lt;String, Object&gt;** | VirusTotal information | |
|**vtLastUpdated** | **java.time.Instant** | VirusTotal last updated date | |
|**vtLastUpdated** | **OffsetDateTime** | VirusTotal last updated date | |
|**mb** | **Map&lt;String, Object&gt;** | MalwareBazaar information | |
|**mbLastUpdated** | **java.time.Instant** | MalwareBazaar last updated date | |
|**mbLastUpdated** | **OffsetDateTime** | MalwareBazaar last updated date | |



2 changes: 1 addition & 1 deletion docs/BinarySearchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|**analysisId** | **Integer** | The analysis ID | |
|**sha256Hash** | **String** | The SHA-256 hash of the binary | |
|**tags** | **List&lt;String&gt;** | | |
|**createdAt** | **java.time.Instant** | The creation date of the binary | |
|**createdAt** | **OffsetDateTime** | The creation date of the binary | |
|**modelId** | **Integer** | The model ID of the binary | |
|**modelName** | **String** | The name of the model | |
|**ownedBy** | **String** | The owner of the binary | |
Expand Down
2 changes: 1 addition & 1 deletion docs/CollectionBinaryResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|**binaryName** | **String** | Binary name | |
|**ownerId** | **Integer** | Binary owner | |
|**sha256Hash** | **String** | Binary SHA-256 hash | |
|**createdAt** | **java.time.Instant** | Binary creation date | |
|**createdAt** | **OffsetDateTime** | Binary creation date | |



2 changes: 1 addition & 1 deletion docs/CollectionListItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|**collectionTags** | **List&lt;String&gt;** | The tags of the collection | [optional] |
|**collectionSize** | **Integer** | The size of the collection | |
|**collectionId** | **Integer** | The ID of the collection | |
|**creation** | **java.time.Instant** | The current status of analysis | |
|**creation** | **OffsetDateTime** | The current status of analysis | |
|**modelName** | **String** | The model being used for the collection | |
|**teamId** | **Integer** | | [optional] |

Expand Down
4 changes: 2 additions & 2 deletions docs/CollectionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
|**userId** | **Integer** | Collection user ID | |
|**teamId** | **Integer** | | [optional] |
|**collectionScope** | **CollectionScope** | Collection public status | |
|**createdAt** | **java.time.Instant** | Collection creation date | |
|**updatedAt** | **java.time.Instant** | Collection last update date | |
|**createdAt** | **OffsetDateTime** | Collection creation date | |
|**updatedAt** | **OffsetDateTime** | Collection last update date | |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**binaries** | [**List&lt;CollectionResponseBinariesInner&gt;**](CollectionResponseBinariesInner.md) | | [optional] |

Expand Down
2 changes: 1 addition & 1 deletion docs/CollectionResponseBinariesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|**binaryName** | **String** | Binary name | |
|**ownerId** | **Integer** | Binary owner | |
|**sha256Hash** | **String** | Binary SHA-256 hash | |
|**createdAt** | **java.time.Instant** | Binary creation date | |
|**createdAt** | **OffsetDateTime** | Binary creation date | |



4 changes: 2 additions & 2 deletions docs/CollectionSearchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
|**collectionId** | **Integer** | The ID of the collection | |
|**collectionName** | **String** | The name of the collection | |
|**scope** | **String** | The scope of the collection | |
|**lastUpdatedAt** | **java.time.Instant** | The last update date of the collection | |
|**createdAt** | **java.time.Instant** | The creation date of the collection | |
|**lastUpdatedAt** | **OffsetDateTime** | The last update date of the collection | |
|**createdAt** | **OffsetDateTime** | The creation date of the collection | |
|**modelId** | **Integer** | The model ID of the binary | |
|**modelName** | **String** | The name of the model | |
|**ownedBy** | **String** | The owner of the collection | |
Expand Down
4 changes: 2 additions & 2 deletions docs/CommentResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
|**resourceType** | **String** | | |
|**resourceId** | **String** | | |
|**context** | [**Context**](Context.md) | | [optional] |
|**createdAt** | **java.time.Instant** | | |
|**updatedAt** | **java.time.Instant** | | |
|**createdAt** | **OffsetDateTime** | | |
|**updatedAt** | **OffsetDateTime** | | |



2 changes: 1 addition & 1 deletion docs/ExternalResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**sha256Hash** | **String** | | |
|**data** | **Map&lt;String, Object&gt;** | | |
|**lastUpdated** | **java.time.Instant** | | |
|**lastUpdated** | **OffsetDateTime** | | |



2 changes: 1 addition & 1 deletion docs/FunctionSearchResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
|**functionId** | **Integer** | The function ID | |
|**functionName** | **String** | The name of the function | |
|**binaryName** | **String** | The name of the binary the function belongs to | |
|**createdAt** | **java.time.Instant** | The creation date of the function | |
|**createdAt** | **OffsetDateTime** | The creation date of the function | |
|**modelId** | **Integer** | The model ID used to analyze the binary the function belongs to | |
|**modelName** | **String** | The name of the model used to analyze the binary the function belongs to | |
|**ownedBy** | **String** | The owner of the binary the function belongs to | |
Expand Down
2 changes: 1 addition & 1 deletion docs/GetUserResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
|**firstName** | **String** | | |
|**lastName** | **String** | | |
|**email** | **String** | | |
|**creation** | **java.time.Instant** | | |
|**creation** | **OffsetDateTime** | | |
|**tutorialSeen** | **Boolean** | | |


Expand Down
2 changes: 1 addition & 1 deletion docs/UserActivityResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**actions** | **String** | | |
|**activityScope** | **String** | | |
|**creation** | **java.time.Instant** | | |
|**creation** | **OffsetDateTime** | | |
|**message** | **String** | | |
|**sources** | **String** | | |
|**username** | **String** | | |
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>1.98.0</version>
<version>1.98.1</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
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 @@ -140,7 +140,7 @@ protected void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.98.0/java");
setUserAgent("OpenAPI-Generator/1.98.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 = "1.98.0";
public static final String VERSION = "1.98.1";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
9 changes: 5 additions & 4 deletions src/main/java/ai/reveng/model/AnalysisRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;

Expand Down Expand Up @@ -86,7 +87,7 @@ public class AnalysisRecord {
public static final String SERIALIZED_NAME_CREATION = "creation";
@SerializedName(SERIALIZED_NAME_CREATION)
@javax.annotation.Nonnull
private java.time.Instant creation;
private OffsetDateTime creation;

public static final String SERIALIZED_NAME_IS_OWNER = "is_owner";
@SerializedName(SERIALIZED_NAME_IS_OWNER)
Expand Down Expand Up @@ -250,7 +251,7 @@ public void setStatus(@javax.annotation.Nonnull String status) {
}


public AnalysisRecord creation(@javax.annotation.Nonnull java.time.Instant creation) {
public AnalysisRecord creation(@javax.annotation.Nonnull OffsetDateTime creation) {
this.creation = creation;
return this;
}
Expand All @@ -260,11 +261,11 @@ public AnalysisRecord creation(@javax.annotation.Nonnull java.time.Instant creat
* @return creation
*/
@javax.annotation.Nonnull
public java.time.Instant getCreation() {
public OffsetDateTime getCreation() {
return creation;
}

public void setCreation(@javax.annotation.Nonnull java.time.Instant creation) {
public void setCreation(@javax.annotation.Nonnull OffsetDateTime creation) {
this.creation = creation;
}

Expand Down
9 changes: 5 additions & 4 deletions src/main/java/ai/reveng/model/Basic.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;

import com.google.gson.Gson;
Expand Down Expand Up @@ -64,7 +65,7 @@ public class Basic {
public static final String SERIALIZED_NAME_CREATION = "creation";
@SerializedName(SERIALIZED_NAME_CREATION)
@javax.annotation.Nonnull
private java.time.Instant creation;
private OffsetDateTime creation;

public static final String SERIALIZED_NAME_SHA256_HASH = "sha_256_hash";
@SerializedName(SERIALIZED_NAME_SHA256_HASH)
Expand Down Expand Up @@ -152,7 +153,7 @@ public void setBinarySize(@javax.annotation.Nonnull Integer binarySize) {
}


public Basic creation(@javax.annotation.Nonnull java.time.Instant creation) {
public Basic creation(@javax.annotation.Nonnull OffsetDateTime creation) {
this.creation = creation;
return this;
}
Expand All @@ -162,11 +163,11 @@ public Basic creation(@javax.annotation.Nonnull java.time.Instant creation) {
* @return creation
*/
@javax.annotation.Nonnull
public java.time.Instant getCreation() {
public OffsetDateTime getCreation() {
return creation;
}

public void setCreation(@javax.annotation.Nonnull java.time.Instant creation) {
public void setCreation(@javax.annotation.Nonnull OffsetDateTime creation) {
this.creation = creation;
}

Expand Down
9 changes: 5 additions & 4 deletions src/main/java/ai/reveng/model/BinaryAdditionalResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.Arrays;
import org.openapitools.jackson.nullable.JsonNullable;

Expand Down Expand Up @@ -66,7 +67,7 @@ public class BinaryAdditionalResponse {
public static final String SERIALIZED_NAME_CREATION = "creation";
@SerializedName(SERIALIZED_NAME_CREATION)
@javax.annotation.Nullable
private java.time.Instant creation;
private OffsetDateTime creation;

public BinaryAdditionalResponse() {
}
Expand Down Expand Up @@ -109,7 +110,7 @@ public void setDetails(@javax.annotation.Nullable BinaryAdditionalDetailsDataRes
}


public BinaryAdditionalResponse creation(@javax.annotation.Nullable java.time.Instant creation) {
public BinaryAdditionalResponse creation(@javax.annotation.Nullable OffsetDateTime creation) {
this.creation = creation;
return this;
}
Expand All @@ -119,11 +120,11 @@ public BinaryAdditionalResponse creation(@javax.annotation.Nullable java.time.In
* @return creation
*/
@javax.annotation.Nullable
public java.time.Instant getCreation() {
public OffsetDateTime getCreation() {
return creation;
}

public void setCreation(@javax.annotation.Nullable java.time.Instant creation) {
public void setCreation(@javax.annotation.Nullable OffsetDateTime creation) {
this.creation = creation;
}

Expand Down
9 changes: 5 additions & 4 deletions src/main/java/ai/reveng/model/BinaryDetailsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Arrays;

import com.google.gson.Gson;
Expand Down Expand Up @@ -150,7 +151,7 @@ public class BinaryDetailsResponse {
public static final String SERIALIZED_NAME_FIRST_SEEN = "first_seen";
@SerializedName(SERIALIZED_NAME_FIRST_SEEN)
@javax.annotation.Nonnull
private java.time.Instant firstSeen;
private OffsetDateTime firstSeen;

public BinaryDetailsResponse() {
}
Expand Down Expand Up @@ -516,7 +517,7 @@ public void setDebug(@javax.annotation.Nonnull Boolean debug) {
}


public BinaryDetailsResponse firstSeen(@javax.annotation.Nonnull java.time.Instant firstSeen) {
public BinaryDetailsResponse firstSeen(@javax.annotation.Nonnull OffsetDateTime firstSeen) {
this.firstSeen = firstSeen;
return this;
}
Expand All @@ -526,11 +527,11 @@ public BinaryDetailsResponse firstSeen(@javax.annotation.Nonnull java.time.Insta
* @return firstSeen
*/
@javax.annotation.Nonnull
public java.time.Instant getFirstSeen() {
public OffsetDateTime getFirstSeen() {
return firstSeen;
}

public void setFirstSeen(@javax.annotation.Nonnull java.time.Instant firstSeen) {
public void setFirstSeen(@javax.annotation.Nonnull OffsetDateTime firstSeen) {
this.firstSeen = firstSeen;
}

Expand Down
Loading