Skip to content

Commit ca29aed

Browse files
authored
Merge pull request #52 from RevEngAI/sdk-update-v2.46.0
🤖 Update SDK to version v2.46.0
2 parents a8adb51 + 845e047 commit ca29aed

21 files changed

Lines changed: 276 additions & 138 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.43.0
1+
v2.46.0

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
1616
<dependency>
1717
<groupId>ai.reveng</groupId>
1818
<artifactId>sdk</artifactId>
19-
<version>2.43.0</version>
19+
<version>2.46.0</version>
2020
<scope>compile</scope>
2121
</dependency>
2222
```
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation "ai.reveng:sdk:2.43.0"
34+
implementation "ai.reveng:sdk:2.46.0"
3535
}
3636
```
3737

@@ -356,10 +356,10 @@ Class | Method | HTTP request | Description
356356
- [FunctionLocalVariableResponse](docs/FunctionLocalVariableResponse.md)
357357
- [FunctionMapping](docs/FunctionMapping.md)
358358
- [FunctionMappingFull](docs/FunctionMappingFull.md)
359-
- [FunctionMatchingBatchResponse](docs/FunctionMatchingBatchResponse.md)
359+
- [FunctionMatch](docs/FunctionMatch.md)
360360
- [FunctionMatchingFilters](docs/FunctionMatchingFilters.md)
361361
- [FunctionMatchingRequest](docs/FunctionMatchingRequest.md)
362-
- [FunctionMatchingResultWithBestMatch](docs/FunctionMatchingResultWithBestMatch.md)
362+
- [FunctionMatchingResponse](docs/FunctionMatchingResponse.md)
363363
- [FunctionNameHistory](docs/FunctionNameHistory.md)
364364
- [FunctionParamResponse](docs/FunctionParamResponse.md)
365365
- [FunctionRename](docs/FunctionRename.md)

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'ai.reveng'
22-
version = '2.43.0'
22+
version = '2.46.0'
2323

2424

2525

@@ -171,7 +171,7 @@ mavenPublishing {
171171
publishToMavenCentral(true)
172172
signAllPublications()
173173

174-
coordinates("ai.reveng", "sdk", "2.43.0")
174+
coordinates("ai.reveng", "sdk", "2.46.0")
175175

176176
pom {
177177
name = "sdk"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "ai.reveng",
44
name := "sdk",
5-
version := "2.43.0",
5+
version := "2.46.0",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),

docs/FunctionMatchingResultWithBestMatch.md renamed to docs/FunctionMatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# FunctionMatchingResultWithBestMatch
3+
# FunctionMatch
44

55

66
## Properties
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# FunctionMatchingBatchResponse
3+
# FunctionMatchingResponse
44

55

66
## Properties
@@ -13,7 +13,10 @@
1313
|**errorMessage** | **String** | | [optional] |
1414
|**currentPage** | **Integer** | | [optional] |
1515
|**totalPages** | **Integer** | | [optional] |
16-
|**matches** | [**List&lt;FunctionMatchingResultWithBestMatch&gt;**](FunctionMatchingResultWithBestMatch.md) | | [optional] |
16+
|**matches** | [**List&lt;FunctionMatch&gt;**](FunctionMatch.md) | | [optional] |
17+
|**numMatches** | **Integer** | | [optional] |
18+
|**numDebugMatches** | **Integer** | | [optional] |
19+
|**updatedAt** | **String** | | [optional] |
1720

1821

1922

docs/FunctionsCoreApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class Example {
9292

9393
<a id="analysisFunctionMatching"></a>
9494
# **analysisFunctionMatching**
95-
> FunctionMatchingBatchResponse analysisFunctionMatching(analysisId, analysisFunctionMatchingRequest)
95+
> FunctionMatchingResponse analysisFunctionMatching(analysisId, analysisFunctionMatchingRequest)
9696
9797
Perform matching for the functions of an analysis
9898

@@ -123,7 +123,7 @@ public class Example {
123123
Integer analysisId = 56; // Integer |
124124
AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest = new AnalysisFunctionMatchingRequest(); // AnalysisFunctionMatchingRequest |
125125
try {
126-
FunctionMatchingBatchResponse result = apiInstance.analysisFunctionMatching(analysisId, analysisFunctionMatchingRequest);
126+
FunctionMatchingResponse result = apiInstance.analysisFunctionMatching(analysisId, analysisFunctionMatchingRequest);
127127
System.out.println(result);
128128
} catch (ApiException e) {
129129
System.err.println("Exception when calling FunctionsCoreApi#analysisFunctionMatching");
@@ -145,7 +145,7 @@ public class Example {
145145

146146
### Return type
147147

148-
[**FunctionMatchingBatchResponse**](FunctionMatchingBatchResponse.md)
148+
[**FunctionMatchingResponse**](FunctionMatchingResponse.md)
149149

150150
### Authorization
151151

@@ -236,7 +236,7 @@ public class Example {
236236

237237
<a id="batchFunctionMatching"></a>
238238
# **batchFunctionMatching**
239-
> FunctionMatchingBatchResponse batchFunctionMatching(functionMatchingRequest)
239+
> FunctionMatchingResponse batchFunctionMatching(functionMatchingRequest)
240240
241241
Perform function matching for an arbitrary batch of functions, binaries or collections
242242

@@ -266,7 +266,7 @@ public class Example {
266266
FunctionsCoreApi apiInstance = new FunctionsCoreApi(defaultClient);
267267
FunctionMatchingRequest functionMatchingRequest = new FunctionMatchingRequest(); // FunctionMatchingRequest |
268268
try {
269-
FunctionMatchingBatchResponse result = apiInstance.batchFunctionMatching(functionMatchingRequest);
269+
FunctionMatchingResponse result = apiInstance.batchFunctionMatching(functionMatchingRequest);
270270
System.out.println(result);
271271
} catch (ApiException e) {
272272
System.err.println("Exception when calling FunctionsCoreApi#batchFunctionMatching");
@@ -287,7 +287,7 @@ public class Example {
287287

288288
### Return type
289289

290-
[**FunctionMatchingBatchResponse**](FunctionMatchingBatchResponse.md)
290+
[**FunctionMatchingResponse**](FunctionMatchingResponse.md)
291291

292292
### Authorization
293293

docs/LoginRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**username** | **String** | User&#39;s username | |
10+
|**username** | **String** | User&#39;s username or email | |
1111
|**password** | **String** | User&#39;s password | |
1212

1313

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>sdk</name>
8-
<version>2.43.0</version>
8+
<version>2.46.0</version>
99
<url>https://github.com/RevEngAI/sdk-java</url>
1010
<description>Java SDK for the RevEng.AI API</description>
1111
<scm>

src/main/java/ai/reveng/api/FunctionsCoreApi.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
import ai.reveng.model.BaseResponseFunctionCapabilityResponse;
3838
import ai.reveng.model.BaseResponseFunctionStringsResponse;
3939
import ai.reveng.model.BaseResponseFunctionsDetailResponse;
40-
import ai.reveng.model.FunctionMatchingBatchResponse;
4140
import ai.reveng.model.FunctionMatchingRequest;
41+
import ai.reveng.model.FunctionMatchingResponse;
4242

4343
import java.lang.reflect.Type;
4444
import java.util.ArrayList;
@@ -306,7 +306,7 @@ private okhttp3.Call analysisFunctionMatchingValidateBeforeCall(@javax.annotatio
306306
* Takes in an analysis id and settings and matches the nearest functions to the ones associated with it. Results can optionally be filtered by collection, binary, debug type or (other) function ids
307307
* @param analysisId (required)
308308
* @param analysisFunctionMatchingRequest (required)
309-
* @return FunctionMatchingBatchResponse
309+
* @return FunctionMatchingResponse
310310
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
311311
* @http.response.details
312312
<table border="1">
@@ -316,8 +316,8 @@ private okhttp3.Call analysisFunctionMatchingValidateBeforeCall(@javax.annotatio
316316
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
317317
</table>
318318
*/
319-
public FunctionMatchingBatchResponse analysisFunctionMatching(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException {
320-
ApiResponse<FunctionMatchingBatchResponse> localVarResp = analysisFunctionMatchingWithHttpInfo(analysisId, analysisFunctionMatchingRequest);
319+
public FunctionMatchingResponse analysisFunctionMatching(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException {
320+
ApiResponse<FunctionMatchingResponse> localVarResp = analysisFunctionMatchingWithHttpInfo(analysisId, analysisFunctionMatchingRequest);
321321
return localVarResp.getData();
322322
}
323323

@@ -326,7 +326,7 @@ public FunctionMatchingBatchResponse analysisFunctionMatching(@javax.annotation.
326326
* Takes in an analysis id and settings and matches the nearest functions to the ones associated with it. Results can optionally be filtered by collection, binary, debug type or (other) function ids
327327
* @param analysisId (required)
328328
* @param analysisFunctionMatchingRequest (required)
329-
* @return ApiResponse&lt;FunctionMatchingBatchResponse&gt;
329+
* @return ApiResponse&lt;FunctionMatchingResponse&gt;
330330
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
331331
* @http.response.details
332332
<table border="1">
@@ -336,9 +336,9 @@ public FunctionMatchingBatchResponse analysisFunctionMatching(@javax.annotation.
336336
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
337337
</table>
338338
*/
339-
public ApiResponse<FunctionMatchingBatchResponse> analysisFunctionMatchingWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException {
339+
public ApiResponse<FunctionMatchingResponse> analysisFunctionMatchingWithHttpInfo(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest) throws ApiException {
340340
okhttp3.Call localVarCall = analysisFunctionMatchingValidateBeforeCall(analysisId, analysisFunctionMatchingRequest, null);
341-
Type localVarReturnType = new TypeToken<FunctionMatchingBatchResponse>(){}.getType();
341+
Type localVarReturnType = new TypeToken<FunctionMatchingResponse>(){}.getType();
342342
return localVarApiClient.execute(localVarCall, localVarReturnType);
343343
}
344344

@@ -358,10 +358,10 @@ public ApiResponse<FunctionMatchingBatchResponse> analysisFunctionMatchingWithHt
358358
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
359359
</table>
360360
*/
361-
public okhttp3.Call analysisFunctionMatchingAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest, final ApiCallback<FunctionMatchingBatchResponse> _callback) throws ApiException {
361+
public okhttp3.Call analysisFunctionMatchingAsync(@javax.annotation.Nonnull Integer analysisId, @javax.annotation.Nonnull AnalysisFunctionMatchingRequest analysisFunctionMatchingRequest, final ApiCallback<FunctionMatchingResponse> _callback) throws ApiException {
362362

363363
okhttp3.Call localVarCall = analysisFunctionMatchingValidateBeforeCall(analysisId, analysisFunctionMatchingRequest, _callback);
364-
Type localVarReturnType = new TypeToken<FunctionMatchingBatchResponse>(){}.getType();
364+
Type localVarReturnType = new TypeToken<FunctionMatchingResponse>(){}.getType();
365365
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
366366
return localVarCall;
367367
}
@@ -580,7 +580,7 @@ private okhttp3.Call batchFunctionMatchingValidateBeforeCall(@javax.annotation.N
580580
* Perform function matching for an arbitrary batch of functions, binaries or collections
581581
* Takes in an input of functions ID&#39;s and settings and finds the nearest functions for each function that&#39;s within the system
582582
* @param functionMatchingRequest (required)
583-
* @return FunctionMatchingBatchResponse
583+
* @return FunctionMatchingResponse
584584
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
585585
* @http.response.details
586586
<table border="1">
@@ -590,16 +590,16 @@ private okhttp3.Call batchFunctionMatchingValidateBeforeCall(@javax.annotation.N
590590
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
591591
</table>
592592
*/
593-
public FunctionMatchingBatchResponse batchFunctionMatching(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException {
594-
ApiResponse<FunctionMatchingBatchResponse> localVarResp = batchFunctionMatchingWithHttpInfo(functionMatchingRequest);
593+
public FunctionMatchingResponse batchFunctionMatching(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException {
594+
ApiResponse<FunctionMatchingResponse> localVarResp = batchFunctionMatchingWithHttpInfo(functionMatchingRequest);
595595
return localVarResp.getData();
596596
}
597597

598598
/**
599599
* Perform function matching for an arbitrary batch of functions, binaries or collections
600600
* Takes in an input of functions ID&#39;s and settings and finds the nearest functions for each function that&#39;s within the system
601601
* @param functionMatchingRequest (required)
602-
* @return ApiResponse&lt;FunctionMatchingBatchResponse&gt;
602+
* @return ApiResponse&lt;FunctionMatchingResponse&gt;
603603
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
604604
* @http.response.details
605605
<table border="1">
@@ -609,9 +609,9 @@ public FunctionMatchingBatchResponse batchFunctionMatching(@javax.annotation.Non
609609
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
610610
</table>
611611
*/
612-
public ApiResponse<FunctionMatchingBatchResponse> batchFunctionMatchingWithHttpInfo(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException {
612+
public ApiResponse<FunctionMatchingResponse> batchFunctionMatchingWithHttpInfo(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest) throws ApiException {
613613
okhttp3.Call localVarCall = batchFunctionMatchingValidateBeforeCall(functionMatchingRequest, null);
614-
Type localVarReturnType = new TypeToken<FunctionMatchingBatchResponse>(){}.getType();
614+
Type localVarReturnType = new TypeToken<FunctionMatchingResponse>(){}.getType();
615615
return localVarApiClient.execute(localVarCall, localVarReturnType);
616616
}
617617

@@ -630,10 +630,10 @@ public ApiResponse<FunctionMatchingBatchResponse> batchFunctionMatchingWithHttpI
630630
<tr><td> 422 </td><td> Invalid request parameters </td><td> - </td></tr>
631631
</table>
632632
*/
633-
public okhttp3.Call batchFunctionMatchingAsync(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest, final ApiCallback<FunctionMatchingBatchResponse> _callback) throws ApiException {
633+
public okhttp3.Call batchFunctionMatchingAsync(@javax.annotation.Nonnull FunctionMatchingRequest functionMatchingRequest, final ApiCallback<FunctionMatchingResponse> _callback) throws ApiException {
634634

635635
okhttp3.Call localVarCall = batchFunctionMatchingValidateBeforeCall(functionMatchingRequest, _callback);
636-
Type localVarReturnType = new TypeToken<FunctionMatchingBatchResponse>(){}.getType();
636+
Type localVarReturnType = new TypeToken<FunctionMatchingResponse>(){}.getType();
637637
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
638638
return localVarCall;
639639
}

0 commit comments

Comments
 (0)