Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated SDK #8699 #89

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
249 changes: 195 additions & 54 deletions .openapi-generator/FILES

Large diffs are not rendered by default.

121 changes: 95 additions & 26 deletions README.md

Large diffs are not rendered by default.

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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_key_id** | **str** | The id of the API key to be paired with the cosigner |
**name** | **str** | The name of the cosigner |
**existing_cosigner** | **bool** | Whether the cosigner already exists in another workspace | [optional] [default to False]

## Example

```python
from fireblocks.models.add_cosigner_request import AddCosignerRequest

# TODO update the JSON string below
json = "{}"
# create an instance of AddCosignerRequest from a JSON string
add_cosigner_request_instance = AddCosignerRequest.from_json(json)
# print the JSON string representation of the object
print(AddCosignerRequest.to_json())

# convert the object into a dict
add_cosigner_request_dict = add_cosigner_request_instance.to_dict()
# create an instance of AddCosignerRequest from a dict
add_cosigner_request_from_dict = AddCosignerRequest.from_dict(add_cosigner_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**api_key_id** | **str** | The id of the API key to be paired with the cosigner |
**name** | **str** | The name of the cosigner |
**existing_cosigner** | **bool** | Whether the cosigner already exists in another workspace | [optional] [default to False]
**pending_cosigner_id** | **str** | The unique identifier of a pending cosigner |

## Example

```python
from fireblocks.models.add_cosigner_response import AddCosignerResponse

# TODO update the JSON string below
json = "{}"
# create an instance of AddCosignerResponse from a JSON string
add_cosigner_response_instance = AddCosignerResponse.from_json(json)
# print the JSON string representation of the object
print(AddCosignerResponse.to_json())

# convert the object into a dict
add_cosigner_response_dict = add_cosigner_response_instance.to_dict()
# create an instance of AddCosignerResponse from a dict
add_cosigner_response_from_dict = AddCosignerResponse.from_dict(add_cosigner_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


17 changes: 9 additions & 8 deletions docs/AdditionalInfoDto.md → docs/AdditionalInfo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# AdditionalInfoDto
# AdditionalInfo

Additional information related to the blockchain. This may include extra details about the blockchain network.

## Properties

Expand All @@ -12,19 +13,19 @@ Name | Type | Description | Notes
## Example

```python
from fireblocks.models.additional_info_dto import AdditionalInfoDto
from fireblocks.models.additional_info import AdditionalInfo

# TODO update the JSON string below
json = "{}"
# create an instance of AdditionalInfoDto from a JSON string
additional_info_dto_instance = AdditionalInfoDto.from_json(json)
# create an instance of AdditionalInfo from a JSON string
additional_info_instance = AdditionalInfo.from_json(json)
# print the JSON string representation of the object
print(AdditionalInfoDto.to_json())
print(AdditionalInfo.to_json())

# convert the object into a dict
additional_info_dto_dict = additional_info_dto_instance.to_dict()
# create an instance of AdditionalInfoDto from a dict
additional_info_dto_from_dict = AdditionalInfoDto.from_dict(additional_info_dto_dict)
additional_info_dict = additional_info_instance.to_dict()
# create an instance of AdditionalInfo from a dict
additional_info_from_dict = AdditionalInfo.from_dict(additional_info_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
3 changes: 2 additions & 1 deletion docs/ApiKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The unique identifier of the API key |
**last_seen** | **datetime** | The date the API key was last seen |
**last_seen** | **datetime** | The date the API key was last seen | [optional]
**callback_handler** | [**CallbackHandler**](CallbackHandler.md) | | [optional]

## Example

Expand Down
2 changes: 1 addition & 1 deletion docs/AssetBadRequestErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Bad request error code |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
11 changes: 11 additions & 0 deletions docs/AssetClassBeta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AssetClassBeta


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/AssetConflictErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Conflict error code |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
2 changes: 1 addition & 1 deletion docs/AssetForbiddenErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Forbidden error code |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
2 changes: 1 addition & 1 deletion docs/AssetInternalServerErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Internal server error code |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
31 changes: 31 additions & 0 deletions docs/AssetMedia.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# AssetMedia


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **str** | Media URL |
**type** | **str** | Media type |
**attributes** | [**AssetMediaAttributes**](AssetMediaAttributes.md) | | [optional]

## Example

```python
from fireblocks.models.asset_media import AssetMedia

# TODO update the JSON string below
json = "{}"
# create an instance of AssetMedia from a JSON string
asset_media_instance = AssetMedia.from_json(json)
# print the JSON string representation of the object
print(AssetMedia.to_json())

# convert the object into a dict
asset_media_dict = asset_media_instance.to_dict()
# create an instance of AssetMedia from a dict
asset_media_from_dict = AssetMedia.from_dict(asset_media_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


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

Media attributes

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**monochrome** | **bool** | Monochrome flag | [optional]

## Example

```python
from fireblocks.models.asset_media_attributes import AssetMediaAttributes

# TODO update the JSON string below
json = "{}"
# create an instance of AssetMediaAttributes from a JSON string
asset_media_attributes_instance = AssetMediaAttributes.from_json(json)
# print the JSON string representation of the object
print(AssetMediaAttributes.to_json())

# convert the object into a dict
asset_media_attributes_dict = asset_media_attributes_instance.to_dict()
# create an instance of AssetMediaAttributes from a dict
asset_media_attributes_from_dict = AssetMediaAttributes.from_dict(asset_media_attributes_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 8 additions & 8 deletions docs/AssetResponseMetadata.md → docs/AssetMetadata.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AssetResponseMetadata
# AssetMetadata


## Properties
Expand All @@ -11,19 +11,19 @@ Name | Type | Description | Notes
## Example

```python
from fireblocks.models.asset_response_metadata import AssetResponseMetadata
from fireblocks.models.asset_metadata import AssetMetadata

# TODO update the JSON string below
json = "{}"
# create an instance of AssetResponseMetadata from a JSON string
asset_response_metadata_instance = AssetResponseMetadata.from_json(json)
# create an instance of AssetMetadata from a JSON string
asset_metadata_instance = AssetMetadata.from_json(json)
# print the JSON string representation of the object
print(AssetResponseMetadata.to_json())
print(AssetMetadata.to_json())

# convert the object into a dict
asset_response_metadata_dict = asset_response_metadata_instance.to_dict()
# create an instance of AssetResponseMetadata from a dict
asset_response_metadata_from_dict = AssetResponseMetadata.from_dict(asset_response_metadata_dict)
asset_metadata_dict = asset_metadata_instance.to_dict()
# create an instance of AssetMetadata from a dict
asset_metadata_from_dict = AssetMetadata.from_dict(asset_metadata_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
34 changes: 34 additions & 0 deletions docs/AssetMetadataBeta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# AssetMetadataBeta


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**scope** | **str** | The scope of the asset |
**deprecated** | **bool** | Is asset deprecated |
**deprecation_referral_id** | **str** | New asset ID replacement | [optional]
**verified** | **bool** | Is asset verified by Fireblocks |
**website** | **str** | Vendor’s website | [optional]
**media** | [**List[AssetMedia]**](AssetMedia.md) | Asset’s media | [optional]

## Example

```python
from fireblocks.models.asset_metadata_beta import AssetMetadataBeta

# TODO update the JSON string below
json = "{}"
# create an instance of AssetMetadataBeta from a JSON string
asset_metadata_beta_instance = AssetMetadataBeta.from_json(json)
# print the JSON string representation of the object
print(AssetMetadataBeta.to_json())

# convert the object into a dict
asset_metadata_beta_dict = asset_metadata_beta_instance.to_dict()
# create an instance of AssetMetadataBeta from a dict
asset_metadata_beta_from_dict = AssetMetadataBeta.from_dict(asset_metadata_beta_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/AssetNotFoundErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Not found error code |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
16 changes: 8 additions & 8 deletions docs/AssetResponseOnchain.md → docs/AssetOnchain.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AssetResponseOnchain
# AssetOnchain


## Properties
Expand All @@ -14,19 +14,19 @@ Name | Type | Description | Notes
## Example

```python
from fireblocks.models.asset_response_onchain import AssetResponseOnchain
from fireblocks.models.asset_onchain import AssetOnchain

# TODO update the JSON string below
json = "{}"
# create an instance of AssetResponseOnchain from a JSON string
asset_response_onchain_instance = AssetResponseOnchain.from_json(json)
# create an instance of AssetOnchain from a JSON string
asset_onchain_instance = AssetOnchain.from_json(json)
# print the JSON string representation of the object
print(AssetResponseOnchain.to_json())
print(AssetOnchain.to_json())

# convert the object into a dict
asset_response_onchain_dict = asset_response_onchain_instance.to_dict()
# create an instance of AssetResponseOnchain from a dict
asset_response_onchain_from_dict = AssetResponseOnchain.from_dict(asset_response_onchain_dict)
asset_onchain_dict = asset_onchain_instance.to_dict()
# create an instance of AssetOnchain from a dict
asset_onchain_from_dict = AssetOnchain.from_dict(asset_onchain_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
33 changes: 33 additions & 0 deletions docs/AssetOnchainBeta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# AssetOnchainBeta


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**symbol** | **str** | The asset symbol |
**name** | **str** | The asset name |
**address** | **str** | The asset address | [optional]
**decimals** | **float** | Number of decimals |
**standards** | **List[str]** | Supported standards | [optional]

## Example

```python
from fireblocks.models.asset_onchain_beta import AssetOnchainBeta

# TODO update the JSON string below
json = "{}"
# create an instance of AssetOnchainBeta from a JSON string
asset_onchain_beta_instance = AssetOnchainBeta.from_json(json)
# print the JSON string representation of the object
print(AssetOnchainBeta.to_json())

# convert the object into a dict
asset_onchain_beta_dict = asset_onchain_beta_instance.to_dict()
# create an instance of AssetOnchainBeta from a dict
asset_onchain_beta_from_dict = AssetOnchainBeta.from_dict(asset_onchain_beta_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


2 changes: 1 addition & 1 deletion docs/AssetPriceForbiddenErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Forbidden error message |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
2 changes: 1 addition & 1 deletion docs/AssetPriceNotFoundErrorResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | Not found error message |
**code** | **str** | Error code |
**code** | **float** | Error code |

## Example

Expand Down
4 changes: 2 additions & 2 deletions docs/AssetResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**legacy_id** | **str** | |
**asset_class** | **str** | |
**onchain** | [**AssetResponseOnchain**](AssetResponseOnchain.md) | |
**metadata** | [**AssetResponseMetadata**](AssetResponseMetadata.md) | |
**onchain** | [**AssetOnchain**](AssetOnchain.md) | |
**metadata** | [**AssetMetadata**](AssetMetadata.md) | |

## Example

Expand Down
Loading
Loading