Skip to content

Commit e117525

Browse files
authored
Merge pull request #89 from fireblocks/fireblocks-api-spec/generated/8699
Generated SDK #8699
2 parents 01bfbf7 + a9c897b commit e117525

File tree

267 files changed

+16944
-2224
lines changed

Some content is hidden

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

267 files changed

+16944
-2224
lines changed

.openapi-generator/FILES

Lines changed: 195 additions & 54 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 95 additions & 26 deletions
Large diffs are not rendered by default.

docs/AddCosignerRequest.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# AddCosignerRequest
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**api_key_id** | **str** | The id of the API key to be paired with the cosigner |
9+
**name** | **str** | The name of the cosigner |
10+
**existing_cosigner** | **bool** | Whether the cosigner already exists in another workspace | [optional] [default to False]
11+
12+
## Example
13+
14+
```python
15+
from fireblocks.models.add_cosigner_request import AddCosignerRequest
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of AddCosignerRequest from a JSON string
20+
add_cosigner_request_instance = AddCosignerRequest.from_json(json)
21+
# print the JSON string representation of the object
22+
print(AddCosignerRequest.to_json())
23+
24+
# convert the object into a dict
25+
add_cosigner_request_dict = add_cosigner_request_instance.to_dict()
26+
# create an instance of AddCosignerRequest from a dict
27+
add_cosigner_request_from_dict = AddCosignerRequest.from_dict(add_cosigner_request_dict)
28+
```
29+
[[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+
31+

docs/AddCosignerResponse.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# AddCosignerResponse
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**api_key_id** | **str** | The id of the API key to be paired with the cosigner |
9+
**name** | **str** | The name of the cosigner |
10+
**existing_cosigner** | **bool** | Whether the cosigner already exists in another workspace | [optional] [default to False]
11+
**pending_cosigner_id** | **str** | The unique identifier of a pending cosigner |
12+
13+
## Example
14+
15+
```python
16+
from fireblocks.models.add_cosigner_response import AddCosignerResponse
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of AddCosignerResponse from a JSON string
21+
add_cosigner_response_instance = AddCosignerResponse.from_json(json)
22+
# print the JSON string representation of the object
23+
print(AddCosignerResponse.to_json())
24+
25+
# convert the object into a dict
26+
add_cosigner_response_dict = add_cosigner_response_instance.to_dict()
27+
# create an instance of AddCosignerResponse from a dict
28+
add_cosigner_response_from_dict = AddCosignerResponse.from_dict(add_cosigner_response_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/AdditionalInfoDto.md renamed to docs/AdditionalInfo.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# AdditionalInfoDto
1+
# AdditionalInfo
22

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

45
## Properties
56

@@ -12,19 +13,19 @@ Name | Type | Description | Notes
1213
## Example
1314

1415
```python
15-
from fireblocks.models.additional_info_dto import AdditionalInfoDto
16+
from fireblocks.models.additional_info import AdditionalInfo
1617

1718
# TODO update the JSON string below
1819
json = "{}"
19-
# create an instance of AdditionalInfoDto from a JSON string
20-
additional_info_dto_instance = AdditionalInfoDto.from_json(json)
20+
# create an instance of AdditionalInfo from a JSON string
21+
additional_info_instance = AdditionalInfo.from_json(json)
2122
# print the JSON string representation of the object
22-
print(AdditionalInfoDto.to_json())
23+
print(AdditionalInfo.to_json())
2324

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

docs/ApiKey.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **str** | The unique identifier of the API key |
9-
**last_seen** | **datetime** | The date the API key was last seen |
9+
**last_seen** | **datetime** | The date the API key was last seen | [optional]
10+
**callback_handler** | [**CallbackHandler**](CallbackHandler.md) | | [optional]
1011

1112
## Example
1213

docs/AssetBadRequestErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Bad request error code |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetClassBeta.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AssetClassBeta
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

docs/AssetConflictErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Conflict error code |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetForbiddenErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Forbidden error code |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetInternalServerErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Internal server error code |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetMedia.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# AssetMedia
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**url** | **str** | Media URL |
9+
**type** | **str** | Media type |
10+
**attributes** | [**AssetMediaAttributes**](AssetMediaAttributes.md) | | [optional]
11+
12+
## Example
13+
14+
```python
15+
from fireblocks.models.asset_media import AssetMedia
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of AssetMedia from a JSON string
20+
asset_media_instance = AssetMedia.from_json(json)
21+
# print the JSON string representation of the object
22+
print(AssetMedia.to_json())
23+
24+
# convert the object into a dict
25+
asset_media_dict = asset_media_instance.to_dict()
26+
# create an instance of AssetMedia from a dict
27+
asset_media_from_dict = AssetMedia.from_dict(asset_media_dict)
28+
```
29+
[[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+
31+

docs/AssetMediaAttributes.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AssetMediaAttributes
2+
3+
Media attributes
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**monochrome** | **bool** | Monochrome flag | [optional]
10+
11+
## Example
12+
13+
```python
14+
from fireblocks.models.asset_media_attributes import AssetMediaAttributes
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of AssetMediaAttributes from a JSON string
19+
asset_media_attributes_instance = AssetMediaAttributes.from_json(json)
20+
# print the JSON string representation of the object
21+
print(AssetMediaAttributes.to_json())
22+
23+
# convert the object into a dict
24+
asset_media_attributes_dict = asset_media_attributes_instance.to_dict()
25+
# create an instance of AssetMediaAttributes from a dict
26+
asset_media_attributes_from_dict = AssetMediaAttributes.from_dict(asset_media_attributes_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/AssetResponseMetadata.md renamed to docs/AssetMetadata.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AssetResponseMetadata
1+
# AssetMetadata
22

33

44
## Properties
@@ -11,19 +11,19 @@ Name | Type | Description | Notes
1111
## Example
1212

1313
```python
14-
from fireblocks.models.asset_response_metadata import AssetResponseMetadata
14+
from fireblocks.models.asset_metadata import AssetMetadata
1515

1616
# TODO update the JSON string below
1717
json = "{}"
18-
# create an instance of AssetResponseMetadata from a JSON string
19-
asset_response_metadata_instance = AssetResponseMetadata.from_json(json)
18+
# create an instance of AssetMetadata from a JSON string
19+
asset_metadata_instance = AssetMetadata.from_json(json)
2020
# print the JSON string representation of the object
21-
print(AssetResponseMetadata.to_json())
21+
print(AssetMetadata.to_json())
2222

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

docs/AssetMetadataBeta.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# AssetMetadataBeta
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**scope** | **str** | The scope of the asset |
9+
**deprecated** | **bool** | Is asset deprecated |
10+
**deprecation_referral_id** | **str** | New asset ID replacement | [optional]
11+
**verified** | **bool** | Is asset verified by Fireblocks |
12+
**website** | **str** | Vendor’s website | [optional]
13+
**media** | [**List[AssetMedia]**](AssetMedia.md) | Asset’s media | [optional]
14+
15+
## Example
16+
17+
```python
18+
from fireblocks.models.asset_metadata_beta import AssetMetadataBeta
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of AssetMetadataBeta from a JSON string
23+
asset_metadata_beta_instance = AssetMetadataBeta.from_json(json)
24+
# print the JSON string representation of the object
25+
print(AssetMetadataBeta.to_json())
26+
27+
# convert the object into a dict
28+
asset_metadata_beta_dict = asset_metadata_beta_instance.to_dict()
29+
# create an instance of AssetMetadataBeta from a dict
30+
asset_metadata_beta_from_dict = AssetMetadataBeta.from_dict(asset_metadata_beta_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

docs/AssetNotFoundErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Not found error code |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetResponseOnchain.md renamed to docs/AssetOnchain.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AssetResponseOnchain
1+
# AssetOnchain
22

33

44
## Properties
@@ -14,19 +14,19 @@ Name | Type | Description | Notes
1414
## Example
1515

1616
```python
17-
from fireblocks.models.asset_response_onchain import AssetResponseOnchain
17+
from fireblocks.models.asset_onchain import AssetOnchain
1818

1919
# TODO update the JSON string below
2020
json = "{}"
21-
# create an instance of AssetResponseOnchain from a JSON string
22-
asset_response_onchain_instance = AssetResponseOnchain.from_json(json)
21+
# create an instance of AssetOnchain from a JSON string
22+
asset_onchain_instance = AssetOnchain.from_json(json)
2323
# print the JSON string representation of the object
24-
print(AssetResponseOnchain.to_json())
24+
print(AssetOnchain.to_json())
2525

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

docs/AssetOnchainBeta.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# AssetOnchainBeta
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**symbol** | **str** | The asset symbol |
9+
**name** | **str** | The asset name |
10+
**address** | **str** | The asset address | [optional]
11+
**decimals** | **float** | Number of decimals |
12+
**standards** | **List[str]** | Supported standards | [optional]
13+
14+
## Example
15+
16+
```python
17+
from fireblocks.models.asset_onchain_beta import AssetOnchainBeta
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of AssetOnchainBeta from a JSON string
22+
asset_onchain_beta_instance = AssetOnchainBeta.from_json(json)
23+
# print the JSON string representation of the object
24+
print(AssetOnchainBeta.to_json())
25+
26+
# convert the object into a dict
27+
asset_onchain_beta_dict = asset_onchain_beta_instance.to_dict()
28+
# create an instance of AssetOnchainBeta from a dict
29+
asset_onchain_beta_from_dict = AssetOnchainBeta.from_dict(asset_onchain_beta_dict)
30+
```
31+
[[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+
33+

docs/AssetPriceForbiddenErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Forbidden error message |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetPriceNotFoundErrorResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**message** | **str** | Not found error message |
9-
**code** | **str** | Error code |
9+
**code** | **float** | Error code |
1010

1111
## Example
1212

docs/AssetResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**legacy_id** | **str** | |
99
**asset_class** | **str** | |
10-
**onchain** | [**AssetResponseOnchain**](AssetResponseOnchain.md) | |
11-
**metadata** | [**AssetResponseMetadata**](AssetResponseMetadata.md) | |
10+
**onchain** | [**AssetOnchain**](AssetOnchain.md) | |
11+
**metadata** | [**AssetMetadata**](AssetMetadata.md) | |
1212

1313
## Example
1414

0 commit comments

Comments
 (0)