Skip to content

Commit

Permalink
feat: add cosigners beta api (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafs932 authored Apr 17, 2024
1 parent 96d780f commit 59fa46b
Show file tree
Hide file tree
Showing 35 changed files with 4,569 additions and 174 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fireblocks.sdk</groupId>
<artifactId>fireblocks-sdk</artifactId>
<version>1.0.1</version>
<version>1.1.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -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:1.0.1"
compile "com.fireblocks.sdk:fireblocks-sdk:1.1.0"
```

### Others
Expand All @@ -55,7 +55,7 @@ mvn clean package

Then manually install the following JARs:

- `target/fireblocks-sdk-1.0.1.jar`
- `target/fireblocks-sdk-1.1.0.jar`
- `target/lib/*.jar`


Expand Down Expand Up @@ -166,6 +166,11 @@ Class | Method | HTTP request | Description
*ContractsApi* | [**getContract**](docs/ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a specific contract
*ContractsApi* | [**getContractAsset**](docs/ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset
*ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | List contracts
*CosignersBetaApi* | [**getApiKey**](docs/CosignersBetaApi.md#getApiKey) | **GET** /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key
*CosignersBetaApi* | [**getApiKeys**](docs/CosignersBetaApi.md#getApiKeys) | **GET** /cosigners/{cosignerId}/api_keys | Get all API keys
*CosignersBetaApi* | [**getCosigner**](docs/CosignersBetaApi.md#getCosigner) | **GET** /cosigners/{cosignerId} | Get cosigner
*CosignersBetaApi* | [**getCosigners**](docs/CosignersBetaApi.md#getCosigners) | **GET** /cosigners | Get all cosigners
*CosignersBetaApi* | [**renameCosigner**](docs/CosignersBetaApi.md#renameCosigner) | **PATCH** /cosigners/{cosignerId} | Rename cosigner
*ExchangeAccountsApi* | [**convertAssets**](docs/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset.
*ExchangeAccountsApi* | [**getExchangeAccount**](docs/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account
*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account
Expand Down Expand Up @@ -344,6 +349,8 @@ Class | Method | HTTP request | Description
- [AmountAggregationTimePeriodMethod](docs/AmountAggregationTimePeriodMethod.md)
- [AmountAndChainDescriptor](docs/AmountAndChainDescriptor.md)
- [AmountInfo](docs/AmountInfo.md)
- [ApiKey](docs/ApiKey.md)
- [ApiKeysPaginatedResponse](docs/ApiKeysPaginatedResponse.md)
- [AssetAmount](docs/AssetAmount.md)
- [AssetBadRequestErrorResponse](docs/AssetBadRequestErrorResponse.md)
- [AssetConflictErrorResponse](docs/AssetConflictErrorResponse.md)
Expand Down Expand Up @@ -384,6 +391,8 @@ Class | Method | HTTP request | Description
- [ConversionValidationFailure](docs/ConversionValidationFailure.md)
- [ConvertAssetsRequest](docs/ConvertAssetsRequest.md)
- [ConvertAssetsResponse](docs/ConvertAssetsResponse.md)
- [Cosigner](docs/Cosigner.md)
- [CosignersPaginatedResponse](docs/CosignersPaginatedResponse.md)
- [CreateAPIUser](docs/CreateAPIUser.md)
- [CreateAddressRequest](docs/CreateAddressRequest.md)
- [CreateAddressResponse](docs/CreateAddressResponse.md)
Expand Down Expand Up @@ -551,6 +560,7 @@ Class | Method | HTTP request | Description
- [RegisterNewAssetRequest](docs/RegisterNewAssetRequest.md)
- [RelatedTransactionDto](docs/RelatedTransactionDto.md)
- [RemoveCollateralRequestBody](docs/RemoveCollateralRequestBody.md)
- [RenameCosigner](docs/RenameCosigner.md)
- [RenameVaultAccountResponse](docs/RenameVaultAccountResponse.md)
- [ResendTransactionWebhooksRequest](docs/ResendTransactionWebhooksRequest.md)
- [ResendWebhooksByTransactionIdResponse](docs/ResendWebhooksByTransactionIdResponse.md)
Expand Down
2,285 changes: 2,166 additions & 119 deletions api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'

group = 'com.fireblocks.sdk'
version = '1.0.1'
version = '1.1.0'

buildscript {
repositories {
Expand Down
14 changes: 14 additions & 0 deletions docs/ApiKey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# ApiKey


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**id** | **UUID** | The unique identifier of the API key | |
|**lastSeen** | **OffsetDateTime** | The date the API key was last seen | |



14 changes: 14 additions & 0 deletions docs/ApiKeysPaginatedResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# ApiKeysPaginatedResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**data** | [**List&lt;ApiKey&gt;**](ApiKey.md) | The data of the current page | |
|**next** | **String** | The ID of the next page | [optional] |



15 changes: 15 additions & 0 deletions docs/Cosigner.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# Cosigner


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**archived** | **Boolean** | Whether the cosigner is archived | |
|**id** | **UUID** | The unique identifier of the cosigner | |
|**name** | **String** | The name of the cosigner | [optional] |



Loading

0 comments on commit 59fa46b

Please sign in to comment.