diff --git a/README.md b/README.md index 0bc0b0e..67470a7 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Add this dependency to your project's POM: com.fireblocks.sdk fireblocks-sdk - 12.1.2 + 0.0.0 compile ``` @@ -42,7 +42,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.fireblocks.sdk:fireblocks-sdk:12.1.2" +compile "com.fireblocks.sdk:fireblocks-sdk:0.0.0" ``` ### Others @@ -55,7 +55,7 @@ mvn clean package Then manually install the following JARs: -- `target/fireblocks-sdk-12.1.2.jar` +- `target/fireblocks-sdk-0.0.0.jar` - `target/lib/*.jar` diff --git a/api/openapi.yaml b/api/openapi.yaml index 0a4b32b..6ce6a05 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -57,7 +57,7 @@ paths: tags: - Vaults x-internal: true - x-rate-limit-category: query + x-rate-limit-category: high_compute x-readme: code-samples: - language: python @@ -235,7 +235,7 @@ paths: summary: List vault accounts (Paginated) tags: - Vaults - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -302,7 +302,7 @@ paths: summary: Find a vault account by ID tags: - Vaults - x-rate-limit-category: read + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -1126,7 +1126,7 @@ paths: summary: Refresh asset balance data tags: - Vaults - x-rate-limit-category: async + x-rate-limit-category: high_compute x-readme: code-samples: - language: python @@ -4024,7 +4024,7 @@ paths: tags: - Exchange accounts x-internal: true - x-rate-limit-category: query + x-rate-limit-category: high_compute x-readme: code-samples: - language: python @@ -4209,7 +4209,7 @@ paths: summary: Find a specific exchange account tags: - Exchange accounts - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -4425,7 +4425,7 @@ paths: summary: Find an asset for an exchange account tags: - Exchange accounts - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -6290,7 +6290,7 @@ paths: summary: List internal wallets tags: - Internal wallets - x-rate-limit-category: query + x-rate-limit-category: high_compute x-readme: code-samples: - language: typescript @@ -6481,7 +6481,7 @@ paths: summary: Get an asset from an internal wallet tags: - Internal wallets - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -6811,7 +6811,7 @@ paths: summary: Get an asset from an internal wallet tags: - Internal wallets - x-rate-limit-category: read + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -7050,6 +7050,15 @@ paths: nullable: true type: boolean style: form + - description: A case-insensitive prefix filter that matches records where either + keyId or signingDeviceKeyID starts with the specified value. + explode: true + in: query + name: keyPrefix + required: false + schema: + type: string + style: form responses: "200": content: @@ -7077,12 +7086,12 @@ paths: code: "CompletableFuture> response\ \ = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize,\ \ sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available,\ - \ isAssigned);" + \ isAssigned, keyPrefix);" name: Fireblocks SDK Java example - language: python code: "response = fireblocks.key_link_beta.get_signing_keys_list(page_cursor,\ \ page_size, sort_by, order, vault_account_id, agent_user_id, algorithm,\ - \ enabled, available, is_assigned);" + \ enabled, available, is_assigned, key_prefix);" name: Fireblocks SDK Python example x-codeSamples: - lang: TypeScript @@ -7091,11 +7100,12 @@ paths: - lang: Java source: "CompletableFuture> response\ \ = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy,\ - \ order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned);" + \ order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned,\ + \ keyPrefix);" - lang: Python source: "response = fireblocks.key_link_beta.get_signing_keys_list(page_cursor,\ \ page_size, sort_by, order, vault_account_id, agent_user_id, algorithm,\ - \ enabled, available, is_assigned);" + \ enabled, available, is_assigned, key_prefix);" x-accepts: - application/json post: @@ -7757,7 +7767,7 @@ paths: summary: List external wallets tags: - External wallets - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -8679,7 +8689,7 @@ paths: summary: List all asset types supported by Fireblocks - legacy endpoint tags: - Blockchains & assets - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -8827,7 +8837,7 @@ paths: summary: List assets tags: - Blockchains & assets - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -8950,7 +8960,7 @@ paths: summary: Register an asset tags: - Blockchains & assets - x-rate-limit-category: write + x-rate-limit-category: high_compute x-readme: code-samples: - language: python @@ -9043,7 +9053,7 @@ paths: summary: Get an asset tags: - Blockchains & assets - x-rate-limit-category: read + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -9343,7 +9353,7 @@ paths: summary: List blockchains tags: - Blockchains & assets - x-rate-limit-category: query + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -9421,7 +9431,7 @@ paths: summary: Get an blockchain tags: - Blockchains & assets - x-rate-limit-category: read + x-rate-limit-category: external_query x-readme: code-samples: - language: python @@ -18884,7 +18894,7 @@ paths: summary: List all open Web3 connections. tags: - Web3 connections - x-rate-limit-category: high_compute + x-rate-limit-category: query x-readme: code-samples: - language: typescript @@ -30169,6 +30179,7 @@ components: - TRIncomingCompleted - TRIncomingFailed - IncomingCompleted + - UpdateCompleted type: string AmlRegistrationResult: example: @@ -42458,6 +42469,7 @@ components: description: description of MYTOKEN tokenId: "1" vaultAccountId: "0" + externalId: 0192e4f5-924e-7bb9-8e5b-c748270feb38 to: 0x5503766D27d1ED4525f5053222E18b29C38eDdB2 metadataURI: ipfs://QmP4P6f7mDHzikhdwLBVSCxCPEgmjwcWSVBHbtSyfBYzBC properties: @@ -42491,6 +42503,12 @@ components: example: name: MYTOKEN description: description of MYTOKEN + externalId: + description: External id that can be used to identify the transaction in + your system. The unique identifier of the transaction outside of Fireblocks + with max length of 255 characters + example: 0192e4f5-924e-7bb9-8e5b-c748270feb38 + type: string required: - to - tokenId @@ -42512,6 +42530,7 @@ components: amount: "1" tokenId: "1" vaultAccountId: "0" + externalId: 0192e4f5-924e-7bb9-8e5b-c748270feb38 properties: vaultAccountId: description: The id of the vault account that initiates the burn function @@ -42526,6 +42545,12 @@ components: \ ERC1155, amount should be 1 or greater" example: "1" type: string + externalId: + description: External id that can be used to identify the transaction in + your system. The unique identifier of the transaction outside of Fireblocks + with max length of 255 characters + example: 0192e4f5-924e-7bb9-8e5b-c748270feb38 + type: string required: - tokenId - vaultAccountId diff --git a/build.gradle b/build.gradle index 7d1df30..62baedc 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'eclipse' apply plugin: 'com.diffplug.spotless' group = 'com.fireblocks.sdk' -version = '12.1.2' +version = '0.0.0' buildscript { repositories { diff --git a/docs/CollectionBurnRequestDto.md b/docs/CollectionBurnRequestDto.md index 04791e6..11a17ec 100644 --- a/docs/CollectionBurnRequestDto.md +++ b/docs/CollectionBurnRequestDto.md @@ -10,6 +10,7 @@ |**vaultAccountId** | **String** | The id of the vault account that initiates the burn function | | |**tokenId** | **String** | The token id | | |**amount** | **String** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [optional] | +|**externalId** | **String** | External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters | [optional] | diff --git a/docs/CollectionMintRequestDto.md b/docs/CollectionMintRequestDto.md index 58a60b2..b44c8cf 100644 --- a/docs/CollectionMintRequestDto.md +++ b/docs/CollectionMintRequestDto.md @@ -13,6 +13,7 @@ |**amount** | **String** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [optional] | |**metadataURI** | **String** | URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value | [optional] | |**metadata** | [**CollectionTokenMetadataDto**](CollectionTokenMetadataDto.md) | Metadata to upload | [optional] | +|**externalId** | **String** | External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters | [optional] | diff --git a/docs/ComplianceResultStatusesEnum.md b/docs/ComplianceResultStatusesEnum.md index b9b7c83..eaf84c6 100644 --- a/docs/ComplianceResultStatusesEnum.md +++ b/docs/ComplianceResultStatusesEnum.md @@ -51,5 +51,7 @@ * `INCOMING_COMPLETED` (value: `"IncomingCompleted"`) +* `UPDATE_COMPLETED` (value: `"UpdateCompleted"`) + diff --git a/docs/KeyLinkBetaApi.md b/docs/KeyLinkBetaApi.md index f3109b9..af4b396 100644 --- a/docs/KeyLinkBetaApi.md +++ b/docs/KeyLinkBetaApi.md @@ -356,7 +356,7 @@ No authorization required ## getSigningKeysList -> CompletableFuture> getSigningKeysList getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned) +> CompletableFuture> getSigningKeysList getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned, keyPrefix) Get list of signing keys @@ -395,8 +395,9 @@ public class Example { Boolean enabled = true; // Boolean | Return keys that have been proof of ownership Boolean available = true; // Boolean | Return keys that are proof of ownership but not assigned. Available filter can be used only when vaultAccountId and enabled filters are not set Boolean isAssigned = true; // Boolean | Return keys that are assigned to a vault account + String keyPrefix = "keyPrefix_example"; // String | A case-insensitive prefix filter that matches records where either keyId or signingDeviceKeyID starts with the specified value. try { - CompletableFuture> response = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned); + CompletableFuture> response = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned, keyPrefix); System.out.println("Status code: " + response.get().getStatusCode()); System.out.println("Response headers: " + response.get().getHeaders()); System.out.println("Response body: " + response.get().getData()); @@ -433,6 +434,7 @@ public class Example { | **enabled** | **Boolean**| Return keys that have been proof of ownership | [optional] | | **available** | **Boolean**| Return keys that are proof of ownership but not assigned. Available filter can be used only when vaultAccountId and enabled filters are not set | [optional] | | **isAssigned** | **Boolean**| Return keys that are assigned to a vault account | [optional] | +| **keyPrefix** | **String**| A case-insensitive prefix filter that matches records where either keyId or signingDeviceKeyID starts with the specified value. | [optional] | ### Return type diff --git a/pom.xml b/pom.xml index ef7317e..89176ce 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fireblocks-sdk jar fireblocks-sdk - 12.1.2 + 0.0.0 https://github.com/fireblocks/java-sdk The Fireblocks Official SDK is a comprehensive software development kit that enables seamless integration and interaction with the Fireblocks platform. Fireblocks is a cutting-edge blockchain infrastructure platform that provides secure and scalable solutions for managing digital assets and transactions. This SDK empowers developers to build robust applications that can interact with the Fireblocks platform's features, including creating and managing vault accounts, initiating secure transactions, managing assets, and more. It abstracts complex interactions with the Fireblocks API, making it easier for developers to leverage the platform's capabilities while adhering to best practices in security and efficiency. diff --git a/src/main/java/com/fireblocks/sdk/Configuration.java b/src/main/java/com/fireblocks/sdk/Configuration.java index 9d196a3..19e09ed 100644 --- a/src/main/java/com/fireblocks/sdk/Configuration.java +++ b/src/main/java/com/fireblocks/sdk/Configuration.java @@ -21,7 +21,7 @@ value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.14.0") public class Configuration { - public static final String VERSION = "12.1.2"; + public static final String VERSION = "0.0.0"; private static final AtomicReference defaultApiClient = new AtomicReference<>(); private static volatile Supplier apiClientFactory = ApiClient::new; diff --git a/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java b/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java index 52f2f35..7de7767 100644 --- a/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/KeyLinkBetaApi.java @@ -429,6 +429,8 @@ private HttpRequest.Builder getSigningKeyRequestBuilder(String keyId) throws Api * @param available Return keys that are proof of ownership but not assigned. Available filter * can be used only when vaultAccountId and enabled filters are not set (optional) * @param isAssigned Return keys that are assigned to a vault account (optional) + * @param keyPrefix A case-insensitive prefix filter that matches records where either keyId or + * signingDeviceKeyID starts with the specified value. (optional) * @return CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> * @throws ApiException if fails to make API call */ @@ -442,7 +444,8 @@ public CompletableFuture> getSigningKeysLi String algorithm, Boolean enabled, Boolean available, - Boolean isAssigned) + Boolean isAssigned, + String keyPrefix) throws ApiException { try { HttpRequest.Builder localVarRequestBuilder = @@ -456,7 +459,8 @@ public CompletableFuture> getSigningKeysLi algorithm, enabled, available, - isAssigned); + isAssigned, + keyPrefix); return memberVarHttpClient .sendAsync(localVarRequestBuilder.build(), HttpResponse.BodyHandlers.ofString()) .thenComposeAsync( @@ -500,7 +504,8 @@ private HttpRequest.Builder getSigningKeysListRequestBuilder( String algorithm, Boolean enabled, Boolean available, - Boolean isAssigned) + Boolean isAssigned, + String keyPrefix) throws ApiException { HttpRequest.Builder localVarRequestBuilder = HttpRequest.newBuilder(); @@ -530,6 +535,8 @@ private HttpRequest.Builder getSigningKeysListRequestBuilder( localVarQueryParams.addAll(ApiClient.parameterToPairs("available", available)); localVarQueryParameterBaseName = "isAssigned"; localVarQueryParams.addAll(ApiClient.parameterToPairs("isAssigned", isAssigned)); + localVarQueryParameterBaseName = "keyPrefix"; + localVarQueryParams.addAll(ApiClient.parameterToPairs("keyPrefix", keyPrefix)); if (!localVarQueryParams.isEmpty() || localVarQueryStringJoiner.length() != 0) { StringJoiner queryJoiner = new StringJoiner("&"); diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java index 8325c8b..5508235 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionBurnRequestDto.java @@ -25,7 +25,8 @@ @JsonPropertyOrder({ CollectionBurnRequestDto.JSON_PROPERTY_VAULT_ACCOUNT_ID, CollectionBurnRequestDto.JSON_PROPERTY_TOKEN_ID, - CollectionBurnRequestDto.JSON_PROPERTY_AMOUNT + CollectionBurnRequestDto.JSON_PROPERTY_AMOUNT, + CollectionBurnRequestDto.JSON_PROPERTY_EXTERNAL_ID }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -40,6 +41,9 @@ public class CollectionBurnRequestDto { public static final String JSON_PROPERTY_AMOUNT = "amount"; @jakarta.annotation.Nullable private String amount; + public static final String JSON_PROPERTY_EXTERNAL_ID = "externalId"; + @jakarta.annotation.Nullable private String externalId; + public CollectionBurnRequestDto() {} @JsonCreator @@ -122,6 +126,30 @@ public void setAmount(@jakarta.annotation.Nullable String amount) { this.amount = amount; } + public CollectionBurnRequestDto externalId(@jakarta.annotation.Nullable String externalId) { + this.externalId = externalId; + return this; + } + + /** + * External id that can be used to identify the transaction in your system. The unique + * identifier of the transaction outside of Fireblocks with max length of 255 characters + * + * @return externalId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getExternalId() { + return externalId; + } + + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExternalId(@jakarta.annotation.Nullable String externalId) { + this.externalId = externalId; + } + /** Return true if this CollectionBurnRequestDto object is equal to o. */ @Override public boolean equals(Object o) { @@ -134,12 +162,13 @@ public boolean equals(Object o) { CollectionBurnRequestDto collectionBurnRequestDto = (CollectionBurnRequestDto) o; return Objects.equals(this.vaultAccountId, collectionBurnRequestDto.vaultAccountId) && Objects.equals(this.tokenId, collectionBurnRequestDto.tokenId) - && Objects.equals(this.amount, collectionBurnRequestDto.amount); + && Objects.equals(this.amount, collectionBurnRequestDto.amount) + && Objects.equals(this.externalId, collectionBurnRequestDto.externalId); } @Override public int hashCode() { - return Objects.hash(vaultAccountId, tokenId, amount); + return Objects.hash(vaultAccountId, tokenId, amount, externalId); } @Override @@ -149,6 +178,7 @@ public String toString() { sb.append(" vaultAccountId: ").append(toIndentedString(vaultAccountId)).append("\n"); sb.append(" tokenId: ").append(toIndentedString(tokenId)).append("\n"); sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -226,6 +256,16 @@ public String toUrlQueryString(String prefix) { ApiClient.urlEncode(ApiClient.valueToString(getAmount())))); } + // add `externalId` to the URL query string + if (getExternalId() != null) { + joiner.add( + String.format( + "%sexternalId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getExternalId())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java b/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java index ca61183..7443b7a 100644 --- a/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java +++ b/src/main/java/com/fireblocks/sdk/model/CollectionMintRequestDto.java @@ -28,7 +28,8 @@ CollectionMintRequestDto.JSON_PROPERTY_TOKEN_ID, CollectionMintRequestDto.JSON_PROPERTY_AMOUNT, CollectionMintRequestDto.JSON_PROPERTY_METADATA_U_R_I, - CollectionMintRequestDto.JSON_PROPERTY_METADATA + CollectionMintRequestDto.JSON_PROPERTY_METADATA, + CollectionMintRequestDto.JSON_PROPERTY_EXTERNAL_ID }) @jakarta.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -52,6 +53,9 @@ public class CollectionMintRequestDto { public static final String JSON_PROPERTY_METADATA = "metadata"; @jakarta.annotation.Nullable private CollectionTokenMetadataDto metadata; + public static final String JSON_PROPERTY_EXTERNAL_ID = "externalId"; + @jakarta.annotation.Nullable private String externalId; + public CollectionMintRequestDto() {} @JsonCreator @@ -206,6 +210,30 @@ public void setMetadata(@jakarta.annotation.Nullable CollectionTokenMetadataDto this.metadata = metadata; } + public CollectionMintRequestDto externalId(@jakarta.annotation.Nullable String externalId) { + this.externalId = externalId; + return this; + } + + /** + * External id that can be used to identify the transaction in your system. The unique + * identifier of the transaction outside of Fireblocks with max length of 255 characters + * + * @return externalId + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public String getExternalId() { + return externalId; + } + + @JsonProperty(JSON_PROPERTY_EXTERNAL_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setExternalId(@jakarta.annotation.Nullable String externalId) { + this.externalId = externalId; + } + /** Return true if this CollectionMintRequestDto object is equal to o. */ @Override public boolean equals(Object o) { @@ -221,12 +249,13 @@ public boolean equals(Object o) { && Objects.equals(this.tokenId, collectionMintRequestDto.tokenId) && Objects.equals(this.amount, collectionMintRequestDto.amount) && Objects.equals(this.metadataURI, collectionMintRequestDto.metadataURI) - && Objects.equals(this.metadata, collectionMintRequestDto.metadata); + && Objects.equals(this.metadata, collectionMintRequestDto.metadata) + && Objects.equals(this.externalId, collectionMintRequestDto.externalId); } @Override public int hashCode() { - return Objects.hash(vaultAccountId, to, tokenId, amount, metadataURI, metadata); + return Objects.hash(vaultAccountId, to, tokenId, amount, metadataURI, metadata, externalId); } @Override @@ -239,6 +268,7 @@ public String toString() { sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); sb.append(" metadataURI: ").append(toIndentedString(metadataURI)).append("\n"); sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); + sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n"); sb.append("}"); return sb.toString(); } @@ -339,6 +369,16 @@ public String toUrlQueryString(String prefix) { joiner.add(getMetadata().toUrlQueryString(prefix + "metadata" + suffix)); } + // add `externalId` to the URL query string + if (getExternalId() != null) { + joiner.add( + String.format( + "%sexternalId%s=%s", + prefix, + suffix, + ApiClient.urlEncode(ApiClient.valueToString(getExternalId())))); + } + return joiner.toString(); } } diff --git a/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java b/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java index 35ef1de..8b20f9d 100644 --- a/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java +++ b/src/main/java/com/fireblocks/sdk/model/ComplianceResultStatusesEnum.java @@ -62,7 +62,9 @@ public enum ComplianceResultStatusesEnum { TR_INCOMING_FAILED("TRIncomingFailed"), - INCOMING_COMPLETED("IncomingCompleted"); + INCOMING_COMPLETED("IncomingCompleted"), + + UPDATE_COMPLETED("UpdateCompleted"); private String value; diff --git a/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java index cbae998..b371952 100644 --- a/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/KeyLinkBetaApiTest.java @@ -137,6 +137,7 @@ public void getSigningKeysListTest() throws ApiException { Boolean enabled = null; Boolean available = null; Boolean isAssigned = null; + String keyPrefix = null; CompletableFuture> response = api.getSigningKeysList( pageCursor, @@ -148,7 +149,8 @@ public void getSigningKeysListTest() throws ApiException { algorithm, enabled, available, - isAssigned); + isAssigned, + keyPrefix); } /** diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java index aeab008..9c64053 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionBurnRequestDtoTest.java @@ -42,4 +42,10 @@ void tokenIdTest() { void amountTest() { // TODO: test amount } + + /** Test the property 'externalId' */ + @Test + void externalIdTest() { + // TODO: test externalId + } } diff --git a/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java b/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java index 7f8d7b3..6698cf6 100644 --- a/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java +++ b/src/test/java/com/fireblocks/sdk/model/CollectionMintRequestDtoTest.java @@ -60,4 +60,10 @@ void metadataURITest() { void metadataTest() { // TODO: test metadata } + + /** Test the property 'externalId' */ + @Test + void externalIdTest() { + // TODO: test externalId + } }