Skip to content

Commit 59fa46b

Browse files
authored
feat: add cosigners beta api (#11)
1 parent 96d780f commit 59fa46b

35 files changed

+4569
-174
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Add this dependency to your project's POM:
3232
<dependency>
3333
<groupId>com.fireblocks.sdk</groupId>
3434
<artifactId>fireblocks-sdk</artifactId>
35-
<version>1.0.1</version>
35+
<version>1.1.0</version>
3636
<scope>compile</scope>
3737
</dependency>
3838
```
@@ -42,7 +42,7 @@ Add this dependency to your project's POM:
4242
Add this dependency to your project's build file:
4343

4444
```groovy
45-
compile "com.fireblocks.sdk:fireblocks-sdk:1.0.1"
45+
compile "com.fireblocks.sdk:fireblocks-sdk:1.1.0"
4646
```
4747

4848
### Others
@@ -55,7 +55,7 @@ mvn clean package
5555

5656
Then manually install the following JARs:
5757

58-
- `target/fireblocks-sdk-1.0.1.jar`
58+
- `target/fireblocks-sdk-1.1.0.jar`
5959
- `target/lib/*.jar`
6060

6161

@@ -166,6 +166,11 @@ Class | Method | HTTP request | Description
166166
*ContractsApi* | [**getContract**](docs/ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a specific contract
167167
*ContractsApi* | [**getContractAsset**](docs/ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset
168168
*ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | List contracts
169+
*CosignersBetaApi* | [**getApiKey**](docs/CosignersBetaApi.md#getApiKey) | **GET** /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key
170+
*CosignersBetaApi* | [**getApiKeys**](docs/CosignersBetaApi.md#getApiKeys) | **GET** /cosigners/{cosignerId}/api_keys | Get all API keys
171+
*CosignersBetaApi* | [**getCosigner**](docs/CosignersBetaApi.md#getCosigner) | **GET** /cosigners/{cosignerId} | Get cosigner
172+
*CosignersBetaApi* | [**getCosigners**](docs/CosignersBetaApi.md#getCosigners) | **GET** /cosigners | Get all cosigners
173+
*CosignersBetaApi* | [**renameCosigner**](docs/CosignersBetaApi.md#renameCosigner) | **PATCH** /cosigners/{cosignerId} | Rename cosigner
169174
*ExchangeAccountsApi* | [**convertAssets**](docs/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset.
170175
*ExchangeAccountsApi* | [**getExchangeAccount**](docs/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account
171176
*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account
@@ -344,6 +349,8 @@ Class | Method | HTTP request | Description
344349
- [AmountAggregationTimePeriodMethod](docs/AmountAggregationTimePeriodMethod.md)
345350
- [AmountAndChainDescriptor](docs/AmountAndChainDescriptor.md)
346351
- [AmountInfo](docs/AmountInfo.md)
352+
- [ApiKey](docs/ApiKey.md)
353+
- [ApiKeysPaginatedResponse](docs/ApiKeysPaginatedResponse.md)
347354
- [AssetAmount](docs/AssetAmount.md)
348355
- [AssetBadRequestErrorResponse](docs/AssetBadRequestErrorResponse.md)
349356
- [AssetConflictErrorResponse](docs/AssetConflictErrorResponse.md)
@@ -384,6 +391,8 @@ Class | Method | HTTP request | Description
384391
- [ConversionValidationFailure](docs/ConversionValidationFailure.md)
385392
- [ConvertAssetsRequest](docs/ConvertAssetsRequest.md)
386393
- [ConvertAssetsResponse](docs/ConvertAssetsResponse.md)
394+
- [Cosigner](docs/Cosigner.md)
395+
- [CosignersPaginatedResponse](docs/CosignersPaginatedResponse.md)
387396
- [CreateAPIUser](docs/CreateAPIUser.md)
388397
- [CreateAddressRequest](docs/CreateAddressRequest.md)
389398
- [CreateAddressResponse](docs/CreateAddressResponse.md)
@@ -551,6 +560,7 @@ Class | Method | HTTP request | Description
551560
- [RegisterNewAssetRequest](docs/RegisterNewAssetRequest.md)
552561
- [RelatedTransactionDto](docs/RelatedTransactionDto.md)
553562
- [RemoveCollateralRequestBody](docs/RemoveCollateralRequestBody.md)
563+
- [RenameCosigner](docs/RenameCosigner.md)
554564
- [RenameVaultAccountResponse](docs/RenameVaultAccountResponse.md)
555565
- [ResendTransactionWebhooksRequest](docs/ResendTransactionWebhooksRequest.md)
556566
- [ResendWebhooksByTransactionIdResponse](docs/ResendWebhooksByTransactionIdResponse.md)

api/openapi.yaml

Lines changed: 2166 additions & 119 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'com.diffplug.spotless'
44

55
group = 'com.fireblocks.sdk'
6-
version = '1.0.1'
6+
version = '1.1.0'
77

88
buildscript {
99
repositories {

docs/ApiKey.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# ApiKey
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**id** | **UUID** | The unique identifier of the API key | |
11+
|**lastSeen** | **OffsetDateTime** | The date the API key was last seen | |
12+
13+
14+

docs/ApiKeysPaginatedResponse.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# ApiKeysPaginatedResponse
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**data** | [**List&lt;ApiKey&gt;**](ApiKey.md) | The data of the current page | |
11+
|**next** | **String** | The ID of the next page | [optional] |
12+
13+
14+

docs/Cosigner.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# Cosigner
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**archived** | **Boolean** | Whether the cosigner is archived | |
11+
|**id** | **UUID** | The unique identifier of the cosigner | |
12+
|**name** | **String** | The name of the cosigner | [optional] |
13+
14+
15+

0 commit comments

Comments
 (0)