Skip to content

Commit 9bd203c

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 54b278d commit 9bd203c

132 files changed

Lines changed: 159 additions & 140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

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

33
BuiltByBit API
44
- API version: v2
5-
- Build date: 2026-05-19T10:29:07.570173Z[Etc/UTC]
5+
- Build date: 2026-06-10T13:23:40.968029Z[Etc/UTC]
66

77
All operations not tagged 'free' require an active [Ultimate](https://builtbybit.com/account/ultimate) subscription or invite-only permissions.
88

api/openapi.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,15 @@ paths:
779779
schema:
780780
type: array
781781
style: form
782+
- description: A comma-separated list of buyer IDs to filter on. No filter is
783+
applied if empty.
784+
explode: true
785+
in: query
786+
name: buyer_ids
787+
required: false
788+
schema:
789+
type: array
790+
style: form
782791
responses:
783792
"200":
784793
content:

docs/ResourcesCreatorApi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public class Example {
8484

8585
<a id="getV2ResourcesCreatorLicenses"></a>
8686
# **getV2ResourcesCreatorLicenses**
87-
> GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(resourceIds)
87+
> GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(resourceIds, buyerIds)
8888
8989
Fetch a list of your resources&#39; licenses
9090

@@ -111,8 +111,9 @@ public class Example {
111111

112112
ResourcesCreatorApi apiInstance = new ResourcesCreatorApi(defaultClient);
113113
List resourceIds = new List(); // List | A comma-separated list of resource IDs to filter on. No filter is applied if empty.
114+
List buyerIds = new List(); // List | A comma-separated list of buyer IDs to filter on. No filter is applied if empty.
114115
try {
115-
GetV2ResourcesCreatorLicenses200Response result = apiInstance.getV2ResourcesCreatorLicenses(resourceIds);
116+
GetV2ResourcesCreatorLicenses200Response result = apiInstance.getV2ResourcesCreatorLicenses(resourceIds, buyerIds);
116117
System.out.println(result);
117118
} catch (ApiException e) {
118119
System.err.println("Exception when calling ResourcesCreatorApi#getV2ResourcesCreatorLicenses");
@@ -130,6 +131,7 @@ public class Example {
130131
| Name | Type | Description | Notes |
131132
|------------- | ------------- | ------------- | -------------|
132133
| **resourceIds** | [**List**](.md)| A comma-separated list of resource IDs to filter on. No filter is applied if empty. | [optional] |
134+
| **buyerIds** | [**List**](.md)| A comma-separated list of buyer IDs to filter on. No filter is applied if empty. | [optional] |
133135

134136
### Return type
135137

src/main/java/org/openapitools/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* <p>ApiException class.</p>
2222
*/
2323
@SuppressWarnings("serial")
24-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
2525
public class ApiException extends Exception {
2626
private int code = 0;
2727
private Map<String, List<String>> responseHeaders = null;

src/main/java/org/openapitools/client/Configuration.java

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

1414
package org.openapitools.client;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
1717
public class Configuration {
1818
public static final String VERSION = "v2";
1919

src/main/java/org/openapitools/client/Pair.java

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

1414
package org.openapitools.client;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/org/openapitools/client/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/org/openapitools/client/api/ResourcesCreatorApi.java

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ public okhttp3.Call getV2ResourcesCreatorAddonsAsync(List resourceIds, final Api
205205
/**
206206
* Build call for getV2ResourcesCreatorLicenses
207207
* @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
208+
* @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
208209
* @param _callback Callback for upload/download progress
209210
* @return Call to execute
210211
* @throws ApiException If fail to serialize the request body object
@@ -214,7 +215,7 @@ public okhttp3.Call getV2ResourcesCreatorAddonsAsync(List resourceIds, final Api
214215
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
215216
</table>
216217
*/
217-
public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, final ApiCallback _callback) throws ApiException {
218+
public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, List buyerIds, final ApiCallback _callback) throws ApiException {
218219
String basePath = null;
219220
// Operation Servers
220221
String[] localBasePaths = new String[] { };
@@ -243,6 +244,10 @@ public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, final Ap
243244
localVarQueryParams.addAll(localVarApiClient.parameterToPair("resource_ids", resourceIds));
244245
}
245246

247+
if (buyerIds != null) {
248+
localVarQueryParams.addAll(localVarApiClient.parameterToPair("buyer_ids", buyerIds));
249+
}
250+
246251
final String[] localVarAccepts = {
247252
"application/json"
248253
};
@@ -263,15 +268,16 @@ public okhttp3.Call getV2ResourcesCreatorLicensesCall(List resourceIds, final Ap
263268
}
264269

265270
@SuppressWarnings("rawtypes")
266-
private okhttp3.Call getV2ResourcesCreatorLicensesValidateBeforeCall(List resourceIds, final ApiCallback _callback) throws ApiException {
267-
return getV2ResourcesCreatorLicensesCall(resourceIds, _callback);
271+
private okhttp3.Call getV2ResourcesCreatorLicensesValidateBeforeCall(List resourceIds, List buyerIds, final ApiCallback _callback) throws ApiException {
272+
return getV2ResourcesCreatorLicensesCall(resourceIds, buyerIds, _callback);
268273

269274
}
270275

271276
/**
272277
* Fetch a list of your resources&#39; licenses
273278
*
274279
* @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
280+
* @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
275281
* @return GetV2ResourcesCreatorLicenses200Response
276282
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
277283
* @http.response.details
@@ -280,15 +286,16 @@ private okhttp3.Call getV2ResourcesCreatorLicensesValidateBeforeCall(List resour
280286
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
281287
</table>
282288
*/
283-
public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(List resourceIds) throws ApiException {
284-
ApiResponse<GetV2ResourcesCreatorLicenses200Response> localVarResp = getV2ResourcesCreatorLicensesWithHttpInfo(resourceIds);
289+
public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(List resourceIds, List buyerIds) throws ApiException {
290+
ApiResponse<GetV2ResourcesCreatorLicenses200Response> localVarResp = getV2ResourcesCreatorLicensesWithHttpInfo(resourceIds, buyerIds);
285291
return localVarResp.getData();
286292
}
287293

288294
/**
289295
* Fetch a list of your resources&#39; licenses
290296
*
291297
* @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
298+
* @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
292299
* @return ApiResponse&lt;GetV2ResourcesCreatorLicenses200Response&gt;
293300
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
294301
* @http.response.details
@@ -297,8 +304,8 @@ public GetV2ResourcesCreatorLicenses200Response getV2ResourcesCreatorLicenses(Li
297304
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
298305
</table>
299306
*/
300-
public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreatorLicensesWithHttpInfo(List resourceIds) throws ApiException {
301-
okhttp3.Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall(resourceIds, null);
307+
public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreatorLicensesWithHttpInfo(List resourceIds, List buyerIds) throws ApiException {
308+
okhttp3.Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall(resourceIds, buyerIds, null);
302309
Type localVarReturnType = new TypeToken<GetV2ResourcesCreatorLicenses200Response>(){}.getType();
303310
return localVarApiClient.execute(localVarCall, localVarReturnType);
304311
}
@@ -307,6 +314,7 @@ public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreat
307314
* Fetch a list of your resources&#39; licenses (asynchronously)
308315
*
309316
* @param resourceIds A comma-separated list of resource IDs to filter on. No filter is applied if empty. (optional)
317+
* @param buyerIds A comma-separated list of buyer IDs to filter on. No filter is applied if empty. (optional)
310318
* @param _callback The callback to be executed when the API call finishes
311319
* @return The request call
312320
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -316,9 +324,9 @@ public ApiResponse<GetV2ResourcesCreatorLicenses200Response> getV2ResourcesCreat
316324
<tr><td> 200 </td><td> OK </td><td> - </td></tr>
317325
</table>
318326
*/
319-
public okhttp3.Call getV2ResourcesCreatorLicensesAsync(List resourceIds, final ApiCallback<GetV2ResourcesCreatorLicenses200Response> _callback) throws ApiException {
327+
public okhttp3.Call getV2ResourcesCreatorLicensesAsync(List resourceIds, List buyerIds, final ApiCallback<GetV2ResourcesCreatorLicenses200Response> _callback) throws ApiException {
320328

321-
okhttp3.Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall(resourceIds, _callback);
329+
okhttp3.Call localVarCall = getV2ResourcesCreatorLicensesValidateBeforeCall(resourceIds, buyerIds, _callback);
322330
Type localVarReturnType = new TypeToken<GetV2ResourcesCreatorLicenses200Response>(){}.getType();
323331
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
324332
return localVarCall;

src/main/java/org/openapitools/client/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.util.Map;
2121
import java.util.List;
2222

23-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
23+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
2424
public class ApiKeyAuth implements Authentication {
2525
private final String location;
2626
private final String paramName;

src/main/java/org/openapitools/client/auth/HttpBearerAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import java.util.Optional;
2323
import java.util.function.Supplier;
2424

25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-05-19T10:29:07.570173Z[Etc/UTC]")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-10T13:23:40.968029Z[Etc/UTC]")
2626
public class HttpBearerAuth implements Authentication {
2727
private final String scheme;
2828
private Supplier<String> tokenSupplier;

0 commit comments

Comments
 (0)