Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
--body "This PR was automatically generated." \
--base master \
--head ${{ github.ref }} \
--reviewer asafs932,sharonasw,YoavBZ
--reviewer asafs932,YoavBZ
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 9 additions & 6 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@ docs/EstimatedNetworkFeeResponse.md
docs/EstimatedTransactionFeeResponse.md
docs/ExchangeAccount.md
docs/ExchangeAccountsApi.md
docs/ExchangeAccountsPaged.md
docs/ExchangeAccountsPagedPaging.md
docs/ExchangeAsset.md
docs/ExchangeSettlementTransactionsResponse.md
docs/ExchangeTradingAccount.md
Expand Down Expand Up @@ -330,6 +328,7 @@ docs/FeeBreakdownOneOf.md
docs/FeeBreakdownOneOf1.md
docs/FeeInfo.md
docs/FeeLevel.md
docs/FeePayerInfo.md
docs/FetchAbiRequestDto.md
docs/FiatAccount.md
docs/FiatAccountType.md
Expand Down Expand Up @@ -362,6 +361,8 @@ docs/GetNFTsResponse.md
docs/GetOrdersResponse.md
docs/GetOtaStatusResponse.md
docs/GetOwnershipTokensResponse.md
docs/GetPagedExchangeAccountsResponse.md
docs/GetPagedExchangeAccountsResponsePaging.md
docs/GetSigningKeyResponseDto.md
docs/GetTransactionOperation.md
docs/GetValidationKeyResponseDto.md
Expand Down Expand Up @@ -1153,8 +1154,6 @@ fireblocks/models/estimated_network_fee_response.py
fireblocks/models/estimated_transaction_fee_response.py
fireblocks/models/evm_token_create_params_dto.py
fireblocks/models/exchange_account.py
fireblocks/models/exchange_accounts_paged.py
fireblocks/models/exchange_accounts_paged_paging.py
fireblocks/models/exchange_asset.py
fireblocks/models/exchange_settlement_transactions_response.py
fireblocks/models/exchange_trading_account.py
Expand All @@ -1181,6 +1180,7 @@ fireblocks/models/fee_breakdown_one_of.py
fireblocks/models/fee_breakdown_one_of1.py
fireblocks/models/fee_info.py
fireblocks/models/fee_level.py
fireblocks/models/fee_payer_info.py
fireblocks/models/fetch_abi_request_dto.py
fireblocks/models/fiat_account.py
fireblocks/models/fiat_account_type.py
Expand Down Expand Up @@ -1211,6 +1211,8 @@ fireblocks/models/get_nfts_response.py
fireblocks/models/get_orders_response.py
fireblocks/models/get_ota_status_response.py
fireblocks/models/get_ownership_tokens_response.py
fireblocks/models/get_paged_exchange_accounts_response.py
fireblocks/models/get_paged_exchange_accounts_response_paging.py
fireblocks/models/get_signing_key_response_dto.py
fireblocks/models/get_transaction_operation.py
fireblocks/models/get_validation_key_response_dto.py
Expand Down Expand Up @@ -1956,8 +1958,6 @@ test/test_estimated_transaction_fee_response.py
test/test_evm_token_create_params_dto.py
test/test_exchange_account.py
test/test_exchange_accounts_api.py
test/test_exchange_accounts_paged.py
test/test_exchange_accounts_paged_paging.py
test/test_exchange_asset.py
test/test_exchange_settlement_transactions_response.py
test/test_exchange_trading_account.py
Expand Down Expand Up @@ -1985,6 +1985,7 @@ test/test_fee_breakdown_one_of.py
test/test_fee_breakdown_one_of1.py
test/test_fee_info.py
test/test_fee_level.py
test/test_fee_payer_info.py
test/test_fetch_abi_request_dto.py
test/test_fiat_account.py
test/test_fiat_account_type.py
Expand Down Expand Up @@ -2017,6 +2018,8 @@ test/test_get_nfts_response.py
test/test_get_orders_response.py
test/test_get_ota_status_response.py
test/test_get_ownership_tokens_response.py
test/test_get_paged_exchange_accounts_response.py
test/test_get_paged_exchange_accounts_response_paging.py
test/test_get_signing_key_response_dto.py
test/test_get_transaction_operation.py
test/test_get_validation_key_response_dto.py
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,6 @@ Class | Method | HTTP request | Description
- [EstimatedNetworkFeeResponse](docs/EstimatedNetworkFeeResponse.md)
- [EstimatedTransactionFeeResponse](docs/EstimatedTransactionFeeResponse.md)
- [ExchangeAccount](docs/ExchangeAccount.md)
- [ExchangeAccountsPaged](docs/ExchangeAccountsPaged.md)
- [ExchangeAccountsPagedPaging](docs/ExchangeAccountsPagedPaging.md)
- [ExchangeAsset](docs/ExchangeAsset.md)
- [ExchangeSettlementTransactionsResponse](docs/ExchangeSettlementTransactionsResponse.md)
- [ExchangeTradingAccount](docs/ExchangeTradingAccount.md)
Expand All @@ -866,6 +864,7 @@ Class | Method | HTTP request | Description
- [FeeBreakdownOneOf1](docs/FeeBreakdownOneOf1.md)
- [FeeInfo](docs/FeeInfo.md)
- [FeeLevel](docs/FeeLevel.md)
- [FeePayerInfo](docs/FeePayerInfo.md)
- [FetchAbiRequestDto](docs/FetchAbiRequestDto.md)
- [FiatAccount](docs/FiatAccount.md)
- [FiatAccountType](docs/FiatAccountType.md)
Expand Down Expand Up @@ -896,6 +895,8 @@ Class | Method | HTTP request | Description
- [GetOrdersResponse](docs/GetOrdersResponse.md)
- [GetOtaStatusResponse](docs/GetOtaStatusResponse.md)
- [GetOwnershipTokensResponse](docs/GetOwnershipTokensResponse.md)
- [GetPagedExchangeAccountsResponse](docs/GetPagedExchangeAccountsResponse.md)
- [GetPagedExchangeAccountsResponsePaging](docs/GetPagedExchangeAccountsResponsePaging.md)
- [GetSigningKeyResponseDto](docs/GetSigningKeyResponseDto.md)
- [GetTransactionOperation](docs/GetTransactionOperation.md)
- [GetValidationKeyResponseDto](docs/GetValidationKeyResponseDto.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/ComplianceScreeningResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**provider** | **str** | | [optional]
**provider** | **str** | Screening provider | [optional]
**payload** | **object** | The payload of the screening result. The payload is a JSON object that contains the screening result. The payload is different for each screening provider. | [optional]
**bypass_reason** | **str** | | [optional]
**bypass_reason** | **str** | Reason AML screening was bypassed | [optional]
**screening_status** | **str** | | [optional]
**timestamp** | **float** | | [optional]

Expand Down
6 changes: 3 additions & 3 deletions docs/ExchangeAccountsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_paged_exchange_accounts**
> List[ExchangeAccountsPaged] get_paged_exchange_accounts(limit, before=before, after=after)
> GetPagedExchangeAccountsResponse get_paged_exchange_accounts(limit, before=before, after=after)

Pagination list exchange accounts

Expand All @@ -400,7 +400,7 @@ Returns a page include exchange accounts.


```python
from fireblocks.models.exchange_accounts_paged import ExchangeAccountsPaged
from fireblocks.models.get_paged_exchange_accounts_response import GetPagedExchangeAccountsResponse
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
Expand Down Expand Up @@ -447,7 +447,7 @@ Name | Type | Description | Notes

### Return type

[**List[ExchangeAccountsPaged]**](ExchangeAccountsPaged.md)
[**GetPagedExchangeAccountsResponse**](GetPagedExchangeAccountsResponse.md)

### Authorization

Expand Down
32 changes: 0 additions & 32 deletions docs/ExchangeAccountsPaged.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/ExchangeAccountsPagedPaging.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/ExternalWalletAsset.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Name | Type | Description | Notes
**id** | **str** | | [optional]
**status** | [**ConfigChangeRequestStatus**](ConfigChangeRequestStatus.md) | | [optional]
**address** | **str** | | [optional]
**balance** | **str** | | [optional]
**locked_amount** | **str** | | [optional]
**balance** | **float** | | [optional]
**locked_amount** | **float** | | [optional]
**tag** | **str** | | [optional]
**activation_time** | **str** | | [optional]
**additional_info** | [**List[WalletAssetAdditionalInfo]**](WalletAssetAdditionalInfo.md) | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/FeeInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Name | Type | Description | Notes
**network_fee** | **str** | The fee paid to the network | [optional]
**service_fee** | **str** | The total fee deducted by the exchange from the actual requested amount (serviceFee = amount - netAmount) | [optional]
**gas_price** | **str** | | [optional]
**l1network_fee** | **str** | Layer 1 network fee for Layer 2 blockchain transactions | [optional]
**l2network_fee** | **str** | Layer 2 network fee (gas price component for Layer 2 transactions) | [optional]
**paid_by_relay** | **bool** | Wether the fee was paid by the relay or not | [optional]
**relay_type** | **str** | Wether the relay is the same tenant (LOCAL) or another tenant (THIRD_PARTY) | [optional]
**relay_id** | **str** | The vault account ID of the relay | [optional]
Expand Down
29 changes: 29 additions & 0 deletions docs/FeePayerInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# FeePayerInfo


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**fee_payer_account_id** | **str** | The account ID of the fee payer | [optional]

## Example

```python
from fireblocks.models.fee_payer_info import FeePayerInfo

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

# convert the object into a dict
fee_payer_info_dict = fee_payer_info_instance.to_dict()
# create an instance of FeePayerInfo from a dict
fee_payer_info_from_dict = FeePayerInfo.from_dict(fee_payer_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**exchanges** | [**List[ExchangeAccount]**](ExchangeAccount.md) | |
**paging** | [**GetPagedExchangeAccountsResponsePaging**](GetPagedExchangeAccountsResponsePaging.md) | | [optional]
**prev_url** | **str** | | [optional]
**next_url** | **str** | | [optional]

## Example

```python
from fireblocks.models.get_paged_exchange_accounts_response import GetPagedExchangeAccountsResponse

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

# convert the object into a dict
get_paged_exchange_accounts_response_dict = get_paged_exchange_accounts_response_instance.to_dict()
# create an instance of GetPagedExchangeAccountsResponse from a dict
get_paged_exchange_accounts_response_from_dict = GetPagedExchangeAccountsResponse.from_dict(get_paged_exchange_accounts_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)


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


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**after** | **str** | Query value to the after page | [optional]
**before** | **str** | Query value to the before page | [optional]

## Example

```python
from fireblocks.models.get_paged_exchange_accounts_response_paging import GetPagedExchangeAccountsResponsePaging

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

# convert the object into a dict
get_paged_exchange_accounts_response_paging_dict = get_paged_exchange_accounts_response_paging_instance.to_dict()
# create an instance of GetPagedExchangeAccountsResponsePaging from a dict
get_paged_exchange_accounts_response_paging_from_dict = GetPagedExchangeAccountsResponsePaging.from_dict(get_paged_exchange_accounts_response_paging_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: 0 additions & 2 deletions docs/NetworkRecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ Name | Type | Description | Notes
**is_dropped** | **bool** | | [optional]
**type** | **str** | | [optional]
**destination_address** | **str** | | [optional]
**source_address** | **str** | | [optional]
**amount_usd** | **str** | | [optional]
**index** | **float** | | [optional]
**reward_info** | [**RewardInfo**](RewardInfo.md) | | [optional]

## Example
Expand Down
8 changes: 6 additions & 2 deletions docs/SmartTransferApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **search_tickets**
> SmartTransferTicketFilteredResponse search_tickets(q=q, statuses=statuses, network_id=network_id, created_by_me=created_by_me, expires_after=expires_after, expires_before=expires_before, type=type, external_ref_id=external_ref_id, after=after, limit=limit)
> SmartTransferTicketFilteredResponse search_tickets(q=q, statuses=statuses, network_id=network_id, created_by_me=created_by_me, expires_after=expires_after, expires_before=expires_before, type=type, external_ref_id=external_ref_id, after=after, limit=limit, sort_by=sort_by, order=order)

Find Ticket

Expand Down Expand Up @@ -1078,10 +1078,12 @@ with Fireblocks(configuration) as fireblocks:
external_ref_id = 'external_ref_id_example' # str | External ref. ID that workspace can use to identify ticket outside of Fireblocks system. (optional)
after = 'after_example' # str | ID of the record after which to fetch $limit records (optional)
limit = 3.4 # float | Number of records to fetch. By default, it is 100 (optional)
sort_by = createdAt # str | Sort by field (optional) (default to createdAt)
order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC)

try:
# Find Ticket
api_response = fireblocks.smart_transfer.search_tickets(q=q, statuses=statuses, network_id=network_id, created_by_me=created_by_me, expires_after=expires_after, expires_before=expires_before, type=type, external_ref_id=external_ref_id, after=after, limit=limit).result()
api_response = fireblocks.smart_transfer.search_tickets(q=q, statuses=statuses, network_id=network_id, created_by_me=created_by_me, expires_after=expires_after, expires_before=expires_before, type=type, external_ref_id=external_ref_id, after=after, limit=limit, sort_by=sort_by, order=order).result()
print("The response of SmartTransferApi->search_tickets:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -1105,6 +1107,8 @@ Name | Type | Description | Notes
**external_ref_id** | **str**| External ref. ID that workspace can use to identify ticket outside of Fireblocks system. | [optional]
**after** | **str**| ID of the record after which to fetch $limit records | [optional]
**limit** | **float**| Number of records to fetch. By default, it is 100 | [optional]
**sort_by** | **str**| Sort by field | [optional] [default to createdAt]
**order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC]

### Return type

Expand Down
Loading
Loading