diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml deleted file mode 100644 index 86ab898a..00000000 --- a/.github/workflows/create-pr.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Create Pull Request - -on: - push: - branches: - - 'fireblocks-api-spec/generated/*' - -jobs: - create-pull-request: - runs-on: ubuntu-latest - - steps: - - name: Check out repository code - uses: actions/checkout@v4 - - - name: Create pull request - run: | - gh pr create \ - --title "${{ github.event.commits[0].message }}" \ - --body "This PR was automatically generated." \ - --base master \ - --head ${{ github.ref }} \ - --reviewer asafs932,YoavBZ - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index eb4f5ce1..19c50db7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,13 +1,17 @@ name: Python package -on: [push] +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] jobs: build: strategy: matrix: - python-version: [3.8, 3.9, "3.10", 3.11, 3.12] - os: [macos-13, macos-14, windows-latest, ubuntu-22.04, ubuntu-24.04] + python-version: [ "3.10", 3.11, 3.12, 3.13, 3.14 ] + os: [ macos-14, windows-latest, ubuntu-22.04, ubuntu-24.04 ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 6973b14d..9ca92546 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,33 +1,35 @@ -# This workflow will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - name: Upload Python Package on: release: - types: [published] + types: [ published ] jobs: bump-version: runs-on: ubuntu-latest steps: + - name: Generate GitHub App token + id: generate-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ vars.SDK_GENERATION_APP_ID }} + private-key: ${{ secrets.SDK_GENERATION_APP_PRIVATE_KEY }} + - name: Check out repository code uses: actions/checkout@v4 with: - token: ${{ secrets.RELEASE_TOKEN }} + token: ${{ steps.generate-token.outputs.token }} + - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: '3.x' + python-version: '3' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install bump-my-version + - name: Bump version run: | initialTag=${{ github.event.release.tag_name }} @@ -46,34 +48,40 @@ jobs: git add . git commit -m "release $tag" git push + - name: Move tag run: | TAG_NAME=${{ github.event.release.tag_name }} - echo $tag + echo $TAG_NAME git tag --force $TAG_NAME git push --force origin $TAG_NAME publish: needs: bump-version runs-on: ubuntu-latest + permissions: + id-token: write # Required for OIDC/Trusted Publishing + contents: read steps: - - name: Check out repository code - uses: actions/checkout@v4 - with: - ref: master - fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - - name: Build package - run: python -m build - - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + - name: Check out repository code + uses: actions/checkout@v4 + with: + ref: master + fetch-depth: 0 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + + - name: Build package + run: python -m build + + - name: Publish package to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + # No user/password needed - OIDC handles authentication \ No newline at end of file diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index d32d1317..aca12eaa 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -5,6 +5,9 @@ README.md docs/APIUser.md docs/AbaPaymentInfo.md docs/AbiFunction.md +docs/AccessRegistryAddressItem.md +docs/AccessRegistryCurrentStateResponse.md +docs/AccessRegistrySummaryResponse.md docs/AccessType.md docs/Account.md docs/AccountAccess.md @@ -14,7 +17,6 @@ docs/AccountBasedAccessProviderDetails.md docs/AccountConfig.md docs/AccountHolderDetails.md docs/AccountIdentifier.md -docs/AccountProviderID.md docs/AccountReference.md docs/AccountType.md docs/AccountType2.md @@ -34,6 +36,8 @@ docs/AddExchangeAccountResponse.md docs/AdditionalInfo.md docs/AdditionalInfoRequest.md docs/AdditionalInfoRequestAdditionalInfo.md +docs/AddressBalanceItemDto.md +docs/AddressBalancePagedResponse.md docs/AddressNotAvailableError.md docs/AlertExposureTypeEnum.md docs/AlertLevelEnum.md @@ -57,6 +61,7 @@ docs/AmountRangeMinMax2.md docs/ApiKey.md docs/ApiKeysPaginatedResponse.md docs/ApiUserApi.md +docs/ApprovalRequest.md docs/ApproversConfig.md docs/ApproversConfigApprovalGroupsInner.md docs/Asset.md @@ -85,18 +90,23 @@ docs/AssetPriceNotFoundErrorResponse.md docs/AssetPriceResponse.md docs/AssetResponse.md docs/AssetScope.md +docs/AssetTypeEnum.md docs/AssetTypeResponse.md docs/AssetTypesConfigInner.md docs/AssetWallet.md -docs/AssetsApi.md docs/AuditLogData.md docs/AuditLogsApi.md docs/AuditorData.md docs/AuthorizationGroups.md docs/AuthorizationInfo.md +docs/BalanceHistoryItemDto.md +docs/BalanceHistoryPagedResponse.md +docs/BankAddress.md docs/BaseProvider.md docs/BasicAddressRequest.md docs/BlockInfo.md +docs/BlockchainAddress.md +docs/BlockchainDestination.md docs/BlockchainExplorer.md docs/BlockchainMedia.md docs/BlockchainMetadata.md @@ -106,6 +116,7 @@ docs/BlockchainResponse.md docs/BlockchainTransfer.md docs/BlockchainsAssetsApi.md docs/BpsFee.md +docs/BusinessEntityTypeEnum.md docs/BusinessIdentification.md docs/CallbackHandler.md docs/CallbackHandlerRequest.md @@ -128,6 +139,7 @@ docs/CollectionOwnershipResponse.md docs/CollectionTokenMetadataAttributeDto.md docs/CollectionTokenMetadataDto.md docs/CollectionType.md +docs/CommittedQuoteEnum.md docs/CommittedQuoteType.md docs/ComplianceApi.md docs/ComplianceResultFullPayload.md @@ -149,6 +161,7 @@ docs/ConnectedAccountAssetType.md docs/ConnectedAccountBalances.md docs/ConnectedAccountBalancesResponse.md docs/ConnectedAccountCapability.md +docs/ConnectedAccountErrorResponse.md docs/ConnectedAccountManifest.md docs/ConnectedAccountRateResponse.md docs/ConnectedAccountTotalBalance.md @@ -163,6 +176,7 @@ docs/ConsoleUser.md docs/ConsoleUserApi.md docs/ContractAbiResponseDto.md docs/ContractAbiResponseDtoAbiInner.md +docs/ContractAddressResponse.md docs/ContractAttributes.md docs/ContractDataDecodeDataType.md docs/ContractDataDecodeError.md @@ -202,7 +216,6 @@ docs/CosignersPaginatedResponse.md docs/CreateAPIUser.md docs/CreateAddressRequest.md docs/CreateAddressResponse.md -docs/CreateAssetsBulkRequest.md docs/CreateAssetsRequest.md docs/CreateConfigOperationRequest.md docs/CreateConnectionRequest.md @@ -244,8 +257,11 @@ docs/CreateWorkflowExecutionRequestParamsInner.md docs/CustomRoutingDest.md docs/DAppAddressConfig.md docs/DVPSettlement.md +docs/DVPSettlementType.md +docs/DecodedLog.md docs/DefaultNetworkRoutingDest.md docs/Delegation.md +docs/DelegationBlockchainPositionInfo.md docs/DelegationSummary.md docs/DeleteNetworkConnectionResponse.md docs/DeleteNetworkIdResponse.md @@ -304,16 +320,23 @@ docs/EmbeddedWalletLatestBackupKey.md docs/EmbeddedWalletLatestBackupResponse.md docs/EmbeddedWalletPaginatedAddressesResponse.md docs/EmbeddedWalletPaginatedAssetsResponse.md +docs/EmbeddedWalletPaginatedDevicesResponse.md docs/EmbeddedWalletPaginatedWalletsResponse.md +docs/EmbeddedWalletRequiredAlgorithms.md docs/EmbeddedWalletSetUpStatus.md +docs/EmbeddedWalletSetupStatusResponse.md docs/EmbeddedWalletsApi.md -docs/ErrorCodes.md +docs/EnableDevice.md +docs/EnableWallet.md docs/ErrorResponse.md docs/ErrorResponseError.md docs/ErrorSchema.md docs/EstimatedFeeDetails.md docs/EstimatedNetworkFeeResponse.md docs/EstimatedTransactionFeeResponse.md +docs/EthereumBlockchainData.md +docs/EuropeanSEPAAddress.md +docs/EuropeanSEPADestination.md docs/ExchangeAccount.md docs/ExchangeAccountsApi.md docs/ExchangeAsset.md @@ -328,15 +351,22 @@ docs/ExecutionRequestDetails.md docs/ExecutionResponseBaseDetails.md docs/ExecutionResponseDetails.md docs/ExecutionScreeningOperation.md -docs/ExecutionStep.md -docs/ExecutionStepDetails.md docs/ExecutionStepError.md docs/ExecutionStepStatusEnum.md docs/ExecutionStepType.md docs/ExecutionTransferOperation.md docs/ExternalAccount.md +docs/ExternalAccountLocalBankAfrica.md +docs/ExternalAccountLocalBankAfricaType.md +docs/ExternalAccountMobileMoney.md +docs/ExternalAccountMobileMoneyProvider.md +docs/ExternalAccountMobileMoneyType.md +docs/ExternalAccountSenderInformation.md +docs/ExternalAccountType.md docs/ExternalWalletAsset.md docs/ExternalWalletsApi.md +docs/Failure.md +docs/FailureReason.md docs/Fee.md docs/FeeBreakdown.md docs/FeeBreakdownOneOf.md @@ -345,13 +375,16 @@ docs/FeeInfo.md docs/FeeLevel.md docs/FeePayerInfo.md docs/FeePropertiesDetails.md +docs/FeeTypeEnum.md docs/FetchAbiRequestDto.md docs/FiatAccount.md docs/FiatAccountType.md docs/FiatAccountsApi.md docs/FiatAsset.md docs/FiatDestination.md +docs/FiatPaymentMetadata.md docs/FiatTransfer.md +docs/FixedAmountTypeEnum.md docs/FixedFee.md docs/FreezeTransactionResponse.md docs/FunctionDoc.md @@ -372,6 +405,7 @@ docs/GetFilterParameter.md docs/GetLayerZeroDvnConfigResponse.md docs/GetLayerZeroPeersResponse.md docs/GetLinkedCollectionsPaginatedResponse.md +docs/GetMaxBipIndexUsedResponse.md docs/GetMaxSpendableAmountResponse.md docs/GetMpcKeysResponse.md docs/GetNFTsResponse.md @@ -391,6 +425,7 @@ docs/IbanDestination.md docs/IbanPaymentInfo.md docs/Identification.md docs/IdlType.md +docs/IndicativeQuoteEnum.md docs/IndicativeQuoteType.md docs/InitiatorConfig.md docs/InitiatorConfigPattern.md @@ -399,9 +434,7 @@ docs/InternalReference.md docs/InternalTransferResponse.md docs/InternalWalletsApi.md docs/InvalidParamaterValueError.md -docs/Job.md docs/JobCreated.md -docs/JobManagementApi.md docs/KeyLinkBetaApi.md docs/KeysBetaApi.md docs/LayerZeroAdapterCreateParams.md @@ -437,9 +470,7 @@ docs/LegacyPolicyValidation.md docs/LegacyPublishDraftRequest.md docs/LegacyPublishResult.md docs/LegacySrcOrDestAttributesInner.md -docs/LimitExecutionRequestDetails.md -docs/LimitExecutionResponseDetails.md -docs/LimitTypeDetails.md +docs/LinkedTokensCount.md docs/ListAssetsResponse.md docs/ListBlockchainsResponse.md docs/ListOwnedCollectionsResponse.md @@ -450,7 +481,9 @@ docs/Manifest.md docs/MarketExecutionRequestDetails.md docs/MarketExecutionResponseDetails.md docs/MarketRequoteRequestDetails.md +docs/MarketRequoteTypeEnum.md docs/MarketTypeDetails.md +docs/MarketTypeEnum.md docs/MediaEntityResponse.md docs/MergeStakeAccountsRequest.md docs/MergeStakeAccountsResponse.md @@ -485,11 +518,16 @@ docs/NotificationStatus.md docs/NotificationWithData.md docs/OTABetaApi.md docs/OffExchangesApi.md +docs/OnchainDataApi.md +docs/OnchainTransaction.md +docs/OnchainTransactionsPagedResponse.md docs/OneTimeAddress.md docs/OneTimeAddressAccount.md +docs/OneTimeAddressPeerType.md docs/OneTimeAddressReference.md docs/OperationExecutionFailure.md docs/OrderDetails.md +docs/OrderExecutionStep.md docs/OrderSide.md docs/OrderStatus.md docs/OrderSummary.md @@ -512,7 +550,7 @@ docs/PaymentAccount.md docs/PaymentAccountResponse.md docs/PaymentAccountType.md docs/PaymentInstructions.md -docs/PaymentInstructionsDetails.md +docs/PaymentInstructionsOneOf.md docs/PaymentsPayoutApi.md docs/PayoutInitMethod.md docs/PayoutInstruction.md @@ -523,12 +561,14 @@ docs/PayoutState.md docs/PayoutStatus.md docs/PeerAdapterInfo.md docs/PeerType.md +docs/PersonalEntityTypeEnum.md docs/PersonalIdentification.md docs/PersonalIdentificationFullName.md docs/PixAddress.md docs/PixDestination.md docs/PixPaymentInfo.md docs/PlatformAccount.md +docs/PlatformPeerType.md docs/Players.md docs/PolicyAndValidationResponse.md docs/PolicyCheckResult.md @@ -547,24 +587,24 @@ docs/PolicyType.md docs/PolicyValidation.md docs/PolicyVerdictActionEnum.md docs/PolicyVerdictActionEnum2.md -docs/PostOrderSettlement.md docs/PostalAddress.md docs/PreScreening.md docs/PrefundedSettlement.md +docs/PrefundedSettlementType.md docs/ProgramCallConfig.md docs/Provider.md -docs/ProviderID.md docs/ProvidersListResponse.md docs/PublicKeyInformation.md docs/PublishDraftRequest.md docs/PublishResult.md docs/Quote.md docs/QuoteExecutionRequestDetails.md -docs/QuoteExecutionResponseDetails.md +docs/QuoteExecutionStep.md docs/QuoteExecutionTypeDetails.md docs/QuoteExecutionWithRequoteRequestDetails.md docs/QuoteExecutionWithRequoteResponseDetails.md docs/QuotePropertiesDetails.md +docs/QuoteTypeEnum.md docs/QuotesResponse.md docs/ReQuoteDetails.md docs/ReQuoteDetailsReQuote.md @@ -582,9 +622,10 @@ docs/RemoveLayerZeroAdaptersRequest.md docs/RemoveLayerZeroAdaptersResponse.md docs/RemoveLayerZeroPeersRequest.md docs/RemoveLayerZeroPeersResponse.md +docs/RenameConnectedAccountRequest.md +docs/RenameConnectedAccountResponse.md docs/RenameCosigner.md docs/RenameVaultAccountResponse.md -docs/RescanTransaction.md docs/ResendFailedNotificationsJobStatusResponse.md docs/ResendFailedNotificationsRequest.md docs/ResendFailedNotificationsResponse.md @@ -595,12 +636,16 @@ docs/ResendWebhooksResponse.md docs/ResetDeviceApi.md docs/RespondToConnectionRequest.md docs/RetryRequoteRequestDetails.md +docs/RetryRequoteTypeEnum.md docs/RewardInfo.md docs/RewardsInfo.md +docs/RoleDetails.md +docs/RoleGrantee.md docs/SEPAAddress.md docs/SEPADestination.md docs/SOLAccount.md docs/SOLAccountWithValue.md +docs/ScopeItem.md docs/ScreeningAlertExposureTypeEnum.md docs/ScreeningAmlAlert.md docs/ScreeningAmlMatchedRule.md @@ -657,6 +702,7 @@ docs/Settlement.md docs/SettlementRequestBody.md docs/SettlementResponse.md docs/SettlementSourceAccount.md +docs/Side.md docs/SignedMessage.md docs/SignedMessageSignature.md docs/SigningKeyDto.md @@ -704,27 +750,71 @@ docs/SpeiBasicPaymentInfo.md docs/SpeiDestination.md docs/SplitRequest.md docs/SplitResponse.md +docs/StEthBlockchainData.md docs/StakeRequest.md docs/StakeResponse.md docs/StakingApi.md docs/StakingProvider.md docs/Status.md docs/StellarRippleCreateParamsDto.md +docs/SupportedBlockChainsResponse.md +docs/SupportedBlockchain.md docs/SwiftAddress.md docs/SwiftDestination.md docs/SystemMessageInfo.md +docs/TRLinkAPIPagedResponse.md docs/TRLinkAmount.md +docs/TRLinkAmount2.md +docs/TRLinkAmountRange.md +docs/TRLinkApi.md +docs/TRLinkAssessTravelRuleRequest.md +docs/TRLinkAssessTravelRuleResponse.md +docs/TRLinkAssessmentDecision.md +docs/TRLinkAsset.md +docs/TRLinkAssetData.md +docs/TRLinkAssetFormat.md +docs/TRLinkAssetsListPagedResponse.md +docs/TRLinkCancelTrmRequest.md +docs/TRLinkConnectIntegrationRequest.md +docs/TRLinkCreateCustomerRequest.md +docs/TRLinkCreateIntegrationRequest.md +docs/TRLinkCreateTrmRequest.md +docs/TRLinkCurrency.md +docs/TRLinkCustomerIntegrationResponse.md +docs/TRLinkCustomerResponse.md +docs/TRLinkDestinationTransferPeerPath.md +docs/TRLinkDiscoverableStatus.md +docs/TRLinkFiatValue.md +docs/TRLinkGeographicAddressRequest.md +docs/TRLinkGetSupportedAssetResponse.md +docs/TRLinkIvms.md +docs/TRLinkIvmsResponse.md +docs/TRLinkJwkPublicKey.md docs/TRLinkMissingTrmAction.md +docs/TRLinkMissingTrmAction2.md docs/TRLinkMissingTrmActionEnum.md docs/TRLinkMissingTrmDecision.md docs/TRLinkMissingTrmRule.md +docs/TRLinkMissingTrmRule2.md +docs/TRLinkOneTimeAddress.md +docs/TRLinkPaging.md +docs/TRLinkPartnerResponse.md +docs/TRLinkPolicyResponse.md +docs/TRLinkPostScreeningAction.md docs/TRLinkPostScreeningRule.md +docs/TRLinkPostScreeningRule2.md docs/TRLinkPreScreeningAction.md +docs/TRLinkPreScreeningAction2.md docs/TRLinkPreScreeningActionEnum.md docs/TRLinkPreScreeningRule.md +docs/TRLinkPreScreeningRule2.md +docs/TRLinkProviderData.md docs/TRLinkProviderResult.md docs/TRLinkProviderResultWithRule.md docs/TRLinkProviderResultWithRule2.md +docs/TRLinkPublicAssetInfo.md +docs/TRLinkPublicKeyResponse.md +docs/TRLinkRedirectTrmRequest.md docs/TRLinkRegistrationResult.md docs/TRLinkRegistrationResultFullPayload.md docs/TRLinkRegistrationStatus.md @@ -732,23 +822,40 @@ docs/TRLinkRegistrationStatusEnum.md docs/TRLinkResult.md docs/TRLinkResultFullPayload.md docs/TRLinkRuleBase.md +docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md +docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md +docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md +docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md +docs/TRLinkSourceTransferPeerPath.md +docs/TRLinkTestConnectionResponse.md +docs/TRLinkThresholds.md +docs/TRLinkTransactionDirection.md +docs/TRLinkTransferPeerPath.md +docs/TRLinkTrmDirection.md +docs/TRLinkTrmInfoResponse.md docs/TRLinkTrmScreeningStatus.md docs/TRLinkTrmScreeningStatusEnum.md +docs/TRLinkTrmStatus.md +docs/TRLinkTxnInfo.md +docs/TRLinkUpdateCustomerRequest.md +docs/TRLinkVaspDto.md +docs/TRLinkVaspGeographicAddress.md +docs/TRLinkVaspListDto.md +docs/TRLinkVaspNationalIdentification.md docs/TRLinkVerdict.md docs/TRLinkVerdictEnum.md docs/Tag.md docs/TagAttachmentOperationAction.md docs/TagsApi.md docs/TagsPagedResponse.md -docs/Task.md docs/TemplatesPaginatedResponse.md docs/ThirdPartyRouting.md -docs/TimeInForce.md docs/TimePeriodConfig.md docs/TimePeriodMatchType.md docs/ToCollateralTransaction.md docs/ToExchangeTransaction.md docs/TokenCollectionResponse.md +docs/TokenContractSummaryResponse.md docs/TokenInfoNotFoundErrorResponse.md docs/TokenLinkDto.md docs/TokenLinkDtoTokenMetadata.md @@ -761,10 +868,11 @@ docs/TokenOwnershipStatusUpdatePayload.md docs/TokenResponse.md docs/TokenizationApi.md docs/TokensPaginatedResponse.md +docs/TotalSupplyItemDto.md +docs/TotalSupplyPagedResponse.md docs/TradingAccountType.md docs/TradingBetaApi.md -docs/TradingErrorResponse.md -docs/TradingErrorResponseError.md +docs/TradingErrorSchema.md docs/TradingProvider.md docs/Transaction.md docs/TransactionDirection.md @@ -845,7 +953,11 @@ docs/TravelRuleValidateTransactionRequest.md docs/TravelRuleValidateTransactionResponse.md docs/TravelRuleVaspForVault.md docs/TravelRuleVerdictEnum.md +docs/TrustProofOfAddressCreateResponse.md +docs/TrustProofOfAddressRequest.md +docs/TrustProofOfAddressResponse.md docs/TxLog.md +docs/TypedMessageTransactionStatusEnum.md docs/USWireAddress.md docs/USWireDestination.md docs/UnfreezeTransactionResponse.md @@ -875,7 +987,6 @@ docs/UserType.md docs/UsersApi.md docs/ValidateAddressResponse.md docs/ValidateLayerZeroChannelResponse.md -docs/ValidatedTransactionsForRescan.md docs/ValidationKeyDto.md docs/Validator.md docs/VaultAccount.md @@ -886,14 +997,13 @@ docs/VaultAccountsPagedResponse.md docs/VaultAccountsPagedResponsePaging.md docs/VaultAccountsTagAttachmentOperationsRequest.md docs/VaultAccountsTagAttachmentOperationsResponse.md -docs/VaultAccountsTagAttachmentsRequest.md docs/VaultActionStatus.md docs/VaultAsset.md docs/VaultWalletAddress.md docs/VaultsApi.md docs/VendorDto.md docs/VerdictConfig.md -docs/Version.md +docs/VersionSummary.md docs/WalletAsset.md docs/WalletAssetAdditionalInfo.md docs/Web3ConnectionsApi.md @@ -917,7 +1027,6 @@ fireblocks/__init__.py fireblocks/additional_options.py fireblocks/api/__init__.py fireblocks/api/api_user_api.py -fireblocks/api/assets_api.py fireblocks/api/audit_logs_api.py fireblocks/api/blockchains_assets_api.py fireblocks/api/compliance_api.py @@ -935,12 +1044,12 @@ fireblocks/api/external_wallets_api.py fireblocks/api/fiat_accounts_api.py fireblocks/api/gas_stations_api.py fireblocks/api/internal_wallets_api.py -fireblocks/api/job_management_api.py fireblocks/api/key_link_beta_api.py fireblocks/api/keys_beta_api.py fireblocks/api/network_connections_api.py fireblocks/api/nfts_api.py fireblocks/api/off_exchanges_api.py +fireblocks/api/onchain_data_api.py fireblocks/api/ota_beta_api.py fireblocks/api/payments_payout_api.py fireblocks/api/policy_editor_beta_api.py @@ -950,6 +1059,7 @@ fireblocks/api/smart_transfer_api.py fireblocks/api/staking_api.py fireblocks/api/tags_api.py fireblocks/api/tokenization_api.py +fireblocks/api/tr_link_api.py fireblocks/api/trading_beta_api.py fireblocks/api/transactions_api.py fireblocks/api/travel_rule_api.py @@ -972,6 +1082,9 @@ fireblocks/exceptions.py fireblocks/models/__init__.py fireblocks/models/aba_payment_info.py fireblocks/models/abi_function.py +fireblocks/models/access_registry_address_item.py +fireblocks/models/access_registry_current_state_response.py +fireblocks/models/access_registry_summary_response.py fireblocks/models/access_type.py fireblocks/models/account.py fireblocks/models/account_access.py @@ -981,7 +1094,6 @@ fireblocks/models/account_based_access_provider_details.py fireblocks/models/account_config.py fireblocks/models/account_holder_details.py fireblocks/models/account_identifier.py -fireblocks/models/account_provider_id.py fireblocks/models/account_reference.py fireblocks/models/account_type.py fireblocks/models/account_type2.py @@ -1001,6 +1113,8 @@ fireblocks/models/add_exchange_account_response.py fireblocks/models/additional_info.py fireblocks/models/additional_info_request.py fireblocks/models/additional_info_request_additional_info.py +fireblocks/models/address_balance_item_dto.py +fireblocks/models/address_balance_paged_response.py fireblocks/models/address_not_available_error.py fireblocks/models/alert_exposure_type_enum.py fireblocks/models/alert_level_enum.py @@ -1024,6 +1138,7 @@ fireblocks/models/amount_range_min_max2.py fireblocks/models/api_key.py fireblocks/models/api_keys_paginated_response.py fireblocks/models/api_user.py +fireblocks/models/approval_request.py fireblocks/models/approvers_config.py fireblocks/models/approvers_config_approval_groups_inner.py fireblocks/models/asset.py @@ -1052,6 +1167,7 @@ fireblocks/models/asset_price_not_found_error_response.py fireblocks/models/asset_price_response.py fireblocks/models/asset_response.py fireblocks/models/asset_scope.py +fireblocks/models/asset_type_enum.py fireblocks/models/asset_type_response.py fireblocks/models/asset_types_config_inner.py fireblocks/models/asset_wallet.py @@ -1059,9 +1175,14 @@ fireblocks/models/audit_log_data.py fireblocks/models/auditor_data.py fireblocks/models/authorization_groups.py fireblocks/models/authorization_info.py +fireblocks/models/balance_history_item_dto.py +fireblocks/models/balance_history_paged_response.py +fireblocks/models/bank_address.py fireblocks/models/base_provider.py fireblocks/models/basic_address_request.py fireblocks/models/block_info.py +fireblocks/models/blockchain_address.py +fireblocks/models/blockchain_destination.py fireblocks/models/blockchain_explorer.py fireblocks/models/blockchain_media.py fireblocks/models/blockchain_metadata.py @@ -1070,6 +1191,7 @@ fireblocks/models/blockchain_onchain.py fireblocks/models/blockchain_response.py fireblocks/models/blockchain_transfer.py fireblocks/models/bps_fee.py +fireblocks/models/business_entity_type_enum.py fireblocks/models/business_identification.py fireblocks/models/callback_handler.py fireblocks/models/callback_handler_request.py @@ -1092,6 +1214,7 @@ fireblocks/models/collection_ownership_response.py fireblocks/models/collection_token_metadata_attribute_dto.py fireblocks/models/collection_token_metadata_dto.py fireblocks/models/collection_type.py +fireblocks/models/committed_quote_enum.py fireblocks/models/committed_quote_type.py fireblocks/models/compliance_result_full_payload.py fireblocks/models/compliance_result_statuses_enum.py @@ -1111,6 +1234,7 @@ fireblocks/models/connected_account_asset_type.py fireblocks/models/connected_account_balances.py fireblocks/models/connected_account_balances_response.py fireblocks/models/connected_account_capability.py +fireblocks/models/connected_account_error_response.py fireblocks/models/connected_account_manifest.py fireblocks/models/connected_account_rate_response.py fireblocks/models/connected_account_total_balance.py @@ -1123,6 +1247,7 @@ fireblocks/models/connected_single_account_response.py fireblocks/models/console_user.py fireblocks/models/contract_abi_response_dto.py fireblocks/models/contract_abi_response_dto_abi_inner.py +fireblocks/models/contract_address_response.py fireblocks/models/contract_attributes.py fireblocks/models/contract_data_decode_data_type.py fireblocks/models/contract_data_decode_error.py @@ -1158,7 +1283,6 @@ fireblocks/models/cosigners_paginated_response.py fireblocks/models/create_address_request.py fireblocks/models/create_address_response.py fireblocks/models/create_api_user.py -fireblocks/models/create_assets_bulk_request.py fireblocks/models/create_assets_request.py fireblocks/models/create_config_operation_request.py fireblocks/models/create_connection_request.py @@ -1199,8 +1323,10 @@ fireblocks/models/create_webhook_request.py fireblocks/models/create_workflow_execution_request_params_inner.py fireblocks/models/custom_routing_dest.py fireblocks/models/d_app_address_config.py +fireblocks/models/decoded_log.py fireblocks/models/default_network_routing_dest.py fireblocks/models/delegation.py +fireblocks/models/delegation_blockchain_position_info.py fireblocks/models/delegation_summary.py fireblocks/models/delete_network_connection_response.py fireblocks/models/delete_network_id_response.py @@ -1243,6 +1369,7 @@ fireblocks/models/drop_transaction_response.py fireblocks/models/dvn_config.py fireblocks/models/dvn_config_with_confirmations.py fireblocks/models/dvp_settlement.py +fireblocks/models/dvp_settlement_type.py fireblocks/models/edit_gas_station_configuration_response.py fireblocks/models/embedded_wallet.py fireblocks/models/embedded_wallet_account.py @@ -1258,15 +1385,22 @@ fireblocks/models/embedded_wallet_latest_backup_key.py fireblocks/models/embedded_wallet_latest_backup_response.py fireblocks/models/embedded_wallet_paginated_addresses_response.py fireblocks/models/embedded_wallet_paginated_assets_response.py +fireblocks/models/embedded_wallet_paginated_devices_response.py fireblocks/models/embedded_wallet_paginated_wallets_response.py +fireblocks/models/embedded_wallet_required_algorithms.py fireblocks/models/embedded_wallet_set_up_status.py -fireblocks/models/error_codes.py +fireblocks/models/embedded_wallet_setup_status_response.py +fireblocks/models/enable_device.py +fireblocks/models/enable_wallet.py fireblocks/models/error_response.py fireblocks/models/error_response_error.py fireblocks/models/error_schema.py fireblocks/models/estimated_fee_details.py fireblocks/models/estimated_network_fee_response.py fireblocks/models/estimated_transaction_fee_response.py +fireblocks/models/ethereum_blockchain_data.py +fireblocks/models/european_sepa_address.py +fireblocks/models/european_sepa_destination.py fireblocks/models/evm_token_create_params_dto.py fireblocks/models/exchange_account.py fireblocks/models/exchange_asset.py @@ -1281,14 +1415,21 @@ fireblocks/models/execution_request_details.py fireblocks/models/execution_response_base_details.py fireblocks/models/execution_response_details.py fireblocks/models/execution_screening_operation.py -fireblocks/models/execution_step.py -fireblocks/models/execution_step_details.py fireblocks/models/execution_step_error.py fireblocks/models/execution_step_status_enum.py fireblocks/models/execution_step_type.py fireblocks/models/execution_transfer_operation.py fireblocks/models/external_account.py +fireblocks/models/external_account_local_bank_africa.py +fireblocks/models/external_account_local_bank_africa_type.py +fireblocks/models/external_account_mobile_money.py +fireblocks/models/external_account_mobile_money_provider.py +fireblocks/models/external_account_mobile_money_type.py +fireblocks/models/external_account_sender_information.py +fireblocks/models/external_account_type.py fireblocks/models/external_wallet_asset.py +fireblocks/models/failure.py +fireblocks/models/failure_reason.py fireblocks/models/fee.py fireblocks/models/fee_breakdown.py fireblocks/models/fee_breakdown_one_of.py @@ -1297,12 +1438,15 @@ fireblocks/models/fee_info.py fireblocks/models/fee_level.py fireblocks/models/fee_payer_info.py fireblocks/models/fee_properties_details.py +fireblocks/models/fee_type_enum.py fireblocks/models/fetch_abi_request_dto.py fireblocks/models/fiat_account.py fireblocks/models/fiat_account_type.py fireblocks/models/fiat_asset.py fireblocks/models/fiat_destination.py +fireblocks/models/fiat_payment_metadata.py fireblocks/models/fiat_transfer.py +fireblocks/models/fixed_amount_type_enum.py fireblocks/models/fixed_fee.py fireblocks/models/freeze_transaction_response.py fireblocks/models/function_doc.py @@ -1322,6 +1466,7 @@ fireblocks/models/get_filter_parameter.py fireblocks/models/get_layer_zero_dvn_config_response.py fireblocks/models/get_layer_zero_peers_response.py fireblocks/models/get_linked_collections_paginated_response.py +fireblocks/models/get_max_bip_index_used_response.py fireblocks/models/get_max_spendable_amount_response.py fireblocks/models/get_mpc_keys_response.py fireblocks/models/get_nfts_response.py @@ -1341,6 +1486,7 @@ fireblocks/models/iban_destination.py fireblocks/models/iban_payment_info.py fireblocks/models/identification.py fireblocks/models/idl_type.py +fireblocks/models/indicative_quote_enum.py fireblocks/models/indicative_quote_type.py fireblocks/models/initiator_config.py fireblocks/models/initiator_config_pattern.py @@ -1348,7 +1494,6 @@ fireblocks/models/instruction_amount.py fireblocks/models/internal_reference.py fireblocks/models/internal_transfer_response.py fireblocks/models/invalid_paramater_value_error.py -fireblocks/models/job.py fireblocks/models/job_created.py fireblocks/models/layer_zero_adapter_create_params.py fireblocks/models/lbt_payment_info.py @@ -1383,9 +1528,7 @@ fireblocks/models/legacy_policy_validation.py fireblocks/models/legacy_publish_draft_request.py fireblocks/models/legacy_publish_result.py fireblocks/models/legacy_src_or_dest_attributes_inner.py -fireblocks/models/limit_execution_request_details.py -fireblocks/models/limit_execution_response_details.py -fireblocks/models/limit_type_details.py +fireblocks/models/linked_tokens_count.py fireblocks/models/list_assets_response.py fireblocks/models/list_blockchains_response.py fireblocks/models/list_owned_collections_response.py @@ -1396,7 +1539,9 @@ fireblocks/models/manifest.py fireblocks/models/market_execution_request_details.py fireblocks/models/market_execution_response_details.py fireblocks/models/market_requote_request_details.py +fireblocks/models/market_requote_type_enum.py fireblocks/models/market_type_details.py +fireblocks/models/market_type_enum.py fireblocks/models/media_entity_response.py fireblocks/models/merge_stake_accounts_request.py fireblocks/models/merge_stake_accounts_response.py @@ -1427,11 +1572,15 @@ fireblocks/models/notification_attempts_paginated_response.py fireblocks/models/notification_paginated_response.py fireblocks/models/notification_status.py fireblocks/models/notification_with_data.py +fireblocks/models/onchain_transaction.py +fireblocks/models/onchain_transactions_paged_response.py fireblocks/models/one_time_address.py fireblocks/models/one_time_address_account.py +fireblocks/models/one_time_address_peer_type.py fireblocks/models/one_time_address_reference.py fireblocks/models/operation_execution_failure.py fireblocks/models/order_details.py +fireblocks/models/order_execution_step.py fireblocks/models/order_side.py fireblocks/models/order_status.py fireblocks/models/order_summary.py @@ -1454,7 +1603,7 @@ fireblocks/models/payment_account.py fireblocks/models/payment_account_response.py fireblocks/models/payment_account_type.py fireblocks/models/payment_instructions.py -fireblocks/models/payment_instructions_details.py +fireblocks/models/payment_instructions_one_of.py fireblocks/models/payout_init_method.py fireblocks/models/payout_instruction.py fireblocks/models/payout_instruction_response.py @@ -1464,12 +1613,14 @@ fireblocks/models/payout_state.py fireblocks/models/payout_status.py fireblocks/models/peer_adapter_info.py fireblocks/models/peer_type.py +fireblocks/models/personal_entity_type_enum.py fireblocks/models/personal_identification.py fireblocks/models/personal_identification_full_name.py fireblocks/models/pix_address.py fireblocks/models/pix_destination.py fireblocks/models/pix_payment_info.py fireblocks/models/platform_account.py +fireblocks/models/platform_peer_type.py fireblocks/models/players.py fireblocks/models/policy_and_validation_response.py fireblocks/models/policy_check_result.py @@ -1486,24 +1637,24 @@ fireblocks/models/policy_type.py fireblocks/models/policy_validation.py fireblocks/models/policy_verdict_action_enum.py fireblocks/models/policy_verdict_action_enum2.py -fireblocks/models/post_order_settlement.py fireblocks/models/postal_address.py fireblocks/models/pre_screening.py fireblocks/models/prefunded_settlement.py +fireblocks/models/prefunded_settlement_type.py fireblocks/models/program_call_config.py fireblocks/models/provider.py -fireblocks/models/provider_id.py fireblocks/models/providers_list_response.py fireblocks/models/public_key_information.py fireblocks/models/publish_draft_request.py fireblocks/models/publish_result.py fireblocks/models/quote.py fireblocks/models/quote_execution_request_details.py -fireblocks/models/quote_execution_response_details.py +fireblocks/models/quote_execution_step.py fireblocks/models/quote_execution_type_details.py fireblocks/models/quote_execution_with_requote_request_details.py fireblocks/models/quote_execution_with_requote_response_details.py fireblocks/models/quote_properties_details.py +fireblocks/models/quote_type_enum.py fireblocks/models/quotes_response.py fireblocks/models/re_quote_details.py fireblocks/models/re_quote_details_re_quote.py @@ -1521,9 +1672,10 @@ fireblocks/models/remove_layer_zero_adapters_request.py fireblocks/models/remove_layer_zero_adapters_response.py fireblocks/models/remove_layer_zero_peers_request.py fireblocks/models/remove_layer_zero_peers_response.py +fireblocks/models/rename_connected_account_request.py +fireblocks/models/rename_connected_account_response.py fireblocks/models/rename_cosigner.py fireblocks/models/rename_vault_account_response.py -fireblocks/models/rescan_transaction.py fireblocks/models/resend_failed_notifications_job_status_response.py fireblocks/models/resend_failed_notifications_request.py fireblocks/models/resend_failed_notifications_response.py @@ -1533,8 +1685,12 @@ fireblocks/models/resend_webhooks_by_transaction_id_response.py fireblocks/models/resend_webhooks_response.py fireblocks/models/respond_to_connection_request.py fireblocks/models/retry_requote_request_details.py +fireblocks/models/retry_requote_type_enum.py fireblocks/models/reward_info.py fireblocks/models/rewards_info.py +fireblocks/models/role_details.py +fireblocks/models/role_grantee.py +fireblocks/models/scope_item.py fireblocks/models/screening_alert_exposure_type_enum.py fireblocks/models/screening_aml_alert.py fireblocks/models/screening_aml_matched_rule.py @@ -1593,6 +1749,7 @@ fireblocks/models/settlement.py fireblocks/models/settlement_request_body.py fireblocks/models/settlement_response.py fireblocks/models/settlement_source_account.py +fireblocks/models/side.py fireblocks/models/signed_message.py fireblocks/models/signed_message_signature.py fireblocks/models/signing_key_dto.py @@ -1641,26 +1798,28 @@ fireblocks/models/spei_basic_payment_info.py fireblocks/models/spei_destination.py fireblocks/models/split_request.py fireblocks/models/split_response.py +fireblocks/models/st_eth_blockchain_data.py fireblocks/models/stake_request.py fireblocks/models/stake_response.py fireblocks/models/staking_provider.py fireblocks/models/status.py fireblocks/models/stellar_ripple_create_params_dto.py +fireblocks/models/supported_block_chains_response.py +fireblocks/models/supported_blockchain.py fireblocks/models/swift_address.py fireblocks/models/swift_destination.py fireblocks/models/system_message_info.py fireblocks/models/tag.py fireblocks/models/tag_attachment_operation_action.py fireblocks/models/tags_paged_response.py -fireblocks/models/task.py fireblocks/models/templates_paginated_response.py fireblocks/models/third_party_routing.py -fireblocks/models/time_in_force.py fireblocks/models/time_period_config.py fireblocks/models/time_period_match_type.py fireblocks/models/to_collateral_transaction.py fireblocks/models/to_exchange_transaction.py fireblocks/models/token_collection_response.py +fireblocks/models/token_contract_summary_response.py fireblocks/models/token_info_not_found_error_response.py fireblocks/models/token_link_dto.py fireblocks/models/token_link_dto_token_metadata.py @@ -1672,18 +1831,60 @@ fireblocks/models/token_ownership_spam_update_payload.py fireblocks/models/token_ownership_status_update_payload.py fireblocks/models/token_response.py fireblocks/models/tokens_paginated_response.py +fireblocks/models/total_supply_item_dto.py +fireblocks/models/total_supply_paged_response.py fireblocks/models/tr_link_amount.py +fireblocks/models/tr_link_amount2.py +fireblocks/models/tr_link_amount_range.py +fireblocks/models/tr_link_api_paged_response.py +fireblocks/models/tr_link_assess_travel_rule_request.py +fireblocks/models/tr_link_assess_travel_rule_response.py +fireblocks/models/tr_link_assessment_decision.py +fireblocks/models/tr_link_asset.py +fireblocks/models/tr_link_asset_data.py +fireblocks/models/tr_link_asset_format.py +fireblocks/models/tr_link_assets_list_paged_response.py +fireblocks/models/tr_link_cancel_trm_request.py +fireblocks/models/tr_link_connect_integration_request.py +fireblocks/models/tr_link_create_customer_request.py +fireblocks/models/tr_link_create_integration_request.py +fireblocks/models/tr_link_create_trm_request.py +fireblocks/models/tr_link_currency.py +fireblocks/models/tr_link_customer_integration_response.py +fireblocks/models/tr_link_customer_response.py +fireblocks/models/tr_link_destination_transfer_peer_path.py +fireblocks/models/tr_link_discoverable_status.py +fireblocks/models/tr_link_fiat_value.py +fireblocks/models/tr_link_geographic_address_request.py +fireblocks/models/tr_link_get_supported_asset_response.py +fireblocks/models/tr_link_ivms.py +fireblocks/models/tr_link_ivms_response.py +fireblocks/models/tr_link_jwk_public_key.py fireblocks/models/tr_link_missing_trm_action.py +fireblocks/models/tr_link_missing_trm_action2.py fireblocks/models/tr_link_missing_trm_action_enum.py fireblocks/models/tr_link_missing_trm_decision.py fireblocks/models/tr_link_missing_trm_rule.py +fireblocks/models/tr_link_missing_trm_rule2.py +fireblocks/models/tr_link_one_time_address.py +fireblocks/models/tr_link_paging.py +fireblocks/models/tr_link_partner_response.py +fireblocks/models/tr_link_policy_response.py +fireblocks/models/tr_link_post_screening_action.py fireblocks/models/tr_link_post_screening_rule.py +fireblocks/models/tr_link_post_screening_rule2.py fireblocks/models/tr_link_pre_screening_action.py +fireblocks/models/tr_link_pre_screening_action2.py fireblocks/models/tr_link_pre_screening_action_enum.py fireblocks/models/tr_link_pre_screening_rule.py +fireblocks/models/tr_link_pre_screening_rule2.py +fireblocks/models/tr_link_provider_data.py fireblocks/models/tr_link_provider_result.py fireblocks/models/tr_link_provider_result_with_rule.py fireblocks/models/tr_link_provider_result_with_rule2.py +fireblocks/models/tr_link_public_asset_info.py +fireblocks/models/tr_link_public_key_response.py +fireblocks/models/tr_link_redirect_trm_request.py fireblocks/models/tr_link_registration_result.py fireblocks/models/tr_link_registration_result_full_payload.py fireblocks/models/tr_link_registration_status.py @@ -1691,13 +1892,30 @@ fireblocks/models/tr_link_registration_status_enum.py fireblocks/models/tr_link_result.py fireblocks/models/tr_link_result_full_payload.py fireblocks/models/tr_link_rule_base.py +fireblocks/models/tr_link_set_destination_travel_rule_message_id_request.py +fireblocks/models/tr_link_set_destination_travel_rule_message_id_response.py +fireblocks/models/tr_link_set_transaction_travel_rule_message_id_request.py +fireblocks/models/tr_link_set_transaction_travel_rule_message_id_response.py +fireblocks/models/tr_link_source_transfer_peer_path.py +fireblocks/models/tr_link_test_connection_response.py +fireblocks/models/tr_link_thresholds.py +fireblocks/models/tr_link_transaction_direction.py +fireblocks/models/tr_link_transfer_peer_path.py +fireblocks/models/tr_link_trm_direction.py +fireblocks/models/tr_link_trm_info_response.py fireblocks/models/tr_link_trm_screening_status.py fireblocks/models/tr_link_trm_screening_status_enum.py +fireblocks/models/tr_link_trm_status.py +fireblocks/models/tr_link_txn_info.py +fireblocks/models/tr_link_update_customer_request.py +fireblocks/models/tr_link_vasp_dto.py +fireblocks/models/tr_link_vasp_geographic_address.py +fireblocks/models/tr_link_vasp_list_dto.py +fireblocks/models/tr_link_vasp_national_identification.py fireblocks/models/tr_link_verdict.py fireblocks/models/tr_link_verdict_enum.py fireblocks/models/trading_account_type.py -fireblocks/models/trading_error_response.py -fireblocks/models/trading_error_response_error.py +fireblocks/models/trading_error_schema.py fireblocks/models/trading_provider.py fireblocks/models/transaction.py fireblocks/models/transaction_direction.py @@ -1776,7 +1994,11 @@ fireblocks/models/travel_rule_validate_transaction_response.py fireblocks/models/travel_rule_vasp.py fireblocks/models/travel_rule_vasp_for_vault.py fireblocks/models/travel_rule_verdict_enum.py +fireblocks/models/trust_proof_of_address_create_response.py +fireblocks/models/trust_proof_of_address_request.py +fireblocks/models/trust_proof_of_address_response.py fireblocks/models/tx_log.py +fireblocks/models/typed_message_transaction_status_enum.py fireblocks/models/unfreeze_transaction_response.py fireblocks/models/unmanaged_wallet.py fireblocks/models/unspent_input.py @@ -1804,7 +2026,6 @@ fireblocks/models/user_status.py fireblocks/models/user_type.py fireblocks/models/validate_address_response.py fireblocks/models/validate_layer_zero_channel_response.py -fireblocks/models/validated_transactions_for_rescan.py fireblocks/models/validation_key_dto.py fireblocks/models/validator.py fireblocks/models/vault_account.py @@ -1815,13 +2036,12 @@ fireblocks/models/vault_accounts_paged_response.py fireblocks/models/vault_accounts_paged_response_paging.py fireblocks/models/vault_accounts_tag_attachment_operations_request.py fireblocks/models/vault_accounts_tag_attachment_operations_response.py -fireblocks/models/vault_accounts_tag_attachments_request.py fireblocks/models/vault_action_status.py fireblocks/models/vault_asset.py fireblocks/models/vault_wallet_address.py fireblocks/models/vendor_dto.py fireblocks/models/verdict_config.py -fireblocks/models/version.py +fireblocks/models/version_summary.py fireblocks/models/wallet_asset.py fireblocks/models/wallet_asset_additional_info.py fireblocks/models/webhook.py @@ -1861,6 +2081,9 @@ test/fireblocks/test_user_agent_util.py test/fireblocks/test_validation_utils.py test/test_aba_payment_info.py test/test_abi_function.py +test/test_access_registry_address_item.py +test/test_access_registry_current_state_response.py +test/test_access_registry_summary_response.py test/test_access_type.py test/test_account.py test/test_account_access.py @@ -1870,7 +2093,6 @@ test/test_account_based_access_provider_details.py test/test_account_config.py test/test_account_holder_details.py test/test_account_identifier.py -test/test_account_provider_id.py test/test_account_reference.py test/test_account_type.py test/test_account_type2.py @@ -1890,6 +2112,8 @@ test/test_add_exchange_account_response.py test/test_additional_info.py test/test_additional_info_request.py test/test_additional_info_request_additional_info.py +test/test_address_balance_item_dto.py +test/test_address_balance_paged_response.py test/test_address_not_available_error.py test/test_alert_exposure_type_enum.py test/test_alert_level_enum.py @@ -1914,6 +2138,7 @@ test/test_api_key.py test/test_api_keys_paginated_response.py test/test_api_user.py test/test_api_user_api.py +test/test_approval_request.py test/test_approvers_config.py test/test_approvers_config_approval_groups_inner.py test/test_asset.py @@ -1942,18 +2167,23 @@ test/test_asset_price_not_found_error_response.py test/test_asset_price_response.py test/test_asset_response.py test/test_asset_scope.py +test/test_asset_type_enum.py test/test_asset_type_response.py test/test_asset_types_config_inner.py test/test_asset_wallet.py -test/test_assets_api.py test/test_audit_log_data.py test/test_audit_logs_api.py test/test_auditor_data.py test/test_authorization_groups.py test/test_authorization_info.py +test/test_balance_history_item_dto.py +test/test_balance_history_paged_response.py +test/test_bank_address.py test/test_base_provider.py test/test_basic_address_request.py test/test_block_info.py +test/test_blockchain_address.py +test/test_blockchain_destination.py test/test_blockchain_explorer.py test/test_blockchain_media.py test/test_blockchain_metadata.py @@ -1963,6 +2193,7 @@ test/test_blockchain_response.py test/test_blockchain_transfer.py test/test_blockchains_assets_api.py test/test_bps_fee.py +test/test_business_entity_type_enum.py test/test_business_identification.py test/test_callback_handler.py test/test_callback_handler_request.py @@ -1985,6 +2216,7 @@ test/test_collection_ownership_response.py test/test_collection_token_metadata_attribute_dto.py test/test_collection_token_metadata_dto.py test/test_collection_type.py +test/test_committed_quote_enum.py test/test_committed_quote_type.py test/test_compliance_api.py test/test_compliance_result_full_payload.py @@ -2006,6 +2238,7 @@ test/test_connected_account_asset_type.py test/test_connected_account_balances.py test/test_connected_account_balances_response.py test/test_connected_account_capability.py +test/test_connected_account_error_response.py test/test_connected_account_manifest.py test/test_connected_account_rate_response.py test/test_connected_account_total_balance.py @@ -2020,6 +2253,7 @@ test/test_console_user.py test/test_console_user_api.py test/test_contract_abi_response_dto.py test/test_contract_abi_response_dto_abi_inner.py +test/test_contract_address_response.py test/test_contract_attributes.py test/test_contract_data_decode_data_type.py test/test_contract_data_decode_error.py @@ -2059,7 +2293,6 @@ test/test_cosigners_paginated_response.py test/test_create_address_request.py test/test_create_address_response.py test/test_create_api_user.py -test/test_create_assets_bulk_request.py test/test_create_assets_request.py test/test_create_config_operation_request.py test/test_create_connection_request.py @@ -2100,8 +2333,10 @@ test/test_create_webhook_request.py test/test_create_workflow_execution_request_params_inner.py test/test_custom_routing_dest.py test/test_d_app_address_config.py +test/test_decoded_log.py test/test_default_network_routing_dest.py test/test_delegation.py +test/test_delegation_blockchain_position_info.py test/test_delegation_summary.py test/test_delete_network_connection_response.py test/test_delete_network_id_response.py @@ -2145,6 +2380,7 @@ test/test_drop_transaction_response.py test/test_dvn_config.py test/test_dvn_config_with_confirmations.py test/test_dvp_settlement.py +test/test_dvp_settlement_type.py test/test_edit_gas_station_configuration_response.py test/test_embedded_wallet.py test/test_embedded_wallet_account.py @@ -2160,16 +2396,23 @@ test/test_embedded_wallet_latest_backup_key.py test/test_embedded_wallet_latest_backup_response.py test/test_embedded_wallet_paginated_addresses_response.py test/test_embedded_wallet_paginated_assets_response.py +test/test_embedded_wallet_paginated_devices_response.py test/test_embedded_wallet_paginated_wallets_response.py +test/test_embedded_wallet_required_algorithms.py test/test_embedded_wallet_set_up_status.py +test/test_embedded_wallet_setup_status_response.py test/test_embedded_wallets_api.py -test/test_error_codes.py +test/test_enable_device.py +test/test_enable_wallet.py test/test_error_response.py test/test_error_response_error.py test/test_error_schema.py test/test_estimated_fee_details.py test/test_estimated_network_fee_response.py test/test_estimated_transaction_fee_response.py +test/test_ethereum_blockchain_data.py +test/test_european_sepa_address.py +test/test_european_sepa_destination.py test/test_evm_token_create_params_dto.py test/test_exchange_account.py test/test_exchange_accounts_api.py @@ -2185,15 +2428,22 @@ test/test_execution_request_details.py test/test_execution_response_base_details.py test/test_execution_response_details.py test/test_execution_screening_operation.py -test/test_execution_step.py -test/test_execution_step_details.py test/test_execution_step_error.py test/test_execution_step_status_enum.py test/test_execution_step_type.py test/test_execution_transfer_operation.py test/test_external_account.py +test/test_external_account_local_bank_africa.py +test/test_external_account_local_bank_africa_type.py +test/test_external_account_mobile_money.py +test/test_external_account_mobile_money_provider.py +test/test_external_account_mobile_money_type.py +test/test_external_account_sender_information.py +test/test_external_account_type.py test/test_external_wallet_asset.py test/test_external_wallets_api.py +test/test_failure.py +test/test_failure_reason.py test/test_fee.py test/test_fee_breakdown.py test/test_fee_breakdown_one_of.py @@ -2202,13 +2452,16 @@ test/test_fee_info.py test/test_fee_level.py test/test_fee_payer_info.py test/test_fee_properties_details.py +test/test_fee_type_enum.py test/test_fetch_abi_request_dto.py test/test_fiat_account.py test/test_fiat_account_type.py test/test_fiat_accounts_api.py test/test_fiat_asset.py test/test_fiat_destination.py +test/test_fiat_payment_metadata.py test/test_fiat_transfer.py +test/test_fixed_amount_type_enum.py test/test_fixed_fee.py test/test_freeze_transaction_response.py test/test_function_doc.py @@ -2229,6 +2482,7 @@ test/test_get_filter_parameter.py test/test_get_layer_zero_dvn_config_response.py test/test_get_layer_zero_peers_response.py test/test_get_linked_collections_paginated_response.py +test/test_get_max_bip_index_used_response.py test/test_get_max_spendable_amount_response.py test/test_get_mpc_keys_response.py test/test_get_nfts_response.py @@ -2248,6 +2502,7 @@ test/test_iban_destination.py test/test_iban_payment_info.py test/test_identification.py test/test_idl_type.py +test/test_indicative_quote_enum.py test/test_indicative_quote_type.py test/test_initiator_config.py test/test_initiator_config_pattern.py @@ -2256,9 +2511,7 @@ test/test_internal_reference.py test/test_internal_transfer_response.py test/test_internal_wallets_api.py test/test_invalid_paramater_value_error.py -test/test_job.py test/test_job_created.py -test/test_job_management_api.py test/test_key_link_beta_api.py test/test_keys_beta_api.py test/test_layer_zero_adapter_create_params.py @@ -2294,9 +2547,7 @@ test/test_legacy_policy_validation.py test/test_legacy_publish_draft_request.py test/test_legacy_publish_result.py test/test_legacy_src_or_dest_attributes_inner.py -test/test_limit_execution_request_details.py -test/test_limit_execution_response_details.py -test/test_limit_type_details.py +test/test_linked_tokens_count.py test/test_list_assets_response.py test/test_list_blockchains_response.py test/test_list_owned_collections_response.py @@ -2307,7 +2558,9 @@ test/test_manifest.py test/test_market_execution_request_details.py test/test_market_execution_response_details.py test/test_market_requote_request_details.py +test/test_market_requote_type_enum.py test/test_market_type_details.py +test/test_market_type_enum.py test/test_media_entity_response.py test/test_merge_stake_accounts_request.py test/test_merge_stake_accounts_response.py @@ -2341,11 +2594,16 @@ test/test_notification_paginated_response.py test/test_notification_status.py test/test_notification_with_data.py test/test_off_exchanges_api.py +test/test_onchain_data_api.py +test/test_onchain_transaction.py +test/test_onchain_transactions_paged_response.py test/test_one_time_address.py test/test_one_time_address_account.py +test/test_one_time_address_peer_type.py test/test_one_time_address_reference.py test/test_operation_execution_failure.py test/test_order_details.py +test/test_order_execution_step.py test/test_order_side.py test/test_order_status.py test/test_order_summary.py @@ -2369,7 +2627,7 @@ test/test_payment_account.py test/test_payment_account_response.py test/test_payment_account_type.py test/test_payment_instructions.py -test/test_payment_instructions_details.py +test/test_payment_instructions_one_of.py test/test_payments_payout_api.py test/test_payout_init_method.py test/test_payout_instruction.py @@ -2380,12 +2638,14 @@ test/test_payout_state.py test/test_payout_status.py test/test_peer_adapter_info.py test/test_peer_type.py +test/test_personal_entity_type_enum.py test/test_personal_identification.py test/test_personal_identification_full_name.py test/test_pix_address.py test/test_pix_destination.py test/test_pix_payment_info.py test/test_platform_account.py +test/test_platform_peer_type.py test/test_players.py test/test_policy_and_validation_response.py test/test_policy_check_result.py @@ -2404,24 +2664,24 @@ test/test_policy_type.py test/test_policy_validation.py test/test_policy_verdict_action_enum.py test/test_policy_verdict_action_enum2.py -test/test_post_order_settlement.py test/test_postal_address.py test/test_pre_screening.py test/test_prefunded_settlement.py +test/test_prefunded_settlement_type.py test/test_program_call_config.py test/test_provider.py -test/test_provider_id.py test/test_providers_list_response.py test/test_public_key_information.py test/test_publish_draft_request.py test/test_publish_result.py test/test_quote.py test/test_quote_execution_request_details.py -test/test_quote_execution_response_details.py +test/test_quote_execution_step.py test/test_quote_execution_type_details.py test/test_quote_execution_with_requote_request_details.py test/test_quote_execution_with_requote_response_details.py test/test_quote_properties_details.py +test/test_quote_type_enum.py test/test_quotes_response.py test/test_re_quote_details.py test/test_re_quote_details_re_quote.py @@ -2439,9 +2699,10 @@ test/test_remove_layer_zero_adapters_request.py test/test_remove_layer_zero_adapters_response.py test/test_remove_layer_zero_peers_request.py test/test_remove_layer_zero_peers_response.py +test/test_rename_connected_account_request.py +test/test_rename_connected_account_response.py test/test_rename_cosigner.py test/test_rename_vault_account_response.py -test/test_rescan_transaction.py test/test_resend_failed_notifications_job_status_response.py test/test_resend_failed_notifications_request.py test/test_resend_failed_notifications_response.py @@ -2452,8 +2713,12 @@ test/test_resend_webhooks_response.py test/test_reset_device_api.py test/test_respond_to_connection_request.py test/test_retry_requote_request_details.py +test/test_retry_requote_type_enum.py test/test_reward_info.py test/test_rewards_info.py +test/test_role_details.py +test/test_role_grantee.py +test/test_scope_item.py test/test_screening_alert_exposure_type_enum.py test/test_screening_aml_alert.py test/test_screening_aml_matched_rule.py @@ -2512,6 +2777,7 @@ test/test_settlement.py test/test_settlement_request_body.py test/test_settlement_response.py test/test_settlement_source_account.py +test/test_side.py test/test_signed_message.py test/test_signed_message_signature.py test/test_signing_key_dto.py @@ -2561,12 +2827,15 @@ test/test_spei_basic_payment_info.py test/test_spei_destination.py test/test_split_request.py test/test_split_response.py +test/test_st_eth_blockchain_data.py test/test_stake_request.py test/test_stake_response.py test/test_staking_api.py test/test_staking_provider.py test/test_status.py test/test_stellar_ripple_create_params_dto.py +test/test_supported_block_chains_response.py +test/test_supported_blockchain.py test/test_swift_address.py test/test_swift_destination.py test/test_system_message_info.py @@ -2574,15 +2843,14 @@ test/test_tag.py test/test_tag_attachment_operation_action.py test/test_tags_api.py test/test_tags_paged_response.py -test/test_task.py test/test_templates_paginated_response.py test/test_third_party_routing.py -test/test_time_in_force.py test/test_time_period_config.py test/test_time_period_match_type.py test/test_to_collateral_transaction.py test/test_to_exchange_transaction.py test/test_token_collection_response.py +test/test_token_contract_summary_response.py test/test_token_info_not_found_error_response.py test/test_token_link_dto.py test/test_token_link_dto_token_metadata.py @@ -2595,18 +2863,61 @@ test/test_token_ownership_status_update_payload.py test/test_token_response.py test/test_tokenization_api.py test/test_tokens_paginated_response.py +test/test_total_supply_item_dto.py +test/test_total_supply_paged_response.py test/test_tr_link_amount.py +test/test_tr_link_amount2.py +test/test_tr_link_amount_range.py +test/test_tr_link_api.py +test/test_tr_link_api_paged_response.py +test/test_tr_link_assess_travel_rule_request.py +test/test_tr_link_assess_travel_rule_response.py +test/test_tr_link_assessment_decision.py +test/test_tr_link_asset.py +test/test_tr_link_asset_data.py +test/test_tr_link_asset_format.py +test/test_tr_link_assets_list_paged_response.py +test/test_tr_link_cancel_trm_request.py +test/test_tr_link_connect_integration_request.py +test/test_tr_link_create_customer_request.py +test/test_tr_link_create_integration_request.py +test/test_tr_link_create_trm_request.py +test/test_tr_link_currency.py +test/test_tr_link_customer_integration_response.py +test/test_tr_link_customer_response.py +test/test_tr_link_destination_transfer_peer_path.py +test/test_tr_link_discoverable_status.py +test/test_tr_link_fiat_value.py +test/test_tr_link_geographic_address_request.py +test/test_tr_link_get_supported_asset_response.py +test/test_tr_link_ivms.py +test/test_tr_link_ivms_response.py +test/test_tr_link_jwk_public_key.py test/test_tr_link_missing_trm_action.py +test/test_tr_link_missing_trm_action2.py test/test_tr_link_missing_trm_action_enum.py test/test_tr_link_missing_trm_decision.py test/test_tr_link_missing_trm_rule.py +test/test_tr_link_missing_trm_rule2.py +test/test_tr_link_one_time_address.py +test/test_tr_link_paging.py +test/test_tr_link_partner_response.py +test/test_tr_link_policy_response.py +test/test_tr_link_post_screening_action.py test/test_tr_link_post_screening_rule.py +test/test_tr_link_post_screening_rule2.py test/test_tr_link_pre_screening_action.py +test/test_tr_link_pre_screening_action2.py test/test_tr_link_pre_screening_action_enum.py test/test_tr_link_pre_screening_rule.py +test/test_tr_link_pre_screening_rule2.py +test/test_tr_link_provider_data.py test/test_tr_link_provider_result.py test/test_tr_link_provider_result_with_rule.py test/test_tr_link_provider_result_with_rule2.py +test/test_tr_link_public_asset_info.py +test/test_tr_link_public_key_response.py +test/test_tr_link_redirect_trm_request.py test/test_tr_link_registration_result.py test/test_tr_link_registration_result_full_payload.py test/test_tr_link_registration_status.py @@ -2614,14 +2925,31 @@ test/test_tr_link_registration_status_enum.py test/test_tr_link_result.py test/test_tr_link_result_full_payload.py test/test_tr_link_rule_base.py +test/test_tr_link_set_destination_travel_rule_message_id_request.py +test/test_tr_link_set_destination_travel_rule_message_id_response.py +test/test_tr_link_set_transaction_travel_rule_message_id_request.py +test/test_tr_link_set_transaction_travel_rule_message_id_response.py +test/test_tr_link_source_transfer_peer_path.py +test/test_tr_link_test_connection_response.py +test/test_tr_link_thresholds.py +test/test_tr_link_transaction_direction.py +test/test_tr_link_transfer_peer_path.py +test/test_tr_link_trm_direction.py +test/test_tr_link_trm_info_response.py test/test_tr_link_trm_screening_status.py test/test_tr_link_trm_screening_status_enum.py +test/test_tr_link_trm_status.py +test/test_tr_link_txn_info.py +test/test_tr_link_update_customer_request.py +test/test_tr_link_vasp_dto.py +test/test_tr_link_vasp_geographic_address.py +test/test_tr_link_vasp_list_dto.py +test/test_tr_link_vasp_national_identification.py test/test_tr_link_verdict.py test/test_tr_link_verdict_enum.py test/test_trading_account_type.py test/test_trading_beta_api.py -test/test_trading_error_response.py -test/test_trading_error_response_error.py +test/test_trading_error_schema.py test/test_trading_provider.py test/test_transaction.py test/test_transaction_direction.py @@ -2702,7 +3030,11 @@ test/test_travel_rule_validate_transaction_response.py test/test_travel_rule_vasp.py test/test_travel_rule_vasp_for_vault.py test/test_travel_rule_verdict_enum.py +test/test_trust_proof_of_address_create_response.py +test/test_trust_proof_of_address_request.py +test/test_trust_proof_of_address_response.py test/test_tx_log.py +test/test_typed_message_transaction_status_enum.py test/test_unfreeze_transaction_response.py test/test_unmanaged_wallet.py test/test_unspent_input.py @@ -2732,7 +3064,6 @@ test/test_user_type.py test/test_users_api.py test/test_validate_address_response.py test/test_validate_layer_zero_channel_response.py -test/test_validated_transactions_for_rescan.py test/test_validation_key_dto.py test/test_validator.py test/test_vault_account.py @@ -2743,14 +3074,13 @@ test/test_vault_accounts_paged_response.py test/test_vault_accounts_paged_response_paging.py test/test_vault_accounts_tag_attachment_operations_request.py test/test_vault_accounts_tag_attachment_operations_response.py -test/test_vault_accounts_tag_attachments_request.py test/test_vault_action_status.py test/test_vault_asset.py test/test_vault_wallet_address.py test/test_vaults_api.py test/test_vendor_dto.py test/test_verdict_config.py -test/test_version.py +test/test_version_summary.py test/test_wallet_asset.py test/test_wallet_asset_additional_info.py test/test_web3_connections_api.py diff --git a/README.md b/README.md index 6e826365..bad17a5d 100644 --- a/README.md +++ b/README.md @@ -233,13 +233,12 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*ApiUserApi* | [**create_api_user**](docs/ApiUserApi.md#create_api_user) | **POST** /management/api_users | Create Api user -*ApiUserApi* | [**get_api_users**](docs/ApiUserApi.md#get_api_users) | **GET** /management/api_users | Get Api users -*AssetsApi* | [**create_assets_bulk**](docs/AssetsApi.md#create_assets_bulk) | **POST** /vault/assets/bulk | Bulk creation of wallets +*ApiUserApi* | [**create_api_user**](docs/ApiUserApi.md#create_api_user) | **POST** /management/api_users | Create API Key +*ApiUserApi* | [**get_api_users**](docs/ApiUserApi.md#get_api_users) | **GET** /management/api_users | Get API Keys *AuditLogsApi* | [**get_audit_logs**](docs/AuditLogsApi.md#get_audit_logs) | **GET** /management/audit_logs | Get audit logs *BlockchainsAssetsApi* | [**get_asset**](docs/BlockchainsAssetsApi.md#get_asset) | **GET** /assets/{id} | Get an asset -*BlockchainsAssetsApi* | [**get_blockchain**](docs/BlockchainsAssetsApi.md#get_blockchain) | **GET** /blockchains/{id} | Get an blockchain -*BlockchainsAssetsApi* | [**get_supported_assets**](docs/BlockchainsAssetsApi.md#get_supported_assets) | **GET** /supported_assets | List all asset types supported by Fireblocks - legacy endpoint +*BlockchainsAssetsApi* | [**get_blockchain**](docs/BlockchainsAssetsApi.md#get_blockchain) | **GET** /blockchains/{id} | Get a Blockchain by ID +*BlockchainsAssetsApi* | [**get_supported_assets**](docs/BlockchainsAssetsApi.md#get_supported_assets) | **GET** /supported_assets | List assets (Legacy) *BlockchainsAssetsApi* | [**list_assets**](docs/BlockchainsAssetsApi.md#list_assets) | **GET** /assets | List assets *BlockchainsAssetsApi* | [**list_blockchains**](docs/BlockchainsAssetsApi.md#list_blockchains) | **GET** /blockchains | List blockchains *BlockchainsAssetsApi* | [**register_new_asset**](docs/BlockchainsAssetsApi.md#register_new_asset) | **POST** /assets | Register an asset @@ -257,14 +256,17 @@ Class | Method | HTTP request | Description *ComplianceApi* | [**update_travel_rule_config**](docs/ComplianceApi.md#update_travel_rule_config) | **PUT** /screening/travel_rule/policy_configuration | Update Travel Rule Configuration *ComplianceScreeningConfigurationApi* | [**get_aml_screening_configuration**](docs/ComplianceScreeningConfigurationApi.md#get_aml_screening_configuration) | **GET** /screening/aml/policy_configuration | Get AML Screening Policy Configuration *ComplianceScreeningConfigurationApi* | [**get_screening_configuration**](docs/ComplianceScreeningConfigurationApi.md#get_screening_configuration) | **GET** /screening/travel_rule/policy_configuration | Get Travel Rule Screening Policy Configuration +*ConnectedAccountsBetaApi* | [**disconnect_connected_account**](docs/ConnectedAccountsBetaApi.md#disconnect_connected_account) | **DELETE** /connected_accounts/{accountId} | Disconnect connected account *ConnectedAccountsBetaApi* | [**get_connected_account**](docs/ConnectedAccountsBetaApi.md#get_connected_account) | **GET** /connected_accounts/{accountId} | Get connected account *ConnectedAccountsBetaApi* | [**get_connected_account_balances**](docs/ConnectedAccountsBetaApi.md#get_connected_account_balances) | **GET** /connected_accounts/{accountId}/balances | Get balances for an account *ConnectedAccountsBetaApi* | [**get_connected_account_rates**](docs/ConnectedAccountsBetaApi.md#get_connected_account_rates) | **GET** /connected_accounts/{accountId}/rates | Get exchange rates for an account *ConnectedAccountsBetaApi* | [**get_connected_account_trading_pairs**](docs/ConnectedAccountsBetaApi.md#get_connected_account_trading_pairs) | **GET** /connected_accounts/{accountId}/manifest/capabilities/trading/pairs | Get supported trading pairs for an account *ConnectedAccountsBetaApi* | [**get_connected_accounts**](docs/ConnectedAccountsBetaApi.md#get_connected_accounts) | **GET** /connected_accounts | Get connected accounts +*ConnectedAccountsBetaApi* | [**rename_connected_account**](docs/ConnectedAccountsBetaApi.md#rename_connected_account) | **POST** /connected_accounts/{accountId}/rename | Rename Connected Account *ConsoleUserApi* | [**create_console_user**](docs/ConsoleUserApi.md#create_console_user) | **POST** /management/users | Create console user *ConsoleUserApi* | [**get_console_users**](docs/ConsoleUserApi.md#get_console_users) | **GET** /management/users | Get console users *ContractInteractionsApi* | [**decode_contract_data**](docs/ContractInteractionsApi.md#decode_contract_data) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/decode | Decode a function call data, error, or event log +*ContractInteractionsApi* | [**get_contract_address**](docs/ContractInteractionsApi.md#get_contract_address) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash} | Get contract address by transaction hash *ContractInteractionsApi* | [**get_deployed_contract_abi**](docs/ContractInteractionsApi.md#get_deployed_contract_abi) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions | Return deployed contract's ABI *ContractInteractionsApi* | [**get_transaction_receipt**](docs/ContractInteractionsApi.md#get_transaction_receipt) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}/receipt | Get transaction receipt *ContractInteractionsApi* | [**read_call_function**](docs/ContractInteractionsApi.md#read_call_function) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions/read | Call a read function on a deployed contract @@ -275,14 +277,15 @@ Class | Method | HTTP request | Description *ContractTemplatesApi* | [**get_contract_template_by_id**](docs/ContractTemplatesApi.md#get_contract_template_by_id) | **GET** /tokenization/templates/{contractTemplateId} | Return contract template by id *ContractTemplatesApi* | [**get_contract_templates**](docs/ContractTemplatesApi.md#get_contract_templates) | **GET** /tokenization/templates | List all contract templates *ContractTemplatesApi* | [**get_function_abi_by_contract_template_id**](docs/ContractTemplatesApi.md#get_function_abi_by_contract_template_id) | **GET** /tokenization/templates/{contractTemplateId}/function | Return contract template's function +*ContractTemplatesApi* | [**get_supported_blockchains_by_template_id**](docs/ContractTemplatesApi.md#get_supported_blockchains_by_template_id) | **GET** /tokenization/templates/{contractTemplateId}/supported_blockchains | Get supported blockchains for the template *ContractTemplatesApi* | [**upload_contract_template**](docs/ContractTemplatesApi.md#upload_contract_template) | **POST** /tokenization/templates | Upload contract template -*ContractsApi* | [**add_contract_asset**](docs/ContractsApi.md#add_contract_asset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a contract -*ContractsApi* | [**create_contract**](docs/ContractsApi.md#create_contract) | **POST** /contracts | Create a contract +*ContractsApi* | [**add_contract_asset**](docs/ContractsApi.md#add_contract_asset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a whitelisted contract +*ContractsApi* | [**create_contract**](docs/ContractsApi.md#create_contract) | **POST** /contracts | Add a contract *ContractsApi* | [**delete_contract**](docs/ContractsApi.md#delete_contract) | **DELETE** /contracts/{contractId} | Delete a contract -*ContractsApi* | [**delete_contract_asset**](docs/ContractsApi.md#delete_contract_asset) | **DELETE** /contracts/{contractId}/{assetId} | Delete a contract asset -*ContractsApi* | [**get_contract**](docs/ContractsApi.md#get_contract) | **GET** /contracts/{contractId} | Find a specific contract -*ContractsApi* | [**get_contract_asset**](docs/ContractsApi.md#get_contract_asset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset -*ContractsApi* | [**get_contracts**](docs/ContractsApi.md#get_contracts) | **GET** /contracts | List contracts +*ContractsApi* | [**delete_contract_asset**](docs/ContractsApi.md#delete_contract_asset) | **DELETE** /contracts/{contractId}/{assetId} | Delete an asset from a whitelisted contract +*ContractsApi* | [**get_contract**](docs/ContractsApi.md#get_contract) | **GET** /contracts/{contractId} | Find a Specific Whitelisted Contract +*ContractsApi* | [**get_contract_asset**](docs/ContractsApi.md#get_contract_asset) | **GET** /contracts/{contractId}/{assetId} | Find a whitelisted contract's asset +*ContractsApi* | [**get_contracts**](docs/ContractsApi.md#get_contracts) | **GET** /contracts | List Whitelisted Contracts *CosignersBetaApi* | [**add_cosigner**](docs/CosignersBetaApi.md#add_cosigner) | **POST** /cosigners | Add cosigner *CosignersBetaApi* | [**get_api_key**](docs/CosignersBetaApi.md#get_api_key) | **GET** /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key *CosignersBetaApi* | [**get_api_keys**](docs/CosignersBetaApi.md#get_api_keys) | **GET** /cosigners/{cosignerId}/api_keys | Get all API keys @@ -299,6 +302,7 @@ Class | Method | HTTP request | Description *DeployedContractsApi* | [**get_deployed_contract_by_id**](docs/DeployedContractsApi.md#get_deployed_contract_by_id) | **GET** /tokenization/contracts/{id} | Return deployed contract data by id *DeployedContractsApi* | [**get_deployed_contracts**](docs/DeployedContractsApi.md#get_deployed_contracts) | **GET** /tokenization/contracts | List deployed contracts data *EmbeddedWalletsApi* | [**add_embedded_wallet_asset**](docs/EmbeddedWalletsApi.md#add_embedded_wallet_asset) | **POST** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Add asset to account +*EmbeddedWalletsApi* | [**assign_embedded_wallet**](docs/EmbeddedWalletsApi.md#assign_embedded_wallet) | **POST** /ncw/wallets/{walletId}/assign | Assign a wallet *EmbeddedWalletsApi* | [**create_embedded_wallet**](docs/EmbeddedWalletsApi.md#create_embedded_wallet) | **POST** /ncw/wallets | Create a new wallet *EmbeddedWalletsApi* | [**create_embedded_wallet_account**](docs/EmbeddedWalletsApi.md#create_embedded_wallet_account) | **POST** /ncw/wallets/{walletId}/accounts | Create a new account *EmbeddedWalletsApi* | [**get_embedded_wallet**](docs/EmbeddedWalletsApi.md#get_embedded_wallet) | **GET** /ncw/wallets/{walletId} | Get a wallet @@ -306,20 +310,25 @@ Class | Method | HTTP request | Description *EmbeddedWalletsApi* | [**get_embedded_wallet_addresses**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_addresses) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/addresses | Retrieve asset addresses *EmbeddedWalletsApi* | [**get_embedded_wallet_asset**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_asset) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Retrieve asset *EmbeddedWalletsApi* | [**get_embedded_wallet_asset_balance**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_asset_balance) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Retrieve asset balance +*EmbeddedWalletsApi* | [**get_embedded_wallet_assets**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_assets) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets | Retrieve assets *EmbeddedWalletsApi* | [**get_embedded_wallet_device**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_device) | **GET** /ncw/wallets/{walletId}/devices/{deviceId} | Get Embedded Wallet Device *EmbeddedWalletsApi* | [**get_embedded_wallet_device_setup_state**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_device_setup_state) | **GET** /ncw/wallets/{walletId}/devices/{deviceId}/setup_status | Get device key setup state +*EmbeddedWalletsApi* | [**get_embedded_wallet_devices_paginated**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_devices_paginated) | **GET** /ncw/wallets/{walletId}/devices_paginated | Get registered devices - paginated *EmbeddedWalletsApi* | [**get_embedded_wallet_latest_backup**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_latest_backup) | **GET** /ncw/wallets/{walletId}/backup/latest | Get wallet Latest Backup details *EmbeddedWalletsApi* | [**get_embedded_wallet_public_key_info_for_address**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_public_key_info_for_address) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key of an asset +*EmbeddedWalletsApi* | [**get_embedded_wallet_setup_status**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_setup_status) | **GET** /ncw/wallets/{walletId}/setup_status | Get wallet key setup state *EmbeddedWalletsApi* | [**get_embedded_wallet_supported_assets**](docs/EmbeddedWalletsApi.md#get_embedded_wallet_supported_assets) | **GET** /ncw/wallets/supported_assets | Retrieve supported assets *EmbeddedWalletsApi* | [**get_embedded_wallets**](docs/EmbeddedWalletsApi.md#get_embedded_wallets) | **GET** /ncw/wallets | List wallets *EmbeddedWalletsApi* | [**get_public_key_info_ncw**](docs/EmbeddedWalletsApi.md#get_public_key_info_ncw) | **GET** /ncw/wallets/{walletId}/public_key_info | Get the public key for a derivation path *EmbeddedWalletsApi* | [**refresh_embedded_wallet_asset_balance**](docs/EmbeddedWalletsApi.md#refresh_embedded_wallet_asset_balance) | **PUT** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Refresh asset balance +*EmbeddedWalletsApi* | [**update_embedded_wallet_device_status**](docs/EmbeddedWalletsApi.md#update_embedded_wallet_device_status) | **PATCH** /ncw/wallets/{walletId}/devices/{deviceId}/status | Update device status +*EmbeddedWalletsApi* | [**update_embedded_wallet_status**](docs/EmbeddedWalletsApi.md#update_embedded_wallet_status) | **PATCH** /ncw/wallets/{walletId}/status | Update wallet status *ExchangeAccountsApi* | [**add_exchange_account**](docs/ExchangeAccountsApi.md#add_exchange_account) | **POST** /exchange_accounts | Add an exchange account -*ExchangeAccountsApi* | [**convert_assets**](docs/ExchangeAccountsApi.md#convert_assets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. -*ExchangeAccountsApi* | [**get_exchange_account**](docs/ExchangeAccountsApi.md#get_exchange_account) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account -*ExchangeAccountsApi* | [**get_exchange_account_asset**](docs/ExchangeAccountsApi.md#get_exchange_account_asset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account +*ExchangeAccountsApi* | [**convert_assets**](docs/ExchangeAccountsApi.md#convert_assets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds +*ExchangeAccountsApi* | [**get_exchange_account**](docs/ExchangeAccountsApi.md#get_exchange_account) | **GET** /exchange_accounts/{exchangeAccountId} | Get a specific exchange account +*ExchangeAccountsApi* | [**get_exchange_account_asset**](docs/ExchangeAccountsApi.md#get_exchange_account_asset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Get an asset for an exchange account *ExchangeAccountsApi* | [**get_exchange_accounts_credentials_public_key**](docs/ExchangeAccountsApi.md#get_exchange_accounts_credentials_public_key) | **GET** /exchange_accounts/credentials_public_key | Get public key to encrypt exchange credentials -*ExchangeAccountsApi* | [**get_paged_exchange_accounts**](docs/ExchangeAccountsApi.md#get_paged_exchange_accounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts +*ExchangeAccountsApi* | [**get_paged_exchange_accounts**](docs/ExchangeAccountsApi.md#get_paged_exchange_accounts) | **GET** /exchange_accounts/paged | List connected exchange accounts *ExchangeAccountsApi* | [**internal_transfer**](docs/ExchangeAccountsApi.md#internal_transfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts *ExternalWalletsApi* | [**add_asset_to_external_wallet**](docs/ExternalWalletsApi.md#add_asset_to_external_wallet) | **POST** /external_wallets/{walletId}/{assetId} | Add an asset to an external wallet. *ExternalWalletsApi* | [**create_external_wallet**](docs/ExternalWalletsApi.md#create_external_wallet) | **POST** /external_wallets | Create an external wallet @@ -341,17 +350,11 @@ Class | Method | HTTP request | Description *InternalWalletsApi* | [**create_internal_wallet_asset**](docs/InternalWalletsApi.md#create_internal_wallet_asset) | **POST** /internal_wallets/{walletId}/{assetId} | Add an asset to an internal wallet *InternalWalletsApi* | [**delete_internal_wallet**](docs/InternalWalletsApi.md#delete_internal_wallet) | **DELETE** /internal_wallets/{walletId} | Delete an internal wallet *InternalWalletsApi* | [**delete_internal_wallet_asset**](docs/InternalWalletsApi.md#delete_internal_wallet_asset) | **DELETE** /internal_wallets/{walletId}/{assetId} | Delete a whitelisted address -*InternalWalletsApi* | [**get_internal_wallet**](docs/InternalWalletsApi.md#get_internal_wallet) | **GET** /internal_wallets/{walletId} | Get an asset from an internal wallet +*InternalWalletsApi* | [**get_internal_wallet**](docs/InternalWalletsApi.md#get_internal_wallet) | **GET** /internal_wallets/{walletId} | Get assets for internal wallet *InternalWalletsApi* | [**get_internal_wallet_asset**](docs/InternalWalletsApi.md#get_internal_wallet_asset) | **GET** /internal_wallets/{walletId}/{assetId} | Get an asset from an internal wallet *InternalWalletsApi* | [**get_internal_wallet_assets_paginated**](docs/InternalWalletsApi.md#get_internal_wallet_assets_paginated) | **GET** /internal_wallets/{walletId}/assets | List assets in an internal wallet (Paginated) *InternalWalletsApi* | [**get_internal_wallets**](docs/InternalWalletsApi.md#get_internal_wallets) | **GET** /internal_wallets | List internal wallets -*InternalWalletsApi* | [**set_customer_ref_id_for_internal_wallet**](docs/InternalWalletsApi.md#set_customer_ref_id_for_internal_wallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for an internal wallet -*JobManagementApi* | [**cancel_job**](docs/JobManagementApi.md#cancel_job) | **POST** /batch/{jobId}/cancel | Cancel a running job -*JobManagementApi* | [**continue_job**](docs/JobManagementApi.md#continue_job) | **POST** /batch/{jobId}/continue | Continue a paused job -*JobManagementApi* | [**get_job**](docs/JobManagementApi.md#get_job) | **GET** /batch/{jobId} | Get job details -*JobManagementApi* | [**get_job_tasks**](docs/JobManagementApi.md#get_job_tasks) | **GET** /batch/{jobId}/tasks | Return a list of tasks for given job -*JobManagementApi* | [**get_jobs**](docs/JobManagementApi.md#get_jobs) | **GET** /batch/jobs | Return a list of jobs belonging to tenant -*JobManagementApi* | [**pause_job**](docs/JobManagementApi.md#pause_job) | **POST** /batch/{jobId}/pause | Pause a job +*InternalWalletsApi* | [**set_customer_ref_id_for_internal_wallet**](docs/InternalWalletsApi.md#set_customer_ref_id_for_internal_wallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for internal wallet *KeyLinkBetaApi* | [**create_signing_key**](docs/KeyLinkBetaApi.md#create_signing_key) | **POST** /key_link/signing_keys | Add a new signing key *KeyLinkBetaApi* | [**create_validation_key**](docs/KeyLinkBetaApi.md#create_validation_key) | **POST** /key_link/validation_keys | Add a new validation key *KeyLinkBetaApi* | [**disable_validation_key**](docs/KeyLinkBetaApi.md#disable_validation_key) | **PATCH** /key_link/validation_keys/{keyId} | Disables a validation key @@ -359,8 +362,8 @@ Class | Method | HTTP request | Description *KeyLinkBetaApi* | [**get_signing_keys_list**](docs/KeyLinkBetaApi.md#get_signing_keys_list) | **GET** /key_link/signing_keys | Get list of signing keys *KeyLinkBetaApi* | [**get_validation_key**](docs/KeyLinkBetaApi.md#get_validation_key) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` *KeyLinkBetaApi* | [**get_validation_keys_list**](docs/KeyLinkBetaApi.md#get_validation_keys_list) | **GET** /key_link/validation_keys | Get list of registered validation keys -*KeyLinkBetaApi* | [**set_agent_id**](docs/KeyLinkBetaApi.md#set_agent_id) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` -*KeyLinkBetaApi* | [**update_signing_key**](docs/KeyLinkBetaApi.md#update_signing_key) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing by Fireblocks provided `keyId` +*KeyLinkBetaApi* | [**set_agent_id**](docs/KeyLinkBetaApi.md#set_agent_id) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id +*KeyLinkBetaApi* | [**update_signing_key**](docs/KeyLinkBetaApi.md#update_signing_key) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing keyId *KeysBetaApi* | [**get_mpc_keys_list**](docs/KeysBetaApi.md#get_mpc_keys_list) | **GET** /keys/mpc/list | Get list of mpc keys *KeysBetaApi* | [**get_mpc_keys_list_by_user**](docs/KeysBetaApi.md#get_mpc_keys_list_by_user) | **GET** /keys/mpc/list/{userId} | Get list of mpc keys by `userId` *NFTsApi* | [**get_nft**](docs/NFTsApi.md#get_nft) | **GET** /nfts/tokens/{id} | List token data by ID @@ -373,28 +376,36 @@ Class | Method | HTTP request | Description *NFTsApi* | [**update_token_ownership_status**](docs/NFTsApi.md#update_token_ownership_status) | **PUT** /nfts/ownership/tokens/{id}/status | Update token ownership status *NFTsApi* | [**update_tokens_ownership_spam**](docs/NFTsApi.md#update_tokens_ownership_spam) | **PUT** /nfts/ownership/tokens/spam | Update tokens ownership spam property *NFTsApi* | [**update_tokens_ownership_status**](docs/NFTsApi.md#update_tokens_ownership_status) | **PUT** /nfts/ownership/tokens/status | Update tokens ownership status -*NetworkConnectionsApi* | [**check_third_party_routing**](docs/NetworkConnectionsApi.md#check_third_party_routing) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation by asset type. -*NetworkConnectionsApi* | [**create_network_connection**](docs/NetworkConnectionsApi.md#create_network_connection) | **POST** /network_connections | Creates a new network connection +*NetworkConnectionsApi* | [**check_third_party_routing**](docs/NetworkConnectionsApi.md#check_third_party_routing) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation +*NetworkConnectionsApi* | [**create_network_connection**](docs/NetworkConnectionsApi.md#create_network_connection) | **POST** /network_connections | Create a new network connection *NetworkConnectionsApi* | [**create_network_id**](docs/NetworkConnectionsApi.md#create_network_id) | **POST** /network_ids | Creates a new Network ID *NetworkConnectionsApi* | [**delete_network_connection**](docs/NetworkConnectionsApi.md#delete_network_connection) | **DELETE** /network_connections/{connectionId} | Deletes a network connection by ID *NetworkConnectionsApi* | [**delete_network_id**](docs/NetworkConnectionsApi.md#delete_network_id) | **DELETE** /network_ids/{networkId} | Deletes specific network ID. *NetworkConnectionsApi* | [**get_network**](docs/NetworkConnectionsApi.md#get_network) | **GET** /network_connections/{connectionId} | Get a network connection *NetworkConnectionsApi* | [**get_network_connections**](docs/NetworkConnectionsApi.md#get_network_connections) | **GET** /network_connections | List network connections *NetworkConnectionsApi* | [**get_network_id**](docs/NetworkConnectionsApi.md#get_network_id) | **GET** /network_ids/{networkId} | Returns specific network ID. -*NetworkConnectionsApi* | [**get_network_ids**](docs/NetworkConnectionsApi.md#get_network_ids) | **GET** /network_ids | Returns all network IDs, both local IDs and discoverable remote IDs +*NetworkConnectionsApi* | [**get_network_ids**](docs/NetworkConnectionsApi.md#get_network_ids) | **GET** /network_ids | Get all network IDs *NetworkConnectionsApi* | [**get_routing_policy_asset_groups**](docs/NetworkConnectionsApi.md#get_routing_policy_asset_groups) | **GET** /network_ids/routing_policy_asset_groups | Returns all enabled routing policy asset groups -*NetworkConnectionsApi* | [**search_network_ids**](docs/NetworkConnectionsApi.md#search_network_ids) | **GET** /network_ids/search | Search network IDs, both local IDs and discoverable remote IDs +*NetworkConnectionsApi* | [**search_network_ids**](docs/NetworkConnectionsApi.md#search_network_ids) | **GET** /network_ids/search | Get both local IDs and discoverable remote IDs *NetworkConnectionsApi* | [**set_network_id_discoverability**](docs/NetworkConnectionsApi.md#set_network_id_discoverability) | **PATCH** /network_ids/{networkId}/set_discoverability | Update network ID's discoverability. *NetworkConnectionsApi* | [**set_network_id_name**](docs/NetworkConnectionsApi.md#set_network_id_name) | **PATCH** /network_ids/{networkId}/set_name | Update network ID's name. *NetworkConnectionsApi* | [**set_network_id_routing_policy**](docs/NetworkConnectionsApi.md#set_network_id_routing_policy) | **PATCH** /network_ids/{networkId}/set_routing_policy | Update network id routing policy. *NetworkConnectionsApi* | [**set_routing_policy**](docs/NetworkConnectionsApi.md#set_routing_policy) | **PATCH** /network_connections/{connectionId}/set_routing_policy | Update network connection routing policy. *OTABetaApi* | [**get_ota_status**](docs/OTABetaApi.md#get_ota_status) | **GET** /management/ota | Returns current OTA status *OTABetaApi* | [**set_ota_status**](docs/OTABetaApi.md#set_ota_status) | **PUT** /management/ota | Enable or disable transactions to OTA -*OffExchangesApi* | [**add_off_exchange**](docs/OffExchangesApi.md#add_off_exchange) | **POST** /off_exchange/add | add collateral +*OffExchangesApi* | [**add_off_exchange**](docs/OffExchangesApi.md#add_off_exchange) | **POST** /off_exchange/add | Add Collateral *OffExchangesApi* | [**get_off_exchange_collateral_accounts**](docs/OffExchangesApi.md#get_off_exchange_collateral_accounts) | **GET** /off_exchange/collateral_accounts/{mainExchangeAccountId} | Find a specific collateral exchange account -*OffExchangesApi* | [**get_off_exchange_settlement_transactions**](docs/OffExchangesApi.md#get_off_exchange_settlement_transactions) | **GET** /off_exchange/settlements/transactions | get settlements transactions from exchange -*OffExchangesApi* | [**remove_off_exchange**](docs/OffExchangesApi.md#remove_off_exchange) | **POST** /off_exchange/remove | remove collateral -*OffExchangesApi* | [**settle_off_exchange_trades**](docs/OffExchangesApi.md#settle_off_exchange_trades) | **POST** /off_exchange/settlements/trader | create settlement for a trader +*OffExchangesApi* | [**get_off_exchange_settlement_transactions**](docs/OffExchangesApi.md#get_off_exchange_settlement_transactions) | **GET** /off_exchange/settlements/transactions | Get Settlements Transactions +*OffExchangesApi* | [**remove_off_exchange**](docs/OffExchangesApi.md#remove_off_exchange) | **POST** /off_exchange/remove | Remove Collateral +*OffExchangesApi* | [**settle_off_exchange_trades**](docs/OffExchangesApi.md#settle_off_exchange_trades) | **POST** /off_exchange/settlements/trader | Create Settlement for a Trader +*OnchainDataApi* | [**get_access_registry_current_state**](docs/OnchainDataApi.md#get_access_registry_current_state) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list | Get the current state of addresses in an access registry +*OnchainDataApi* | [**get_access_registry_summary**](docs/OnchainDataApi.md#get_access_registry_summary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary | Summary of access registry state +*OnchainDataApi* | [**get_active_roles_for_contract**](docs/OnchainDataApi.md#get_active_roles_for_contract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles | List of active roles for a given contract address and base asset ID +*OnchainDataApi* | [**get_contract_balance_history**](docs/OnchainDataApi.md#get_contract_balance_history) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/account_address/{accountAddress}/balance_history | Get historical balance data for a specific account in a contract +*OnchainDataApi* | [**get_contract_balances_summary**](docs/OnchainDataApi.md#get_contract_balances_summary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary | Get summary for the token contract +*OnchainDataApi* | [**get_contract_total_supply**](docs/OnchainDataApi.md#get_contract_total_supply) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply | Get historical total supply data for a contract +*OnchainDataApi* | [**get_latest_balances_for_contract**](docs/OnchainDataApi.md#get_latest_balances_for_contract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances | Get latest balances for all addresses holding tokens from a contract +*OnchainDataApi* | [**get_onchain_transactions**](docs/OnchainDataApi.md#get_onchain_transactions) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions | Fetch onchain transactions for a contract *PaymentsPayoutApi* | [**create_payout**](docs/PaymentsPayoutApi.md#create_payout) | **POST** /payments/payout | Create a payout instruction set *PaymentsPayoutApi* | [**execute_payout_action**](docs/PaymentsPayoutApi.md#execute_payout_action) | **POST** /payments/payout/{payoutId}/actions/execute | Execute a payout instruction set *PaymentsPayoutApi* | [**get_payout**](docs/PaymentsPayoutApi.md#get_payout) | **GET** /payments/payout/{payoutId} | Get the status of a payout instruction set @@ -408,12 +419,12 @@ Class | Method | HTTP request | Description *PolicyEditorBetaApi* | [**publish_policy_rules**](docs/PolicyEditorBetaApi.md#publish_policy_rules) | **POST** /tap/publish | Send publish request for a set of policy rules *PolicyEditorBetaApi* | [**update_draft_legacy**](docs/PolicyEditorBetaApi.md#update_draft_legacy) | **PUT** /tap/draft | Update the draft with a new set of rules *ResetDeviceApi* | [**reset_device**](docs/ResetDeviceApi.md#reset_device) | **POST** /management/users/{id}/reset_device | Resets device -*SmartTransferApi* | [**approve_dv_p_ticket_term**](docs/SmartTransferApi.md#approve_dv_p_ticket_term) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Define funding source and give approve to contract to transfer asset +*SmartTransferApi* | [**approve_dv_p_ticket_term**](docs/SmartTransferApi.md#approve_dv_p_ticket_term) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Set funding source and approval *SmartTransferApi* | [**cancel_ticket**](docs/SmartTransferApi.md#cancel_ticket) | **PUT** /smart-transfers/{ticketId}/cancel | Cancel Ticket *SmartTransferApi* | [**create_ticket**](docs/SmartTransferApi.md#create_ticket) | **POST** /smart-transfers | Create Ticket *SmartTransferApi* | [**create_ticket_term**](docs/SmartTransferApi.md#create_ticket_term) | **POST** /smart-transfers/{ticketId}/terms | Create leg (term) -*SmartTransferApi* | [**find_ticket_by_id**](docs/SmartTransferApi.md#find_ticket_by_id) | **GET** /smart-transfers/{ticketId} | Search Tickets by ID -*SmartTransferApi* | [**find_ticket_term_by_id**](docs/SmartTransferApi.md#find_ticket_term_by_id) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Search ticket by leg (term) ID +*SmartTransferApi* | [**find_ticket_by_id**](docs/SmartTransferApi.md#find_ticket_by_id) | **GET** /smart-transfers/{ticketId} | Search Ticket by ID +*SmartTransferApi* | [**find_ticket_term_by_id**](docs/SmartTransferApi.md#find_ticket_term_by_id) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Get Smart Transfer ticket term *SmartTransferApi* | [**fulfill_ticket**](docs/SmartTransferApi.md#fulfill_ticket) | **PUT** /smart-transfers/{ticketId}/fulfill | Fund ticket manually *SmartTransferApi* | [**fund_dvp_ticket**](docs/SmartTransferApi.md#fund_dvp_ticket) | **PUT** /smart_transfers/{ticketId}/dvp/fund | Fund dvp ticket *SmartTransferApi* | [**fund_ticket_term**](docs/SmartTransferApi.md#fund_ticket_term) | **PUT** /smart-transfers/{ticketId}/terms/{termId}/fund | Define funding source @@ -427,22 +438,49 @@ Class | Method | HTTP request | Description *SmartTransferApi* | [**set_user_groups**](docs/SmartTransferApi.md#set_user_groups) | **POST** /smart-transfers/settings/user-groups | Set user group *SmartTransferApi* | [**submit_ticket**](docs/SmartTransferApi.md#submit_ticket) | **PUT** /smart-transfers/{ticketId}/submit | Submit ticket *SmartTransferApi* | [**update_ticket_term**](docs/SmartTransferApi.md#update_ticket_term) | **PUT** /smart-transfers/{ticketId}/terms/{termId} | Update ticket leg (term) -*StakingApi* | [**approve_terms_of_service_by_provider_id**](docs/StakingApi.md#approve_terms_of_service_by_provider_id) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve staking terms of service -*StakingApi* | [**claim_rewards**](docs/StakingApi.md#claim_rewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Execute a Claim Rewards operation -*StakingApi* | [**get_all_delegations**](docs/StakingApi.md#get_all_delegations) | **GET** /staking/positions | List staking positions details -*StakingApi* | [**get_chain_info**](docs/StakingApi.md#get_chain_info) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-specific staking summary -*StakingApi* | [**get_chains**](docs/StakingApi.md#get_chains) | **GET** /staking/chains | List staking supported chains -*StakingApi* | [**get_delegation_by_id**](docs/StakingApi.md#get_delegation_by_id) | **GET** /staking/positions/{id} | Get staking position details -*StakingApi* | [**get_providers**](docs/StakingApi.md#get_providers) | **GET** /staking/providers | List staking providers details -*StakingApi* | [**get_summary**](docs/StakingApi.md#get_summary) | **GET** /staking/positions/summary | Get staking summary details -*StakingApi* | [**get_summary_by_vault**](docs/StakingApi.md#get_summary_by_vault) | **GET** /staking/positions/summary/vaults | Get staking summary details by vault -*StakingApi* | [**merge_stake_accounts**](docs/StakingApi.md#merge_stake_accounts) | **POST** /staking/chains/{chainDescriptor}/merge | Merge Solana on stake accounts -*StakingApi* | [**split**](docs/StakingApi.md#split) | **POST** /staking/chains/{chainDescriptor}/split | Execute a Split operation on SOL/SOL_TEST stake account -*StakingApi* | [**stake**](docs/StakingApi.md#stake) | **POST** /staking/chains/{chainDescriptor}/stake | Initiate Stake Operation -*StakingApi* | [**unstake**](docs/StakingApi.md#unstake) | **POST** /staking/chains/{chainDescriptor}/unstake | Execute an Unstake operation -*StakingApi* | [**withdraw**](docs/StakingApi.md#withdraw) | **POST** /staking/chains/{chainDescriptor}/withdraw | Execute a Withdraw operation -*TagsApi* | [**create_tag**](docs/TagsApi.md#create_tag) | **POST** /tags | Create a tag +*StakingApi* | [**approve_terms_of_service_by_provider_id**](docs/StakingApi.md#approve_terms_of_service_by_provider_id) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve provider terms of service +*StakingApi* | [**claim_rewards**](docs/StakingApi.md#claim_rewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Claim accrued rewards +*StakingApi* | [**get_all_delegations**](docs/StakingApi.md#get_all_delegations) | **GET** /staking/positions | List staking positions +*StakingApi* | [**get_chain_info**](docs/StakingApi.md#get_chain_info) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters +*StakingApi* | [**get_chains**](docs/StakingApi.md#get_chains) | **GET** /staking/chains | List supported staking chains +*StakingApi* | [**get_delegation_by_id**](docs/StakingApi.md#get_delegation_by_id) | **GET** /staking/positions/{id} | Get position details +*StakingApi* | [**get_providers**](docs/StakingApi.md#get_providers) | **GET** /staking/providers | List staking providers +*StakingApi* | [**get_summary**](docs/StakingApi.md#get_summary) | **GET** /staking/positions/summary | Get positions summary +*StakingApi* | [**get_summary_by_vault**](docs/StakingApi.md#get_summary_by_vault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault +*StakingApi* | [**merge_stake_accounts**](docs/StakingApi.md#merge_stake_accounts) | **POST** /staking/chains/{chainDescriptor}/merge | Merge staking positions +*StakingApi* | [**split**](docs/StakingApi.md#split) | **POST** /staking/chains/{chainDescriptor}/split | Split a staking position +*StakingApi* | [**stake**](docs/StakingApi.md#stake) | **POST** /staking/chains/{chainDescriptor}/stake | Initiate or add to existing stake +*StakingApi* | [**unstake**](docs/StakingApi.md#unstake) | **POST** /staking/chains/{chainDescriptor}/unstake | Initiate unstake +*StakingApi* | [**withdraw**](docs/StakingApi.md#withdraw) | **POST** /staking/chains/{chainDescriptor}/withdraw | Withdraw staked funds +*TRLinkApi* | [**assess_tr_link_travel_rule_requirement**](docs/TRLinkApi.md#assess_tr_link_travel_rule_requirement) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/assess | Assess Travel Rule requirement +*TRLinkApi* | [**cancel_tr_link_trm**](docs/TRLinkApi.md#cancel_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel | Cancel Travel Rule Message +*TRLinkApi* | [**connect_tr_link_integration**](docs/TRLinkApi.md#connect_tr_link_integration) | **PUT** /screening/trlink/customers/integration/{customerIntegrationId} | Connect customer integration +*TRLinkApi* | [**create_tr_link_customer**](docs/TRLinkApi.md#create_tr_link_customer) | **POST** /screening/trlink/customers | Create customer +*TRLinkApi* | [**create_tr_link_integration**](docs/TRLinkApi.md#create_tr_link_integration) | **POST** /screening/trlink/customers/integration | Create customer integration +*TRLinkApi* | [**create_tr_link_trm**](docs/TRLinkApi.md#create_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm | Create Travel Rule Message +*TRLinkApi* | [**delete_tr_link_customer**](docs/TRLinkApi.md#delete_tr_link_customer) | **DELETE** /screening/trlink/customers/{customerId} | Delete customer +*TRLinkApi* | [**disconnect_tr_link_integration**](docs/TRLinkApi.md#disconnect_tr_link_integration) | **DELETE** /screening/trlink/customers/integration/{customerIntegrationId} | Disconnect customer integration +*TRLinkApi* | [**get_tr_link_customer_by_id**](docs/TRLinkApi.md#get_tr_link_customer_by_id) | **GET** /screening/trlink/customers/{customerId} | Get customer by ID +*TRLinkApi* | [**get_tr_link_customer_integration_by_id**](docs/TRLinkApi.md#get_tr_link_customer_integration_by_id) | **GET** /screening/trlink/customers/{customerId}/integrations/{customerIntegrationId} | Get customer integration by ID +*TRLinkApi* | [**get_tr_link_customer_integrations**](docs/TRLinkApi.md#get_tr_link_customer_integrations) | **GET** /screening/trlink/customers/{customerId}/integrations | Get customer integrations +*TRLinkApi* | [**get_tr_link_customers**](docs/TRLinkApi.md#get_tr_link_customers) | **GET** /screening/trlink/customers | Get all customers +*TRLinkApi* | [**get_tr_link_integration_public_key**](docs/TRLinkApi.md#get_tr_link_integration_public_key) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/public_key | Get public key for PII encryption +*TRLinkApi* | [**get_tr_link_partners**](docs/TRLinkApi.md#get_tr_link_partners) | **GET** /screening/trlink/partners | List available TRLink partners +*TRLinkApi* | [**get_tr_link_policy**](docs/TRLinkApi.md#get_tr_link_policy) | **GET** /screening/trlink/policy | Get TRLink policy +*TRLinkApi* | [**get_tr_link_supported_asset**](docs/TRLinkApi.md#get_tr_link_supported_asset) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId} | Get supported asset by ID +*TRLinkApi* | [**get_tr_link_trm_by_id**](docs/TRLinkApi.md#get_tr_link_trm_by_id) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId} | Get TRM by ID +*TRLinkApi* | [**get_tr_link_vasp_by_id**](docs/TRLinkApi.md#get_tr_link_vasp_by_id) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId} | Get VASP by ID +*TRLinkApi* | [**list_tr_link_supported_assets**](docs/TRLinkApi.md#list_tr_link_supported_assets) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets | List supported assets +*TRLinkApi* | [**list_tr_link_vasps**](docs/TRLinkApi.md#list_tr_link_vasps) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps | List VASPs +*TRLinkApi* | [**redirect_tr_link_trm**](docs/TRLinkApi.md#redirect_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect | Redirect Travel Rule Message +*TRLinkApi* | [**set_tr_link_destination_travel_rule_message_id**](docs/TRLinkApi.md#set_tr_link_destination_travel_rule_message_id) | **POST** /screening/trlink/transaction/{txId}/destination/travel_rule_message_id | Set destination travel rule message ID +*TRLinkApi* | [**set_tr_link_transaction_travel_rule_message_id**](docs/TRLinkApi.md#set_tr_link_transaction_travel_rule_message_id) | **POST** /screening/trlink/transaction/{txId}/travel_rule_message_id | Set transaction travel rule message ID +*TRLinkApi* | [**test_tr_link_integration_connection**](docs/TRLinkApi.md#test_tr_link_integration_connection) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/test_connection | Test connection +*TRLinkApi* | [**update_tr_link_customer**](docs/TRLinkApi.md#update_tr_link_customer) | **PUT** /screening/trlink/customers/{customerId} | Update customer +*TagsApi* | [**cancel_approval_request**](docs/TagsApi.md#cancel_approval_request) | **POST** /tags/approval_requests/{id}/cancel | Cancel an approval request by id +*TagsApi* | [**create_tag**](docs/TagsApi.md#create_tag) | **POST** /tags | Create a new tag *TagsApi* | [**delete_tag**](docs/TagsApi.md#delete_tag) | **DELETE** /tags/{tagId} | Delete a tag +*TagsApi* | [**get_approval_request**](docs/TagsApi.md#get_approval_request) | **GET** /tags/approval_requests/{id} | Get an approval request by id *TagsApi* | [**get_tag**](docs/TagsApi.md#get_tag) | **GET** /tags/{tagId} | Get a tag *TagsApi* | [**get_tags**](docs/TagsApi.md#get_tags) | **GET** /tags | Get list of tags *TagsApi* | [**update_tag**](docs/TagsApi.md#update_tag) | **PATCH** /tags/{tagId} | Update a tag @@ -458,6 +496,7 @@ Class | Method | HTTP request | Description *TokenizationApi* | [**get_linked_collections**](docs/TokenizationApi.md#get_linked_collections) | **GET** /tokenization/collections | Get collections *TokenizationApi* | [**get_linked_token**](docs/TokenizationApi.md#get_linked_token) | **GET** /tokenization/tokens/{id} | Return a linked token *TokenizationApi* | [**get_linked_tokens**](docs/TokenizationApi.md#get_linked_tokens) | **GET** /tokenization/tokens | List all linked tokens +*TokenizationApi* | [**get_linked_tokens_count**](docs/TokenizationApi.md#get_linked_tokens_count) | **GET** /tokenization/tokens/count | Get the total count of linked tokens *TokenizationApi* | [**issue_new_token**](docs/TokenizationApi.md#issue_new_token) | **POST** /tokenization/tokens | Issue a new token *TokenizationApi* | [**issue_token_multi_chain**](docs/TokenizationApi.md#issue_token_multi_chain) | **POST** /tokenization/multichain/tokens | Issue a token on one or more blockchains *TokenizationApi* | [**link**](docs/TokenizationApi.md#link) | **POST** /tokenization/tokens/link | Link a contract @@ -476,18 +515,19 @@ Class | Method | HTTP request | Description *TradingBetaApi* | [**get_trading_providers**](docs/TradingBetaApi.md#get_trading_providers) | **GET** /trading/providers | Get providers *TransactionsApi* | [**cancel_transaction**](docs/TransactionsApi.md#cancel_transaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction *TransactionsApi* | [**create_transaction**](docs/TransactionsApi.md#create_transaction) | **POST** /transactions | Create a new transaction -*TransactionsApi* | [**drop_transaction**](docs/TransactionsApi.md#drop_transaction) | **POST** /transactions/{txId}/drop | Drop ETH transaction by ID +*TransactionsApi* | [**drop_transaction**](docs/TransactionsApi.md#drop_transaction) | **POST** /transactions/{txId}/drop | Drop ETH (EVM) transaction by ID *TransactionsApi* | [**estimate_network_fee**](docs/TransactionsApi.md#estimate_network_fee) | **GET** /estimate_network_fee | Estimate the required fee for an asset *TransactionsApi* | [**estimate_transaction_fee**](docs/TransactionsApi.md#estimate_transaction_fee) | **POST** /transactions/estimate_fee | Estimate transaction fee *TransactionsApi* | [**freeze_transaction**](docs/TransactionsApi.md#freeze_transaction) | **POST** /transactions/{txId}/freeze | Freeze a transaction -*TransactionsApi* | [**get_transaction**](docs/TransactionsApi.md#get_transaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID -*TransactionsApi* | [**get_transaction_by_external_id**](docs/TransactionsApi.md#get_transaction_by_external_id) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID -*TransactionsApi* | [**get_transactions**](docs/TransactionsApi.md#get_transactions) | **GET** /transactions | List transaction history -*TransactionsApi* | [**rescan_transactions_beta**](docs/TransactionsApi.md#rescan_transactions_beta) | **POST** /transactions/rescan | rescan array of transactions +*TransactionsApi* | [**get_transaction**](docs/TransactionsApi.md#get_transaction) | **GET** /transactions/{txId} | Get a specific transaction by Fireblocks transaction ID +*TransactionsApi* | [**get_transaction_by_external_id**](docs/TransactionsApi.md#get_transaction_by_external_id) | **GET** /transactions/external_tx_id/{externalTxId} | Get a specific transaction by external transaction ID +*TransactionsApi* | [**get_transactions**](docs/TransactionsApi.md#get_transactions) | **GET** /transactions | Get transaction history *TransactionsApi* | [**set_confirmation_threshold_by_transaction_hash**](docs/TransactionsApi.md#set_confirmation_threshold_by_transaction_hash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash -*TransactionsApi* | [**set_transaction_confirmation_threshold**](docs/TransactionsApi.md#set_transaction_confirmation_threshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID +*TransactionsApi* | [**set_transaction_confirmation_threshold**](docs/TransactionsApi.md#set_transaction_confirmation_threshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by Fireblocks Transaction ID *TransactionsApi* | [**unfreeze_transaction**](docs/TransactionsApi.md#unfreeze_transaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction *TransactionsApi* | [**validate_address**](docs/TransactionsApi.md#validate_address) | **GET** /transactions/validate_address/{assetId}/{address} | Validate destination address +*TravelRuleApi* | [**create_trust_proof_of_address**](docs/TravelRuleApi.md#create_trust_proof_of_address) | **POST** /screening/travel_rule/providers/trust/proof_of_address | Create Trust Network Proof of Address +*TravelRuleApi* | [**get_trust_proof_of_address**](docs/TravelRuleApi.md#get_trust_proof_of_address) | **GET** /screening/travel_rule/providers/trust/proof_of_address/{transactionId} | Retrieve Trust Network Proof of Address Signature *TravelRuleApi* | [**get_vasp_for_vault**](docs/TravelRuleApi.md#get_vasp_for_vault) | **GET** /screening/travel_rule/vault/{vaultAccountId}/vasp | Get assigned VASP to vault *TravelRuleApi* | [**get_vaspby_did**](docs/TravelRuleApi.md#get_vaspby_did) | **GET** /screening/travel_rule/vasp/{did} | Get VASP details *TravelRuleApi* | [**get_vasps**](docs/TravelRuleApi.md#get_vasps) | **GET** /screening/travel_rule/vasp | Get All VASPs @@ -501,32 +541,31 @@ Class | Method | HTTP request | Description *UserGroupsBetaApi* | [**update_user_group**](docs/UserGroupsBetaApi.md#update_user_group) | **PUT** /management/user_groups/{groupId} | Update user group *UsersApi* | [**get_users**](docs/UsersApi.md#get_users) | **GET** /users | List users *VaultsApi* | [**activate_asset_for_vault_account**](docs/VaultsApi.md#activate_asset_for_vault_account) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/activate | Activate a wallet in a vault account -*VaultsApi* | [**attach_or_detach_tags_from_vault_accounts**](docs/VaultsApi.md#attach_or_detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from a vault accounts -*VaultsApi* | [**attach_tags_to_vault_accounts**](docs/VaultsApi.md#attach_tags_to_vault_accounts) | **POST** /vault/accounts/attached_tags/attach | Attach tags to a vault accounts (deprecated) +*VaultsApi* | [**attach_or_detach_tags_from_vault_accounts**](docs/VaultsApi.md#attach_or_detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from vault accounts *VaultsApi* | [**create_legacy_address**](docs/VaultsApi.md#create_legacy_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy | Convert a segwit address to legacy format *VaultsApi* | [**create_multiple_accounts**](docs/VaultsApi.md#create_multiple_accounts) | **POST** /vault/accounts/bulk | Bulk creation of new vault accounts *VaultsApi* | [**create_multiple_deposit_addresses**](docs/VaultsApi.md#create_multiple_deposit_addresses) | **POST** /vault/accounts/addresses/bulk | Bulk creation of new deposit addresses *VaultsApi* | [**create_vault_account**](docs/VaultsApi.md#create_vault_account) | **POST** /vault/accounts | Create a new vault account -*VaultsApi* | [**create_vault_account_asset**](docs/VaultsApi.md#create_vault_account_asset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new wallet +*VaultsApi* | [**create_vault_account_asset**](docs/VaultsApi.md#create_vault_account_asset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new vault wallet *VaultsApi* | [**create_vault_account_asset_address**](docs/VaultsApi.md#create_vault_account_asset_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Create new asset deposit address -*VaultsApi* | [**detach_tags_from_vault_accounts**](docs/VaultsApi.md#detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags/detach | Detach tags from a vault accounts (deprecated) -*VaultsApi* | [**get_asset_wallets**](docs/VaultsApi.md#get_asset_wallets) | **GET** /vault/asset_wallets | List asset wallets (Paginated) -*VaultsApi* | [**get_create_multiple_deposit_addresses_job_status**](docs/VaultsApi.md#get_create_multiple_deposit_addresses_job_status) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get job status of bulk creation of new deposit addresses +*VaultsApi* | [**get_asset_wallets**](docs/VaultsApi.md#get_asset_wallets) | **GET** /vault/asset_wallets | Get vault wallets (Paginated) +*VaultsApi* | [**get_create_multiple_deposit_addresses_job_status**](docs/VaultsApi.md#get_create_multiple_deposit_addresses_job_status) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get the job status of the bulk deposit address creation *VaultsApi* | [**get_create_multiple_vault_accounts_job_status**](docs/VaultsApi.md#get_create_multiple_vault_accounts_job_status) | **GET** /vault/accounts/bulk/{jobId} | Get job status of bulk creation of new vault accounts -*VaultsApi* | [**get_max_spendable_amount**](docs/VaultsApi.md#get_max_spendable_amount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get the maximum spendable amount in a single transaction. -*VaultsApi* | [**get_paged_vault_accounts**](docs/VaultsApi.md#get_paged_vault_accounts) | **GET** /vault/accounts_paged | List vault accounts (Paginated) -*VaultsApi* | [**get_public_key_info**](docs/VaultsApi.md#get_public_key_info) | **GET** /vault/public_key_info | Get the public key information -*VaultsApi* | [**get_public_key_info_for_address**](docs/VaultsApi.md#get_public_key_info_for_address) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key for a vault account +*VaultsApi* | [**get_max_bip_index_used**](docs/VaultsApi.md#get_max_bip_index_used) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used | Get maximum BIP44 index used +*VaultsApi* | [**get_max_spendable_amount**](docs/VaultsApi.md#get_max_spendable_amount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get max spendable amount in a transaction +*VaultsApi* | [**get_paged_vault_accounts**](docs/VaultsApi.md#get_paged_vault_accounts) | **GET** /vault/accounts_paged | Get vault accounts (Paginated) +*VaultsApi* | [**get_public_key_info**](docs/VaultsApi.md#get_public_key_info) | **GET** /vault/public_key_info | Get the public key for a derivation path +*VaultsApi* | [**get_public_key_info_for_address**](docs/VaultsApi.md#get_public_key_info_for_address) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get an asset's public key *VaultsApi* | [**get_unspent_inputs**](docs/VaultsApi.md#get_unspent_inputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information -*VaultsApi* | [**get_vault_account**](docs/VaultsApi.md#get_vault_account) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID +*VaultsApi* | [**get_vault_account**](docs/VaultsApi.md#get_vault_account) | **GET** /vault/accounts/{vaultAccountId} | Get a vault account by ID *VaultsApi* | [**get_vault_account_asset**](docs/VaultsApi.md#get_vault_account_asset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account -*VaultsApi* | [**get_vault_account_asset_addresses_paginated**](docs/VaultsApi.md#get_vault_account_asset_addresses_paginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) +*VaultsApi* | [**get_vault_account_asset_addresses_paginated**](docs/VaultsApi.md#get_vault_account_asset_addresses_paginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | Get addresses (Paginated) *VaultsApi* | [**get_vault_assets**](docs/VaultsApi.md#get_vault_assets) | **GET** /vault/assets | Get asset balance for chosen assets -*VaultsApi* | [**get_vault_balance_by_asset**](docs/VaultsApi.md#get_vault_balance_by_asset) | **GET** /vault/assets/{assetId} | Get vault balance by asset +*VaultsApi* | [**get_vault_balance_by_asset**](docs/VaultsApi.md#get_vault_balance_by_asset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset *VaultsApi* | [**hide_vault_account**](docs/VaultsApi.md#hide_vault_account) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console *VaultsApi* | [**set_customer_ref_id_for_address**](docs/VaultsApi.md#set_customer_ref_id_for_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID -*VaultsApi* | [**set_vault_account_auto_fuel**](docs/VaultsApi.md#set_vault_account_auto_fuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Turn autofueling on or off -*VaultsApi* | [**set_vault_account_customer_ref_id**](docs/VaultsApi.md#set_vault_account_customer_ref_id) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT customer reference ID for a vault account +*VaultsApi* | [**set_vault_account_auto_fuel**](docs/VaultsApi.md#set_vault_account_auto_fuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off +*VaultsApi* | [**set_vault_account_customer_ref_id**](docs/VaultsApi.md#set_vault_account_customer_ref_id) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT ID for a vault account *VaultsApi* | [**unhide_vault_account**](docs/VaultsApi.md#unhide_vault_account) | **POST** /vault/accounts/{vaultAccountId}/unhide | Unhide a vault account in the console *VaultsApi* | [**update_vault_account**](docs/VaultsApi.md#update_vault_account) | **PUT** /vault/accounts/{vaultAccountId} | Rename a vault account *VaultsApi* | [**update_vault_account_asset_address**](docs/VaultsApi.md#update_vault_account_asset_address) | **PUT** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId} | Update address description @@ -535,9 +574,9 @@ Class | Method | HTTP request | Description *Web3ConnectionsApi* | [**get**](docs/Web3ConnectionsApi.md#get) | **GET** /connections | List all open Web3 connections. *Web3ConnectionsApi* | [**remove**](docs/Web3ConnectionsApi.md#remove) | **DELETE** /connections/wc/{id} | Remove an existing Web3 connection. *Web3ConnectionsApi* | [**submit**](docs/Web3ConnectionsApi.md#submit) | **PUT** /connections/wc/{id} | Respond to a pending Web3 connection request. -*WebhooksApi* | [**resend_transaction_webhooks**](docs/WebhooksApi.md#resend_transaction_webhooks) | **POST** /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID +*WebhooksApi* | [**resend_transaction_webhooks**](docs/WebhooksApi.md#resend_transaction_webhooks) | **POST** /webhooks/resend/{txId} | Resend webhooks for a transaction by ID *WebhooksApi* | [**resend_webhooks**](docs/WebhooksApi.md#resend_webhooks) | **POST** /webhooks/resend | Resend failed webhooks -*WebhooksV2Api* | [**create_webhook**](docs/WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create new webhook +*WebhooksV2Api* | [**create_webhook**](docs/WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create a new webhook *WebhooksV2Api* | [**delete_webhook**](docs/WebhooksV2Api.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete webhook *WebhooksV2Api* | [**get_metrics**](docs/WebhooksV2Api.md#get_metrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics *WebhooksV2Api* | [**get_notification**](docs/WebhooksV2Api.md#get_notification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id @@ -551,7 +590,7 @@ Class | Method | HTTP request | Description *WebhooksV2Api* | [**resend_notifications_by_resource_id**](docs/WebhooksV2Api.md#resend_notifications_by_resource_id) | **POST** /webhooks/{webhookId}/notifications/resend_by_resource | Resend notifications by resource Id *WebhooksV2Api* | [**update_webhook**](docs/WebhooksV2Api.md#update_webhook) | **PATCH** /webhooks/{webhookId} | Update webhook *WorkspaceStatusBetaApi* | [**get_workspace_status**](docs/WorkspaceStatusBetaApi.md#get_workspace_status) | **GET** /management/workspace_status | Returns current workspace status -*WhitelistIpAddressesApi* | [**get_whitelist_ip_addresses**](docs/WhitelistIpAddressesApi.md#get_whitelist_ip_addresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses +*WhitelistIpAddressesApi* | [**get_whitelist_ip_addresses**](docs/WhitelistIpAddressesApi.md#get_whitelist_ip_addresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Get whitelisted ip addresses for an API Key ## Documentation For Models @@ -559,6 +598,9 @@ Class | Method | HTTP request | Description - [APIUser](docs/APIUser.md) - [AbaPaymentInfo](docs/AbaPaymentInfo.md) - [AbiFunction](docs/AbiFunction.md) + - [AccessRegistryAddressItem](docs/AccessRegistryAddressItem.md) + - [AccessRegistryCurrentStateResponse](docs/AccessRegistryCurrentStateResponse.md) + - [AccessRegistrySummaryResponse](docs/AccessRegistrySummaryResponse.md) - [AccessType](docs/AccessType.md) - [Account](docs/Account.md) - [AccountAccess](docs/AccountAccess.md) @@ -568,7 +610,6 @@ Class | Method | HTTP request | Description - [AccountConfig](docs/AccountConfig.md) - [AccountHolderDetails](docs/AccountHolderDetails.md) - [AccountIdentifier](docs/AccountIdentifier.md) - - [AccountProviderID](docs/AccountProviderID.md) - [AccountReference](docs/AccountReference.md) - [AccountType](docs/AccountType.md) - [AccountType2](docs/AccountType2.md) @@ -588,6 +629,8 @@ Class | Method | HTTP request | Description - [AdditionalInfo](docs/AdditionalInfo.md) - [AdditionalInfoRequest](docs/AdditionalInfoRequest.md) - [AdditionalInfoRequestAdditionalInfo](docs/AdditionalInfoRequestAdditionalInfo.md) + - [AddressBalanceItemDto](docs/AddressBalanceItemDto.md) + - [AddressBalancePagedResponse](docs/AddressBalancePagedResponse.md) - [AddressNotAvailableError](docs/AddressNotAvailableError.md) - [AlertExposureTypeEnum](docs/AlertExposureTypeEnum.md) - [AlertLevelEnum](docs/AlertLevelEnum.md) @@ -610,6 +653,7 @@ Class | Method | HTTP request | Description - [AmountRangeMinMax2](docs/AmountRangeMinMax2.md) - [ApiKey](docs/ApiKey.md) - [ApiKeysPaginatedResponse](docs/ApiKeysPaginatedResponse.md) + - [ApprovalRequest](docs/ApprovalRequest.md) - [ApproversConfig](docs/ApproversConfig.md) - [ApproversConfigApprovalGroupsInner](docs/ApproversConfigApprovalGroupsInner.md) - [Asset](docs/Asset.md) @@ -638,6 +682,7 @@ Class | Method | HTTP request | Description - [AssetPriceResponse](docs/AssetPriceResponse.md) - [AssetResponse](docs/AssetResponse.md) - [AssetScope](docs/AssetScope.md) + - [AssetTypeEnum](docs/AssetTypeEnum.md) - [AssetTypeResponse](docs/AssetTypeResponse.md) - [AssetTypesConfigInner](docs/AssetTypesConfigInner.md) - [AssetWallet](docs/AssetWallet.md) @@ -645,9 +690,14 @@ Class | Method | HTTP request | Description - [AuditorData](docs/AuditorData.md) - [AuthorizationGroups](docs/AuthorizationGroups.md) - [AuthorizationInfo](docs/AuthorizationInfo.md) + - [BalanceHistoryItemDto](docs/BalanceHistoryItemDto.md) + - [BalanceHistoryPagedResponse](docs/BalanceHistoryPagedResponse.md) + - [BankAddress](docs/BankAddress.md) - [BaseProvider](docs/BaseProvider.md) - [BasicAddressRequest](docs/BasicAddressRequest.md) - [BlockInfo](docs/BlockInfo.md) + - [BlockchainAddress](docs/BlockchainAddress.md) + - [BlockchainDestination](docs/BlockchainDestination.md) - [BlockchainExplorer](docs/BlockchainExplorer.md) - [BlockchainMedia](docs/BlockchainMedia.md) - [BlockchainMetadata](docs/BlockchainMetadata.md) @@ -656,6 +706,7 @@ Class | Method | HTTP request | Description - [BlockchainResponse](docs/BlockchainResponse.md) - [BlockchainTransfer](docs/BlockchainTransfer.md) - [BpsFee](docs/BpsFee.md) + - [BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md) - [BusinessIdentification](docs/BusinessIdentification.md) - [CallbackHandler](docs/CallbackHandler.md) - [CallbackHandlerRequest](docs/CallbackHandlerRequest.md) @@ -678,6 +729,7 @@ Class | Method | HTTP request | Description - [CollectionTokenMetadataAttributeDto](docs/CollectionTokenMetadataAttributeDto.md) - [CollectionTokenMetadataDto](docs/CollectionTokenMetadataDto.md) - [CollectionType](docs/CollectionType.md) + - [CommittedQuoteEnum](docs/CommittedQuoteEnum.md) - [CommittedQuoteType](docs/CommittedQuoteType.md) - [ComplianceResultFullPayload](docs/ComplianceResultFullPayload.md) - [ComplianceResultStatusesEnum](docs/ComplianceResultStatusesEnum.md) @@ -697,6 +749,7 @@ Class | Method | HTTP request | Description - [ConnectedAccountBalances](docs/ConnectedAccountBalances.md) - [ConnectedAccountBalancesResponse](docs/ConnectedAccountBalancesResponse.md) - [ConnectedAccountCapability](docs/ConnectedAccountCapability.md) + - [ConnectedAccountErrorResponse](docs/ConnectedAccountErrorResponse.md) - [ConnectedAccountManifest](docs/ConnectedAccountManifest.md) - [ConnectedAccountRateResponse](docs/ConnectedAccountRateResponse.md) - [ConnectedAccountTotalBalance](docs/ConnectedAccountTotalBalance.md) @@ -709,6 +762,7 @@ Class | Method | HTTP request | Description - [ConsoleUser](docs/ConsoleUser.md) - [ContractAbiResponseDto](docs/ContractAbiResponseDto.md) - [ContractAbiResponseDtoAbiInner](docs/ContractAbiResponseDtoAbiInner.md) + - [ContractAddressResponse](docs/ContractAddressResponse.md) - [ContractAttributes](docs/ContractAttributes.md) - [ContractDataDecodeDataType](docs/ContractDataDecodeDataType.md) - [ContractDataDecodeError](docs/ContractDataDecodeError.md) @@ -744,7 +798,6 @@ Class | Method | HTTP request | Description - [CreateAPIUser](docs/CreateAPIUser.md) - [CreateAddressRequest](docs/CreateAddressRequest.md) - [CreateAddressResponse](docs/CreateAddressResponse.md) - - [CreateAssetsBulkRequest](docs/CreateAssetsBulkRequest.md) - [CreateAssetsRequest](docs/CreateAssetsRequest.md) - [CreateConfigOperationRequest](docs/CreateConfigOperationRequest.md) - [CreateConnectionRequest](docs/CreateConnectionRequest.md) @@ -786,8 +839,11 @@ Class | Method | HTTP request | Description - [CustomRoutingDest](docs/CustomRoutingDest.md) - [DAppAddressConfig](docs/DAppAddressConfig.md) - [DVPSettlement](docs/DVPSettlement.md) + - [DVPSettlementType](docs/DVPSettlementType.md) + - [DecodedLog](docs/DecodedLog.md) - [DefaultNetworkRoutingDest](docs/DefaultNetworkRoutingDest.md) - [Delegation](docs/Delegation.md) + - [DelegationBlockchainPositionInfo](docs/DelegationBlockchainPositionInfo.md) - [DelegationSummary](docs/DelegationSummary.md) - [DeleteNetworkConnectionResponse](docs/DeleteNetworkConnectionResponse.md) - [DeleteNetworkIdResponse](docs/DeleteNetworkIdResponse.md) @@ -845,15 +901,22 @@ Class | Method | HTTP request | Description - [EmbeddedWalletLatestBackupResponse](docs/EmbeddedWalletLatestBackupResponse.md) - [EmbeddedWalletPaginatedAddressesResponse](docs/EmbeddedWalletPaginatedAddressesResponse.md) - [EmbeddedWalletPaginatedAssetsResponse](docs/EmbeddedWalletPaginatedAssetsResponse.md) + - [EmbeddedWalletPaginatedDevicesResponse](docs/EmbeddedWalletPaginatedDevicesResponse.md) - [EmbeddedWalletPaginatedWalletsResponse](docs/EmbeddedWalletPaginatedWalletsResponse.md) + - [EmbeddedWalletRequiredAlgorithms](docs/EmbeddedWalletRequiredAlgorithms.md) - [EmbeddedWalletSetUpStatus](docs/EmbeddedWalletSetUpStatus.md) - - [ErrorCodes](docs/ErrorCodes.md) + - [EmbeddedWalletSetupStatusResponse](docs/EmbeddedWalletSetupStatusResponse.md) + - [EnableDevice](docs/EnableDevice.md) + - [EnableWallet](docs/EnableWallet.md) - [ErrorResponse](docs/ErrorResponse.md) - [ErrorResponseError](docs/ErrorResponseError.md) - [ErrorSchema](docs/ErrorSchema.md) - [EstimatedFeeDetails](docs/EstimatedFeeDetails.md) - [EstimatedNetworkFeeResponse](docs/EstimatedNetworkFeeResponse.md) - [EstimatedTransactionFeeResponse](docs/EstimatedTransactionFeeResponse.md) + - [EthereumBlockchainData](docs/EthereumBlockchainData.md) + - [EuropeanSEPAAddress](docs/EuropeanSEPAAddress.md) + - [EuropeanSEPADestination](docs/EuropeanSEPADestination.md) - [ExchangeAccount](docs/ExchangeAccount.md) - [ExchangeAsset](docs/ExchangeAsset.md) - [ExchangeSettlementTransactionsResponse](docs/ExchangeSettlementTransactionsResponse.md) @@ -867,14 +930,21 @@ Class | Method | HTTP request | Description - [ExecutionResponseBaseDetails](docs/ExecutionResponseBaseDetails.md) - [ExecutionResponseDetails](docs/ExecutionResponseDetails.md) - [ExecutionScreeningOperation](docs/ExecutionScreeningOperation.md) - - [ExecutionStep](docs/ExecutionStep.md) - - [ExecutionStepDetails](docs/ExecutionStepDetails.md) - [ExecutionStepError](docs/ExecutionStepError.md) - [ExecutionStepStatusEnum](docs/ExecutionStepStatusEnum.md) - [ExecutionStepType](docs/ExecutionStepType.md) - [ExecutionTransferOperation](docs/ExecutionTransferOperation.md) - [ExternalAccount](docs/ExternalAccount.md) + - [ExternalAccountLocalBankAfrica](docs/ExternalAccountLocalBankAfrica.md) + - [ExternalAccountLocalBankAfricaType](docs/ExternalAccountLocalBankAfricaType.md) + - [ExternalAccountMobileMoney](docs/ExternalAccountMobileMoney.md) + - [ExternalAccountMobileMoneyProvider](docs/ExternalAccountMobileMoneyProvider.md) + - [ExternalAccountMobileMoneyType](docs/ExternalAccountMobileMoneyType.md) + - [ExternalAccountSenderInformation](docs/ExternalAccountSenderInformation.md) + - [ExternalAccountType](docs/ExternalAccountType.md) - [ExternalWalletAsset](docs/ExternalWalletAsset.md) + - [Failure](docs/Failure.md) + - [FailureReason](docs/FailureReason.md) - [Fee](docs/Fee.md) - [FeeBreakdown](docs/FeeBreakdown.md) - [FeeBreakdownOneOf](docs/FeeBreakdownOneOf.md) @@ -883,12 +953,15 @@ Class | Method | HTTP request | Description - [FeeLevel](docs/FeeLevel.md) - [FeePayerInfo](docs/FeePayerInfo.md) - [FeePropertiesDetails](docs/FeePropertiesDetails.md) + - [FeeTypeEnum](docs/FeeTypeEnum.md) - [FetchAbiRequestDto](docs/FetchAbiRequestDto.md) - [FiatAccount](docs/FiatAccount.md) - [FiatAccountType](docs/FiatAccountType.md) - [FiatAsset](docs/FiatAsset.md) - [FiatDestination](docs/FiatDestination.md) + - [FiatPaymentMetadata](docs/FiatPaymentMetadata.md) - [FiatTransfer](docs/FiatTransfer.md) + - [FixedAmountTypeEnum](docs/FixedAmountTypeEnum.md) - [FixedFee](docs/FixedFee.md) - [FreezeTransactionResponse](docs/FreezeTransactionResponse.md) - [FunctionDoc](docs/FunctionDoc.md) @@ -908,6 +981,7 @@ Class | Method | HTTP request | Description - [GetLayerZeroDvnConfigResponse](docs/GetLayerZeroDvnConfigResponse.md) - [GetLayerZeroPeersResponse](docs/GetLayerZeroPeersResponse.md) - [GetLinkedCollectionsPaginatedResponse](docs/GetLinkedCollectionsPaginatedResponse.md) + - [GetMaxBipIndexUsedResponse](docs/GetMaxBipIndexUsedResponse.md) - [GetMaxSpendableAmountResponse](docs/GetMaxSpendableAmountResponse.md) - [GetMpcKeysResponse](docs/GetMpcKeysResponse.md) - [GetNFTsResponse](docs/GetNFTsResponse.md) @@ -927,6 +1001,7 @@ Class | Method | HTTP request | Description - [IbanPaymentInfo](docs/IbanPaymentInfo.md) - [Identification](docs/Identification.md) - [IdlType](docs/IdlType.md) + - [IndicativeQuoteEnum](docs/IndicativeQuoteEnum.md) - [IndicativeQuoteType](docs/IndicativeQuoteType.md) - [InitiatorConfig](docs/InitiatorConfig.md) - [InitiatorConfigPattern](docs/InitiatorConfigPattern.md) @@ -934,7 +1009,6 @@ Class | Method | HTTP request | Description - [InternalReference](docs/InternalReference.md) - [InternalTransferResponse](docs/InternalTransferResponse.md) - [InvalidParamaterValueError](docs/InvalidParamaterValueError.md) - - [Job](docs/Job.md) - [JobCreated](docs/JobCreated.md) - [LayerZeroAdapterCreateParams](docs/LayerZeroAdapterCreateParams.md) - [LbtPaymentInfo](docs/LbtPaymentInfo.md) @@ -969,9 +1043,7 @@ Class | Method | HTTP request | Description - [LegacyPublishDraftRequest](docs/LegacyPublishDraftRequest.md) - [LegacyPublishResult](docs/LegacyPublishResult.md) - [LegacySrcOrDestAttributesInner](docs/LegacySrcOrDestAttributesInner.md) - - [LimitExecutionRequestDetails](docs/LimitExecutionRequestDetails.md) - - [LimitExecutionResponseDetails](docs/LimitExecutionResponseDetails.md) - - [LimitTypeDetails](docs/LimitTypeDetails.md) + - [LinkedTokensCount](docs/LinkedTokensCount.md) - [ListAssetsResponse](docs/ListAssetsResponse.md) - [ListBlockchainsResponse](docs/ListBlockchainsResponse.md) - [ListOwnedCollectionsResponse](docs/ListOwnedCollectionsResponse.md) @@ -982,7 +1054,9 @@ Class | Method | HTTP request | Description - [MarketExecutionRequestDetails](docs/MarketExecutionRequestDetails.md) - [MarketExecutionResponseDetails](docs/MarketExecutionResponseDetails.md) - [MarketRequoteRequestDetails](docs/MarketRequoteRequestDetails.md) + - [MarketRequoteTypeEnum](docs/MarketRequoteTypeEnum.md) - [MarketTypeDetails](docs/MarketTypeDetails.md) + - [MarketTypeEnum](docs/MarketTypeEnum.md) - [MediaEntityResponse](docs/MediaEntityResponse.md) - [MergeStakeAccountsRequest](docs/MergeStakeAccountsRequest.md) - [MergeStakeAccountsResponse](docs/MergeStakeAccountsResponse.md) @@ -1013,11 +1087,15 @@ Class | Method | HTTP request | Description - [NotificationPaginatedResponse](docs/NotificationPaginatedResponse.md) - [NotificationStatus](docs/NotificationStatus.md) - [NotificationWithData](docs/NotificationWithData.md) + - [OnchainTransaction](docs/OnchainTransaction.md) + - [OnchainTransactionsPagedResponse](docs/OnchainTransactionsPagedResponse.md) - [OneTimeAddress](docs/OneTimeAddress.md) - [OneTimeAddressAccount](docs/OneTimeAddressAccount.md) + - [OneTimeAddressPeerType](docs/OneTimeAddressPeerType.md) - [OneTimeAddressReference](docs/OneTimeAddressReference.md) - [OperationExecutionFailure](docs/OperationExecutionFailure.md) - [OrderDetails](docs/OrderDetails.md) + - [OrderExecutionStep](docs/OrderExecutionStep.md) - [OrderSide](docs/OrderSide.md) - [OrderStatus](docs/OrderStatus.md) - [OrderSummary](docs/OrderSummary.md) @@ -1040,7 +1118,7 @@ Class | Method | HTTP request | Description - [PaymentAccountResponse](docs/PaymentAccountResponse.md) - [PaymentAccountType](docs/PaymentAccountType.md) - [PaymentInstructions](docs/PaymentInstructions.md) - - [PaymentInstructionsDetails](docs/PaymentInstructionsDetails.md) + - [PaymentInstructionsOneOf](docs/PaymentInstructionsOneOf.md) - [PayoutInitMethod](docs/PayoutInitMethod.md) - [PayoutInstruction](docs/PayoutInstruction.md) - [PayoutInstructionResponse](docs/PayoutInstructionResponse.md) @@ -1050,12 +1128,14 @@ Class | Method | HTTP request | Description - [PayoutStatus](docs/PayoutStatus.md) - [PeerAdapterInfo](docs/PeerAdapterInfo.md) - [PeerType](docs/PeerType.md) + - [PersonalEntityTypeEnum](docs/PersonalEntityTypeEnum.md) - [PersonalIdentification](docs/PersonalIdentification.md) - [PersonalIdentificationFullName](docs/PersonalIdentificationFullName.md) - [PixAddress](docs/PixAddress.md) - [PixDestination](docs/PixDestination.md) - [PixPaymentInfo](docs/PixPaymentInfo.md) - [PlatformAccount](docs/PlatformAccount.md) + - [PlatformPeerType](docs/PlatformPeerType.md) - [Players](docs/Players.md) - [PolicyAndValidationResponse](docs/PolicyAndValidationResponse.md) - [PolicyCheckResult](docs/PolicyCheckResult.md) @@ -1072,24 +1152,24 @@ Class | Method | HTTP request | Description - [PolicyValidation](docs/PolicyValidation.md) - [PolicyVerdictActionEnum](docs/PolicyVerdictActionEnum.md) - [PolicyVerdictActionEnum2](docs/PolicyVerdictActionEnum2.md) - - [PostOrderSettlement](docs/PostOrderSettlement.md) - [PostalAddress](docs/PostalAddress.md) - [PreScreening](docs/PreScreening.md) - [PrefundedSettlement](docs/PrefundedSettlement.md) + - [PrefundedSettlementType](docs/PrefundedSettlementType.md) - [ProgramCallConfig](docs/ProgramCallConfig.md) - [Provider](docs/Provider.md) - - [ProviderID](docs/ProviderID.md) - [ProvidersListResponse](docs/ProvidersListResponse.md) - [PublicKeyInformation](docs/PublicKeyInformation.md) - [PublishDraftRequest](docs/PublishDraftRequest.md) - [PublishResult](docs/PublishResult.md) - [Quote](docs/Quote.md) - [QuoteExecutionRequestDetails](docs/QuoteExecutionRequestDetails.md) - - [QuoteExecutionResponseDetails](docs/QuoteExecutionResponseDetails.md) + - [QuoteExecutionStep](docs/QuoteExecutionStep.md) - [QuoteExecutionTypeDetails](docs/QuoteExecutionTypeDetails.md) - [QuoteExecutionWithRequoteRequestDetails](docs/QuoteExecutionWithRequoteRequestDetails.md) - [QuoteExecutionWithRequoteResponseDetails](docs/QuoteExecutionWithRequoteResponseDetails.md) - [QuotePropertiesDetails](docs/QuotePropertiesDetails.md) + - [QuoteTypeEnum](docs/QuoteTypeEnum.md) - [QuotesResponse](docs/QuotesResponse.md) - [ReQuoteDetails](docs/ReQuoteDetails.md) - [ReQuoteDetailsReQuote](docs/ReQuoteDetailsReQuote.md) @@ -1107,9 +1187,10 @@ Class | Method | HTTP request | Description - [RemoveLayerZeroAdaptersResponse](docs/RemoveLayerZeroAdaptersResponse.md) - [RemoveLayerZeroPeersRequest](docs/RemoveLayerZeroPeersRequest.md) - [RemoveLayerZeroPeersResponse](docs/RemoveLayerZeroPeersResponse.md) + - [RenameConnectedAccountRequest](docs/RenameConnectedAccountRequest.md) + - [RenameConnectedAccountResponse](docs/RenameConnectedAccountResponse.md) - [RenameCosigner](docs/RenameCosigner.md) - [RenameVaultAccountResponse](docs/RenameVaultAccountResponse.md) - - [RescanTransaction](docs/RescanTransaction.md) - [ResendFailedNotificationsJobStatusResponse](docs/ResendFailedNotificationsJobStatusResponse.md) - [ResendFailedNotificationsRequest](docs/ResendFailedNotificationsRequest.md) - [ResendFailedNotificationsResponse](docs/ResendFailedNotificationsResponse.md) @@ -1119,12 +1200,16 @@ Class | Method | HTTP request | Description - [ResendWebhooksResponse](docs/ResendWebhooksResponse.md) - [RespondToConnectionRequest](docs/RespondToConnectionRequest.md) - [RetryRequoteRequestDetails](docs/RetryRequoteRequestDetails.md) + - [RetryRequoteTypeEnum](docs/RetryRequoteTypeEnum.md) - [RewardInfo](docs/RewardInfo.md) - [RewardsInfo](docs/RewardsInfo.md) + - [RoleDetails](docs/RoleDetails.md) + - [RoleGrantee](docs/RoleGrantee.md) - [SEPAAddress](docs/SEPAAddress.md) - [SEPADestination](docs/SEPADestination.md) - [SOLAccount](docs/SOLAccount.md) - [SOLAccountWithValue](docs/SOLAccountWithValue.md) + - [ScopeItem](docs/ScopeItem.md) - [ScreeningAlertExposureTypeEnum](docs/ScreeningAlertExposureTypeEnum.md) - [ScreeningAmlAlert](docs/ScreeningAmlAlert.md) - [ScreeningAmlMatchedRule](docs/ScreeningAmlMatchedRule.md) @@ -1181,6 +1266,7 @@ Class | Method | HTTP request | Description - [SettlementRequestBody](docs/SettlementRequestBody.md) - [SettlementResponse](docs/SettlementResponse.md) - [SettlementSourceAccount](docs/SettlementSourceAccount.md) + - [Side](docs/Side.md) - [SignedMessage](docs/SignedMessage.md) - [SignedMessageSignature](docs/SignedMessageSignature.md) - [SigningKeyDto](docs/SigningKeyDto.md) @@ -1227,26 +1313,69 @@ Class | Method | HTTP request | Description - [SpeiDestination](docs/SpeiDestination.md) - [SplitRequest](docs/SplitRequest.md) - [SplitResponse](docs/SplitResponse.md) + - [StEthBlockchainData](docs/StEthBlockchainData.md) - [StakeRequest](docs/StakeRequest.md) - [StakeResponse](docs/StakeResponse.md) - [StakingProvider](docs/StakingProvider.md) - [Status](docs/Status.md) - [StellarRippleCreateParamsDto](docs/StellarRippleCreateParamsDto.md) + - [SupportedBlockChainsResponse](docs/SupportedBlockChainsResponse.md) + - [SupportedBlockchain](docs/SupportedBlockchain.md) - [SwiftAddress](docs/SwiftAddress.md) - [SwiftDestination](docs/SwiftDestination.md) - [SystemMessageInfo](docs/SystemMessageInfo.md) + - [TRLinkAPIPagedResponse](docs/TRLinkAPIPagedResponse.md) - [TRLinkAmount](docs/TRLinkAmount.md) + - [TRLinkAmount2](docs/TRLinkAmount2.md) + - [TRLinkAmountRange](docs/TRLinkAmountRange.md) + - [TRLinkAssessTravelRuleRequest](docs/TRLinkAssessTravelRuleRequest.md) + - [TRLinkAssessTravelRuleResponse](docs/TRLinkAssessTravelRuleResponse.md) + - [TRLinkAssessmentDecision](docs/TRLinkAssessmentDecision.md) + - [TRLinkAsset](docs/TRLinkAsset.md) + - [TRLinkAssetData](docs/TRLinkAssetData.md) + - [TRLinkAssetFormat](docs/TRLinkAssetFormat.md) + - [TRLinkAssetsListPagedResponse](docs/TRLinkAssetsListPagedResponse.md) + - [TRLinkCancelTrmRequest](docs/TRLinkCancelTrmRequest.md) + - [TRLinkConnectIntegrationRequest](docs/TRLinkConnectIntegrationRequest.md) + - [TRLinkCreateCustomerRequest](docs/TRLinkCreateCustomerRequest.md) + - [TRLinkCreateIntegrationRequest](docs/TRLinkCreateIntegrationRequest.md) + - [TRLinkCreateTrmRequest](docs/TRLinkCreateTrmRequest.md) + - [TRLinkCurrency](docs/TRLinkCurrency.md) + - [TRLinkCustomerIntegrationResponse](docs/TRLinkCustomerIntegrationResponse.md) + - [TRLinkCustomerResponse](docs/TRLinkCustomerResponse.md) + - [TRLinkDestinationTransferPeerPath](docs/TRLinkDestinationTransferPeerPath.md) + - [TRLinkDiscoverableStatus](docs/TRLinkDiscoverableStatus.md) + - [TRLinkFiatValue](docs/TRLinkFiatValue.md) + - [TRLinkGeographicAddressRequest](docs/TRLinkGeographicAddressRequest.md) + - [TRLinkGetSupportedAssetResponse](docs/TRLinkGetSupportedAssetResponse.md) + - [TRLinkIvms](docs/TRLinkIvms.md) + - [TRLinkIvmsResponse](docs/TRLinkIvmsResponse.md) + - [TRLinkJwkPublicKey](docs/TRLinkJwkPublicKey.md) - [TRLinkMissingTrmAction](docs/TRLinkMissingTrmAction.md) + - [TRLinkMissingTrmAction2](docs/TRLinkMissingTrmAction2.md) - [TRLinkMissingTrmActionEnum](docs/TRLinkMissingTrmActionEnum.md) - [TRLinkMissingTrmDecision](docs/TRLinkMissingTrmDecision.md) - [TRLinkMissingTrmRule](docs/TRLinkMissingTrmRule.md) + - [TRLinkMissingTrmRule2](docs/TRLinkMissingTrmRule2.md) + - [TRLinkOneTimeAddress](docs/TRLinkOneTimeAddress.md) + - [TRLinkPaging](docs/TRLinkPaging.md) + - [TRLinkPartnerResponse](docs/TRLinkPartnerResponse.md) + - [TRLinkPolicyResponse](docs/TRLinkPolicyResponse.md) + - [TRLinkPostScreeningAction](docs/TRLinkPostScreeningAction.md) - [TRLinkPostScreeningRule](docs/TRLinkPostScreeningRule.md) + - [TRLinkPostScreeningRule2](docs/TRLinkPostScreeningRule2.md) - [TRLinkPreScreeningAction](docs/TRLinkPreScreeningAction.md) + - [TRLinkPreScreeningAction2](docs/TRLinkPreScreeningAction2.md) - [TRLinkPreScreeningActionEnum](docs/TRLinkPreScreeningActionEnum.md) - [TRLinkPreScreeningRule](docs/TRLinkPreScreeningRule.md) + - [TRLinkPreScreeningRule2](docs/TRLinkPreScreeningRule2.md) + - [TRLinkProviderData](docs/TRLinkProviderData.md) - [TRLinkProviderResult](docs/TRLinkProviderResult.md) - [TRLinkProviderResultWithRule](docs/TRLinkProviderResultWithRule.md) - [TRLinkProviderResultWithRule2](docs/TRLinkProviderResultWithRule2.md) + - [TRLinkPublicAssetInfo](docs/TRLinkPublicAssetInfo.md) + - [TRLinkPublicKeyResponse](docs/TRLinkPublicKeyResponse.md) + - [TRLinkRedirectTrmRequest](docs/TRLinkRedirectTrmRequest.md) - [TRLinkRegistrationResult](docs/TRLinkRegistrationResult.md) - [TRLinkRegistrationResultFullPayload](docs/TRLinkRegistrationResultFullPayload.md) - [TRLinkRegistrationStatus](docs/TRLinkRegistrationStatus.md) @@ -1254,22 +1383,39 @@ Class | Method | HTTP request | Description - [TRLinkResult](docs/TRLinkResult.md) - [TRLinkResultFullPayload](docs/TRLinkResultFullPayload.md) - [TRLinkRuleBase](docs/TRLinkRuleBase.md) + - [TRLinkSetDestinationTravelRuleMessageIdRequest](docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md) + - [TRLinkSetDestinationTravelRuleMessageIdResponse](docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md) + - [TRLinkSetTransactionTravelRuleMessageIdRequest](docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md) + - [TRLinkSetTransactionTravelRuleMessageIdResponse](docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md) + - [TRLinkSourceTransferPeerPath](docs/TRLinkSourceTransferPeerPath.md) + - [TRLinkTestConnectionResponse](docs/TRLinkTestConnectionResponse.md) + - [TRLinkThresholds](docs/TRLinkThresholds.md) + - [TRLinkTransactionDirection](docs/TRLinkTransactionDirection.md) + - [TRLinkTransferPeerPath](docs/TRLinkTransferPeerPath.md) + - [TRLinkTrmDirection](docs/TRLinkTrmDirection.md) + - [TRLinkTrmInfoResponse](docs/TRLinkTrmInfoResponse.md) - [TRLinkTrmScreeningStatus](docs/TRLinkTrmScreeningStatus.md) - [TRLinkTrmScreeningStatusEnum](docs/TRLinkTrmScreeningStatusEnum.md) + - [TRLinkTrmStatus](docs/TRLinkTrmStatus.md) + - [TRLinkTxnInfo](docs/TRLinkTxnInfo.md) + - [TRLinkUpdateCustomerRequest](docs/TRLinkUpdateCustomerRequest.md) + - [TRLinkVaspDto](docs/TRLinkVaspDto.md) + - [TRLinkVaspGeographicAddress](docs/TRLinkVaspGeographicAddress.md) + - [TRLinkVaspListDto](docs/TRLinkVaspListDto.md) + - [TRLinkVaspNationalIdentification](docs/TRLinkVaspNationalIdentification.md) - [TRLinkVerdict](docs/TRLinkVerdict.md) - [TRLinkVerdictEnum](docs/TRLinkVerdictEnum.md) - [Tag](docs/Tag.md) - [TagAttachmentOperationAction](docs/TagAttachmentOperationAction.md) - [TagsPagedResponse](docs/TagsPagedResponse.md) - - [Task](docs/Task.md) - [TemplatesPaginatedResponse](docs/TemplatesPaginatedResponse.md) - [ThirdPartyRouting](docs/ThirdPartyRouting.md) - - [TimeInForce](docs/TimeInForce.md) - [TimePeriodConfig](docs/TimePeriodConfig.md) - [TimePeriodMatchType](docs/TimePeriodMatchType.md) - [ToCollateralTransaction](docs/ToCollateralTransaction.md) - [ToExchangeTransaction](docs/ToExchangeTransaction.md) - [TokenCollectionResponse](docs/TokenCollectionResponse.md) + - [TokenContractSummaryResponse](docs/TokenContractSummaryResponse.md) - [TokenInfoNotFoundErrorResponse](docs/TokenInfoNotFoundErrorResponse.md) - [TokenLinkDto](docs/TokenLinkDto.md) - [TokenLinkDtoTokenMetadata](docs/TokenLinkDtoTokenMetadata.md) @@ -1281,9 +1427,10 @@ Class | Method | HTTP request | Description - [TokenOwnershipStatusUpdatePayload](docs/TokenOwnershipStatusUpdatePayload.md) - [TokenResponse](docs/TokenResponse.md) - [TokensPaginatedResponse](docs/TokensPaginatedResponse.md) + - [TotalSupplyItemDto](docs/TotalSupplyItemDto.md) + - [TotalSupplyPagedResponse](docs/TotalSupplyPagedResponse.md) - [TradingAccountType](docs/TradingAccountType.md) - - [TradingErrorResponse](docs/TradingErrorResponse.md) - - [TradingErrorResponseError](docs/TradingErrorResponseError.md) + - [TradingErrorSchema](docs/TradingErrorSchema.md) - [TradingProvider](docs/TradingProvider.md) - [Transaction](docs/Transaction.md) - [TransactionDirection](docs/TransactionDirection.md) @@ -1362,7 +1509,11 @@ Class | Method | HTTP request | Description - [TravelRuleValidateTransactionResponse](docs/TravelRuleValidateTransactionResponse.md) - [TravelRuleVaspForVault](docs/TravelRuleVaspForVault.md) - [TravelRuleVerdictEnum](docs/TravelRuleVerdictEnum.md) + - [TrustProofOfAddressCreateResponse](docs/TrustProofOfAddressCreateResponse.md) + - [TrustProofOfAddressRequest](docs/TrustProofOfAddressRequest.md) + - [TrustProofOfAddressResponse](docs/TrustProofOfAddressResponse.md) - [TxLog](docs/TxLog.md) + - [TypedMessageTransactionStatusEnum](docs/TypedMessageTransactionStatusEnum.md) - [USWireAddress](docs/USWireAddress.md) - [USWireDestination](docs/USWireDestination.md) - [UnfreezeTransactionResponse](docs/UnfreezeTransactionResponse.md) @@ -1390,7 +1541,6 @@ Class | Method | HTTP request | Description - [UserType](docs/UserType.md) - [ValidateAddressResponse](docs/ValidateAddressResponse.md) - [ValidateLayerZeroChannelResponse](docs/ValidateLayerZeroChannelResponse.md) - - [ValidatedTransactionsForRescan](docs/ValidatedTransactionsForRescan.md) - [ValidationKeyDto](docs/ValidationKeyDto.md) - [Validator](docs/Validator.md) - [VaultAccount](docs/VaultAccount.md) @@ -1401,13 +1551,12 @@ Class | Method | HTTP request | Description - [VaultAccountsPagedResponsePaging](docs/VaultAccountsPagedResponsePaging.md) - [VaultAccountsTagAttachmentOperationsRequest](docs/VaultAccountsTagAttachmentOperationsRequest.md) - [VaultAccountsTagAttachmentOperationsResponse](docs/VaultAccountsTagAttachmentOperationsResponse.md) - - [VaultAccountsTagAttachmentsRequest](docs/VaultAccountsTagAttachmentsRequest.md) - [VaultActionStatus](docs/VaultActionStatus.md) - [VaultAsset](docs/VaultAsset.md) - [VaultWalletAddress](docs/VaultWalletAddress.md) - [VendorDto](docs/VendorDto.md) - [VerdictConfig](docs/VerdictConfig.md) - - [Version](docs/Version.md) + - [VersionSummary](docs/VersionSummary.md) - [WalletAsset](docs/WalletAsset.md) - [WalletAssetAdditionalInfo](docs/WalletAssetAdditionalInfo.md) - [Webhook](docs/Webhook.md) @@ -1444,6 +1593,6 @@ Authentication schemes defined for the API: ## Author -support@fireblocks.com +developers@fireblocks.com diff --git a/docs/AccessRegistryAddressItem.md b/docs/AccessRegistryAddressItem.md new file mode 100644 index 00000000..2067162e --- /dev/null +++ b/docs/AccessRegistryAddressItem.md @@ -0,0 +1,30 @@ +# AccessRegistryAddressItem + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **str** | The address that was added to the access registry | +**date_added** | **datetime** | The date when the address was added to the access registry | + +## Example + +```python +from fireblocks.models.access_registry_address_item import AccessRegistryAddressItem + +# TODO update the JSON string below +json = "{}" +# create an instance of AccessRegistryAddressItem from a JSON string +access_registry_address_item_instance = AccessRegistryAddressItem.from_json(json) +# print the JSON string representation of the object +print(AccessRegistryAddressItem.to_json()) + +# convert the object into a dict +access_registry_address_item_dict = access_registry_address_item_instance.to_dict() +# create an instance of AccessRegistryAddressItem from a dict +access_registry_address_item_from_dict = AccessRegistryAddressItem.from_dict(access_registry_address_item_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) + + diff --git a/docs/AccessRegistryCurrentStateResponse.md b/docs/AccessRegistryCurrentStateResponse.md new file mode 100644 index 00000000..8327b81f --- /dev/null +++ b/docs/AccessRegistryCurrentStateResponse.md @@ -0,0 +1,32 @@ +# AccessRegistryCurrentStateResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[AccessRegistryAddressItem]**](AccessRegistryAddressItem.md) | Array of active addresses in the access registry | +**next** | **str** | Cursor for next page | [optional] +**prev** | **str** | Cursor for previous page | [optional] +**total** | **float** | Total count of active addresses in the access registry | [optional] + +## Example + +```python +from fireblocks.models.access_registry_current_state_response import AccessRegistryCurrentStateResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AccessRegistryCurrentStateResponse from a JSON string +access_registry_current_state_response_instance = AccessRegistryCurrentStateResponse.from_json(json) +# print the JSON string representation of the object +print(AccessRegistryCurrentStateResponse.to_json()) + +# convert the object into a dict +access_registry_current_state_response_dict = access_registry_current_state_response_instance.to_dict() +# create an instance of AccessRegistryCurrentStateResponse from a dict +access_registry_current_state_response_from_dict = AccessRegistryCurrentStateResponse.from_dict(access_registry_current_state_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) + + diff --git a/docs/AccessRegistrySummaryResponse.md b/docs/AccessRegistrySummaryResponse.md new file mode 100644 index 00000000..e847c36a --- /dev/null +++ b/docs/AccessRegistrySummaryResponse.md @@ -0,0 +1,29 @@ +# AccessRegistrySummaryResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_active_addresses** | **float** | The total number of active addresses in the access registry | + +## Example + +```python +from fireblocks.models.access_registry_summary_response import AccessRegistrySummaryResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AccessRegistrySummaryResponse from a JSON string +access_registry_summary_response_instance = AccessRegistrySummaryResponse.from_json(json) +# print the JSON string representation of the object +print(AccessRegistrySummaryResponse.to_json()) + +# convert the object into a dict +access_registry_summary_response_dict = access_registry_summary_response_instance.to_dict() +# create an instance of AccessRegistrySummaryResponse from a dict +access_registry_summary_response_from_dict = AccessRegistrySummaryResponse.from_dict(access_registry_summary_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) + + diff --git a/docs/AccountReference.md b/docs/AccountReference.md index 1e7e9a7b..ff1ea9b5 100644 --- a/docs/AccountReference.md +++ b/docs/AccountReference.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | [**PeerType**](PeerType.md) | | +**type** | [**OneTimeAddressPeerType**](OneTimeAddressPeerType.md) | | **account_id** | **str** | | **address** | **str** | | **tag** | **str** | | [optional] diff --git a/docs/AddressBalanceItemDto.md b/docs/AddressBalanceItemDto.md new file mode 100644 index 00000000..f0b078e6 --- /dev/null +++ b/docs/AddressBalanceItemDto.md @@ -0,0 +1,31 @@ +# AddressBalanceItemDto + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_address** | **str** | The account address | +**balance** | **str** | The current balance of the account | +**last_updated** | **datetime** | The timestamp when this balance was last updated | + +## Example + +```python +from fireblocks.models.address_balance_item_dto import AddressBalanceItemDto + +# TODO update the JSON string below +json = "{}" +# create an instance of AddressBalanceItemDto from a JSON string +address_balance_item_dto_instance = AddressBalanceItemDto.from_json(json) +# print the JSON string representation of the object +print(AddressBalanceItemDto.to_json()) + +# convert the object into a dict +address_balance_item_dto_dict = address_balance_item_dto_instance.to_dict() +# create an instance of AddressBalanceItemDto from a dict +address_balance_item_dto_from_dict = AddressBalanceItemDto.from_dict(address_balance_item_dto_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) + + diff --git a/docs/AddressBalancePagedResponse.md b/docs/AddressBalancePagedResponse.md new file mode 100644 index 00000000..1743314a --- /dev/null +++ b/docs/AddressBalancePagedResponse.md @@ -0,0 +1,32 @@ +# AddressBalancePagedResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[AddressBalanceItemDto]**](AddressBalanceItemDto.md) | Array of address balance data | +**next** | **str** | Cursor for next page | [optional] +**prev** | **str** | Cursor for previous page (reserved for future support) | [optional] +**total** | **float** | Total count of items | [optional] + +## Example + +```python +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of AddressBalancePagedResponse from a JSON string +address_balance_paged_response_instance = AddressBalancePagedResponse.from_json(json) +# print the JSON string representation of the object +print(AddressBalancePagedResponse.to_json()) + +# convert the object into a dict +address_balance_paged_response_dict = address_balance_paged_response_instance.to_dict() +# create an instance of AddressBalancePagedResponse from a dict +address_balance_paged_response_from_dict = AddressBalancePagedResponse.from_dict(address_balance_paged_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) + + diff --git a/docs/ApiUserApi.md b/docs/ApiUserApi.md index 03b6c06d..deff5050 100644 --- a/docs/ApiUserApi.md +++ b/docs/ApiUserApi.md @@ -4,16 +4,18 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_api_user**](ApiUserApi.md#create_api_user) | **POST** /management/api_users | Create Api user -[**get_api_users**](ApiUserApi.md#get_api_users) | **GET** /management/api_users | Get Api users +[**create_api_user**](ApiUserApi.md#create_api_user) | **POST** /management/api_users | Create API Key +[**get_api_users**](ApiUserApi.md#get_api_users) | **GET** /management/api_users | Get API Keys # **create_api_user** > create_api_user(idempotency_key=idempotency_key, create_api_user=create_api_user) -Create Api user +Create API Key -Creates Api user in your tenant +Create a new API key in your workspace. +Learn more about Fireblocks API Keys management in the following [guide](https://developers.fireblocks.com/docs/manage-api-keys). +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -43,7 +45,7 @@ with Fireblocks(configuration) as fireblocks: create_api_user = fireblocks.CreateAPIUser() # CreateAPIUser | (optional) try: - # Create Api user + # Create API Key fireblocks.api_user.create_api_user(idempotency_key=idempotency_key, create_api_user=create_api_user).result() except Exception as e: print("Exception when calling ApiUserApi->create_api_user: %s\n" % e) @@ -88,9 +90,11 @@ No authorization required # **get_api_users** > GetAPIUsersResponse get_api_users() -Get Api users +Get API Keys -Get Api users of your tenant +List all API keys in your workspace. +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -119,7 +123,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # Get Api users + # Get API Keys api_response = fireblocks.api_user.get_api_users().result() print("The response of ApiUserApi->get_api_users:\n") pprint(api_response) diff --git a/docs/ApprovalRequest.md b/docs/ApprovalRequest.md new file mode 100644 index 00000000..4cbda79a --- /dev/null +++ b/docs/ApprovalRequest.md @@ -0,0 +1,32 @@ +# ApprovalRequest + +Approval request details + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The approval request identifier | +**type** | **str** | The approval request type | +**state** | **str** | The approval request state | + +## Example + +```python +from fireblocks.models.approval_request import ApprovalRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of ApprovalRequest from a JSON string +approval_request_instance = ApprovalRequest.from_json(json) +# print the JSON string representation of the object +print(ApprovalRequest.to_json()) + +# convert the object into a dict +approval_request_dict = approval_request_instance.to_dict() +# create an instance of ApprovalRequest from a dict +approval_request_from_dict = ApprovalRequest.from_dict(approval_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) + + diff --git a/docs/Asset.md b/docs/Asset.md index c8b6972f..a50c3549 100644 --- a/docs/Asset.md +++ b/docs/Asset.md @@ -10,7 +10,11 @@ Name | Type | Description | Notes **blockchain_id** | **str** | The ID of the asset's blockchain | [optional] **display_name** | **str** | Asset's display name | **display_symbol** | **str** | Asset's display symbol | +**provider_id** | **str** | The ID of the asset provider | [optional] +**pegged_asset_id** | **str** | The ID of the pegged asset | [optional] +**assets** | **List[str]** | List of asset IDs for virtual assets | [optional] **asset_class** | [**AssetClass**](AssetClass.md) | | +**decimals** | **float** | Number of decimals for FIAT assets | [optional] **onchain** | [**AssetDetailsOnchain**](AssetDetailsOnchain.md) | | [optional] **metadata** | [**AssetDetailsMetadata**](AssetDetailsMetadata.md) | | diff --git a/docs/AssetClass.md b/docs/AssetClass.md index 3c048509..d0d9e234 100644 --- a/docs/AssetClass.md +++ b/docs/AssetClass.md @@ -13,6 +13,8 @@ * `SFT` (value: `'SFT'`) +* `VIRTUAL` (value: `'VIRTUAL'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AssetTypeEnum.md b/docs/AssetTypeEnum.md new file mode 100644 index 00000000..8d3dc8cb --- /dev/null +++ b/docs/AssetTypeEnum.md @@ -0,0 +1,12 @@ +# AssetTypeEnum + + +## Enum + +* `DIGITAL` (value: `'DIGITAL'`) + +* `FIAT` (value: `'FIAT'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AssetsApi.md b/docs/AssetsApi.md deleted file mode 100644 index 84e22884..00000000 --- a/docs/AssetsApi.md +++ /dev/null @@ -1,91 +0,0 @@ -# fireblocks.AssetsApi - -All URIs are relative to *https://api.fireblocks.io/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_assets_bulk**](AssetsApi.md#create_assets_bulk) | **POST** /vault/assets/bulk | Bulk creation of wallets - - -# **create_assets_bulk** -> JobCreated create_assets_bulk(create_assets_bulk_request, idempotency_key=idempotency_key) - -Bulk creation of wallets - -Create multiple wallets for a given vault account by running an async job.
-**Note**: -- These endpoints are currently in beta and might be subject to changes. -- We limit accounts to 10k per operation and 200k per customer during beta testing. -- Currently, we are only supporting EVM wallets. - - -### Example - - -```python -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest -from fireblocks.models.job_created import JobCreated -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath -from pprint import pprint - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - create_assets_bulk_request = fireblocks.CreateAssetsBulkRequest() # CreateAssetsBulkRequest | - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # Bulk creation of wallets - api_response = fireblocks.assets.create_assets_bulk(create_assets_bulk_request, idempotency_key=idempotency_key).result() - print("The response of AssetsApi->create_assets_bulk:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling AssetsApi->create_assets_bulk: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **create_assets_bulk_request** | [**CreateAssetsBulkRequest**](CreateAssetsBulkRequest.md)| | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -[**JobCreated**](JobCreated.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A JobCreated object | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[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) - diff --git a/docs/AuditLogsApi.md b/docs/AuditLogsApi.md index f568c1f1..289fa02c 100644 --- a/docs/AuditLogsApi.md +++ b/docs/AuditLogsApi.md @@ -12,7 +12,10 @@ Method | HTTP request | Description Get audit logs -Get all audits +Get Audit logs for the last Day/Week. + +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/BalanceHistoryItemDto.md b/docs/BalanceHistoryItemDto.md new file mode 100644 index 00000000..a729d858 --- /dev/null +++ b/docs/BalanceHistoryItemDto.md @@ -0,0 +1,30 @@ +# BalanceHistoryItemDto + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timestamp** | **datetime** | Timestamp of the data point | +**balance** | **str** | Balance at the given timestamp | + +## Example + +```python +from fireblocks.models.balance_history_item_dto import BalanceHistoryItemDto + +# TODO update the JSON string below +json = "{}" +# create an instance of BalanceHistoryItemDto from a JSON string +balance_history_item_dto_instance = BalanceHistoryItemDto.from_json(json) +# print the JSON string representation of the object +print(BalanceHistoryItemDto.to_json()) + +# convert the object into a dict +balance_history_item_dto_dict = balance_history_item_dto_instance.to_dict() +# create an instance of BalanceHistoryItemDto from a dict +balance_history_item_dto_from_dict = BalanceHistoryItemDto.from_dict(balance_history_item_dto_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) + + diff --git a/docs/BalanceHistoryPagedResponse.md b/docs/BalanceHistoryPagedResponse.md new file mode 100644 index 00000000..e4b344b3 --- /dev/null +++ b/docs/BalanceHistoryPagedResponse.md @@ -0,0 +1,32 @@ +# BalanceHistoryPagedResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[BalanceHistoryItemDto]**](BalanceHistoryItemDto.md) | Array of balance history data points | +**next** | **str** | Cursor for next page | [optional] +**prev** | **str** | Cursor for previous page | [optional] +**total** | **float** | Total count of items | [optional] + +## Example + +```python +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of BalanceHistoryPagedResponse from a JSON string +balance_history_paged_response_instance = BalanceHistoryPagedResponse.from_json(json) +# print the JSON string representation of the object +print(BalanceHistoryPagedResponse.to_json()) + +# convert the object into a dict +balance_history_paged_response_dict = balance_history_paged_response_instance.to_dict() +# create an instance of BalanceHistoryPagedResponse from a dict +balance_history_paged_response_from_dict = BalanceHistoryPagedResponse.from_dict(balance_history_paged_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) + + diff --git a/docs/BankAddress.md b/docs/BankAddress.md new file mode 100644 index 00000000..ca4f960b --- /dev/null +++ b/docs/BankAddress.md @@ -0,0 +1,36 @@ +# BankAddress + +Address of the bank. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**street_name** | **str** | | [optional] +**building_number** | **str** | | [optional] +**postal_code** | **str** | | [optional] +**city** | **str** | | [optional] +**subdivision** | **str** | | [optional] +**district** | **str** | | [optional] +**country** | **str** | | [optional] + +## Example + +```python +from fireblocks.models.bank_address import BankAddress + +# TODO update the JSON string below +json = "{}" +# create an instance of BankAddress from a JSON string +bank_address_instance = BankAddress.from_json(json) +# print the JSON string representation of the object +print(BankAddress.to_json()) + +# convert the object into a dict +bank_address_dict = bank_address_instance.to_dict() +# create an instance of BankAddress from a dict +bank_address_from_dict = BankAddress.from_dict(bank_address_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) + + diff --git a/docs/BlockchainAddress.md b/docs/BlockchainAddress.md new file mode 100644 index 00000000..8d860263 --- /dev/null +++ b/docs/BlockchainAddress.md @@ -0,0 +1,31 @@ +# BlockchainAddress + +The blockchain address information. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**blockchain_address** | **str** | The blockchain address. | +**tag** | **str** | The tag of the blockchain address. It is used to identify the address in the blockchain. It is optional. | [optional] + +## Example + +```python +from fireblocks.models.blockchain_address import BlockchainAddress + +# TODO update the JSON string below +json = "{}" +# create an instance of BlockchainAddress from a JSON string +blockchain_address_instance = BlockchainAddress.from_json(json) +# print the JSON string representation of the object +print(BlockchainAddress.to_json()) + +# convert the object into a dict +blockchain_address_dict = blockchain_address_instance.to_dict() +# create an instance of BlockchainAddress from a dict +blockchain_address_from_dict = BlockchainAddress.from_dict(blockchain_address_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) + + diff --git a/docs/BlockchainDestination.md b/docs/BlockchainDestination.md new file mode 100644 index 00000000..e249474a --- /dev/null +++ b/docs/BlockchainDestination.md @@ -0,0 +1,30 @@ +# BlockchainDestination + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations. | +**address** | [**BlockchainAddress**](BlockchainAddress.md) | | + +## Example + +```python +from fireblocks.models.blockchain_destination import BlockchainDestination + +# TODO update the JSON string below +json = "{}" +# create an instance of BlockchainDestination from a JSON string +blockchain_destination_instance = BlockchainDestination.from_json(json) +# print the JSON string representation of the object +print(BlockchainDestination.to_json()) + +# convert the object into a dict +blockchain_destination_dict = blockchain_destination_instance.to_dict() +# create an instance of BlockchainDestination from a dict +blockchain_destination_from_dict = BlockchainDestination.from_dict(blockchain_destination_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) + + diff --git a/docs/BlockchainsAssetsApi.md b/docs/BlockchainsAssetsApi.md index 24cd1a9c..e8918004 100644 --- a/docs/BlockchainsAssetsApi.md +++ b/docs/BlockchainsAssetsApi.md @@ -5,8 +5,8 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**get_asset**](BlockchainsAssetsApi.md#get_asset) | **GET** /assets/{id} | Get an asset -[**get_blockchain**](BlockchainsAssetsApi.md#get_blockchain) | **GET** /blockchains/{id} | Get an blockchain -[**get_supported_assets**](BlockchainsAssetsApi.md#get_supported_assets) | **GET** /supported_assets | List all asset types supported by Fireblocks - legacy endpoint +[**get_blockchain**](BlockchainsAssetsApi.md#get_blockchain) | **GET** /blockchains/{id} | Get a Blockchain by ID +[**get_supported_assets**](BlockchainsAssetsApi.md#get_supported_assets) | **GET** /supported_assets | List assets (Legacy) [**list_assets**](BlockchainsAssetsApi.md#list_assets) | **GET** /assets | List assets [**list_blockchains**](BlockchainsAssetsApi.md#list_blockchains) | **GET** /blockchains | List blockchains [**register_new_asset**](BlockchainsAssetsApi.md#register_new_asset) | **POST** /assets | Register an asset @@ -100,9 +100,9 @@ No authorization required # **get_blockchain** > BlockchainResponse get_blockchain(id) -Get an blockchain +Get a Blockchain by ID -Returns an blockchain by ID or legacyID. +Returns a blockchain by ID or legacyID. ### Example @@ -133,7 +133,7 @@ with Fireblocks(configuration) as fireblocks: id = 'ETH' # str | The ID or legacyId of the blockchain try: - # Get an blockchain + # Get a Blockchain by ID api_response = fireblocks.blockchains_assets.get_blockchain(id).result() print("The response of BlockchainsAssetsApi->get_blockchain:\n") pprint(api_response) @@ -177,14 +177,13 @@ No authorization required # **get_supported_assets** > List[AssetTypeResponse] get_supported_assets() -List all asset types supported by Fireblocks - legacy endpoint +List assets (Legacy) -Legacy Endpoint – Retrieves all assets supported by Fireblocks in your workspace without extended information.
-**Note**: +**This legacy endpoint has not been deprecated but it should not be used in your operations. Instead, use the new [List assets](https://developers.fireblocks.com/reference/listassets) endpoint for better performance and to retrieve more detailed asset information.** + +Retrieves all assets supported by Fireblocks in your workspace. - - This endpoint will remain available for the foreseeable future and is not deprecated.
- - The `listAssets` endpoint provides more detailed asset information and improved performance.
- - We recommend transitioning to the `listAssets` endpoint for better results. +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -214,7 +213,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # List all asset types supported by Fireblocks - legacy endpoint + # List assets (Legacy) api_response = fireblocks.blockchains_assets.get_supported_assets().result() print("The response of BlockchainsAssetsApi->get_supported_assets:\n") pprint(api_response) @@ -255,10 +254,9 @@ No authorization required List assets -Retrieves all assets supported by Fireblocks in your workspace, providing extended information and enhanced performance compared to the legacy `supported_assets` endpoint.
-**Note**: +Retrieves a paginated list of all assets supported by Fireblocks in your workspace - - We will continue displaying and supporting the legacy ID (API ID). Since not all Fireblocks services fully support the new Assets UUID, please use only the legacy ID until further notice.
+**Note:** We will continue to support and display the legacy ID (API ID). Since not all Fireblocks services fully support the new Assets UUID, please use only the legacy ID until further notice. ### Example @@ -352,7 +350,7 @@ No authorization required List blockchains -Returns all blockchains supported by Fireblocks. +Returns all blockchains supported by Fireblocks.
### Example @@ -446,6 +444,7 @@ Register a new asset to a workspace and return the newly created asset's details - NEAR - Solana - Sui +- TON ### Example diff --git a/docs/TimeInForce.md b/docs/BusinessEntityTypeEnum.md similarity index 71% rename from docs/TimeInForce.md rename to docs/BusinessEntityTypeEnum.md index d51bba8c..ce96d617 100644 --- a/docs/TimeInForce.md +++ b/docs/BusinessEntityTypeEnum.md @@ -1,10 +1,9 @@ -# TimeInForce +# BusinessEntityTypeEnum -Time in force for limit orders ## Enum -* `FOK` (value: `'FOK'`) +* `BUSINESS` (value: `'BUSINESS'`) [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/BusinessIdentification.md b/docs/BusinessIdentification.md index c2c6acf3..1409b742 100644 --- a/docs/BusinessIdentification.md +++ b/docs/BusinessIdentification.md @@ -6,11 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **external_reference_id** | **str** | | -**entity_type** | **str** | | +**entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | **participant_relationship_type** | [**ParticipantRelationshipType**](ParticipantRelationshipType.md) | | **business_name** | **str** | | **registration_number** | **str** | | **postal_address** | [**PostalAddress**](PostalAddress.md) | | +**email** | **str** | | [optional] +**phone** | **str** | Mobile phone number in E.164 format | [optional] ## Example diff --git a/docs/ChainDescriptor.md b/docs/ChainDescriptor.md index 09add6ec..248c543c 100644 --- a/docs/ChainDescriptor.md +++ b/docs/ChainDescriptor.md @@ -1,20 +1,43 @@ # ChainDescriptor +Protocol identifier for the staking operation. ## Enum +* `ATOM_COS` (value: `'ATOM_COS'`) + +* `AXL` (value: `'AXL'`) + +* `AXL_TEST` (value: `'AXL_TEST'`) + +* `CELESTIA` (value: `'CELESTIA'`) + +* `DYDX_DYDX` (value: `'DYDX_DYDX'`) + * `ETH` (value: `'ETH'`) -* `SOL` (value: `'SOL'`) +* `ETH_TEST6` (value: `'ETH_TEST6'`) + +* `ETH_TEST_HOODI` (value: `'ETH_TEST_HOODI'`) + +* `INJ_INJ` (value: `'INJ_INJ'`) + +* `MANTRA` (value: `'MANTRA'`) * `MATIC` (value: `'MATIC'`) -* `ETH_TEST_HOODI` (value: `'ETH_TEST_HOODI'`) +* `OSMO` (value: `'OSMO'`) -* `ETH_TEST6` (value: `'ETH_TEST6'`) +* `SOL` (value: `'SOL'`) * `SOL_TEST` (value: `'SOL_TEST'`) +* `STETH_ETH` (value: `'STETH_ETH'`) + +* `STETH_ETH_TEST6_DZFA` (value: `'STETH_ETH_TEST6_DZFA'`) + +* `STETH_ETH_TEST_HOODI` (value: `'STETH_ETH_TEST_HOODI'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ChainInfoResponse.md b/docs/ChainInfoResponse.md index 4e2add7d..942eaa8a 100644 --- a/docs/ChainInfoResponse.md +++ b/docs/ChainInfoResponse.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **epoch_elapsed** | **float** | The percentage of time that has elapsed within the current epoch, represented as a decimal value between 0 and 1. | **epoch_duration** | **float** | The total duration in milliseconds of a single epoch. | **additional_info** | [**AdditionalInfo**](AdditionalInfo.md) | | +**last_updated** | **float** | timestamp (in milliseconds) of last update time | ## Example diff --git a/docs/CommittedQuoteEnum.md b/docs/CommittedQuoteEnum.md new file mode 100644 index 00000000..6026af8b --- /dev/null +++ b/docs/CommittedQuoteEnum.md @@ -0,0 +1,11 @@ +# CommittedQuoteEnum + +Indicates this is a committed quote + +## Enum + +* `COMMITTED` (value: `'COMMITTED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommittedQuoteType.md b/docs/CommittedQuoteType.md index ea0197c7..1359e6e0 100644 --- a/docs/CommittedQuoteType.md +++ b/docs/CommittedQuoteType.md @@ -5,8 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Indicates this is a committed quote | -**expires_at** | **datetime** | ISO 8601 timestamp of the expiration time of the quote. | +**type** | [**CommittedQuoteEnum**](CommittedQuoteEnum.md) | | ## Example diff --git a/docs/ConnectedAccountErrorResponse.md b/docs/ConnectedAccountErrorResponse.md new file mode 100644 index 00000000..2a143f26 --- /dev/null +++ b/docs/ConnectedAccountErrorResponse.md @@ -0,0 +1,30 @@ +# ConnectedAccountErrorResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error_message** | **str** | Error message describing what went wrong | +**error_code** | **str** | Error code identifying the type of error | + +## Example + +```python +from fireblocks.models.connected_account_error_response import ConnectedAccountErrorResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ConnectedAccountErrorResponse from a JSON string +connected_account_error_response_instance = ConnectedAccountErrorResponse.from_json(json) +# print the JSON string representation of the object +print(ConnectedAccountErrorResponse.to_json()) + +# convert the object into a dict +connected_account_error_response_dict = connected_account_error_response_instance.to_dict() +# create an instance of ConnectedAccountErrorResponse from a dict +connected_account_error_response_from_dict = ConnectedAccountErrorResponse.from_dict(connected_account_error_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) + + diff --git a/docs/ConnectedAccountsBetaApi.md b/docs/ConnectedAccountsBetaApi.md index 6a99266f..4c55ad2f 100644 --- a/docs/ConnectedAccountsBetaApi.md +++ b/docs/ConnectedAccountsBetaApi.md @@ -4,21 +4,96 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**disconnect_connected_account**](ConnectedAccountsBetaApi.md#disconnect_connected_account) | **DELETE** /connected_accounts/{accountId} | Disconnect connected account [**get_connected_account**](ConnectedAccountsBetaApi.md#get_connected_account) | **GET** /connected_accounts/{accountId} | Get connected account [**get_connected_account_balances**](ConnectedAccountsBetaApi.md#get_connected_account_balances) | **GET** /connected_accounts/{accountId}/balances | Get balances for an account [**get_connected_account_rates**](ConnectedAccountsBetaApi.md#get_connected_account_rates) | **GET** /connected_accounts/{accountId}/rates | Get exchange rates for an account [**get_connected_account_trading_pairs**](ConnectedAccountsBetaApi.md#get_connected_account_trading_pairs) | **GET** /connected_accounts/{accountId}/manifest/capabilities/trading/pairs | Get supported trading pairs for an account [**get_connected_accounts**](ConnectedAccountsBetaApi.md#get_connected_accounts) | **GET** /connected_accounts | Get connected accounts +[**rename_connected_account**](ConnectedAccountsBetaApi.md#rename_connected_account) | **POST** /connected_accounts/{accountId}/rename | Rename Connected Account +# **disconnect_connected_account** +> disconnect_connected_account(account_id) + +Disconnect connected account + +Disconnect a connected account by ID.
+**Note**: +- This endpoint is currently in beta and might be subject to changes. + + +### Example + + +```python +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + account_id = 'account_id_example' # str | The ID of the account to disconnect. + + try: + # Disconnect connected account + fireblocks.connected_accounts_beta.disconnect_connected_account(account_id).result() + except Exception as e: + print("Exception when calling ConnectedAccountsBetaApi->disconnect_connected_account: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The ID of the account to disconnect. | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Account disconnected successfully | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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_connected_account** > ConnectedSingleAccountResponse get_connected_account(account_id) Get connected account -Retrieve detailed information about a specific connected account by ID.
-**Note**: -- This endpoint is currently in beta and might be subject to changes. +Retrieve detailed information about a specific connected account by ID. + +**Note:** This endpoint is currently in beta and might be subject to changes. ### Example @@ -93,10 +168,9 @@ No authorization required Get balances for an account -Retrieve current asset balances for a specific connected account as a flat list (one row per assetId, balanceType) -
- **Note**: - - This endpoint is currently in beta and might be subject to changes. +Retrieve current asset balances for a specific connected account as a flat list (one row per `assetId`, `balanceType`). + +**Note:** This endpoint is currently in beta and might be subject to changes. ### Example @@ -177,6 +251,9 @@ Get exchange rates for an account Retrieve current exchange rates for converting between specific assets in a connected account. +**Note:** This endpoint is currently in beta and might be subject to changes. + + ### Example @@ -253,7 +330,10 @@ No authorization required Get supported trading pairs for an account -Retrieve all asset trading pairs supported by a specific connected account, including the pair type (quote, market, onOffRamp). +Retrieve all asset trading pairs supported by a specific connected account, including the pair type (`quote`, `market`, `onOffRamp`). + +**Note:** This endpoint is currently in beta and might be subject to changes. + ### Example @@ -331,9 +411,9 @@ No authorization required Get connected accounts -Returns all connected accounts
-**Note**: -- This endpoint is currently in beta and might be subject to changes. +Returns all connected accounts. + +**Note:** This endpoint is currently in beta and might be subject to changes. ### Example @@ -407,3 +487,90 @@ 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) +# **rename_connected_account** +> RenameConnectedAccountResponse rename_connected_account(account_id, rename_connected_account_request, idempotency_key=idempotency_key) + +Rename Connected Account + +Rename a connected account by account ID. + +**Note:** This endpoint is currently in beta and might be subject to changes. + + +### Example + + +```python +from fireblocks.models.rename_connected_account_request import RenameConnectedAccountRequest +from fireblocks.models.rename_connected_account_response import RenameConnectedAccountResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + account_id = 'account_id_example' # str | The unique identifier of the connected account + rename_connected_account_request = fireblocks.RenameConnectedAccountRequest() # RenameConnectedAccountRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Rename Connected Account + api_response = fireblocks.connected_accounts_beta.rename_connected_account(account_id, rename_connected_account_request, idempotency_key=idempotency_key).result() + print("The response of ConnectedAccountsBetaApi->rename_connected_account:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ConnectedAccountsBetaApi->rename_connected_account: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **account_id** | **str**| The unique identifier of the connected account | + **rename_connected_account_request** | [**RenameConnectedAccountRequest**](RenameConnectedAccountRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**RenameConnectedAccountResponse**](RenameConnectedAccountResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully renamed connected account. | * X-Request-ID -
| +**400** | Bad request. Missing tenantId, accountId, or accountName. | - | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | +**403** | Failed to rename connected account. | - | +**404** | Connected account not found | - | +**409** | Conflict. Account name is already in use by another account. | - | +**0** | Error Response | * X-Request-ID -
| + +[[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) + diff --git a/docs/ConsoleUserApi.md b/docs/ConsoleUserApi.md index a5b5be17..f91b9b29 100644 --- a/docs/ConsoleUserApi.md +++ b/docs/ConsoleUserApi.md @@ -13,7 +13,10 @@ Method | HTTP request | Description Create console user -Creates console user in your tenant +Create console users in your workspace +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +Learn more about Fireblocks Users management in the following [guide](https://developers.fireblocks.com/docs/manage-users). +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -90,7 +93,9 @@ No authorization required Get console users -Get console users for your tenant +Get console users for your workspace. +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ContractAddressResponse.md b/docs/ContractAddressResponse.md new file mode 100644 index 00000000..948d8830 --- /dev/null +++ b/docs/ContractAddressResponse.md @@ -0,0 +1,29 @@ +# ContractAddressResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**contract_address** | **str** | The contract's onchain address | + +## Example + +```python +from fireblocks.models.contract_address_response import ContractAddressResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of ContractAddressResponse from a JSON string +contract_address_response_instance = ContractAddressResponse.from_json(json) +# print the JSON string representation of the object +print(ContractAddressResponse.to_json()) + +# convert the object into a dict +contract_address_response_dict = contract_address_response_instance.to_dict() +# create an instance of ContractAddressResponse from a dict +contract_address_response_from_dict = ContractAddressResponse.from_dict(contract_address_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) + + diff --git a/docs/ContractInteractionsApi.md b/docs/ContractInteractionsApi.md index ef113dd3..b8f20541 100644 --- a/docs/ContractInteractionsApi.md +++ b/docs/ContractInteractionsApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**decode_contract_data**](ContractInteractionsApi.md#decode_contract_data) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/decode | Decode a function call data, error, or event log +[**get_contract_address**](ContractInteractionsApi.md#get_contract_address) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash} | Get contract address by transaction hash [**get_deployed_contract_abi**](ContractInteractionsApi.md#get_deployed_contract_abi) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions | Return deployed contract's ABI [**get_transaction_receipt**](ContractInteractionsApi.md#get_transaction_receipt) | **GET** /contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}/receipt | Get transaction receipt [**read_call_function**](ContractInteractionsApi.md#read_call_function) | **POST** /contract_interactions/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/functions/read | Call a read function on a deployed contract @@ -93,12 +94,91 @@ 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_contract_address** +> ContractAddressResponse get_contract_address(base_asset_id, tx_hash, idempotency_key=idempotency_key) + +Get contract address by transaction hash + +Retrieve the contract address by blockchain native asset ID and transaction hash + +### Example + + +```python +from fireblocks.models.contract_address_response import ContractAddressResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + tx_hash = '0x3b015ca0518c55d7bff4e3f5aa5d0431705771553ba8a95cf20e34cb597f57f6' # str | The transaction hash + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Get contract address by transaction hash + api_response = fireblocks.contract_interactions.get_contract_address(base_asset_id, tx_hash, idempotency_key=idempotency_key).result() + print("The response of ContractInteractionsApi->get_contract_address:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ContractInteractionsApi->get_contract_address: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **tx_hash** | **str**| The transaction hash | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**ContractAddressResponse**](ContractAddressResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Retrieved The Contract Address Successfully | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_deployed_contract_abi** > ContractAbiResponseDto get_deployed_contract_abi(contract_address, base_asset_id, idempotency_key=idempotency_key) Return deployed contract's ABI -Return deployed contract's ABI by blockchain native asset id and contract address +Return deployed contract's ABI by blockchain native asset id and contract address. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. ### Example @@ -126,7 +206,7 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract's onchain address - base_asset_id = 'base_asset_id_example' # str | + base_asset_id = 'ETH' # str | The blockchain base assetId idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: @@ -146,7 +226,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **contract_address** | **str**| The contract's onchain address | - **base_asset_id** | **str**| | + **base_asset_id** | **str**| The blockchain base assetId | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] ### Return type @@ -177,6 +257,8 @@ No authorization required Get transaction receipt Retrieve the transaction receipt by blockchain native asset ID and transaction hash +> **Note** > This functionality is exclusively available for EVM (Ethereum Virtual Machine) compatible chains. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. ### Example diff --git a/docs/ContractTemplatesApi.md b/docs/ContractTemplatesApi.md index 9f1377e9..923c9b6d 100644 --- a/docs/ContractTemplatesApi.md +++ b/docs/ContractTemplatesApi.md @@ -10,6 +10,7 @@ Method | HTTP request | Description [**get_contract_template_by_id**](ContractTemplatesApi.md#get_contract_template_by_id) | **GET** /tokenization/templates/{contractTemplateId} | Return contract template by id [**get_contract_templates**](ContractTemplatesApi.md#get_contract_templates) | **GET** /tokenization/templates | List all contract templates [**get_function_abi_by_contract_template_id**](ContractTemplatesApi.md#get_function_abi_by_contract_template_id) | **GET** /tokenization/templates/{contractTemplateId}/function | Return contract template's function +[**get_supported_blockchains_by_template_id**](ContractTemplatesApi.md#get_supported_blockchains_by_template_id) | **GET** /tokenization/templates/{contractTemplateId}/supported_blockchains | Get supported blockchains for the template [**upload_contract_template**](ContractTemplatesApi.md#upload_contract_template) | **POST** /tokenization/templates | Upload contract template @@ -321,7 +322,8 @@ No authorization required List all contract templates -Return minimal representation of all the contract templates available for the workspace +Return minimal representation of all the contract templates available for the workspace. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -353,7 +355,7 @@ with Fireblocks(configuration) as fireblocks: page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page (optional) page_size = 10 # float | Number of items per page, requesting more then max will return max items (optional) type = 'FUNGIBLE_TOKEN' # str | The type of the contract templates you wish to retrieve. Can accept one type, more or none (optional) - initialization_phase = 'initialization_phase_example' # str | (optional) + initialization_phase = 'initialization_phase_example' # str | For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT (optional) try: # List all contract templates @@ -376,7 +378,7 @@ Name | Type | Description | Notes **page_cursor** | **str**| Page cursor to get the next page | [optional] **page_size** | **float**| Number of items per page, requesting more then max will return max items | [optional] **type** | **str**| The type of the contract templates you wish to retrieve. Can accept one type, more or none | [optional] - **initialization_phase** | **str**| | [optional] + **initialization_phase** | **str**| For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT | [optional] ### Return type @@ -477,6 +479,81 @@ 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_supported_blockchains_by_template_id** +> SupportedBlockChainsResponse get_supported_blockchains_by_template_id(contract_template_id) + +Get supported blockchains for the template + +Get supported blockchains for the template + +### Example + + +```python +from fireblocks.models.supported_block_chains_response import SupportedBlockChainsResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + contract_template_id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d' # str | The Contract Template identifier + + try: + # Get supported blockchains for the template + api_response = fireblocks.contract_templates.get_supported_blockchains_by_template_id(contract_template_id).result() + print("The response of ContractTemplatesApi->get_supported_blockchains_by_template_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ContractTemplatesApi->get_supported_blockchains_by_template_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **contract_template_id** | **str**| The Contract Template identifier | + +### Return type + +[**SupportedBlockChainsResponse**](SupportedBlockChainsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Supported blockchains list | - | +**404** | Could not find contract. | - | +**0** | Error Response | * X-Request-ID -
| + +[[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) + # **upload_contract_template** > ContractTemplateDto upload_contract_template(contract_upload_request, idempotency_key=idempotency_key) diff --git a/docs/ContractsApi.md b/docs/ContractsApi.md index 6655d2c6..e5463056 100644 --- a/docs/ContractsApi.md +++ b/docs/ContractsApi.md @@ -4,21 +4,21 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**add_contract_asset**](ContractsApi.md#add_contract_asset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a contract -[**create_contract**](ContractsApi.md#create_contract) | **POST** /contracts | Create a contract +[**add_contract_asset**](ContractsApi.md#add_contract_asset) | **POST** /contracts/{contractId}/{assetId} | Add an asset to a whitelisted contract +[**create_contract**](ContractsApi.md#create_contract) | **POST** /contracts | Add a contract [**delete_contract**](ContractsApi.md#delete_contract) | **DELETE** /contracts/{contractId} | Delete a contract -[**delete_contract_asset**](ContractsApi.md#delete_contract_asset) | **DELETE** /contracts/{contractId}/{assetId} | Delete a contract asset -[**get_contract**](ContractsApi.md#get_contract) | **GET** /contracts/{contractId} | Find a specific contract -[**get_contract_asset**](ContractsApi.md#get_contract_asset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset -[**get_contracts**](ContractsApi.md#get_contracts) | **GET** /contracts | List contracts +[**delete_contract_asset**](ContractsApi.md#delete_contract_asset) | **DELETE** /contracts/{contractId}/{assetId} | Delete an asset from a whitelisted contract +[**get_contract**](ContractsApi.md#get_contract) | **GET** /contracts/{contractId} | Find a Specific Whitelisted Contract +[**get_contract_asset**](ContractsApi.md#get_contract_asset) | **GET** /contracts/{contractId}/{assetId} | Find a whitelisted contract's asset +[**get_contracts**](ContractsApi.md#get_contracts) | **GET** /contracts | List Whitelisted Contracts # **add_contract_asset** > ExternalWalletAsset add_contract_asset(contract_id, asset_id, idempotency_key=idempotency_key, add_contract_asset_request=add_contract_asset_request) -Add an asset to a contract +Add an asset to a whitelisted contract -Adds an asset to an existing contract. +Adds an asset to a whitelisted contract.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -52,7 +52,7 @@ with Fireblocks(configuration) as fireblocks: add_contract_asset_request = fireblocks.AddContractAssetRequest() # AddContractAssetRequest | (optional) try: - # Add an asset to a contract + # Add an asset to a whitelisted contract api_response = fireblocks.contracts.add_contract_asset(contract_id, asset_id, idempotency_key=idempotency_key, add_contract_asset_request=add_contract_asset_request).result() print("The response of ContractsApi->add_contract_asset:\n") pprint(api_response) @@ -97,9 +97,9 @@ No authorization required # **create_contract** > UnmanagedWallet create_contract(idempotency_key=idempotency_key, create_contract_request=create_contract_request) -Create a contract +Add a contract -Creates a new contract. +Adds a contract to the workspace whitelist.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -131,7 +131,7 @@ with Fireblocks(configuration) as fireblocks: create_contract_request = fireblocks.CreateContractRequest() # CreateContractRequest | (optional) try: - # Create a contract + # Add a contract api_response = fireblocks.contracts.create_contract(idempotency_key=idempotency_key, create_contract_request=create_contract_request).result() print("The response of ContractsApi->create_contract:\n") pprint(api_response) @@ -176,7 +176,7 @@ No authorization required Delete a contract -Deletes a contract by ID. +Deletes a contract by ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -244,9 +244,9 @@ No authorization required # **delete_contract_asset** > delete_contract_asset(contract_id, asset_id) -Delete a contract asset +Delete an asset from a whitelisted contract -Deletes a contract asset by ID. +Deletes a whitelisted contract asset by ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -275,7 +275,7 @@ with Fireblocks(configuration) as fireblocks: asset_id = 'asset_id_example' # str | The ID of the asset to delete try: - # Delete a contract asset + # Delete an asset from a whitelisted contract fireblocks.contracts.delete_contract_asset(contract_id, asset_id).result() except Exception as e: print("Exception when calling ContractsApi->delete_contract_asset: %s\n" % e) @@ -316,9 +316,9 @@ No authorization required # **get_contract** > UnmanagedWallet get_contract(contract_id) -Find a specific contract +Find a Specific Whitelisted Contract -Returns a contract by ID. +Returns a whitelisted contract by Fireblocks Contract ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -348,7 +348,7 @@ with Fireblocks(configuration) as fireblocks: contract_id = 'contract_id_example' # str | The ID of the contract to return try: - # Find a specific contract + # Find a Specific Whitelisted Contract api_response = fireblocks.contracts.get_contract(contract_id).result() print("The response of ContractsApi->get_contract:\n") pprint(api_response) @@ -390,9 +390,9 @@ No authorization required # **get_contract_asset** > ExternalWalletAsset get_contract_asset(contract_id, asset_id) -Find a contract asset +Find a whitelisted contract's asset -Returns a contract asset by ID. +Returns a whitelisted contract's asset by ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -423,7 +423,7 @@ with Fireblocks(configuration) as fireblocks: asset_id = 'asset_id_example' # str | The ID of the asset to return try: - # Find a contract asset + # Find a whitelisted contract's asset api_response = fireblocks.contracts.get_contract_asset(contract_id, asset_id).result() print("The response of ContractsApi->get_contract_asset:\n") pprint(api_response) @@ -466,9 +466,9 @@ No authorization required # **get_contracts** > List[UnmanagedWallet] get_contracts() -List contracts +List Whitelisted Contracts -Gets a list of contracts. +Gets a list of whitelisted contracts.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -497,7 +497,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # List contracts + # List Whitelisted Contracts api_response = fireblocks.contracts.get_contracts().result() print("The response of ContractsApi->get_contracts:\n") pprint(api_response) diff --git a/docs/Cosigner.md b/docs/Cosigner.md index a82716dd..23566b51 100644 --- a/docs/Cosigner.md +++ b/docs/Cosigner.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **id** | **str** | The unique identifier of the cosigner | **name** | **str** | The name of the cosigner | [optional] **type** | **str** | The type of the cosigner | [optional] -**version** | [**Version**](Version.md) | | [optional] +**version** | [**VersionSummary**](VersionSummary.md) | | [optional] ## Example diff --git a/docs/CosignersBetaApi.md b/docs/CosignersBetaApi.md index 01d98346..62459ae7 100644 --- a/docs/CosignersBetaApi.md +++ b/docs/CosignersBetaApi.md @@ -22,6 +22,7 @@ Method | HTTP request | Description Add cosigner Add a new cosigner. The cosigner will be pending pairing until the API key is manually paired +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -98,9 +99,9 @@ No authorization required Get API key -Get an API key by ID +Get an API key by ID. **Note:** These endpoints are currently in beta and might be subject to changes. - +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -176,7 +177,9 @@ No authorization required Get all API keys -Get all cosigner paired API keys (paginated) +Get all cosigner paired API keys (paginated). +**Note:** These endpoints are currently in beta and might be subject to changes. +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -256,9 +259,9 @@ No authorization required Get cosigner -Get a cosigner by ID +Get a cosigner by ID. **Note:** These endpoints are currently in beta and might be subject to changes. - +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -332,9 +335,9 @@ No authorization required Get all cosigners -Get all workspace cosigners (paginated) +Get all workspace cosigners (paginated). **Note:** These endpoints are currently in beta and might be subject to changes. - +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -413,6 +416,7 @@ No authorization required Get request status Get the status of an asynchronous request +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -491,6 +495,7 @@ No authorization required Pair API key Pair an API key to a cosigner +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -571,9 +576,9 @@ No authorization required Rename cosigner -Rename a cosigner by ID +Rename a cosigner by ID. **Note:** These endpoints are currently in beta and might be subject to changes. - +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -651,6 +656,7 @@ No authorization required Unpair API key Unpair an API key from a cosigner +
Endpoint Permission: Admin and Non-Signing Admin. ### Example @@ -727,6 +733,7 @@ No authorization required Update API key callback handler Update the callback handler of an API key +
Endpoint Permission: Admin and Non-Signing Admin. ### Example diff --git a/docs/CreateAssetsBulkRequest.md b/docs/CreateAssetsBulkRequest.md deleted file mode 100644 index 7a1b8099..00000000 --- a/docs/CreateAssetsBulkRequest.md +++ /dev/null @@ -1,31 +0,0 @@ -# CreateAssetsBulkRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**asset_id** | **str** | The ID of the new asset | [optional] -**vault_account_id_from** | **str** | The smallest vault account ID in the range | [optional] -**vault_account_id_to** | **str** | The largest vault account ID in the range | [optional] - -## Example - -```python -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of CreateAssetsBulkRequest from a JSON string -create_assets_bulk_request_instance = CreateAssetsBulkRequest.from_json(json) -# print the JSON string representation of the object -print(CreateAssetsBulkRequest.to_json()) - -# convert the object into a dict -create_assets_bulk_request_dict = create_assets_bulk_request_instance.to_dict() -# create an instance of CreateAssetsBulkRequest from a dict -create_assets_bulk_request_from_dict = CreateAssetsBulkRequest.from_dict(create_assets_bulk_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) - - diff --git a/docs/CreateQuote.md b/docs/CreateQuote.md index a0dca25b..39e2d58c 100644 --- a/docs/CreateQuote.md +++ b/docs/CreateQuote.md @@ -7,13 +7,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **scope** | [**List[CreateQuoteScopeInner]**](CreateQuoteScopeInner.md) | | **base_asset_id** | **str** | | -**base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] **quote_asset_id** | **str** | | -**quote_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] **base_amount** | **str** | The amount to convert from | **slippage_bps** | **float** | Slippage tolerance in basis points (bps) for defi quotes - 1 is 0.01% and 10000 is 100% | [optional] [default to 50] **settlement** | [**DVPSettlement**](DVPSettlement.md) | | [optional] -**side** | **str** | Side of the order | +**side** | [**Side**](Side.md) | | ## Example diff --git a/docs/CreateQuoteScopeInner.md b/docs/CreateQuoteScopeInner.md index e828237d..062de637 100644 --- a/docs/CreateQuoteScopeInner.md +++ b/docs/CreateQuoteScopeInner.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **provider_id** | **str** | The ID of the provider associated with the account. | -**account_id** | **str** | The ID of the account associated with the provider. | +**account_id** | **str** | The ID of the account associated with the provider. | [optional] ## Example diff --git a/docs/CreateTagRequest.md b/docs/CreateTagRequest.md index 5b3e003f..002b9875 100644 --- a/docs/CreateTagRequest.md +++ b/docs/CreateTagRequest.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label** | **str** | The tag label | **description** | **str** | Description for the tag | [optional] +**color** | **str** | The tag color in hex format | [optional] +**is_protected** | **bool** | Indication if the tag is protected tag | [optional] [default to False] ## Example diff --git a/docs/CreateTransactionResponse.md b/docs/CreateTransactionResponse.md index d2ef446e..f78e2f41 100644 --- a/docs/CreateTransactionResponse.md +++ b/docs/CreateTransactionResponse.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | The ID of the transaction. | [optional] **status** | **str** | The primary status of the transaction. For details, see [Primary transaction statuses.] (https://developers.fireblocks.com/reference/primary-transaction-statuses) | [optional] -**system_messages** | [**SystemMessageInfo**](SystemMessageInfo.md) | | [optional] +**system_messages** | [**List[SystemMessageInfo]**](SystemMessageInfo.md) | | [optional] ## Example diff --git a/docs/DVPSettlement.md b/docs/DVPSettlement.md index 2f7464b0..c2677224 100644 --- a/docs/DVPSettlement.md +++ b/docs/DVPSettlement.md @@ -6,7 +6,7 @@ Source/Destination accounts for the quote (must have for defi quotes) Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**DVPSettlementType**](DVPSettlementType.md) | | **source_account** | [**SettlementSourceAccount**](SettlementSourceAccount.md) | | **destination_account** | [**AccountReference**](AccountReference.md) | | diff --git a/docs/DVPSettlementType.md b/docs/DVPSettlementType.md new file mode 100644 index 00000000..23454ac5 --- /dev/null +++ b/docs/DVPSettlementType.md @@ -0,0 +1,10 @@ +# DVPSettlementType + + +## Enum + +* `DVP` (value: `'DVP'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DecodedLog.md b/docs/DecodedLog.md new file mode 100644 index 00000000..1c0fcb90 --- /dev/null +++ b/docs/DecodedLog.md @@ -0,0 +1,34 @@ +# DecodedLog + +Decoded event log from a blockchain transaction. Note - Additional dynamic properties may be present beyond the required ones. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **str** | Contract address that emitted the log | +**block_hash** | **str** | Hash of the block containing this log | +**block_number** | **str** | Block number containing this log | +**transaction_hash** | **str** | Hash of the transaction that generated this log | +**log_index** | **str** | Index of the log in the transaction | + +## Example + +```python +from fireblocks.models.decoded_log import DecodedLog + +# TODO update the JSON string below +json = "{}" +# create an instance of DecodedLog from a JSON string +decoded_log_instance = DecodedLog.from_json(json) +# print the JSON string representation of the object +print(DecodedLog.to_json()) + +# convert the object into a dict +decoded_log_dict = decoded_log_instance.to_dict() +# create an instance of DecodedLog from a dict +decoded_log_from_dict = DecodedLog.from_dict(decoded_log_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) + + diff --git a/docs/Delegation.md b/docs/Delegation.md index dea80f70..255ceeaf 100644 --- a/docs/Delegation.md +++ b/docs/Delegation.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **validator_name** | **str** | The destination validator address name | **provider_name** | **str** | The destination validator provider name | **chain_descriptor** | **str** | The protocol identifier (e.g. \"ETH\"/ \"SOL\") to use | -**amount** | **str** | Amount of tokens to stake, measured in the staked asset unit. | +**amount** | **str** | Total value of the staking position. For Solana, Lido and Ethereum (compounding validator): includes the original stake plus accumulated rewards. For MATIC, Cosmos and Ethereum (legacy validator): refers to the amount currently staked. | **rewards_amount** | **str** | The amount staked in the position, measured in the staked asset unit. | **date_created** | **datetime** | When was the request made (ISO Date). | **date_updated** | **datetime** | When has the position last changed (ISO Date). | @@ -19,10 +19,10 @@ Name | Type | Description | Notes **validator_address** | **str** | The destination address of the staking transaction. | **provider_id** | [**StakingProvider**](StakingProvider.md) | | **available_actions** | **List[str]** | An array of available actions that can be performed. for example, actions like \"unstake\" or \"withdraw\". | -**in_progress** | **bool** | Indicates whether there is an ongoing action for this position (true if ongoing, false if not). | -**in_progress_tx_id** | **str** | The transaction ID of the ongoing request | [optional] -**blockchain_position_info** | [**SolanaBlockchainData**](SolanaBlockchainData.md) | | -**related_requests** | [**List[RelatedRequest]**](RelatedRequest.md) | An array of partial unstake requests for this position, relevant only for the Lido provider. Each object includes the status of the unstake request, a boolean indicating whether the action is in progress, the amount of tokens to unstake, and the transaction ID of the request. With Lido, a position may have multiple partial unstake requests in different states. This field is optional and not applicable for other providers. | [optional] +**in_progress** | **bool** | Indicates whether there is an ongoing action for this position related to this request | +**in_progress_tx_id** | **str** | The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction. | [optional] +**blockchain_position_info** | [**DelegationBlockchainPositionInfo**](DelegationBlockchainPositionInfo.md) | | +**related_requests** | [**List[RelatedRequest]**](RelatedRequest.md) | | [optional] ## Example diff --git a/docs/DelegationBlockchainPositionInfo.md b/docs/DelegationBlockchainPositionInfo.md new file mode 100644 index 00000000..68fe2a0f --- /dev/null +++ b/docs/DelegationBlockchainPositionInfo.md @@ -0,0 +1,34 @@ +# DelegationBlockchainPositionInfo + +Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**stake_account_address** | **str** | The stake account address matching the stakeAccountId. | +**stake_account_derivation_change_value** | **float** | The value of the change level in the BIP32 path which was used to derive the stake account address. | +**is_compounding_validator** | **bool** | Is the validator compounding (i.e it was created with compounding validator type). | +**total_withdrawable_amount** | **str** | The total amount available for withdrawal. | +**total_inactive_amount** | **str** | The total inactive amount. | + +## Example + +```python +from fireblocks.models.delegation_blockchain_position_info import DelegationBlockchainPositionInfo + +# TODO update the JSON string below +json = "{}" +# create an instance of DelegationBlockchainPositionInfo from a JSON string +delegation_blockchain_position_info_instance = DelegationBlockchainPositionInfo.from_json(json) +# print the JSON string representation of the object +print(DelegationBlockchainPositionInfo.to_json()) + +# convert the object into a dict +delegation_blockchain_position_info_dict = delegation_blockchain_position_info_instance.to_dict() +# create an instance of DelegationBlockchainPositionInfo from a dict +delegation_blockchain_position_info_from_dict = DelegationBlockchainPositionInfo.from_dict(delegation_blockchain_position_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) + + diff --git a/docs/EmbeddedWalletPaginatedDevicesResponse.md b/docs/EmbeddedWalletPaginatedDevicesResponse.md new file mode 100644 index 00000000..61c13c29 --- /dev/null +++ b/docs/EmbeddedWalletPaginatedDevicesResponse.md @@ -0,0 +1,30 @@ +# EmbeddedWalletPaginatedDevicesResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[EmbeddedWalletDevice]**](EmbeddedWalletDevice.md) | The data of the current page | +**next** | **str** | The ID of the next page | [optional] + +## Example + +```python +from fireblocks.models.embedded_wallet_paginated_devices_response import EmbeddedWalletPaginatedDevicesResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EmbeddedWalletPaginatedDevicesResponse from a JSON string +embedded_wallet_paginated_devices_response_instance = EmbeddedWalletPaginatedDevicesResponse.from_json(json) +# print the JSON string representation of the object +print(EmbeddedWalletPaginatedDevicesResponse.to_json()) + +# convert the object into a dict +embedded_wallet_paginated_devices_response_dict = embedded_wallet_paginated_devices_response_instance.to_dict() +# create an instance of EmbeddedWalletPaginatedDevicesResponse from a dict +embedded_wallet_paginated_devices_response_from_dict = EmbeddedWalletPaginatedDevicesResponse.from_dict(embedded_wallet_paginated_devices_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) + + diff --git a/docs/EmbeddedWalletRequiredAlgorithms.md b/docs/EmbeddedWalletRequiredAlgorithms.md new file mode 100644 index 00000000..c0e76c53 --- /dev/null +++ b/docs/EmbeddedWalletRequiredAlgorithms.md @@ -0,0 +1,12 @@ +# EmbeddedWalletRequiredAlgorithms + + +## Enum + +* `MPC_ECDSA_SECP256_K1` (value: `'MPC_ECDSA_SECP256K1'`) + +* `MPC_EDDSA_ED25519` (value: `'MPC_EDDSA_ED25519'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EmbeddedWalletSetupStatusResponse.md b/docs/EmbeddedWalletSetupStatusResponse.md new file mode 100644 index 00000000..696dd9a3 --- /dev/null +++ b/docs/EmbeddedWalletSetupStatusResponse.md @@ -0,0 +1,31 @@ +# EmbeddedWalletSetupStatusResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | [**EmbeddedWalletSetUpStatus**](EmbeddedWalletSetUpStatus.md) | | +**required_algorithms** | [**List[EmbeddedWalletRequiredAlgorithms]**](EmbeddedWalletRequiredAlgorithms.md) | Required algorithms for the wallet | +**device_setup_status** | [**List[EmbeddedWalletDeviceKeySetupResponse]**](EmbeddedWalletDeviceKeySetupResponse.md) | Setup status for each device | + +## Example + +```python +from fireblocks.models.embedded_wallet_setup_status_response import EmbeddedWalletSetupStatusResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of EmbeddedWalletSetupStatusResponse from a JSON string +embedded_wallet_setup_status_response_instance = EmbeddedWalletSetupStatusResponse.from_json(json) +# print the JSON string representation of the object +print(EmbeddedWalletSetupStatusResponse.to_json()) + +# convert the object into a dict +embedded_wallet_setup_status_response_dict = embedded_wallet_setup_status_response_instance.to_dict() +# create an instance of EmbeddedWalletSetupStatusResponse from a dict +embedded_wallet_setup_status_response_from_dict = EmbeddedWalletSetupStatusResponse.from_dict(embedded_wallet_setup_status_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) + + diff --git a/docs/EmbeddedWalletsApi.md b/docs/EmbeddedWalletsApi.md index b520b54c..0d9c88b3 100644 --- a/docs/EmbeddedWalletsApi.md +++ b/docs/EmbeddedWalletsApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**add_embedded_wallet_asset**](EmbeddedWalletsApi.md#add_embedded_wallet_asset) | **POST** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Add asset to account +[**assign_embedded_wallet**](EmbeddedWalletsApi.md#assign_embedded_wallet) | **POST** /ncw/wallets/{walletId}/assign | Assign a wallet [**create_embedded_wallet**](EmbeddedWalletsApi.md#create_embedded_wallet) | **POST** /ncw/wallets | Create a new wallet [**create_embedded_wallet_account**](EmbeddedWalletsApi.md#create_embedded_wallet_account) | **POST** /ncw/wallets/{walletId}/accounts | Create a new account [**get_embedded_wallet**](EmbeddedWalletsApi.md#get_embedded_wallet) | **GET** /ncw/wallets/{walletId} | Get a wallet @@ -12,14 +13,19 @@ Method | HTTP request | Description [**get_embedded_wallet_addresses**](EmbeddedWalletsApi.md#get_embedded_wallet_addresses) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/addresses | Retrieve asset addresses [**get_embedded_wallet_asset**](EmbeddedWalletsApi.md#get_embedded_wallet_asset) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId} | Retrieve asset [**get_embedded_wallet_asset_balance**](EmbeddedWalletsApi.md#get_embedded_wallet_asset_balance) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Retrieve asset balance +[**get_embedded_wallet_assets**](EmbeddedWalletsApi.md#get_embedded_wallet_assets) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets | Retrieve assets [**get_embedded_wallet_device**](EmbeddedWalletsApi.md#get_embedded_wallet_device) | **GET** /ncw/wallets/{walletId}/devices/{deviceId} | Get Embedded Wallet Device [**get_embedded_wallet_device_setup_state**](EmbeddedWalletsApi.md#get_embedded_wallet_device_setup_state) | **GET** /ncw/wallets/{walletId}/devices/{deviceId}/setup_status | Get device key setup state +[**get_embedded_wallet_devices_paginated**](EmbeddedWalletsApi.md#get_embedded_wallet_devices_paginated) | **GET** /ncw/wallets/{walletId}/devices_paginated | Get registered devices - paginated [**get_embedded_wallet_latest_backup**](EmbeddedWalletsApi.md#get_embedded_wallet_latest_backup) | **GET** /ncw/wallets/{walletId}/backup/latest | Get wallet Latest Backup details [**get_embedded_wallet_public_key_info_for_address**](EmbeddedWalletsApi.md#get_embedded_wallet_public_key_info_for_address) | **GET** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key of an asset +[**get_embedded_wallet_setup_status**](EmbeddedWalletsApi.md#get_embedded_wallet_setup_status) | **GET** /ncw/wallets/{walletId}/setup_status | Get wallet key setup state [**get_embedded_wallet_supported_assets**](EmbeddedWalletsApi.md#get_embedded_wallet_supported_assets) | **GET** /ncw/wallets/supported_assets | Retrieve supported assets [**get_embedded_wallets**](EmbeddedWalletsApi.md#get_embedded_wallets) | **GET** /ncw/wallets | List wallets [**get_public_key_info_ncw**](EmbeddedWalletsApi.md#get_public_key_info_ncw) | **GET** /ncw/wallets/{walletId}/public_key_info | Get the public key for a derivation path [**refresh_embedded_wallet_asset_balance**](EmbeddedWalletsApi.md#refresh_embedded_wallet_asset_balance) | **PUT** /ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance | Refresh asset balance +[**update_embedded_wallet_device_status**](EmbeddedWalletsApi.md#update_embedded_wallet_device_status) | **PATCH** /ncw/wallets/{walletId}/devices/{deviceId}/status | Update device status +[**update_embedded_wallet_status**](EmbeddedWalletsApi.md#update_embedded_wallet_status) | **PATCH** /ncw/wallets/{walletId}/status | Update wallet status # **add_embedded_wallet_asset** @@ -102,6 +108,82 @@ 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) +# **assign_embedded_wallet** +> EmbeddedWallet assign_embedded_wallet(wallet_id, idempotency_key=idempotency_key) + +Assign a wallet + +Assign a specific Non Custodial Wallet to a user + +### Example + + +```python +from fireblocks.models.embedded_wallet import EmbeddedWallet +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Assign a wallet + api_response = fireblocks.embedded_wallets.assign_embedded_wallet(wallet_id, idempotency_key=idempotency_key).result() + print("The response of EmbeddedWalletsApi->assign_embedded_wallet:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->assign_embedded_wallet: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**EmbeddedWallet**](EmbeddedWallet.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Wallet Assigned | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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) + # **create_embedded_wallet** > EmbeddedWallet create_embedded_wallet(idempotency_key=idempotency_key) @@ -646,6 +728,90 @@ 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_embedded_wallet_assets** +> EmbeddedWalletPaginatedAssetsResponse get_embedded_wallet_assets(wallet_id, account_id, sort=sort, page_cursor=page_cursor, page_size=page_size, order=order) + +Retrieve assets + +Retrieve assets for a specific account under a specific Non Custodial Wallet + +### Example + + +```python +from fireblocks.models.embedded_wallet_paginated_assets_response import EmbeddedWalletPaginatedAssetsResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + account_id = '0' # str | The ID of the account + sort = ["assetId"] # List[str] | Sort by fields (optional) (default to ["assetId"]) + page_cursor = 'page_cursor_example' # str | Cursor to the next page (optional) + page_size = 200 # float | Amount of results to return in the next page (optional) (default to 200) + order = ASC # str | Is the order ascending or descending (optional) (default to ASC) + + try: + # Retrieve assets + api_response = fireblocks.embedded_wallets.get_embedded_wallet_assets(wallet_id, account_id, sort=sort, page_cursor=page_cursor, page_size=page_size, order=order).result() + print("The response of EmbeddedWalletsApi->get_embedded_wallet_assets:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->get_embedded_wallet_assets: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + **account_id** | **str**| The ID of the account | + **sort** | [**List[str]**](str.md)| Sort by fields | [optional] [default to ["assetId"]] + **page_cursor** | **str**| Cursor to the next page | [optional] + **page_size** | **float**| Amount of results to return in the next page | [optional] [default to 200] + **order** | **str**| Is the order ascending or descending | [optional] [default to ASC] + +### Return type + +[**EmbeddedWalletPaginatedAssetsResponse**](EmbeddedWalletPaginatedAssetsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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_embedded_wallet_device** > EmbeddedWalletDevice get_embedded_wallet_device(wallet_id, device_id) @@ -798,6 +964,89 @@ 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_embedded_wallet_devices_paginated** +> EmbeddedWalletPaginatedDevicesResponse get_embedded_wallet_devices_paginated(wallet_id, sort=sort, page_cursor=page_cursor, page_size=page_size, order=order) + +Get registered devices - paginated + +Get a paginated list of registered devices for a specific Non Custodial Wallet + +### Example + + +```python +from fireblocks.models.embedded_wallet_paginated_devices_response import EmbeddedWalletPaginatedDevicesResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + sort = ["createdAt"] # List[str] | Sort by fields (optional) (default to ["createdAt"]) + page_cursor = 'page_cursor_example' # str | Cursor to the next page (optional) + page_size = 200 # float | Amount of results to return in the next page (optional) (default to 200) + order = ASC # str | Is the order ascending or descending (optional) (default to ASC) + + try: + # Get registered devices - paginated + api_response = fireblocks.embedded_wallets.get_embedded_wallet_devices_paginated(wallet_id, sort=sort, page_cursor=page_cursor, page_size=page_size, order=order).result() + print("The response of EmbeddedWalletsApi->get_embedded_wallet_devices_paginated:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->get_embedded_wallet_devices_paginated: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + **sort** | [**List[str]**](str.md)| Sort by fields | [optional] [default to ["createdAt"]] + **page_cursor** | **str**| Cursor to the next page | [optional] + **page_size** | **float**| Amount of results to return in the next page | [optional] [default to 200] + **order** | **str**| Is the order ascending or descending | [optional] [default to ASC] + +### Return type + +[**EmbeddedWalletPaginatedDevicesResponse**](EmbeddedWalletPaginatedDevicesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | * X-Request-ID -
| +**400** | Query parameters were invalid | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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_embedded_wallet_latest_backup** > EmbeddedWalletLatestBackupResponse get_embedded_wallet_latest_backup(wallet_id) @@ -958,6 +1207,80 @@ 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_embedded_wallet_setup_status** +> EmbeddedWalletSetupStatusResponse get_embedded_wallet_setup_status(wallet_id) + +Get wallet key setup state + +Get the key setup state for a specific Non Custodial Wallet, including required algorithms and device setup status + +### Example + + +```python +from fireblocks.models.embedded_wallet_setup_status_response import EmbeddedWalletSetupStatusResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + + try: + # Get wallet key setup state + api_response = fireblocks.embedded_wallets.get_embedded_wallet_setup_status(wallet_id).result() + print("The response of EmbeddedWalletsApi->get_embedded_wallet_setup_status:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->get_embedded_wallet_setup_status: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + +### Return type + +[**EmbeddedWalletSetupStatusResponse**](EmbeddedWalletSetupStatusResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successful response | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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_embedded_wallet_supported_assets** > EmbeddedWalletPaginatedAssetsResponse get_embedded_wallet_supported_assets(page_cursor=page_cursor, page_size=page_size, only_base_assets=only_base_assets) @@ -1280,3 +1603,155 @@ 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) +# **update_embedded_wallet_device_status** +> update_embedded_wallet_device_status(wallet_id, device_id, enable_device, idempotency_key=idempotency_key) + +Update device status + +Update the enabled/disabled status of a specific device for a Non Custodial Wallet + +### Example + + +```python +from fireblocks.models.enable_device import EnableDevice +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + device_id = '9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3' # str | Device Id + enable_device = fireblocks.EnableDevice() # EnableDevice | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Update device status + fireblocks.embedded_wallets.update_embedded_wallet_device_status(wallet_id, device_id, enable_device, idempotency_key=idempotency_key).result() + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->update_embedded_wallet_device_status: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + **device_id** | **str**| Device Id | + **enable_device** | [**EnableDevice**](EnableDevice.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content - Device status updated successfully | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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) + +# **update_embedded_wallet_status** +> update_embedded_wallet_status(wallet_id, enable_wallet, idempotency_key=idempotency_key) + +Update wallet status + +Update the enabled/disabled status of a specific Non Custodial Wallet + +### Example + + +```python +from fireblocks.models.enable_wallet import EnableWallet +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + wallet_id = '550e8400-e29b-41d4-a716-446655440000' # str | Wallet Id + enable_wallet = fireblocks.EnableWallet() # EnableWallet | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Update wallet status + fireblocks.embedded_wallets.update_embedded_wallet_status(wallet_id, enable_wallet, idempotency_key=idempotency_key).result() + except Exception as e: + print("Exception when calling EmbeddedWalletsApi->update_embedded_wallet_status: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **wallet_id** | **str**| Wallet Id | + **enable_wallet** | [**EnableWallet**](EnableWallet.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content - Wallet status updated successfully | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[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) + diff --git a/docs/EnableDevice.md b/docs/EnableDevice.md new file mode 100644 index 00000000..997fc760 --- /dev/null +++ b/docs/EnableDevice.md @@ -0,0 +1,29 @@ +# EnableDevice + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | Whether the device should be enabled or disabled | + +## Example + +```python +from fireblocks.models.enable_device import EnableDevice + +# TODO update the JSON string below +json = "{}" +# create an instance of EnableDevice from a JSON string +enable_device_instance = EnableDevice.from_json(json) +# print the JSON string representation of the object +print(EnableDevice.to_json()) + +# convert the object into a dict +enable_device_dict = enable_device_instance.to_dict() +# create an instance of EnableDevice from a dict +enable_device_from_dict = EnableDevice.from_dict(enable_device_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) + + diff --git a/docs/EnableWallet.md b/docs/EnableWallet.md new file mode 100644 index 00000000..e7a9a83a --- /dev/null +++ b/docs/EnableWallet.md @@ -0,0 +1,29 @@ +# EnableWallet + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **bool** | Whether the wallet should be enabled or disabled | + +## Example + +```python +from fireblocks.models.enable_wallet import EnableWallet + +# TODO update the JSON string below +json = "{}" +# create an instance of EnableWallet from a JSON string +enable_wallet_instance = EnableWallet.from_json(json) +# print the JSON string representation of the object +print(EnableWallet.to_json()) + +# convert the object into a dict +enable_wallet_dict = enable_wallet_instance.to_dict() +# create an instance of EnableWallet from a dict +enable_wallet_from_dict = EnableWallet.from_dict(enable_wallet_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) + + diff --git a/docs/ErrorCodes.md b/docs/ErrorCodes.md deleted file mode 100644 index 5245bce5..00000000 --- a/docs/ErrorCodes.md +++ /dev/null @@ -1,24 +0,0 @@ -# ErrorCodes - - -## Enum - -* `INVALID_TOKEN` (value: `'INVALID_TOKEN'`) - -* `MISSING_PARAMETER` (value: `'MISSING_PARAMETER'`) - -* `INVALID_PARAMETER` (value: `'INVALID_PARAMETER'`) - -* `RESOURCE_NOT_FOUND` (value: `'RESOURCE_NOT_FOUND'`) - -* `INVALID_TIME_RANGE` (value: `'INVALID_TIME_RANGE'`) - -* `UNAUTHORIZED` (value: `'UNAUTHORIZED'`) - -* `ACCOUNT_NOT_ACTIVE` (value: `'ACCOUNT_NOT_ACTIVE'`) - -* `UNMANAGED_WALLET_NOT_APPROVED` (value: `'UNMANAGED_WALLET_NOT_APPROVED'`) - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EthereumBlockchainData.md b/docs/EthereumBlockchainData.md new file mode 100644 index 00000000..7ad0c43e --- /dev/null +++ b/docs/EthereumBlockchainData.md @@ -0,0 +1,30 @@ +# EthereumBlockchainData + +Additional fields per blockchain for Ethereum (ETH) - can be empty or missing if not initialized or no specific data is available. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_compounding_validator** | **bool** | Is the validator compounding (i.e it was created with compounding validator type). | + +## Example + +```python +from fireblocks.models.ethereum_blockchain_data import EthereumBlockchainData + +# TODO update the JSON string below +json = "{}" +# create an instance of EthereumBlockchainData from a JSON string +ethereum_blockchain_data_instance = EthereumBlockchainData.from_json(json) +# print the JSON string representation of the object +print(EthereumBlockchainData.to_json()) + +# convert the object into a dict +ethereum_blockchain_data_dict = ethereum_blockchain_data_instance.to_dict() +# create an instance of EthereumBlockchainData from a dict +ethereum_blockchain_data_from_dict = EthereumBlockchainData.from_dict(ethereum_blockchain_data_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) + + diff --git a/docs/EuropeanSEPAAddress.md b/docs/EuropeanSEPAAddress.md new file mode 100644 index 00000000..9cd3c3f7 --- /dev/null +++ b/docs/EuropeanSEPAAddress.md @@ -0,0 +1,36 @@ +# EuropeanSEPAAddress + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_holder** | [**AccountHolderDetails**](AccountHolderDetails.md) | | +**iban** | **str** | | +**bic** | **str** | | [optional] +**bank_name** | **str** | | [optional] +**bank_branch** | **str** | | [optional] +**bank_address** | **str** | | [optional] +**purpose_code** | **str** | | [optional] +**tax_id** | **str** | | [optional] + +## Example + +```python +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress + +# TODO update the JSON string below +json = "{}" +# create an instance of EuropeanSEPAAddress from a JSON string +european_sepa_address_instance = EuropeanSEPAAddress.from_json(json) +# print the JSON string representation of the object +print(EuropeanSEPAAddress.to_json()) + +# convert the object into a dict +european_sepa_address_dict = european_sepa_address_instance.to_dict() +# create an instance of EuropeanSEPAAddress from a dict +european_sepa_address_from_dict = EuropeanSEPAAddress.from_dict(european_sepa_address_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) + + diff --git a/docs/EuropeanSEPADestination.md b/docs/EuropeanSEPADestination.md new file mode 100644 index 00000000..cbf42749 --- /dev/null +++ b/docs/EuropeanSEPADestination.md @@ -0,0 +1,30 @@ +# EuropeanSEPADestination + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | +**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | + +## Example + +```python +from fireblocks.models.european_sepa_destination import EuropeanSEPADestination + +# TODO update the JSON string below +json = "{}" +# create an instance of EuropeanSEPADestination from a JSON string +european_sepa_destination_instance = EuropeanSEPADestination.from_json(json) +# print the JSON string representation of the object +print(EuropeanSEPADestination.to_json()) + +# convert the object into a dict +european_sepa_destination_dict = european_sepa_destination_instance.to_dict() +# create an instance of EuropeanSEPADestination from a dict +european_sepa_destination_from_dict = EuropeanSEPADestination.from_dict(european_sepa_destination_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) + + diff --git a/docs/ExchangeAccountsApi.md b/docs/ExchangeAccountsApi.md index a3cf91fe..5685f383 100644 --- a/docs/ExchangeAccountsApi.md +++ b/docs/ExchangeAccountsApi.md @@ -5,11 +5,11 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**add_exchange_account**](ExchangeAccountsApi.md#add_exchange_account) | **POST** /exchange_accounts | Add an exchange account -[**convert_assets**](ExchangeAccountsApi.md#convert_assets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. -[**get_exchange_account**](ExchangeAccountsApi.md#get_exchange_account) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account -[**get_exchange_account_asset**](ExchangeAccountsApi.md#get_exchange_account_asset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account +[**convert_assets**](ExchangeAccountsApi.md#convert_assets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds +[**get_exchange_account**](ExchangeAccountsApi.md#get_exchange_account) | **GET** /exchange_accounts/{exchangeAccountId} | Get a specific exchange account +[**get_exchange_account_asset**](ExchangeAccountsApi.md#get_exchange_account_asset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Get an asset for an exchange account [**get_exchange_accounts_credentials_public_key**](ExchangeAccountsApi.md#get_exchange_accounts_credentials_public_key) | **GET** /exchange_accounts/credentials_public_key | Get public key to encrypt exchange credentials -[**get_paged_exchange_accounts**](ExchangeAccountsApi.md#get_paged_exchange_accounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts +[**get_paged_exchange_accounts**](ExchangeAccountsApi.md#get_paged_exchange_accounts) | **GET** /exchange_accounts/paged | List connected exchange accounts [**internal_transfer**](ExchangeAccountsApi.md#internal_transfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts @@ -18,7 +18,12 @@ Method | HTTP request | Description Add an exchange account -Add an exchange account to exchanges. +Add an exchange account to exchanges. + +Note: This endpoint currently only supports the following exchanges `INDEPENDENT_RESERVE`,`BIT`, `BITHUMB`, `BITSO`, `CRYPTOCOM`, `BYBIT_V2`, `WHITEBIT`, `HITBTC`, `GEMINI`, `HUOBI`, `GATEIO`, `COINHAKO`, `BULLISH`, `BITGET`, and `LUNO` + +To add an exchange account, please use the following [guide](https://developers.fireblocks.com/docs/add-an-exchange-account). + ### Example @@ -93,9 +98,11 @@ No authorization required # **convert_assets** > ConvertAssetsResponse convert_assets(exchange_account_id, idempotency_key=idempotency_key, convert_assets_request=convert_assets_request) -Convert exchange account funds from the source asset to the destination asset. +Convert exchange account funds Convert exchange account funds from the source asset to the destination asset. Coinbase (USD to USDC, USDC to USD) and Bitso (MXN to USD) are supported conversions. +Learn more about Fireblocks Exchange Connectivity in the following [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers). +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -128,7 +135,7 @@ with Fireblocks(configuration) as fireblocks: convert_assets_request = fireblocks.ConvertAssetsRequest() # ConvertAssetsRequest | (optional) try: - # Convert exchange account funds from the source asset to the destination asset. + # Convert exchange account funds api_response = fireblocks.exchange_accounts.convert_assets(exchange_account_id, idempotency_key=idempotency_key, convert_assets_request=convert_assets_request).result() print("The response of ExchangeAccountsApi->convert_assets:\n") pprint(api_response) @@ -172,9 +179,10 @@ No authorization required # **get_exchange_account** > ExchangeAccount get_exchange_account(exchange_account_id) -Find a specific exchange account +Get a specific exchange account Returns an exchange account by ID. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -204,7 +212,7 @@ with Fireblocks(configuration) as fireblocks: exchange_account_id = 'exchange_account_id_example' # str | The ID of the exchange account to return try: - # Find a specific exchange account + # Get a specific exchange account api_response = fireblocks.exchange_accounts.get_exchange_account(exchange_account_id).result() print("The response of ExchangeAccountsApi->get_exchange_account:\n") pprint(api_response) @@ -246,9 +254,10 @@ No authorization required # **get_exchange_account_asset** > ExchangeAsset get_exchange_account_asset(exchange_account_id, asset_id) -Find an asset for an exchange account +Get an asset for an exchange account Returns an asset for an exchange account. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -279,7 +288,7 @@ with Fireblocks(configuration) as fireblocks: asset_id = 'asset_id_example' # str | The ID of the asset to return try: - # Find an asset for an exchange account + # Get an asset for an exchange account api_response = fireblocks.exchange_accounts.get_exchange_account_asset(exchange_account_id, asset_id).result() print("The response of ExchangeAccountsApi->get_exchange_account_asset:\n") pprint(api_response) @@ -392,9 +401,9 @@ No authorization required # **get_paged_exchange_accounts** > GetPagedExchangeAccountsResponse get_paged_exchange_accounts(limit, before=before, after=after) -Pagination list exchange accounts +List connected exchange accounts -Returns a page include exchange accounts. +Returns a list of the connected exchange accounts in your workspace.
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -426,7 +435,7 @@ with Fireblocks(configuration) as fireblocks: after = 'after_example' # str | (optional) try: - # Pagination list exchange accounts + # List connected exchange accounts api_response = fireblocks.exchange_accounts.get_paged_exchange_accounts(limit, before=before, after=after).result() print("The response of ExchangeAccountsApi->get_paged_exchange_accounts:\n") pprint(api_response) @@ -473,6 +482,8 @@ No authorization required Internal transfer for exchange accounts Transfers funds between trading accounts under the same exchange account. +Learn more about Fireblocks Exchange Connectivity in the following [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers). +
Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ExecutionRequestBaseDetails.md b/docs/ExecutionRequestBaseDetails.md index 8c003190..dfd636e7 100644 --- a/docs/ExecutionRequestBaseDetails.md +++ b/docs/ExecutionRequestBaseDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**side** | **str** | Side of the order | [default to 'BUY'] +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/ExecutionRequestDetails.md b/docs/ExecutionRequestDetails.md index 18b8fa7b..7c7b8243 100644 --- a/docs/ExecutionRequestDetails.md +++ b/docs/ExecutionRequestDetails.md @@ -6,10 +6,8 @@ Order execution details Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for limit orders | -**time_in_force** | [**TimeInForce**](TimeInForce.md) | | -**limit_price** | **str** | Price for limit orders | -**side** | **str** | Side of the order | [default to 'BUY'] +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/ExecutionResponseBaseDetails.md b/docs/ExecutionResponseBaseDetails.md index 2e91942a..aabbfa85 100644 --- a/docs/ExecutionResponseBaseDetails.md +++ b/docs/ExecutionResponseBaseDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**side** | **str** | Side of the order | [default to 'BUY'] +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/ExecutionResponseDetails.md b/docs/ExecutionResponseDetails.md index ceb14874..51a7c76e 100644 --- a/docs/ExecutionResponseDetails.md +++ b/docs/ExecutionResponseDetails.md @@ -5,10 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for limit orders | -**time_in_force** | [**TimeInForce**](TimeInForce.md) | | -**limit_price** | **str** | Price for limit orders | -**side** | **str** | Side of the order | [default to 'BUY'] +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/ExternalAccount.md b/docs/ExternalAccount.md index 3074808e..94b3a58c 100644 --- a/docs/ExternalAccount.md +++ b/docs/ExternalAccount.md @@ -5,7 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**ExternalAccountType**](ExternalAccountType.md) | | +**sender_information** | [**ExternalAccountSenderInformation**](ExternalAccountSenderInformation.md) | | [optional] ## Example diff --git a/docs/ExternalAccountLocalBankAfrica.md b/docs/ExternalAccountLocalBankAfrica.md new file mode 100644 index 00000000..d42e65e3 --- /dev/null +++ b/docs/ExternalAccountLocalBankAfrica.md @@ -0,0 +1,32 @@ +# ExternalAccountLocalBankAfrica + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | [**ExternalAccountLocalBankAfricaType**](ExternalAccountLocalBankAfricaType.md) | | +**account_number** | **str** | | +**bank_name** | **str** | Name of the bank | +**bank_code** | **str** | Internal bank identifier | + +## Example + +```python +from fireblocks.models.external_account_local_bank_africa import ExternalAccountLocalBankAfrica + +# TODO update the JSON string below +json = "{}" +# create an instance of ExternalAccountLocalBankAfrica from a JSON string +external_account_local_bank_africa_instance = ExternalAccountLocalBankAfrica.from_json(json) +# print the JSON string representation of the object +print(ExternalAccountLocalBankAfrica.to_json()) + +# convert the object into a dict +external_account_local_bank_africa_dict = external_account_local_bank_africa_instance.to_dict() +# create an instance of ExternalAccountLocalBankAfrica from a dict +external_account_local_bank_africa_from_dict = ExternalAccountLocalBankAfrica.from_dict(external_account_local_bank_africa_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) + + diff --git a/docs/ExternalAccountLocalBankAfricaType.md b/docs/ExternalAccountLocalBankAfricaType.md new file mode 100644 index 00000000..6559c395 --- /dev/null +++ b/docs/ExternalAccountLocalBankAfricaType.md @@ -0,0 +1,10 @@ +# ExternalAccountLocalBankAfricaType + + +## Enum + +* `LOCAL_BANK_AFRICA_RAIL` (value: `'LOCAL_BANK_AFRICA_RAIL'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExternalAccountMobileMoney.md b/docs/ExternalAccountMobileMoney.md new file mode 100644 index 00000000..8b241d2b --- /dev/null +++ b/docs/ExternalAccountMobileMoney.md @@ -0,0 +1,32 @@ +# ExternalAccountMobileMoney + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | [**ExternalAccountMobileMoneyType**](ExternalAccountMobileMoneyType.md) | | +**mobile_phone_number** | **str** | Mobile phone number in E.164 format | +**provider** | [**ExternalAccountMobileMoneyProvider**](ExternalAccountMobileMoneyProvider.md) | | +**email** | **str** | | + +## Example + +```python +from fireblocks.models.external_account_mobile_money import ExternalAccountMobileMoney + +# TODO update the JSON string below +json = "{}" +# create an instance of ExternalAccountMobileMoney from a JSON string +external_account_mobile_money_instance = ExternalAccountMobileMoney.from_json(json) +# print the JSON string representation of the object +print(ExternalAccountMobileMoney.to_json()) + +# convert the object into a dict +external_account_mobile_money_dict = external_account_mobile_money_instance.to_dict() +# create an instance of ExternalAccountMobileMoney from a dict +external_account_mobile_money_from_dict = ExternalAccountMobileMoney.from_dict(external_account_mobile_money_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) + + diff --git a/docs/ExternalAccountMobileMoneyProvider.md b/docs/ExternalAccountMobileMoneyProvider.md new file mode 100644 index 00000000..c808ef43 --- /dev/null +++ b/docs/ExternalAccountMobileMoneyProvider.md @@ -0,0 +1,18 @@ +# ExternalAccountMobileMoneyProvider + + +## Enum + +* `M_PESA` (value: `'M_PESA'`) + +* `AIRTEL` (value: `'AIRTEL'`) + +* `MTN` (value: `'MTN'`) + +* `TIGO` (value: `'TIGO'`) + +* `ORANGE` (value: `'ORANGE'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExternalAccountMobileMoneyType.md b/docs/ExternalAccountMobileMoneyType.md new file mode 100644 index 00000000..794e7662 --- /dev/null +++ b/docs/ExternalAccountMobileMoneyType.md @@ -0,0 +1,10 @@ +# ExternalAccountMobileMoneyType + + +## Enum + +* `MOBILE_MONEY_RAIL` (value: `'MOBILE_MONEY_RAIL'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExternalAccountSenderInformation.md b/docs/ExternalAccountSenderInformation.md new file mode 100644 index 00000000..7e648051 --- /dev/null +++ b/docs/ExternalAccountSenderInformation.md @@ -0,0 +1,36 @@ +# ExternalAccountSenderInformation + +Additional data for the external account, depending on the type used. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | [**ExternalAccountLocalBankAfricaType**](ExternalAccountLocalBankAfricaType.md) | | +**mobile_phone_number** | **str** | Mobile phone number in E.164 format | +**provider** | [**ExternalAccountMobileMoneyProvider**](ExternalAccountMobileMoneyProvider.md) | | +**email** | **str** | | +**account_number** | **str** | | +**bank_name** | **str** | Name of the bank | +**bank_code** | **str** | Internal bank identifier | + +## Example + +```python +from fireblocks.models.external_account_sender_information import ExternalAccountSenderInformation + +# TODO update the JSON string below +json = "{}" +# create an instance of ExternalAccountSenderInformation from a JSON string +external_account_sender_information_instance = ExternalAccountSenderInformation.from_json(json) +# print the JSON string representation of the object +print(ExternalAccountSenderInformation.to_json()) + +# convert the object into a dict +external_account_sender_information_dict = external_account_sender_information_instance.to_dict() +# create an instance of ExternalAccountSenderInformation from a dict +external_account_sender_information_from_dict = ExternalAccountSenderInformation.from_dict(external_account_sender_information_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) + + diff --git a/docs/ExternalAccountType.md b/docs/ExternalAccountType.md new file mode 100644 index 00000000..a240a0d5 --- /dev/null +++ b/docs/ExternalAccountType.md @@ -0,0 +1,10 @@ +# ExternalAccountType + + +## Enum + +* `EXTERNAL` (value: `'EXTERNAL'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ExternalWalletsApi.md b/docs/ExternalWalletsApi.md index 4170eb47..0b2d56f8 100644 --- a/docs/ExternalWalletsApi.md +++ b/docs/ExternalWalletsApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description Add an asset to an external wallet. -Adds an asset to an existing external wallet. +Adds an asset to an existing external wallet.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -102,6 +102,12 @@ Create an external wallet Creates a new external wallet with the requested name. +External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties. + +- You cannot see the balance of the external wallet. +- You cannot initiate transactions from an external wallet as the source via Fireblocks. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + ### Example @@ -177,7 +183,7 @@ No authorization required Delete an external wallet -Deletes an external wallet by ID. +Deletes an external wallet by ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -247,7 +253,7 @@ No authorization required Find an external wallet -Returns an external wallet by ID. +Returns an external wallet by ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -321,7 +327,7 @@ No authorization required Get an asset from an external wallet -Returns an external wallet by wallet ID and asset ID. +Returns an external wallet by wallet ID and asset ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -399,6 +405,12 @@ List external wallets Gets a list of external wallets under the workspace. +External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties. + +- You cannot see the balance of the external wallet. +- You cannot initiate transactions from an external wallet as the source via Fireblocks. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + ### Example @@ -467,7 +479,7 @@ No authorization required Delete an asset from an external wallet -Deletes an external wallet asset by ID. +Deletes an external wallet asset by ID.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -539,7 +551,7 @@ No authorization required Set an AML customer reference ID for an external wallet -Sets an AML/KYT customer reference ID for the specific external wallet. +Sets an AML/KYT customer reference ID for the specific external wallet. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/Version.md b/docs/Failure.md similarity index 54% rename from docs/Version.md rename to docs/Failure.md index ac419385..fdf0ac07 100644 --- a/docs/Version.md +++ b/docs/Failure.md @@ -1,28 +1,28 @@ -# Version +# Failure ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hash** | **str** | The version hash of the cosigner | +**reason** | [**FailureReason**](FailureReason.md) | | ## Example ```python -from fireblocks.models.version import Version +from fireblocks.models.failure import Failure # TODO update the JSON string below json = "{}" -# create an instance of Version from a JSON string -version_instance = Version.from_json(json) +# create an instance of Failure from a JSON string +failure_instance = Failure.from_json(json) # print the JSON string representation of the object -print(Version.to_json()) +print(Failure.to_json()) # convert the object into a dict -version_dict = version_instance.to_dict() -# create an instance of Version from a dict -version_from_dict = Version.from_dict(version_dict) +failure_dict = failure_instance.to_dict() +# create an instance of Failure from a dict +failure_from_dict = Failure.from_dict(failure_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) diff --git a/docs/FailureReason.md b/docs/FailureReason.md new file mode 100644 index 00000000..325021cc --- /dev/null +++ b/docs/FailureReason.md @@ -0,0 +1,44 @@ +# FailureReason + + +## Enum + +* `INSUFFICIENT_FUNDS` (value: `'INSUFFICIENT_FUNDS'`) + +* `UNKNOWN_REASON` (value: `'UNKNOWN_REASON'`) + +* `INITIATE_PAYMENT_FAILURE` (value: `'INITIATE_PAYMENT_FAILURE'`) + +* `POLICY_REJECTION` (value: `'POLICY_REJECTION'`) + +* `TRANSACTION_FAILED` (value: `'TRANSACTION_FAILED'`) + +* `ACCOUNT_NOT_ACTIVE` (value: `'ACCOUNT_NOT_ACTIVE'`) + +* `ACCOUNT_NOT_FOUND` (value: `'ACCOUNT_NOT_FOUND'`) + +* `BAD_REQUEST` (value: `'BAD_REQUEST'`) + +* `QUOTE_NOT_READY` (value: `'QUOTE_NOT_READY'`) + +* `INVALID_DATA` (value: `'INVALID_DATA'`) + +* `UNSUPPORTED_CONVERSION` (value: `'UNSUPPORTED_CONVERSION'`) + +* `UNSUPPORTED_RAMP_METHOD` (value: `'UNSUPPORTED_RAMP_METHOD'`) + +* `REFUNDED` (value: `'REFUNDED'`) + +* `FAILED_BY_PROVIDER` (value: `'FAILED_BY_PROVIDER'`) + +* `ORDER_EXPIRED` (value: `'ORDER_EXPIRED'`) + +* `TRANSACTION_CANCELLED` (value: `'TRANSACTION_CANCELLED'`) + +* `TRANSACTION_REJECTED` (value: `'TRANSACTION_REJECTED'`) + +* `TRANSACTION_BLOCKED` (value: `'TRANSACTION_BLOCKED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Fee.md b/docs/Fee.md index 4f9b39a9..258169b2 100644 --- a/docs/Fee.md +++ b/docs/Fee.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fee_type** | **str** | The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. | +**fee_type** | [**FeeTypeEnum**](FeeTypeEnum.md) | | **asset_id** | **str** | The asset identifier for the fee. | **amount_type** | **str** | | **amount** | **float** | Fee in basis points (1 = 0.01%, 10000 = 100%) | diff --git a/docs/FeePropertiesDetails.md b/docs/FeePropertiesDetails.md index e983e842..5e824278 100644 --- a/docs/FeePropertiesDetails.md +++ b/docs/FeePropertiesDetails.md @@ -5,9 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fee_type** | **str** | The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. | +**fee_type** | [**FeeTypeEnum**](FeeTypeEnum.md) | | **asset_id** | **str** | The asset identifier for the fee. | -**amount_type** | **str** | The type of amount for the fee, either FIXED or BPS (basis points). | ## Example diff --git a/docs/FeeTypeEnum.md b/docs/FeeTypeEnum.md new file mode 100644 index 00000000..a3ac7258 --- /dev/null +++ b/docs/FeeTypeEnum.md @@ -0,0 +1,17 @@ +# FeeTypeEnum + +The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. REBATE - Negative fee returned to the user as a reward or incentive. + +## Enum + +* `ORDER` (value: `'ORDER'`) + +* `NETWORK` (value: `'NETWORK'`) + +* `SPREAD` (value: `'SPREAD'`) + +* `REBATE` (value: `'REBATE'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FiatAccountsApi.md b/docs/FiatAccountsApi.md index 3a18b613..ac2c01e1 100644 --- a/docs/FiatAccountsApi.md +++ b/docs/FiatAccountsApi.md @@ -95,6 +95,7 @@ No authorization required Find a specific fiat account Returns a fiat account by ID. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -169,6 +170,7 @@ No authorization required List fiat accounts Returns all fiat accounts. +
Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/FiatDestination.md b/docs/FiatDestination.md index e3df9c0e..89f645db 100644 --- a/docs/FiatDestination.md +++ b/docs/FiatDestination.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **str** | | -**address** | [**MobileMoneyAddress**](MobileMoneyAddress.md) | | +**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | ## Example diff --git a/docs/FiatPaymentMetadata.md b/docs/FiatPaymentMetadata.md new file mode 100644 index 00000000..846637bb --- /dev/null +++ b/docs/FiatPaymentMetadata.md @@ -0,0 +1,29 @@ +# FiatPaymentMetadata + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reference_id** | **str** | | [optional] + +## Example + +```python +from fireblocks.models.fiat_payment_metadata import FiatPaymentMetadata + +# TODO update the JSON string below +json = "{}" +# create an instance of FiatPaymentMetadata from a JSON string +fiat_payment_metadata_instance = FiatPaymentMetadata.from_json(json) +# print the JSON string representation of the object +print(FiatPaymentMetadata.to_json()) + +# convert the object into a dict +fiat_payment_metadata_dict = fiat_payment_metadata_instance.to_dict() +# create an instance of FiatPaymentMetadata from a dict +fiat_payment_metadata_from_dict = FiatPaymentMetadata.from_dict(fiat_payment_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) + + diff --git a/docs/FixedAmountTypeEnum.md b/docs/FixedAmountTypeEnum.md new file mode 100644 index 00000000..63796536 --- /dev/null +++ b/docs/FixedAmountTypeEnum.md @@ -0,0 +1,11 @@ +# FixedAmountTypeEnum + +The type of amount for the fee, indicating a fixed amount. + +## Enum + +* `FIXED` (value: `'FIXED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/FixedFee.md b/docs/FixedFee.md index ab67d00d..fd0fac0a 100644 --- a/docs/FixedFee.md +++ b/docs/FixedFee.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount_type** | **str** | | +**amount_type** | [**FixedAmountTypeEnum**](FixedAmountTypeEnum.md) | | **amount** | **str** | The fixed amount of the fee | ## Example diff --git a/docs/GasStationsApi.md b/docs/GasStationsApi.md index 992c4536..3a7a1392 100644 --- a/docs/GasStationsApi.md +++ b/docs/GasStationsApi.md @@ -16,6 +16,7 @@ Method | HTTP request | Description Get gas station settings by asset Returns gas station settings and balances for a requested asset. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -90,6 +91,7 @@ No authorization required Get gas station settings Returns gas station settings and ETH balance. +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -160,6 +162,8 @@ No authorization required Edit gas station settings Configures gas station settings for ETH. +Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -237,6 +241,8 @@ No authorization required Edit gas station settings for an asset Configures gas station settings for a requested asset. +Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/GetMaxBipIndexUsedResponse.md b/docs/GetMaxBipIndexUsedResponse.md new file mode 100644 index 00000000..be06daed --- /dev/null +++ b/docs/GetMaxBipIndexUsedResponse.md @@ -0,0 +1,30 @@ +# GetMaxBipIndexUsedResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max_bip44_address_index_used** | **int** | The maximum BIP44 address index used for the vault account and asset | [optional] +**max_bip44_change_address_index_used** | **int** | The maximum BIP44 change address index used for the vault account and asset | [optional] + +## Example + +```python +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of GetMaxBipIndexUsedResponse from a JSON string +get_max_bip_index_used_response_instance = GetMaxBipIndexUsedResponse.from_json(json) +# print the JSON string representation of the object +print(GetMaxBipIndexUsedResponse.to_json()) + +# convert the object into a dict +get_max_bip_index_used_response_dict = get_max_bip_index_used_response_instance.to_dict() +# create an instance of GetMaxBipIndexUsedResponse from a dict +get_max_bip_index_used_response_from_dict = GetMaxBipIndexUsedResponse.from_dict(get_max_bip_index_used_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) + + diff --git a/docs/Identification.md b/docs/Identification.md index 4283e7db..6074a659 100644 --- a/docs/Identification.md +++ b/docs/Identification.md @@ -6,11 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **external_reference_id** | **str** | | -**entity_type** | **str** | | +**entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | **participant_relationship_type** | [**ParticipantRelationshipType**](ParticipantRelationshipType.md) | | **full_name** | [**PersonalIdentificationFullName**](PersonalIdentificationFullName.md) | | **date_of_birth** | **date** | | **postal_address** | [**PostalAddress**](PostalAddress.md) | | +**email** | **str** | | [optional] +**phone** | **str** | Mobile phone number in E.164 format | [optional] **business_name** | **str** | | **registration_number** | **str** | | diff --git a/docs/IndicativeQuoteEnum.md b/docs/IndicativeQuoteEnum.md new file mode 100644 index 00000000..39904e97 --- /dev/null +++ b/docs/IndicativeQuoteEnum.md @@ -0,0 +1,11 @@ +# IndicativeQuoteEnum + +Indicates this is an indicative quote + +## Enum + +* `INDICATIVE` (value: `'INDICATIVE'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/IndicativeQuoteType.md b/docs/IndicativeQuoteType.md index d1785f23..5984e28b 100644 --- a/docs/IndicativeQuoteType.md +++ b/docs/IndicativeQuoteType.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Indicates this is an indicative quote | +**type** | [**IndicativeQuoteEnum**](IndicativeQuoteEnum.md) | | ## Example diff --git a/docs/InternalWalletsApi.md b/docs/InternalWalletsApi.md index b33b02b1..7782a661 100644 --- a/docs/InternalWalletsApi.md +++ b/docs/InternalWalletsApi.md @@ -8,11 +8,11 @@ Method | HTTP request | Description [**create_internal_wallet_asset**](InternalWalletsApi.md#create_internal_wallet_asset) | **POST** /internal_wallets/{walletId}/{assetId} | Add an asset to an internal wallet [**delete_internal_wallet**](InternalWalletsApi.md#delete_internal_wallet) | **DELETE** /internal_wallets/{walletId} | Delete an internal wallet [**delete_internal_wallet_asset**](InternalWalletsApi.md#delete_internal_wallet_asset) | **DELETE** /internal_wallets/{walletId}/{assetId} | Delete a whitelisted address -[**get_internal_wallet**](InternalWalletsApi.md#get_internal_wallet) | **GET** /internal_wallets/{walletId} | Get an asset from an internal wallet +[**get_internal_wallet**](InternalWalletsApi.md#get_internal_wallet) | **GET** /internal_wallets/{walletId} | Get assets for internal wallet [**get_internal_wallet_asset**](InternalWalletsApi.md#get_internal_wallet_asset) | **GET** /internal_wallets/{walletId}/{assetId} | Get an asset from an internal wallet [**get_internal_wallet_assets_paginated**](InternalWalletsApi.md#get_internal_wallet_assets_paginated) | **GET** /internal_wallets/{walletId}/assets | List assets in an internal wallet (Paginated) [**get_internal_wallets**](InternalWalletsApi.md#get_internal_wallets) | **GET** /internal_wallets | List internal wallets -[**set_customer_ref_id_for_internal_wallet**](InternalWalletsApi.md#set_customer_ref_id_for_internal_wallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for an internal wallet +[**set_customer_ref_id_for_internal_wallet**](InternalWalletsApi.md#set_customer_ref_id_for_internal_wallet) | **POST** /internal_wallets/{walletId}/set_customer_ref_id | Set an AML/KYT customer reference ID for internal wallet # **create_internal_wallet** @@ -21,11 +21,8 @@ Method | HTTP request | Description Create an internal wallet Creates a new internal wallet with the requested name. - Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - ### Example @@ -103,16 +100,6 @@ Add an asset to an internal wallet Adds an asset to an existing internal wallet. -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - - Learn more about Whitelisted Internal Addresses -[here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - ### Example @@ -193,12 +180,6 @@ No authorization required Delete an internal wallet Deletes an internal wallet by ID. -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -270,15 +251,6 @@ Delete a whitelisted address Deletes a whitelisted address (for an asset) from an internal wallet. -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - ### Example @@ -347,18 +319,9 @@ No authorization required # **get_internal_wallet** > UnmanagedWallet get_internal_wallet(wallet_id) -Get an asset from an internal wallet - -Returns information for an asset in an internal wallet. - -This endpoint will be deprecated after 6 months.
As part of the depreciation process this endpoint will no longer return balances, only addresses.
Until it is deprecated, this endpoint will behave the same way. - -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks +Get assets for internal wallet -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +Returns information for an internal wallet. ### Example @@ -388,7 +351,7 @@ with Fireblocks(configuration) as fireblocks: wallet_id = 'wallet_id_example' # str | The ID of the wallet to return try: - # Get an asset from an internal wallet + # Get assets for internal wallet api_response = fireblocks.internal_wallets.get_internal_wallet(wallet_id).result() print("The response of InternalWalletsApi->get_internal_wallet:\n") pprint(api_response) @@ -434,15 +397,6 @@ Get an asset from an internal wallet Returns information for an asset in an internal wallet. -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. - ### Example @@ -519,17 +473,6 @@ List assets in an internal wallet (Paginated) Returns a paginated response of assets in an internal wallet. -This is a new paginated endpoint that gets all the assets from the wallet container with balances.
This endpoint returns a limited amount of results with a quick response time. - -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. - ### Example @@ -608,21 +551,6 @@ List internal wallets Gets a list of internal wallets. - **Note**: -- BTC-based assets belonging to whitelisted addresses cannot be - retrieved between 00:00 UTC and 00:01 UTC daily due to third-party - provider, Blockchain, being unavailable for this 60 second period. -
Please wait until the next minute to retrieve BTC-based assets. -- The list of assets returned will NOT include the balances anymore. - -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -690,19 +618,10 @@ No authorization required # **set_customer_ref_id_for_internal_wallet** > set_customer_ref_id_for_internal_wallet(wallet_id, set_customer_ref_id_request, idempotency_key=idempotency_key) -Set an AML/KYT customer reference ID for an internal wallet +Set an AML/KYT customer reference ID for internal wallet Sets an AML/KYT customer reference ID for the specific internal wallet. -Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - - - You can see the balance of the Internal Wallet via Fireblocks - - You cannot initiate transactions from Internal Wallets through Fireblocks - -Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) - -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - ### Example @@ -732,7 +651,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Set an AML/KYT customer reference ID for an internal wallet + # Set an AML/KYT customer reference ID for internal wallet fireblocks.internal_wallets.set_customer_ref_id_for_internal_wallet(wallet_id, set_customer_ref_id_request, idempotency_key=idempotency_key).result() except Exception as e: print("Exception when calling InternalWalletsApi->set_customer_ref_id_for_internal_wallet: %s\n" % e) diff --git a/docs/Job.md b/docs/Job.md deleted file mode 100644 index 3b36f9bd..00000000 --- a/docs/Job.md +++ /dev/null @@ -1,36 +0,0 @@ -# Job - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**tenant_id** | **str** | | [optional] -**type** | **str** | | [optional] -**user_id** | **str** | | [optional] -**created** | **float** | | [optional] -**updated** | **float** | | [optional] -**state** | **str** | | [optional] -**tasks** | [**List[Task]**](Task.md) | | [optional] - -## Example - -```python -from fireblocks.models.job import Job - -# TODO update the JSON string below -json = "{}" -# create an instance of Job from a JSON string -job_instance = Job.from_json(json) -# print the JSON string representation of the object -print(Job.to_json()) - -# convert the object into a dict -job_dict = job_instance.to_dict() -# create an instance of Job from a dict -job_from_dict = Job.from_dict(job_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) - - diff --git a/docs/JobManagementApi.md b/docs/JobManagementApi.md deleted file mode 100644 index 68d0dde5..00000000 --- a/docs/JobManagementApi.md +++ /dev/null @@ -1,454 +0,0 @@ -# fireblocks.JobManagementApi - -All URIs are relative to *https://api.fireblocks.io/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**cancel_job**](JobManagementApi.md#cancel_job) | **POST** /batch/{jobId}/cancel | Cancel a running job -[**continue_job**](JobManagementApi.md#continue_job) | **POST** /batch/{jobId}/continue | Continue a paused job -[**get_job**](JobManagementApi.md#get_job) | **GET** /batch/{jobId} | Get job details -[**get_job_tasks**](JobManagementApi.md#get_job_tasks) | **GET** /batch/{jobId}/tasks | Return a list of tasks for given job -[**get_jobs**](JobManagementApi.md#get_jobs) | **GET** /batch/jobs | Return a list of jobs belonging to tenant -[**pause_job**](JobManagementApi.md#pause_job) | **POST** /batch/{jobId}/pause | Pause a job - - -# **cancel_job** -> cancel_job(job_id, idempotency_key=idempotency_key) - -Cancel a running job - -Stop the given job immediately. If the job is in the 'Active' state, the job will be canceled after completing the current task. Vault accounts and Wallets that are already created will not be affected. - -### Example - - -```python -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - job_id = 'job_id_example' # str | The requested job id - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # Cancel a running job - fireblocks.job_management.cancel_job(job_id, idempotency_key=idempotency_key).result() - except Exception as e: - print("Exception when calling JobManagementApi->cancel_job: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The requested job id | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | canceled successfully | - | -**0** | Error Response | * X-Request-ID -
| - -[[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) - -# **continue_job** -> continue_job(job_id, idempotency_key=idempotency_key) - -Continue a paused job - -Continue the given paused job. - -### Example - - -```python -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - job_id = 'job_id_example' # str | The requested job id - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # Continue a paused job - fireblocks.job_management.continue_job(job_id, idempotency_key=idempotency_key).result() - except Exception as e: - print("Exception when calling JobManagementApi->continue_job: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The requested job id | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | continued successfully | - | -**0** | Error Response | * X-Request-ID -
| - -[[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_job** -> Job get_job(job_id) - -Get job details - -Get an object describing the given job - -### Example - - -```python -from fireblocks.models.job import Job -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath -from pprint import pprint - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - job_id = 'job_id_example' # str | The requested job id - - try: - # Get job details - api_response = fireblocks.job_management.get_job(job_id).result() - print("The response of JobManagementApi->get_job:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling JobManagementApi->get_job: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The requested job id | - -### Return type - -[**Job**](Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A JSON object that describes the job | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[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_job_tasks** -> List[Task] get_job_tasks(job_id) - -Return a list of tasks for given job - -Return a list of tasks for given job - -### Example - - -```python -from fireblocks.models.task import Task -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath -from pprint import pprint - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - job_id = 'job_id_example' # str | The requested job id - - try: - # Return a list of tasks for given job - api_response = fireblocks.job_management.get_job_tasks(job_id).result() - print("The response of JobManagementApi->get_job_tasks:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling JobManagementApi->get_job_tasks: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The requested job id | - -### Return type - -[**List[Task]**](Task.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | An array of tasks | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[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_jobs** -> List[Job] get_jobs(from_time=from_time, to_time=to_time) - -Return a list of jobs belonging to tenant - -Get an array of objects including all active, paused, canceled, and complete jobs in a workspace. - -### Example - - -```python -from fireblocks.models.job import Job -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath -from pprint import pprint - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - from_time = 56 # int | Start of time range in ms since 1970 (optional) - to_time = 56 # int | End of time range in ms since 1970 (optional) - - try: - # Return a list of jobs belonging to tenant - api_response = fireblocks.job_management.get_jobs(from_time=from_time, to_time=to_time).result() - print("The response of JobManagementApi->get_jobs:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling JobManagementApi->get_jobs: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **from_time** | **int**| Start of time range in ms since 1970 | [optional] - **to_time** | **int**| End of time range in ms since 1970 | [optional] - -### Return type - -[**List[Job]**](Job.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | An array of jobs | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[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) - -# **pause_job** -> pause_job(job_id, idempotency_key=idempotency_key) - -Pause a job - -Pause the given job, after the current task is done. A paused job can later be resumed by calling 'continue', or canceled. - -### Example - - -```python -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - job_id = 'job_id_example' # str | The requested job id - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # Pause a job - fireblocks.job_management.pause_job(job_id, idempotency_key=idempotency_key).result() - except Exception as e: - print("Exception when calling JobManagementApi->pause_job: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The requested job id | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | paused successfully | - | -**0** | Error Response | * X-Request-ID -
| - -[[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) - diff --git a/docs/KeyLinkBetaApi.md b/docs/KeyLinkBetaApi.md index b8ce9d26..9aa203d2 100644 --- a/docs/KeyLinkBetaApi.md +++ b/docs/KeyLinkBetaApi.md @@ -11,8 +11,8 @@ Method | HTTP request | Description [**get_signing_keys_list**](KeyLinkBetaApi.md#get_signing_keys_list) | **GET** /key_link/signing_keys | Get list of signing keys [**get_validation_key**](KeyLinkBetaApi.md#get_validation_key) | **GET** /key_link/validation_keys/{keyId} | Get a validation key by `keyId` [**get_validation_keys_list**](KeyLinkBetaApi.md#get_validation_keys_list) | **GET** /key_link/validation_keys | Get list of registered validation keys -[**set_agent_id**](KeyLinkBetaApi.md#set_agent_id) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` -[**update_signing_key**](KeyLinkBetaApi.md#update_signing_key) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing by Fireblocks provided `keyId` +[**set_agent_id**](KeyLinkBetaApi.md#set_agent_id) | **PATCH** /key_link/signing_keys/{keyId}/agent_user_id | Set agent user id +[**update_signing_key**](KeyLinkBetaApi.md#update_signing_key) | **PATCH** /key_link/signing_keys/{keyId} | Modify the signing keyId # **create_signing_key** @@ -21,10 +21,6 @@ Method | HTTP request | Description Add a new signing key Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -102,10 +98,6 @@ No authorization required Add a new validation key Adds a new validation key used to validate signing keys. The new validation key will undergo an approval process by the workspace quorum. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -183,10 +175,6 @@ No authorization required Disables a validation key Allows disabling validation key even if it has not expired yet. It is not allowed to enable the validation key back. Another key has to be used for future validations. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -263,11 +251,7 @@ No authorization required Get a signing key by `keyId` -Returns a signing key if it exists, identified by the specified Fireblocks provided `keyId`. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. +Returns a signing key if it exists, identified by the specified `keyId`. ### Example @@ -342,10 +326,6 @@ No authorization required Get list of signing keys Returns the list of signing keys in the workspace -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -440,10 +420,6 @@ No authorization required Get a validation key by `keyId` Returns a validation key if it exists, identified by the specified `keyId`. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -518,10 +494,6 @@ No authorization required Get list of registered validation keys Returns the list of validation keys in the workspace -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -599,13 +571,9 @@ No authorization required # **set_agent_id** > set_agent_id(key_id, modify_signing_key_agent_id_dto) -Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` +Set agent user id Can modify existing signing key id if the key is not enabled. The change done in background and will be visible once applied. If key is already enabled (after proof of ownership) the user cannot be changed. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -635,7 +603,7 @@ with Fireblocks(configuration) as fireblocks: modify_signing_key_agent_id_dto = fireblocks.ModifySigningKeyAgentIdDto() # ModifySigningKeyAgentIdDto | try: - # Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` + # Set agent user id fireblocks.key_link_beta.set_agent_id(key_id, modify_signing_key_agent_id_dto).result() except Exception as e: print("Exception when calling KeyLinkBetaApi->set_agent_id: %s\n" % e) @@ -676,13 +644,9 @@ No authorization required # **update_signing_key** > SigningKeyDto update_signing_key(key_id, modify_signing_key_dto) -Modify the signing by Fireblocks provided `keyId` +Modify the signing keyId Allows assigning the signing key to a vault account, if it hasn't been assigned to any other vault accounts yet. -Please note that this endpoint is available only for Key Link enabled workspaces. -**Note:** -This endpoint is currently in beta and might be subject to changes. -If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example @@ -714,7 +678,7 @@ with Fireblocks(configuration) as fireblocks: modify_signing_key_dto = fireblocks.ModifySigningKeyDto() # ModifySigningKeyDto | try: - # Modify the signing by Fireblocks provided `keyId` + # Modify the signing keyId api_response = fireblocks.key_link_beta.update_signing_key(key_id, modify_signing_key_dto).result() print("The response of KeyLinkBetaApi->update_signing_key:\n") pprint(api_response) diff --git a/docs/LimitExecutionRequestDetails.md b/docs/LimitExecutionRequestDetails.md deleted file mode 100644 index 1e2d9731..00000000 --- a/docs/LimitExecutionRequestDetails.md +++ /dev/null @@ -1,37 +0,0 @@ -# LimitExecutionRequestDetails - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | Order type for limit orders | -**time_in_force** | [**TimeInForce**](TimeInForce.md) | | -**limit_price** | **str** | Price for limit orders | -**side** | **str** | Side of the order | [default to 'BUY'] -**base_amount** | **str** | Amount to convert | -**base_asset_id** | **str** | Source asset identifier | -**base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] -**quote_asset_id** | **str** | Target asset identifier | -**quote_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] - -## Example - -```python -from fireblocks.models.limit_execution_request_details import LimitExecutionRequestDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of LimitExecutionRequestDetails from a JSON string -limit_execution_request_details_instance = LimitExecutionRequestDetails.from_json(json) -# print the JSON string representation of the object -print(LimitExecutionRequestDetails.to_json()) - -# convert the object into a dict -limit_execution_request_details_dict = limit_execution_request_details_instance.to_dict() -# create an instance of LimitExecutionRequestDetails from a dict -limit_execution_request_details_from_dict = LimitExecutionRequestDetails.from_dict(limit_execution_request_details_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) - - diff --git a/docs/LimitExecutionResponseDetails.md b/docs/LimitExecutionResponseDetails.md deleted file mode 100644 index 88d0a6fd..00000000 --- a/docs/LimitExecutionResponseDetails.md +++ /dev/null @@ -1,37 +0,0 @@ -# LimitExecutionResponseDetails - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | Order type for limit orders | -**time_in_force** | [**TimeInForce**](TimeInForce.md) | | -**limit_price** | **str** | Price for limit orders | -**side** | **str** | Side of the order | [default to 'BUY'] -**base_amount** | **str** | Amount to convert | -**base_asset_id** | **str** | Source asset identifier | -**base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] -**quote_asset_id** | **str** | Target asset identifier | -**quote_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] - -## Example - -```python -from fireblocks.models.limit_execution_response_details import LimitExecutionResponseDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of LimitExecutionResponseDetails from a JSON string -limit_execution_response_details_instance = LimitExecutionResponseDetails.from_json(json) -# print the JSON string representation of the object -print(LimitExecutionResponseDetails.to_json()) - -# convert the object into a dict -limit_execution_response_details_dict = limit_execution_response_details_instance.to_dict() -# create an instance of LimitExecutionResponseDetails from a dict -limit_execution_response_details_from_dict = LimitExecutionResponseDetails.from_dict(limit_execution_response_details_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) - - diff --git a/docs/LimitTypeDetails.md b/docs/LimitTypeDetails.md deleted file mode 100644 index 8b795d94..00000000 --- a/docs/LimitTypeDetails.md +++ /dev/null @@ -1,31 +0,0 @@ -# LimitTypeDetails - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | Order type for limit orders | -**time_in_force** | [**TimeInForce**](TimeInForce.md) | | -**limit_price** | **str** | Price for limit orders | - -## Example - -```python -from fireblocks.models.limit_type_details import LimitTypeDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of LimitTypeDetails from a JSON string -limit_type_details_instance = LimitTypeDetails.from_json(json) -# print the JSON string representation of the object -print(LimitTypeDetails.to_json()) - -# convert the object into a dict -limit_type_details_dict = limit_type_details_instance.to_dict() -# create an instance of LimitTypeDetails from a dict -limit_type_details_from_dict = LimitTypeDetails.from_dict(limit_type_details_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) - - diff --git a/docs/LinkedTokensCount.md b/docs/LinkedTokensCount.md new file mode 100644 index 00000000..e18cbe3f --- /dev/null +++ b/docs/LinkedTokensCount.md @@ -0,0 +1,29 @@ +# LinkedTokensCount + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**count** | **float** | The total count of linked tokens | + +## Example + +```python +from fireblocks.models.linked_tokens_count import LinkedTokensCount + +# TODO update the JSON string below +json = "{}" +# create an instance of LinkedTokensCount from a JSON string +linked_tokens_count_instance = LinkedTokensCount.from_json(json) +# print the JSON string representation of the object +print(LinkedTokensCount.to_json()) + +# convert the object into a dict +linked_tokens_count_dict = linked_tokens_count_instance.to_dict() +# create an instance of LinkedTokensCount from a dict +linked_tokens_count_from_dict = LinkedTokensCount.from_dict(linked_tokens_count_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) + + diff --git a/docs/Manifest.md b/docs/Manifest.md index 3a6469f4..ed5df2f2 100644 --- a/docs/Manifest.md +++ b/docs/Manifest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asset_types** | **List[str]** | | +**asset_types** | [**List[AssetTypeEnum]**](AssetTypeEnum.md) | | **capabilities** | [**List[Capability]**](Capability.md) | | ## Example diff --git a/docs/MarketExecutionRequestDetails.md b/docs/MarketExecutionRequestDetails.md index 8928c724..e35808b5 100644 --- a/docs/MarketExecutionRequestDetails.md +++ b/docs/MarketExecutionRequestDetails.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for market orders | -**side** | **str** | Side of the order | [default to 'BUY'] +**type** | [**MarketTypeEnum**](MarketTypeEnum.md) | | +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/MarketExecutionResponseDetails.md b/docs/MarketExecutionResponseDetails.md index 7df73b82..ab4f7fd0 100644 --- a/docs/MarketExecutionResponseDetails.md +++ b/docs/MarketExecutionResponseDetails.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for market orders | -**side** | **str** | Side of the order | [default to 'BUY'] +**type** | [**MarketTypeEnum**](MarketTypeEnum.md) | | +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/MarketRequoteRequestDetails.md b/docs/MarketRequoteRequestDetails.md index 61db355e..9476fd4f 100644 --- a/docs/MarketRequoteRequestDetails.md +++ b/docs/MarketRequoteRequestDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order. | +**type** | [**MarketRequoteTypeEnum**](MarketRequoteTypeEnum.md) | | ## Example diff --git a/docs/MarketRequoteTypeEnum.md b/docs/MarketRequoteTypeEnum.md new file mode 100644 index 00000000..0cfac52d --- /dev/null +++ b/docs/MarketRequoteTypeEnum.md @@ -0,0 +1,11 @@ +# MarketRequoteTypeEnum + +Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order. + +## Enum + +* `MARKET` (value: `'MARKET'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MarketTypeDetails.md b/docs/MarketTypeDetails.md index c16ed6a2..9699a1dd 100644 --- a/docs/MarketTypeDetails.md +++ b/docs/MarketTypeDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for market orders | +**type** | [**MarketTypeEnum**](MarketTypeEnum.md) | | ## Example diff --git a/docs/MarketTypeEnum.md b/docs/MarketTypeEnum.md new file mode 100644 index 00000000..7b80058e --- /dev/null +++ b/docs/MarketTypeEnum.md @@ -0,0 +1,11 @@ +# MarketTypeEnum + +Order type for market orders + +## Enum + +* `MARKET` (value: `'MARKET'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MergeStakeAccountsRequest.md b/docs/MergeStakeAccountsRequest.md index 034e2c13..fd491c07 100644 --- a/docs/MergeStakeAccountsRequest.md +++ b/docs/MergeStakeAccountsRequest.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **destination_id** | **str** | Id of the destination position to merge into | **fee** | **str** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] **fee_level** | [**FeeLevel**](FeeLevel.md) | | [optional] -**tx_note** | **str** | The note to associate with the transactions. | [optional] +**tx_note** | **str** | The note to associate with the merge transaction. | [optional] ## Example diff --git a/docs/NFTsApi.md b/docs/NFTsApi.md index 3ba4264f..ef3f3a9a 100644 --- a/docs/NFTsApi.md +++ b/docs/NFTsApi.md @@ -530,7 +530,9 @@ No authorization required Refresh vault account tokens Updates all tokens and balances per blockchain and vault account. +Learn more about Fireblocks NFT management in the following [guide](https://developers.fireblocks.com/reference/deploy-an-nft-collection). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/NetworkConnectionsApi.md b/docs/NetworkConnectionsApi.md index 8c842208..746d5fb5 100644 --- a/docs/NetworkConnectionsApi.md +++ b/docs/NetworkConnectionsApi.md @@ -4,17 +4,17 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**check_third_party_routing**](NetworkConnectionsApi.md#check_third_party_routing) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation by asset type. -[**create_network_connection**](NetworkConnectionsApi.md#create_network_connection) | **POST** /network_connections | Creates a new network connection +[**check_third_party_routing**](NetworkConnectionsApi.md#check_third_party_routing) | **GET** /network_connections/{connectionId}/is_third_party_routing/{assetType} | Retrieve third-party network routing validation +[**create_network_connection**](NetworkConnectionsApi.md#create_network_connection) | **POST** /network_connections | Create a new network connection [**create_network_id**](NetworkConnectionsApi.md#create_network_id) | **POST** /network_ids | Creates a new Network ID [**delete_network_connection**](NetworkConnectionsApi.md#delete_network_connection) | **DELETE** /network_connections/{connectionId} | Deletes a network connection by ID [**delete_network_id**](NetworkConnectionsApi.md#delete_network_id) | **DELETE** /network_ids/{networkId} | Deletes specific network ID. [**get_network**](NetworkConnectionsApi.md#get_network) | **GET** /network_connections/{connectionId} | Get a network connection [**get_network_connections**](NetworkConnectionsApi.md#get_network_connections) | **GET** /network_connections | List network connections [**get_network_id**](NetworkConnectionsApi.md#get_network_id) | **GET** /network_ids/{networkId} | Returns specific network ID. -[**get_network_ids**](NetworkConnectionsApi.md#get_network_ids) | **GET** /network_ids | Returns all network IDs, both local IDs and discoverable remote IDs +[**get_network_ids**](NetworkConnectionsApi.md#get_network_ids) | **GET** /network_ids | Get all network IDs [**get_routing_policy_asset_groups**](NetworkConnectionsApi.md#get_routing_policy_asset_groups) | **GET** /network_ids/routing_policy_asset_groups | Returns all enabled routing policy asset groups -[**search_network_ids**](NetworkConnectionsApi.md#search_network_ids) | **GET** /network_ids/search | Search network IDs, both local IDs and discoverable remote IDs +[**search_network_ids**](NetworkConnectionsApi.md#search_network_ids) | **GET** /network_ids/search | Get both local IDs and discoverable remote IDs [**set_network_id_discoverability**](NetworkConnectionsApi.md#set_network_id_discoverability) | **PATCH** /network_ids/{networkId}/set_discoverability | Update network ID's discoverability. [**set_network_id_name**](NetworkConnectionsApi.md#set_network_id_name) | **PATCH** /network_ids/{networkId}/set_name | Update network ID's name. [**set_network_id_routing_policy**](NetworkConnectionsApi.md#set_network_id_routing_policy) | **PATCH** /network_ids/{networkId}/set_routing_policy | Update network id routing policy. @@ -24,7 +24,7 @@ Method | HTTP request | Description # **check_third_party_routing** > ThirdPartyRouting check_third_party_routing(connection_id, asset_type) -Retrieve third-party network routing validation by asset type. +Retrieve third-party network routing validation The Fireblocks Network allows for flexibility around incoming deposits. A receiver can receive network deposits to locations other than Fireblocks. This endpoint validates whether future transactions are routed to the displayed recipient or to a 3rd party. @@ -57,7 +57,7 @@ with Fireblocks(configuration) as fireblocks: asset_type = 'asset_type_example' # str | The destination asset type try: - # Retrieve third-party network routing validation by asset type. + # Retrieve third-party network routing validation api_response = fireblocks.network_connections.check_third_party_routing(connection_id, asset_type).result() print("The response of NetworkConnectionsApi->check_third_party_routing:\n") pprint(api_response) @@ -100,7 +100,7 @@ No authorization required # **create_network_connection** > NetworkConnectionResponse create_network_connection(idempotency_key=idempotency_key, network_connection=network_connection) -Creates a new network connection +Create a new network connection Initiates a new network connection. **Note:** This API call is subject to Flexible Routing Schemes. @@ -152,7 +152,7 @@ with Fireblocks(configuration) as fireblocks: network_connection = fireblocks.NetworkConnection() # NetworkConnection | (optional) try: - # Creates a new network connection + # Create a new network connection api_response = fireblocks.network_connections.create_network_connection(idempotency_key=idempotency_key, network_connection=network_connection).result() print("The response of NetworkConnectionsApi->create_network_connection:\n") pprint(api_response) @@ -199,25 +199,6 @@ Creates a new Network ID Creates a new Network ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - -Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -295,23 +276,6 @@ Deletes a network connection by ID Deletes an existing network connection specified by its connection ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -386,23 +350,6 @@ Deletes specific network ID. Deletes a network by its ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -477,23 +424,6 @@ Get a network connection Gets a network connection by ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -567,6 +497,7 @@ No authorization required List network connections Returns all network connections. + **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. @@ -581,9 +512,6 @@ Default Workspace Presets: - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -652,24 +580,7 @@ No authorization required Returns specific network ID. -Retrieves a network by its ID. - -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - +Returns specific network ID. ### Example @@ -741,27 +652,10 @@ No authorization required # **get_network_ids** > List[NetworkIdResponse] get_network_ids() -Returns all network IDs, both local IDs and discoverable remote IDs +Get all network IDs Retrieves a list of all local and discoverable remote network IDs. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -789,7 +683,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # Returns all network IDs, both local IDs and discoverable remote IDs + # Get all network IDs api_response = fireblocks.network_connections.get_network_ids().result() print("The response of NetworkConnectionsApi->get_network_ids:\n") pprint(api_response) @@ -830,10 +724,7 @@ No authorization required Returns all enabled routing policy asset groups -Retrieves a list of all enabled routing policy asset groups. -Your routing policy defines how your transactions are routed. -You can use one or more enabled routing policy asset groups to describe connection or network id routing policy. - +Returns all enabled routing policy asset groups ### Example @@ -900,26 +791,10 @@ No authorization required # **search_network_ids** > SearchNetworkIdsResponse search_network_ids(search=search, exclude_self=exclude_self, only_self=only_self, exclude_connected=exclude_connected, page_cursor=page_cursor, page_size=page_size) -Search network IDs, both local IDs and discoverable remote IDs +Get both local IDs and discoverable remote IDs Retrieves a list of all local and discoverable remote network IDs. Can be filtered. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - ### Example @@ -954,7 +829,7 @@ with Fireblocks(configuration) as fireblocks: page_size = 50 # float | Number of records to fetch. By default, it is 50 (optional) (default to 50) try: - # Search network IDs, both local IDs and discoverable remote IDs + # Get both local IDs and discoverable remote IDs api_response = fireblocks.network_connections.search_network_ids(search=search, exclude_self=exclude_self, only_self=only_self, exclude_connected=exclude_connected, page_cursor=page_cursor, page_size=page_size).result() print("The response of NetworkConnectionsApi->search_network_ids:\n") pprint(api_response) @@ -1005,23 +880,6 @@ Update network ID's discoverability. Update whether or not the network ID is discoverable by others. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -1099,23 +957,6 @@ Update network ID's name. Updates name of a specified network ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -1193,25 +1034,6 @@ Update network id routing policy. Updates the routing policy of a specified network ID. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - -Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example @@ -1289,25 +1111,6 @@ Update network connection routing policy. Updates an existing network connection's routing policy. -**Note:** This API call is subject to Flexible Routing Schemes. - -Your routing policy defines how your transactions are routed. -You can choose 1 of the 3 different schemes mentioned below for each asset type: - - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as "Profile Routing" - -Default Workspace Presets: - - Network Profile Crypto → **Custom** - - Network Profile FIAT → **None** - - Network Connection Crypto → **Default** - - Network Connection FIAT → **Default** - -Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - - - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). - - ### Example diff --git a/docs/OTABetaApi.md b/docs/OTABetaApi.md index 0af8d7f0..97926168 100644 --- a/docs/OTABetaApi.md +++ b/docs/OTABetaApi.md @@ -83,7 +83,8 @@ No authorization required Enable or disable transactions to OTA -Enable or disable transactions to OTA +Enable or disable transactions to One Time Addresses (Non Whitelisted addresses). +Learn more about [One Time Addresses](https://support.fireblocks.io/hc/en-us/articles/4409104568338-One-Time-Address-OTA-feature) ### Example diff --git a/docs/OffExchangesApi.md b/docs/OffExchangesApi.md index df3e48c2..aa61a22a 100644 --- a/docs/OffExchangesApi.md +++ b/docs/OffExchangesApi.md @@ -4,19 +4,21 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**add_off_exchange**](OffExchangesApi.md#add_off_exchange) | **POST** /off_exchange/add | add collateral +[**add_off_exchange**](OffExchangesApi.md#add_off_exchange) | **POST** /off_exchange/add | Add Collateral [**get_off_exchange_collateral_accounts**](OffExchangesApi.md#get_off_exchange_collateral_accounts) | **GET** /off_exchange/collateral_accounts/{mainExchangeAccountId} | Find a specific collateral exchange account -[**get_off_exchange_settlement_transactions**](OffExchangesApi.md#get_off_exchange_settlement_transactions) | **GET** /off_exchange/settlements/transactions | get settlements transactions from exchange -[**remove_off_exchange**](OffExchangesApi.md#remove_off_exchange) | **POST** /off_exchange/remove | remove collateral -[**settle_off_exchange_trades**](OffExchangesApi.md#settle_off_exchange_trades) | **POST** /off_exchange/settlements/trader | create settlement for a trader +[**get_off_exchange_settlement_transactions**](OffExchangesApi.md#get_off_exchange_settlement_transactions) | **GET** /off_exchange/settlements/transactions | Get Settlements Transactions +[**remove_off_exchange**](OffExchangesApi.md#remove_off_exchange) | **POST** /off_exchange/remove | Remove Collateral +[**settle_off_exchange_trades**](OffExchangesApi.md#settle_off_exchange_trades) | **POST** /off_exchange/settlements/trader | Create Settlement for a Trader # **add_off_exchange** > CreateTransactionResponse add_off_exchange(idempotency_key=idempotency_key, add_collateral_request_body=add_collateral_request_body) -add collateral +Add Collateral -add collateral, create deposit request +Add collateral and create deposit request. +Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -48,7 +50,7 @@ with Fireblocks(configuration) as fireblocks: add_collateral_request_body = fireblocks.AddCollateralRequestBody() # AddCollateralRequestBody | (optional) try: - # add collateral + # Add Collateral api_response = fireblocks.off_exchanges.add_off_exchange(idempotency_key=idempotency_key, add_collateral_request_body=add_collateral_request_body).result() print("The response of OffExchangesApi->add_off_exchange:\n") pprint(api_response) @@ -94,6 +96,8 @@ No authorization required Find a specific collateral exchange account Returns a collateral account by mainExchangeAccountId. +Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -165,9 +169,11 @@ No authorization required # **get_off_exchange_settlement_transactions** > ExchangeSettlementTransactionsResponse get_off_exchange_settlement_transactions(main_exchange_account_id) -get settlements transactions from exchange +Get Settlements Transactions -get settlements transactions from exchange +Get settlements transactions from exchange. +Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -197,7 +203,7 @@ with Fireblocks(configuration) as fireblocks: main_exchange_account_id = 'main_exchange_account_id_example' # str | try: - # get settlements transactions from exchange + # Get Settlements Transactions api_response = fireblocks.off_exchanges.get_off_exchange_settlement_transactions(main_exchange_account_id).result() print("The response of OffExchangesApi->get_off_exchange_settlement_transactions:\n") pprint(api_response) @@ -239,9 +245,11 @@ No authorization required # **remove_off_exchange** > CreateTransactionResponse remove_off_exchange(idempotency_key=idempotency_key, remove_collateral_request_body=remove_collateral_request_body) -remove collateral +Remove Collateral -remove collateral, create withdraw request +Remove collateral, create withdraw request. +Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -273,7 +281,7 @@ with Fireblocks(configuration) as fireblocks: remove_collateral_request_body = fireblocks.RemoveCollateralRequestBody() # RemoveCollateralRequestBody | (optional) try: - # remove collateral + # Remove Collateral api_response = fireblocks.off_exchanges.remove_off_exchange(idempotency_key=idempotency_key, remove_collateral_request_body=remove_collateral_request_body).result() print("The response of OffExchangesApi->remove_off_exchange:\n") pprint(api_response) @@ -316,9 +324,11 @@ No authorization required # **settle_off_exchange_trades** > SettlementResponse settle_off_exchange_trades(idempotency_key=idempotency_key, settlement_request_body=settlement_request_body) -create settlement for a trader +Create Settlement for a Trader -create settlement for a trader +Create settlement for a trader. +Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange). +
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -350,7 +360,7 @@ with Fireblocks(configuration) as fireblocks: settlement_request_body = fireblocks.SettlementRequestBody() # SettlementRequestBody | (optional) try: - # create settlement for a trader + # Create Settlement for a Trader api_response = fireblocks.off_exchanges.settle_off_exchange_trades(idempotency_key=idempotency_key, settlement_request_body=settlement_request_body).result() print("The response of OffExchangesApi->settle_off_exchange_trades:\n") pprint(api_response) diff --git a/docs/OnchainDataApi.md b/docs/OnchainDataApi.md new file mode 100644 index 00000000..a3a5e289 --- /dev/null +++ b/docs/OnchainDataApi.md @@ -0,0 +1,684 @@ +# fireblocks.OnchainDataApi + +All URIs are relative to *https://api.fireblocks.io/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_access_registry_current_state**](OnchainDataApi.md#get_access_registry_current_state) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list | Get the current state of addresses in an access registry +[**get_access_registry_summary**](OnchainDataApi.md#get_access_registry_summary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary | Summary of access registry state +[**get_active_roles_for_contract**](OnchainDataApi.md#get_active_roles_for_contract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles | List of active roles for a given contract address and base asset ID +[**get_contract_balance_history**](OnchainDataApi.md#get_contract_balance_history) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/account_address/{accountAddress}/balance_history | Get historical balance data for a specific account in a contract +[**get_contract_balances_summary**](OnchainDataApi.md#get_contract_balances_summary) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary | Get summary for the token contract +[**get_contract_total_supply**](OnchainDataApi.md#get_contract_total_supply) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply | Get historical total supply data for a contract +[**get_latest_balances_for_contract**](OnchainDataApi.md#get_latest_balances_for_contract) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances | Get latest balances for all addresses holding tokens from a contract +[**get_onchain_transactions**](OnchainDataApi.md#get_onchain_transactions) | **GET** /onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions | Fetch onchain transactions for a contract + + +# **get_access_registry_current_state** +> AccessRegistryCurrentStateResponse get_access_registry_current_state(base_asset_id, access_registry_address, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order) + +Get the current state of addresses in an access registry + +Returns the current state of addresses in the specified access registry. Only addresses that are currently active (added but not removed) are included. + +### Example + + +```python +from fireblocks.models.access_registry_current_state_response import AccessRegistryCurrentStateResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + access_registry_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The access registry address + page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page\" (optional) + page_size = 10 # int | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + sort_by = dateAdded # str | Sorting field (enum). (optional) (default to dateAdded) + order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC) + + try: + # Get the current state of addresses in an access registry + api_response = fireblocks.onchain_data.get_access_registry_current_state(base_asset_id, access_registry_address, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order).result() + print("The response of OnchainDataApi->get_access_registry_current_state:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_access_registry_current_state: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **access_registry_address** | **str**| The access registry address | + **page_cursor** | **str**| Page cursor to get the next page\" | [optional] + **page_size** | **int**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] + **sort_by** | **str**| Sorting field (enum). | [optional] [default to dateAdded] + **order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] + +### Return type + +[**AccessRegistryCurrentStateResponse**](AccessRegistryCurrentStateResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Access registry current state retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_access_registry_summary** +> AccessRegistrySummaryResponse get_access_registry_summary(base_asset_id, access_registry_address) + +Summary of access registry state + +Returns a summary of the current state of the access registry for the specified baseAssetId and accessRegistryAddress. + +### Example + + +```python +from fireblocks.models.access_registry_summary_response import AccessRegistrySummaryResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + access_registry_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The access registry address + + try: + # Summary of access registry state + api_response = fireblocks.onchain_data.get_access_registry_summary(base_asset_id, access_registry_address).result() + print("The response of OnchainDataApi->get_access_registry_summary:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_access_registry_summary: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **access_registry_address** | **str**| The access registry address | + +### Return type + +[**AccessRegistrySummaryResponse**](AccessRegistrySummaryResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the summary of the access registry state | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_active_roles_for_contract** +> Dict[str, RoleDetails] get_active_roles_for_contract(base_asset_id, contract_address) + +List of active roles for a given contract address and base asset ID + +Returns a list of currently active roles for the specified baseAssetId and contractAddress. + +### Example + + +```python +from fireblocks.models.role_details import RoleDetails +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + + try: + # List of active roles for a given contract address and base asset ID + api_response = fireblocks.onchain_data.get_active_roles_for_contract(base_asset_id, contract_address).result() + print("The response of OnchainDataApi->get_active_roles_for_contract:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_active_roles_for_contract: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + +### Return type + +[**Dict[str, RoleDetails]**](RoleDetails.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the list of active roles | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_contract_balance_history** +> BalanceHistoryPagedResponse get_contract_balance_history(base_asset_id, contract_address, account_address, start_date=start_date, end_date=end_date, interval=interval, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order) + +Get historical balance data for a specific account in a contract + +Returns the paginated balance history of the specified account in a contract with optional date range and interval filtering. + +### Example + + +```python +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + account_address = '0x1234567890abcdef1234567890abcdef12345678' # str | The account address to get balance history for + start_date = '2025-01-16T15:45:00Z' # datetime | Start date of the time range in ISO 8601 format (optional) + end_date = '2025-01-16T15:45:00Z' # datetime | End date of the time range in ISO 8601 format (optional) + interval = day # str | Time interval for grouping data (optional) (default to day) + page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page\" (optional) + page_size = 10 # int | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + sort_by = blockTimestamp # str | Sorting field (enum). Sorting only supported by 'blockTimestamp' (optional) (default to blockTimestamp) + order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC) + + try: + # Get historical balance data for a specific account in a contract + api_response = fireblocks.onchain_data.get_contract_balance_history(base_asset_id, contract_address, account_address, start_date=start_date, end_date=end_date, interval=interval, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order).result() + print("The response of OnchainDataApi->get_contract_balance_history:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_contract_balance_history: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + **account_address** | **str**| The account address to get balance history for | + **start_date** | **datetime**| Start date of the time range in ISO 8601 format | [optional] + **end_date** | **datetime**| End date of the time range in ISO 8601 format | [optional] + **interval** | **str**| Time interval for grouping data | [optional] [default to day] + **page_cursor** | **str**| Page cursor to get the next page\" | [optional] + **page_size** | **int**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] + **sort_by** | **str**| Sorting field (enum). Sorting only supported by 'blockTimestamp' | [optional] [default to blockTimestamp] + **order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] + +### Return type + +[**BalanceHistoryPagedResponse**](BalanceHistoryPagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the contract balance history | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_contract_balances_summary** +> TokenContractSummaryResponse get_contract_balances_summary(base_asset_id, contract_address) + +Get summary for the token contract + +Returns the total number of unique addresses holding balances and the total supply for the specified contract. + +### Example + + +```python +from fireblocks.models.token_contract_summary_response import TokenContractSummaryResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + + try: + # Get summary for the token contract + api_response = fireblocks.onchain_data.get_contract_balances_summary(base_asset_id, contract_address).result() + print("The response of OnchainDataApi->get_contract_balances_summary:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_contract_balances_summary: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + +### Return type + +[**TokenContractSummaryResponse**](TokenContractSummaryResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the summary for the token contract | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_contract_total_supply** +> TotalSupplyPagedResponse get_contract_total_supply(base_asset_id, contract_address, start_date=start_date, end_date=end_date, interval=interval, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order) + +Get historical total supply data for a contract + +Returns the paginated total supply history of the specified contract with optional date range and interval filtering. + +### Example + + +```python +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + start_date = '2025-01-16T15:45:00Z' # datetime | Start date of the time range in ISO 8601 format (optional) + end_date = '2025-01-16T15:45:00Z' # datetime | End date of the time range in ISO 8601 format (optional) + interval = day # str | Time interval for grouping data (optional) (default to day) + page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page\" (optional) + page_size = 10 # int | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + sort_by = blockTimestamp # str | Sorting field (enum). Sorting only supported by 'blockTimestamp' (optional) (default to blockTimestamp) + order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC) + + try: + # Get historical total supply data for a contract + api_response = fireblocks.onchain_data.get_contract_total_supply(base_asset_id, contract_address, start_date=start_date, end_date=end_date, interval=interval, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order).result() + print("The response of OnchainDataApi->get_contract_total_supply:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_contract_total_supply: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + **start_date** | **datetime**| Start date of the time range in ISO 8601 format | [optional] + **end_date** | **datetime**| End date of the time range in ISO 8601 format | [optional] + **interval** | **str**| Time interval for grouping data | [optional] [default to day] + **page_cursor** | **str**| Page cursor to get the next page\" | [optional] + **page_size** | **int**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] + **sort_by** | **str**| Sorting field (enum). Sorting only supported by 'blockTimestamp' | [optional] [default to blockTimestamp] + **order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] + +### Return type + +[**TotalSupplyPagedResponse**](TotalSupplyPagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the contract total supply history | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_latest_balances_for_contract** +> AddressBalancePagedResponse get_latest_balances_for_contract(base_asset_id, contract_address, account_address=account_address, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order) + +Get latest balances for all addresses holding tokens from a contract + +Returns the latest balance for each unique address with support for numeric balance sorting. The `prev` cursor is reserved for future support. + +### Example + + +```python +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + account_address = '0x1234567890abcdef1234567890abcdef12345678' # str | Optional filter to get balance for a specific account address (optional) + page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page\" (optional) + page_size = 10 # int | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + sort_by = blockTimestamp # str | Sorting field for balances (optional) (default to blockTimestamp) + order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC) + + try: + # Get latest balances for all addresses holding tokens from a contract + api_response = fireblocks.onchain_data.get_latest_balances_for_contract(base_asset_id, contract_address, account_address=account_address, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order).result() + print("The response of OnchainDataApi->get_latest_balances_for_contract:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_latest_balances_for_contract: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + **account_address** | **str**| Optional filter to get balance for a specific account address | [optional] + **page_cursor** | **str**| Page cursor to get the next page\" | [optional] + **page_size** | **int**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] + **sort_by** | **str**| Sorting field for balances | [optional] [default to blockTimestamp] + **order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] + +### Return type + +[**AddressBalancePagedResponse**](AddressBalancePagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Successfully retrieved the latest balances for the contract | - | +**0** | Error Response | * X-Request-ID -
| + +[[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_onchain_transactions** +> OnchainTransactionsPagedResponse get_onchain_transactions(base_asset_id, contract_address, start_date=start_date, end_date=end_date, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order) + +Fetch onchain transactions for a contract + +Returns a paginated list of onchain transactions for the specified contract address and base asset ID, optionally filtered by date range. + +### Example + + +```python +from fireblocks.models.onchain_transactions_paged_response import OnchainTransactionsPagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + base_asset_id = 'ETH_TEST3' # str | The blockchain base assetId + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' # str | The contract address + start_date = '2025-01-16T15:45:00Z' # datetime | Start date of the time range in ISO 8601 format (optional) + end_date = '2025-01-16T15:45:00Z' # datetime | End date of the time range in ISO 8601 format (optional) + page_cursor = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==' # str | Page cursor to get the next page\" (optional) + page_size = 10 # int | Number of items per page (max 100), requesting more then 100 will return 100 items (optional) + sort_by = blockTimestamp # str | Sorting field (enum). (optional) (default to blockTimestamp) + order = DESC # str | ASC / DESC ordering (default DESC) (optional) (default to DESC) + + try: + # Fetch onchain transactions for a contract + api_response = fireblocks.onchain_data.get_onchain_transactions(base_asset_id, contract_address, start_date=start_date, end_date=end_date, page_cursor=page_cursor, page_size=page_size, sort_by=sort_by, order=order).result() + print("The response of OnchainDataApi->get_onchain_transactions:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling OnchainDataApi->get_onchain_transactions: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **base_asset_id** | **str**| The blockchain base assetId | + **contract_address** | **str**| The contract address | + **start_date** | **datetime**| Start date of the time range in ISO 8601 format | [optional] + **end_date** | **datetime**| End date of the time range in ISO 8601 format | [optional] + **page_cursor** | **str**| Page cursor to get the next page\" | [optional] + **page_size** | **int**| Number of items per page (max 100), requesting more then 100 will return 100 items | [optional] + **sort_by** | **str**| Sorting field (enum). | [optional] [default to blockTimestamp] + **order** | **str**| ASC / DESC ordering (default DESC) | [optional] [default to DESC] + +### Return type + +[**OnchainTransactionsPagedResponse**](OnchainTransactionsPagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Onchain transactions fetched successfully | - | +**0** | Error Response | * X-Request-ID -
| + +[[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) + diff --git a/docs/OnchainTransaction.md b/docs/OnchainTransaction.md new file mode 100644 index 00000000..533fdcb0 --- /dev/null +++ b/docs/OnchainTransaction.md @@ -0,0 +1,45 @@ +# OnchainTransaction + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier for the transaction | +**base_asset_id** | **str** | The blockchain base asset identifier | +**block_hash** | **str** | Hash of the block containing this transaction | +**block_number** | **int** | Block number containing this transaction | +**block_timestamp** | **datetime** | Timestamp when the block was mined | +**chain_id** | **int** | Chain ID of the blockchain | +**contract_address** | **str** | Contract address if this is a contract transaction | [optional] +**cumulative_gas_used** | **str** | Cumulative gas used in the block up to this transaction | +**decoded_logs** | [**DecodedLog**](DecodedLog.md) | | [optional] +**effective_gas_price** | **str** | Effective gas price paid for the transaction | +**from_address** | **str** | Address that initiated the transaction | +**gas_used** | **str** | Amount of gas used by this transaction | +**status** | **str** | Transaction status | +**to_address** | **str** | Address that received the transaction | [optional] +**transaction_hash** | **str** | Hash of the transaction | +**transaction_index** | **str** | Index of the transaction in the block | +**type** | **str** | Transaction type | + +## Example + +```python +from fireblocks.models.onchain_transaction import OnchainTransaction + +# TODO update the JSON string below +json = "{}" +# create an instance of OnchainTransaction from a JSON string +onchain_transaction_instance = OnchainTransaction.from_json(json) +# print the JSON string representation of the object +print(OnchainTransaction.to_json()) + +# convert the object into a dict +onchain_transaction_dict = onchain_transaction_instance.to_dict() +# create an instance of OnchainTransaction from a dict +onchain_transaction_from_dict = OnchainTransaction.from_dict(onchain_transaction_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) + + diff --git a/docs/OnchainTransactionsPagedResponse.md b/docs/OnchainTransactionsPagedResponse.md new file mode 100644 index 00000000..ab3ed974 --- /dev/null +++ b/docs/OnchainTransactionsPagedResponse.md @@ -0,0 +1,32 @@ +# OnchainTransactionsPagedResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[OnchainTransaction]**](OnchainTransaction.md) | Array of onchain transactions | +**next** | **str** | Cursor for next page | [optional] +**prev** | **str** | Cursor for previous page | [optional] +**total** | **float** | Total count of items | [optional] + +## Example + +```python +from fireblocks.models.onchain_transactions_paged_response import OnchainTransactionsPagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of OnchainTransactionsPagedResponse from a JSON string +onchain_transactions_paged_response_instance = OnchainTransactionsPagedResponse.from_json(json) +# print the JSON string representation of the object +print(OnchainTransactionsPagedResponse.to_json()) + +# convert the object into a dict +onchain_transactions_paged_response_dict = onchain_transactions_paged_response_instance.to_dict() +# create an instance of OnchainTransactionsPagedResponse from a dict +onchain_transactions_paged_response_from_dict = OnchainTransactionsPagedResponse.from_dict(onchain_transactions_paged_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) + + diff --git a/docs/OneTimeAddressPeerType.md b/docs/OneTimeAddressPeerType.md new file mode 100644 index 00000000..51322539 --- /dev/null +++ b/docs/OneTimeAddressPeerType.md @@ -0,0 +1,10 @@ +# OneTimeAddressPeerType + + +## Enum + +* `ONE_TIME_ADDRESS` (value: `'ONE_TIME_ADDRESS'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OneTimeAddressReference.md b/docs/OneTimeAddressReference.md index d28764a3..31910169 100644 --- a/docs/OneTimeAddressReference.md +++ b/docs/OneTimeAddressReference.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**OneTimeAddressPeerType**](OneTimeAddressPeerType.md) | | **address** | **str** | | **tag** | **str** | | [optional] diff --git a/docs/OrderDetails.md b/docs/OrderDetails.md index b0adf0bd..afef4a91 100644 --- a/docs/OrderDetails.md +++ b/docs/OrderDetails.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **updated_at** | **datetime** | | [optional] **receipt** | [**TransferReceipt**](TransferReceipt.md) | | [optional] **general_fees** | [**List[Fee]**](Fee.md) | | [optional] -**execution_steps** | [**List[ExecutionStep]**](ExecutionStep.md) | | +**execution_steps** | [**List[OrderExecutionStep]**](OrderExecutionStep.md) | | **execution_response_details** | [**ExecutionResponseDetails**](ExecutionResponseDetails.md) | | **settlement** | [**Settlement**](Settlement.md) | | **participants_identification** | [**ParticipantsIdentification**](ParticipantsIdentification.md) | | [optional] @@ -21,6 +21,7 @@ Name | Type | Description | Notes **customer_internal_reference_id** | **str** | Internal reference ID for the customer | [optional] **note** | **str** | Optional note for the Order | [optional] **expires_at** | **datetime** | | [optional] +**failure** | [**Failure**](Failure.md) | | [optional] ## Example diff --git a/docs/ExecutionStep.md b/docs/OrderExecutionStep.md similarity index 62% rename from docs/ExecutionStep.md rename to docs/OrderExecutionStep.md index b715d5a4..46b695a0 100644 --- a/docs/ExecutionStep.md +++ b/docs/OrderExecutionStep.md @@ -1,4 +1,4 @@ -# ExecutionStep +# OrderExecutionStep ## Properties @@ -15,19 +15,19 @@ Name | Type | Description | Notes ## Example ```python -from fireblocks.models.execution_step import ExecutionStep +from fireblocks.models.order_execution_step import OrderExecutionStep # TODO update the JSON string below json = "{}" -# create an instance of ExecutionStep from a JSON string -execution_step_instance = ExecutionStep.from_json(json) +# create an instance of OrderExecutionStep from a JSON string +order_execution_step_instance = OrderExecutionStep.from_json(json) # print the JSON string representation of the object -print(ExecutionStep.to_json()) +print(OrderExecutionStep.to_json()) # convert the object into a dict -execution_step_dict = execution_step_instance.to_dict() -# create an instance of ExecutionStep from a dict -execution_step_from_dict = ExecutionStep.from_dict(execution_step_dict) +order_execution_step_dict = order_execution_step_instance.to_dict() +# create an instance of OrderExecutionStep from a dict +order_execution_step_from_dict = OrderExecutionStep.from_dict(order_execution_step_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) diff --git a/docs/OrderSummary.md b/docs/OrderSummary.md index 3f3926d5..dbd2faf6 100644 --- a/docs/OrderSummary.md +++ b/docs/OrderSummary.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | **via** | [**AccessType**](AccessType.md) | | -**side** | **str** | Side of the order | +**side** | [**Side**](Side.md) | | **base_amount** | **str** | | **quote_amount** | **str** | | [optional] **base_asset_id** | **str** | | diff --git a/docs/PaymentInstructions.md b/docs/PaymentInstructions.md index 9606025c..b5f4a75d 100644 --- a/docs/PaymentInstructions.md +++ b/docs/PaymentInstructions.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | -**address** | [**MobileMoneyAddress**](MobileMoneyAddress.md) | | +**type** | **str** | The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations. | +**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | **reference_id** | **str** | | [optional] ## Example diff --git a/docs/PaymentInstructionsDetails.md b/docs/PaymentInstructionsDetails.md deleted file mode 100644 index 7567879a..00000000 --- a/docs/PaymentInstructionsDetails.md +++ /dev/null @@ -1,29 +0,0 @@ -# PaymentInstructionsDetails - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reference_id** | **str** | | [optional] - -## Example - -```python -from fireblocks.models.payment_instructions_details import PaymentInstructionsDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of PaymentInstructionsDetails from a JSON string -payment_instructions_details_instance = PaymentInstructionsDetails.from_json(json) -# print the JSON string representation of the object -print(PaymentInstructionsDetails.to_json()) - -# convert the object into a dict -payment_instructions_details_dict = payment_instructions_details_instance.to_dict() -# create an instance of PaymentInstructionsDetails from a dict -payment_instructions_details_from_dict = PaymentInstructionsDetails.from_dict(payment_instructions_details_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) - - diff --git a/docs/PaymentInstructionsOneOf.md b/docs/PaymentInstructionsOneOf.md new file mode 100644 index 00000000..eeb80383 --- /dev/null +++ b/docs/PaymentInstructionsOneOf.md @@ -0,0 +1,31 @@ +# PaymentInstructionsOneOf + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | +**address** | [**EuropeanSEPAAddress**](EuropeanSEPAAddress.md) | | +**reference_id** | **str** | | [optional] + +## Example + +```python +from fireblocks.models.payment_instructions_one_of import PaymentInstructionsOneOf + +# TODO update the JSON string below +json = "{}" +# create an instance of PaymentInstructionsOneOf from a JSON string +payment_instructions_one_of_instance = PaymentInstructionsOneOf.from_json(json) +# print the JSON string representation of the object +print(PaymentInstructionsOneOf.to_json()) + +# convert the object into a dict +payment_instructions_one_of_dict = payment_instructions_one_of_instance.to_dict() +# create an instance of PaymentInstructionsOneOf from a dict +payment_instructions_one_of_from_dict = PaymentInstructionsOneOf.from_dict(payment_instructions_one_of_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) + + diff --git a/docs/PaymentsPayoutApi.md b/docs/PaymentsPayoutApi.md index 6ebb6c87..fcebdc27 100644 --- a/docs/PaymentsPayoutApi.md +++ b/docs/PaymentsPayoutApi.md @@ -24,6 +24,8 @@ The instruction set defines:
  • the payment account and its account type (vault, exchange, or fiat).
  • the account type (vault account, exchange account, whitelisted address, network connection, fiat account, or merchant account), the amount, and the asset of payment for each payee account.
  • +Learn more about Fireblocks Payments - Payouts in the following [guide](https://developers.fireblocks.com/docs/create-payouts). +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -192,6 +194,7 @@ Get the status of a payout instruction set **Note:** The reference content in this section documents the Payments Engine endpoint. The Payments Engine endpoints include APIs available only for customers with Payments Engine enabled on their accounts.

    These endpoints are currently in beta and might be subject to changes.

    If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com.
    +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/PeerType.md b/docs/PeerType.md index 3aa2f9f5..c6ec247b 100644 --- a/docs/PeerType.md +++ b/docs/PeerType.md @@ -7,12 +7,12 @@ * `EXCHANGE_ACCOUNT` (value: `'EXCHANGE_ACCOUNT'`) -* `INTERNAL_WALLET` (value: `'INTERNAL_WALLET'`) - -* `EXTERNAL_WALLET` (value: `'EXTERNAL_WALLET'`) +* `UNMANAGED_WALLET` (value: `'UNMANAGED_WALLET'`) * `FIAT_ACCOUNT` (value: `'FIAT_ACCOUNT'`) +* `CONNECTED_ACCOUNT` (value: `'CONNECTED_ACCOUNT'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonalEntityTypeEnum.md b/docs/PersonalEntityTypeEnum.md new file mode 100644 index 00000000..2b4b5a85 --- /dev/null +++ b/docs/PersonalEntityTypeEnum.md @@ -0,0 +1,10 @@ +# PersonalEntityTypeEnum + + +## Enum + +* `INDIVIDUAL` (value: `'INDIVIDUAL'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PersonalIdentification.md b/docs/PersonalIdentification.md index 2b6da59c..e926534b 100644 --- a/docs/PersonalIdentification.md +++ b/docs/PersonalIdentification.md @@ -6,11 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **external_reference_id** | **str** | | -**entity_type** | **str** | | +**entity_type** | [**PersonalEntityTypeEnum**](PersonalEntityTypeEnum.md) | | **participant_relationship_type** | [**ParticipantRelationshipType**](ParticipantRelationshipType.md) | | **full_name** | [**PersonalIdentificationFullName**](PersonalIdentificationFullName.md) | | **date_of_birth** | **date** | | **postal_address** | [**PostalAddress**](PostalAddress.md) | | +**email** | **str** | | [optional] +**phone** | **str** | Mobile phone number in E.164 format | [optional] ## Example diff --git a/docs/PlatformAccount.md b/docs/PlatformAccount.md index d7d1a147..f60934d8 100644 --- a/docs/PlatformAccount.md +++ b/docs/PlatformAccount.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**PlatformPeerType**](PlatformPeerType.md) | | **account_id** | **str** | | ## Example diff --git a/docs/PlatformPeerType.md b/docs/PlatformPeerType.md new file mode 100644 index 00000000..a54a1a0d --- /dev/null +++ b/docs/PlatformPeerType.md @@ -0,0 +1,14 @@ +# PlatformPeerType + + +## Enum + +* `VAULT_ACCOUNT` (value: `'VAULT_ACCOUNT'`) + +* `CONNECTED_ACCOUNT` (value: `'CONNECTED_ACCOUNT'`) + +* `FIAT_ACCOUNT` (value: `'FIAT_ACCOUNT'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PolicyEditorV2BetaApi.md b/docs/PolicyEditorV2BetaApi.md index f17bd946..9236683e 100644 --- a/docs/PolicyEditorV2BetaApi.md +++ b/docs/PolicyEditorV2BetaApi.md @@ -15,8 +15,11 @@ Method | HTTP request | Description Get the active policy and its validation by policy type -Returns the active policy and its validation for a specific policy type.
    -**Note:** These endpoints are currently in beta and might be subject to changes. +Returns the active policy and its validation for a specific policy type. + +**Note:** This endpoint is currently in beta and subject to change. If you want to participate in the Policies beta, contact your Fireblocks Customer Success Manager or send an email to csm@fireblocks.com. + +Endpoint Permissions: Owner, Admin, Non-Signing Admin. ### Example diff --git a/docs/PostOrderSettlement.md b/docs/PostOrderSettlement.md deleted file mode 100644 index d4f9d539..00000000 --- a/docs/PostOrderSettlement.md +++ /dev/null @@ -1,29 +0,0 @@ -# PostOrderSettlement - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | - -## Example - -```python -from fireblocks.models.post_order_settlement import PostOrderSettlement - -# TODO update the JSON string below -json = "{}" -# create an instance of PostOrderSettlement from a JSON string -post_order_settlement_instance = PostOrderSettlement.from_json(json) -# print the JSON string representation of the object -print(PostOrderSettlement.to_json()) - -# convert the object into a dict -post_order_settlement_dict = post_order_settlement_instance.to_dict() -# create an instance of PostOrderSettlement from a dict -post_order_settlement_from_dict = PostOrderSettlement.from_dict(post_order_settlement_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) - - diff --git a/docs/PrefundedSettlement.md b/docs/PrefundedSettlement.md index 12b8928a..44fb1cf5 100644 --- a/docs/PrefundedSettlement.md +++ b/docs/PrefundedSettlement.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**PrefundedSettlementType**](PrefundedSettlementType.md) | | **destination_account** | [**AccountReference**](AccountReference.md) | | ## Example diff --git a/docs/PrefundedSettlementType.md b/docs/PrefundedSettlementType.md new file mode 100644 index 00000000..d173c2eb --- /dev/null +++ b/docs/PrefundedSettlementType.md @@ -0,0 +1,10 @@ +# PrefundedSettlementType + + +## Enum + +* `PREFUNDED` (value: `'PREFUNDED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProviderID.md b/docs/ProviderID.md deleted file mode 100644 index bce6328e..00000000 --- a/docs/ProviderID.md +++ /dev/null @@ -1,29 +0,0 @@ -# ProviderID - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provider_id** | **str** | The ID of the provider associated with the account. | - -## Example - -```python -from fireblocks.models.provider_id import ProviderID - -# TODO update the JSON string below -json = "{}" -# create an instance of ProviderID from a JSON string -provider_id_instance = ProviderID.from_json(json) -# print the JSON string representation of the object -print(ProviderID.to_json()) - -# convert the object into a dict -provider_id_dict = provider_id_instance.to_dict() -# create an instance of ProviderID from a dict -provider_id_from_dict = ProviderID.from_dict(provider_id_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) - - diff --git a/docs/Quote.md b/docs/Quote.md index f8935710..2fa8ef6c 100644 --- a/docs/Quote.md +++ b/docs/Quote.md @@ -7,17 +7,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **via** | [**AccessType**](AccessType.md) | | **id** | **str** | | -**type** | **str** | Indicates this is an indicative quote | **quote_asset_id** | **str** | | **base_asset_id** | **str** | | **base_amount** | **str** | | **quote_amount** | **str** | | **price_impact** | **float** | | [optional] **quote_min_amount** | **str** | | [optional] -**execution_steps** | [**List[ExecutionStepDetails]**](ExecutionStepDetails.md) | | [optional] +**execution_steps** | [**List[QuoteExecutionStep]**](QuoteExecutionStep.md) | | [optional] **general_fees** | [**List[Fee]**](Fee.md) | | [optional] -**side** | **str** | Side of the order | -**expires_at** | **datetime** | ISO 8601 timestamp of the expiration time of the quote. | +**side** | [**Side**](Side.md) | | +**expires_at** | **str** | The expiration time of the quote in ISO format. | +**type** | [**IndicativeQuoteEnum**](IndicativeQuoteEnum.md) | | ## Example diff --git a/docs/QuoteExecutionRequestDetails.md b/docs/QuoteExecutionRequestDetails.md index 420452a3..72f5cc5d 100644 --- a/docs/QuoteExecutionRequestDetails.md +++ b/docs/QuoteExecutionRequestDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for quote orders | +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | **quote_id** | **str** | Quote ID for quote orders | ## Example diff --git a/docs/QuoteExecutionResponseDetails.md b/docs/QuoteExecutionResponseDetails.md deleted file mode 100644 index f6be91fa..00000000 --- a/docs/QuoteExecutionResponseDetails.md +++ /dev/null @@ -1,37 +0,0 @@ -# QuoteExecutionResponseDetails - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | Order type for quote orders | -**quote_id** | **str** | Quote ID for quote orders | -**quote_amount** | **str** | Quote amount for quote orders | -**side** | **str** | Side of the order | [default to 'BUY'] -**base_amount** | **str** | Amount to convert | -**base_asset_id** | **str** | Source asset identifier | -**base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] -**quote_asset_id** | **str** | Target asset identifier | -**quote_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] - -## Example - -```python -from fireblocks.models.quote_execution_response_details import QuoteExecutionResponseDetails - -# TODO update the JSON string below -json = "{}" -# create an instance of QuoteExecutionResponseDetails from a JSON string -quote_execution_response_details_instance = QuoteExecutionResponseDetails.from_json(json) -# print the JSON string representation of the object -print(QuoteExecutionResponseDetails.to_json()) - -# convert the object into a dict -quote_execution_response_details_dict = quote_execution_response_details_instance.to_dict() -# create an instance of QuoteExecutionResponseDetails from a dict -quote_execution_response_details_from_dict = QuoteExecutionResponseDetails.from_dict(quote_execution_response_details_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) - - diff --git a/docs/ExecutionStepDetails.md b/docs/QuoteExecutionStep.md similarity index 52% rename from docs/ExecutionStepDetails.md rename to docs/QuoteExecutionStep.md index 608ad609..d39be636 100644 --- a/docs/ExecutionStepDetails.md +++ b/docs/QuoteExecutionStep.md @@ -1,4 +1,4 @@ -# ExecutionStepDetails +# QuoteExecutionStep ## Properties @@ -11,19 +11,19 @@ Name | Type | Description | Notes ## Example ```python -from fireblocks.models.execution_step_details import ExecutionStepDetails +from fireblocks.models.quote_execution_step import QuoteExecutionStep # TODO update the JSON string below json = "{}" -# create an instance of ExecutionStepDetails from a JSON string -execution_step_details_instance = ExecutionStepDetails.from_json(json) +# create an instance of QuoteExecutionStep from a JSON string +quote_execution_step_instance = QuoteExecutionStep.from_json(json) # print the JSON string representation of the object -print(ExecutionStepDetails.to_json()) +print(QuoteExecutionStep.to_json()) # convert the object into a dict -execution_step_details_dict = execution_step_details_instance.to_dict() -# create an instance of ExecutionStepDetails from a dict -execution_step_details_from_dict = ExecutionStepDetails.from_dict(execution_step_details_dict) +quote_execution_step_dict = quote_execution_step_instance.to_dict() +# create an instance of QuoteExecutionStep from a dict +quote_execution_step_from_dict = QuoteExecutionStep.from_dict(quote_execution_step_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) diff --git a/docs/QuoteExecutionTypeDetails.md b/docs/QuoteExecutionTypeDetails.md index a85c8bc5..417db5b1 100644 --- a/docs/QuoteExecutionTypeDetails.md +++ b/docs/QuoteExecutionTypeDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for quote orders | +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | **quote_id** | **str** | Quote ID for quote orders | **quote_amount** | **str** | Quote amount for quote orders | diff --git a/docs/QuoteExecutionWithRequoteRequestDetails.md b/docs/QuoteExecutionWithRequoteRequestDetails.md index dc74749b..02419f37 100644 --- a/docs/QuoteExecutionWithRequoteRequestDetails.md +++ b/docs/QuoteExecutionWithRequoteRequestDetails.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for quote orders | +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | **quote_id** | **str** | Quote ID for quote orders | **re_quote** | [**ReQuoteDetailsReQuote**](ReQuoteDetailsReQuote.md) | | [optional] diff --git a/docs/QuoteExecutionWithRequoteResponseDetails.md b/docs/QuoteExecutionWithRequoteResponseDetails.md index 224f5dc8..58cd0944 100644 --- a/docs/QuoteExecutionWithRequoteResponseDetails.md +++ b/docs/QuoteExecutionWithRequoteResponseDetails.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Order type for quote orders | +**type** | [**QuoteTypeEnum**](QuoteTypeEnum.md) | | **quote_id** | **str** | Quote ID for quote orders | **quote_amount** | **str** | Quote amount for quote orders | -**side** | **str** | Side of the order | [default to 'BUY'] +**side** | [**Side**](Side.md) | | **base_amount** | **str** | Amount to convert | **base_asset_id** | **str** | Source asset identifier | **base_asset_rail** | [**TransferRail**](TransferRail.md) | | [optional] diff --git a/docs/QuotePropertiesDetails.md b/docs/QuotePropertiesDetails.md index 2c24e6e5..b5452849 100644 --- a/docs/QuotePropertiesDetails.md +++ b/docs/QuotePropertiesDetails.md @@ -7,16 +7,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **via** | [**AccessType**](AccessType.md) | | **id** | **str** | | -**type** | **str** | | **quote_asset_id** | **str** | | **base_asset_id** | **str** | | **base_amount** | **str** | | **quote_amount** | **str** | | **price_impact** | **float** | | [optional] **quote_min_amount** | **str** | | [optional] -**execution_steps** | [**List[ExecutionStepDetails]**](ExecutionStepDetails.md) | | [optional] +**execution_steps** | [**List[QuoteExecutionStep]**](QuoteExecutionStep.md) | | [optional] **general_fees** | [**List[Fee]**](Fee.md) | | [optional] -**side** | **str** | Side of the order | +**side** | [**Side**](Side.md) | | +**expires_at** | **str** | The expiration time of the quote in ISO format. | ## Example diff --git a/docs/QuoteTypeEnum.md b/docs/QuoteTypeEnum.md new file mode 100644 index 00000000..a926c86a --- /dev/null +++ b/docs/QuoteTypeEnum.md @@ -0,0 +1,11 @@ +# QuoteTypeEnum + +Order type for quote orders + +## Enum + +* `QUOTE` (value: `'QUOTE'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ReQuoteDetailsReQuote.md b/docs/ReQuoteDetailsReQuote.md index 657de1f2..f2a9213c 100644 --- a/docs/ReQuoteDetailsReQuote.md +++ b/docs/ReQuoteDetailsReQuote.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order. | -**count** | **float** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | -**slippage_bps** | **float** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] +**type** | [**RetryRequoteTypeEnum**](RetryRequoteTypeEnum.md) | | +**count** | **int** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | +**slippage_bps** | **int** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] ## Example diff --git a/docs/RegisterNewAssetRequest.md b/docs/RegisterNewAssetRequest.md index ad23df8f..d119d981 100644 --- a/docs/RegisterNewAssetRequest.md +++ b/docs/RegisterNewAssetRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **blockchain_id** | **str** | Native asset ID of the blockchain | -**address** | **str** | Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address - Sui: token's type | +**address** | **str** | Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address - Sui: token's type - TON: token's address | **symbol** | **str** | Required for Stellar only, asset code is expected. | [optional] ## Example diff --git a/docs/RelatedRequest.md b/docs/RelatedRequest.md index bfeaf498..49866fc9 100644 --- a/docs/RelatedRequest.md +++ b/docs/RelatedRequest.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **status** | **str** | The status of the request | **in_progress** | **bool** | Indicates whether there is an ongoing action for this position related to this request | -**amount** | **str** | Amount of tokens to Unstake | -**tx_id** | **str** | The transaction ID of the ongoing request | [optional] +**amount** | **str** | Amount of tokens | +**tx_id** | **str** | The transaction ID of the ongoing request | ## Example diff --git a/docs/RenameConnectedAccountRequest.md b/docs/RenameConnectedAccountRequest.md new file mode 100644 index 00000000..13f65d96 --- /dev/null +++ b/docs/RenameConnectedAccountRequest.md @@ -0,0 +1,29 @@ +# RenameConnectedAccountRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_name** | **str** | The new name for the connected account | + +## Example + +```python +from fireblocks.models.rename_connected_account_request import RenameConnectedAccountRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of RenameConnectedAccountRequest from a JSON string +rename_connected_account_request_instance = RenameConnectedAccountRequest.from_json(json) +# print the JSON string representation of the object +print(RenameConnectedAccountRequest.to_json()) + +# convert the object into a dict +rename_connected_account_request_dict = rename_connected_account_request_instance.to_dict() +# create an instance of RenameConnectedAccountRequest from a dict +rename_connected_account_request_from_dict = RenameConnectedAccountRequest.from_dict(rename_connected_account_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) + + diff --git a/docs/RenameConnectedAccountResponse.md b/docs/RenameConnectedAccountResponse.md new file mode 100644 index 00000000..7176b5e0 --- /dev/null +++ b/docs/RenameConnectedAccountResponse.md @@ -0,0 +1,81 @@ +# RenameConnectedAccountResponse + +Status of the rename operation + +## Enum + +* `SUCCESS` (value: `'SUCCESS'`) + +* `UNAUTHORISED__USER` (value: `'UNAUTHORISED__USER'`) + +* `UNAUTHORISED__DEVICE` (value: `'UNAUTHORISED__DEVICE'`) + +* `INVALID_UNMANAGED_WALLET` (value: `'INVALID_UNMANAGED_WALLET'`) + +* `INVALID_EXCHANGE_ACCOUNT` (value: `'INVALID_EXCHANGE_ACCOUNT'`) + +* `NO_ACTIVE_ADMINS` (value: `'NO_ACTIVE_ADMINS'`) + +* `TIMEOUT` (value: `'TIMEOUT'`) + +* `INVALID_PARAMETERS` (value: `'INVALID_PARAMETERS'`) + +* `INTERNAL_ERROR` (value: `'INTERNAL_ERROR'`) + +* `INVALID_CREDENTIALS` (value: `'INVALID_CREDENTIALS'`) + +* `INVALID_OTP` (value: `'INVALID_OTP'`) + +* `INVALID_OTP_METHOD` (value: `'INVALID_OTP_METHOD'`) + +* `INVALID_NETWORK_CONNECTION` (value: `'INVALID_NETWORK_CONNECTION'`) + +* `NETWORK_CONNECTION_EXISTS` (value: `'NETWORK_CONNECTION_EXISTS'`) + +* `INVALID_CREDENTIALS__UNSUPPORTED_PROVIDER` (value: `'INVALID_CREDENTIALS__UNSUPPORTED_PROVIDER'`) + +* `UNSUPPORTED_ALGORITHM` (value: `'UNSUPPORTED_ALGORITHM'`) + +* `INVALID_CREDENTIALS__IP_WHITELISTING` (value: `'INVALID_CREDENTIALS__IP_WHITELISTING'`) + +* `INVALID_CREDENTIALS__OTP_FAILED` (value: `'INVALID_CREDENTIALS__OTP_FAILED'`) + +* `UNSUPPORTED_ASSET` (value: `'UNSUPPORTED_ASSET'`) + +* `ASSET_ALREADY_EXISTS` (value: `'ASSET_ALREADY_EXISTS'`) + +* `ENV_UNSUPPORTED_ASSET` (value: `'ENV_UNSUPPORTED_ASSET'`) + +* `NO_CONFIG_CHANGE_NEEDED` (value: `'NO_CONFIG_CHANGE_NEEDED'`) + +* `SIMILAR_REQUEST_ALREADY_PENDING` (value: `'SIMILAR_REQUEST_ALREADY_PENDING'`) + +* `CLOUD_COSIGNER_ALREADY_EXISTS` (value: `'CLOUD_COSIGNER_ALREADY_EXISTS'`) + +* `ILLEGAL_OPERATION` (value: `'ILLEGAL_OPERATION'`) + +* `OVERRIDING_PENDING_REQUEST` (value: `'OVERRIDING_PENDING_REQUEST'`) + +* `OWNER_NOT_IN_GROUP` (value: `'OWNER_NOT_IN_GROUP'`) + +* `INVALID_THIRD_PARTY_ACCOUNT_HIERARCHY` (value: `'INVALID_THIRD_PARTY_ACCOUNT_HIERARCHY'`) + +* `EXTERNAL_KEY_VALIDATION_FAILED` (value: `'EXTERNAL_KEY_VALIDATION_FAILED'`) + +* `NO_AVAILABLE_EXTERNAL_KEYS` (value: `'NO_AVAILABLE_EXTERNAL_KEYS'`) + +* `INVALID_PROOF_OF_OWNERSHIP_SIGNATURE` (value: `'INVALID_PROOF_OF_OWNERSHIP_SIGNATURE'`) + +* `USER_HAS_EXTERNAL_KEYS` (value: `'USER_HAS_EXTERNAL_KEYS'`) + +* `SCHEMA_ALREADY_EXISTS` (value: `'SCHEMA_ALREADY_EXISTS'`) + +* `SCHEMA_ID_OUT_OF_RANGE` (value: `'SCHEMA_ID_OUT_OF_RANGE'`) + +* `FORBIDDEN_SSO_IDP_DOMAIN` (value: `'FORBIDDEN_SSO_IDP_DOMAIN'`) + +* `UNKNOWN_ERROR` (value: `'UNKNOWN_ERROR'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RescanTransaction.md b/docs/RescanTransaction.md deleted file mode 100644 index 04964d57..00000000 --- a/docs/RescanTransaction.md +++ /dev/null @@ -1,30 +0,0 @@ -# RescanTransaction - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tx_hash** | **str** | Blockchain TX hash | [optional] -**asset_id** | **str** | Asset symbol BTC,ETH) | [optional] - -## Example - -```python -from fireblocks.models.rescan_transaction import RescanTransaction - -# TODO update the JSON string below -json = "{}" -# create an instance of RescanTransaction from a JSON string -rescan_transaction_instance = RescanTransaction.from_json(json) -# print the JSON string representation of the object -print(RescanTransaction.to_json()) - -# convert the object into a dict -rescan_transaction_dict = rescan_transaction_instance.to_dict() -# create an instance of RescanTransaction from a dict -rescan_transaction_from_dict = RescanTransaction.from_dict(rescan_transaction_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) - - diff --git a/docs/ResetDeviceApi.md b/docs/ResetDeviceApi.md index 612cd698..9d609f7f 100644 --- a/docs/ResetDeviceApi.md +++ b/docs/ResetDeviceApi.md @@ -13,6 +13,8 @@ Method | HTTP request | Description Resets device Resets mobile device for given console user, that user will need to do mobile onboarding again. +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/RetryRequoteRequestDetails.md b/docs/RetryRequoteRequestDetails.md index d778b267..2c1d1d9e 100644 --- a/docs/RetryRequoteRequestDetails.md +++ b/docs/RetryRequoteRequestDetails.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | Indicates that the order should be re-quoted if the original quote is expired, trying to match the original quote. | -**count** | **float** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | -**slippage_bps** | **float** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] +**type** | [**RetryRequoteTypeEnum**](RetryRequoteTypeEnum.md) | | +**count** | **int** | If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote. | +**slippage_bps** | **int** | Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100% | [optional] ## Example diff --git a/docs/RetryRequoteTypeEnum.md b/docs/RetryRequoteTypeEnum.md new file mode 100644 index 00000000..82a1e8fb --- /dev/null +++ b/docs/RetryRequoteTypeEnum.md @@ -0,0 +1,11 @@ +# RetryRequoteTypeEnum + +Indicates that the order should be re-quoted if the original quote is expired, trying to match the original quote. + +## Enum + +* `RETRY` (value: `'RETRY'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RoleDetails.md b/docs/RoleDetails.md new file mode 100644 index 00000000..dbd24199 --- /dev/null +++ b/docs/RoleDetails.md @@ -0,0 +1,31 @@ +# RoleDetails + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**role_hash** | **str** | The role hash identifier | +**description** | **str** | Human-readable description of the role | +**accounts** | [**List[RoleGrantee]**](RoleGrantee.md) | List of accounts that have been granted this role | + +## Example + +```python +from fireblocks.models.role_details import RoleDetails + +# TODO update the JSON string below +json = "{}" +# create an instance of RoleDetails from a JSON string +role_details_instance = RoleDetails.from_json(json) +# print the JSON string representation of the object +print(RoleDetails.to_json()) + +# convert the object into a dict +role_details_dict = role_details_instance.to_dict() +# create an instance of RoleDetails from a dict +role_details_from_dict = RoleDetails.from_dict(role_details_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) + + diff --git a/docs/RoleGrantee.md b/docs/RoleGrantee.md new file mode 100644 index 00000000..cd16345a --- /dev/null +++ b/docs/RoleGrantee.md @@ -0,0 +1,30 @@ +# RoleGrantee + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_address** | **str** | The address of the account that has been granted the role | +**date_of_grant** | **datetime** | The date when the role was granted to this account | + +## Example + +```python +from fireblocks.models.role_grantee import RoleGrantee + +# TODO update the JSON string below +json = "{}" +# create an instance of RoleGrantee from a JSON string +role_grantee_instance = RoleGrantee.from_json(json) +# print the JSON string representation of the object +print(RoleGrantee.to_json()) + +# convert the object into a dict +role_grantee_dict = role_grantee_instance.to_dict() +# create an instance of RoleGrantee from a dict +role_grantee_from_dict = RoleGrantee.from_dict(role_grantee_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) + + diff --git a/docs/AccountProviderID.md b/docs/ScopeItem.md similarity index 55% rename from docs/AccountProviderID.md rename to docs/ScopeItem.md index 5156205f..6c5f9958 100644 --- a/docs/AccountProviderID.md +++ b/docs/ScopeItem.md @@ -1,4 +1,4 @@ -# AccountProviderID +# ScopeItem ## Properties @@ -6,24 +6,24 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **provider_id** | **str** | The ID of the provider associated with the account. | -**account_id** | **str** | The ID of the account associated with the provider. | +**account_id** | **str** | The ID of the account associated with the provider. | [optional] ## Example ```python -from fireblocks.models.account_provider_id import AccountProviderID +from fireblocks.models.scope_item import ScopeItem # TODO update the JSON string below json = "{}" -# create an instance of AccountProviderID from a JSON string -account_provider_id_instance = AccountProviderID.from_json(json) +# create an instance of ScopeItem from a JSON string +scope_item_instance = ScopeItem.from_json(json) # print the JSON string representation of the object -print(AccountProviderID.to_json()) +print(ScopeItem.to_json()) # convert the object into a dict -account_provider_id_dict = account_provider_id_instance.to_dict() -# create an instance of AccountProviderID from a dict -account_provider_id_from_dict = AccountProviderID.from_dict(account_provider_id_dict) +scope_item_dict = scope_item_instance.to_dict() +# create an instance of ScopeItem from a dict +scope_item_from_dict = ScopeItem.from_dict(scope_item_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) diff --git a/docs/ScreeningTRLinkMissingTrmDecision.md b/docs/ScreeningTRLinkMissingTrmDecision.md index 5b232b81..b6ff764d 100644 --- a/docs/ScreeningTRLinkMissingTrmDecision.md +++ b/docs/ScreeningTRLinkMissingTrmDecision.md @@ -6,7 +6,7 @@ Interface for reporting missing TRM screening decisions in ITRLinkResult Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_id** | **str** | Reference to TrlinkCustomer.id | [optional] +**customer_id** | **str** | Reference to TRLinkCustomer.id | [optional] **direction** | [**TravelRuleDirectionEnum**](TravelRuleDirectionEnum.md) | | [optional] **source_type** | [**TransferPeerTypeEnum**](TransferPeerTypeEnum.md) | | [optional] **source_sub_type** | [**TransferPeerSubTypeEnum**](TransferPeerSubTypeEnum.md) | | [optional] diff --git a/docs/ScreeningTRLinkMissingTrmRule.md b/docs/ScreeningTRLinkMissingTrmRule.md index b0fbc6cf..6c70742f 100644 --- a/docs/ScreeningTRLinkMissingTrmRule.md +++ b/docs/ScreeningTRLinkMissingTrmRule.md @@ -6,7 +6,7 @@ TRLink missing TRM rule definition Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_id** | **str** | Reference to TrlinkCustomer.id | [optional] +**customer_id** | **str** | Reference to TRLinkCustomer.id | [optional] **direction** | [**TravelRuleDirectionEnum**](TravelRuleDirectionEnum.md) | | [optional] **source_type** | [**TransferPeerTypeEnum**](TransferPeerTypeEnum.md) | | [optional] **source_sub_type** | [**TransferPeerSubTypeEnum**](TransferPeerSubTypeEnum.md) | | [optional] diff --git a/docs/ScreeningTRLinkPostScreeningRule.md b/docs/ScreeningTRLinkPostScreeningRule.md index 5b000c6a..cab6c676 100644 --- a/docs/ScreeningTRLinkPostScreeningRule.md +++ b/docs/ScreeningTRLinkPostScreeningRule.md @@ -6,7 +6,7 @@ TRLink post-screening rule definition Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_id** | **str** | Reference to TrlinkCustomer.id | [optional] +**customer_id** | **str** | Reference to TRLinkCustomer.id | [optional] **direction** | [**TravelRuleDirectionEnum**](TravelRuleDirectionEnum.md) | | [optional] **source_type** | [**TransferPeerTypeEnum**](TransferPeerTypeEnum.md) | | [optional] **source_sub_type** | [**TransferPeerSubTypeEnum**](TransferPeerSubTypeEnum.md) | | [optional] diff --git a/docs/ScreeningTRLinkPrescreeningRule.md b/docs/ScreeningTRLinkPrescreeningRule.md index 31d2582a..cfa43ff4 100644 --- a/docs/ScreeningTRLinkPrescreeningRule.md +++ b/docs/ScreeningTRLinkPrescreeningRule.md @@ -6,7 +6,7 @@ TRLink pre-screening rule definition Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_id** | **str** | Reference to TrlinkCustomer.id | [optional] +**customer_id** | **str** | Reference to TRLinkCustomer.id | [optional] **direction** | [**TravelRuleDirectionEnum**](TravelRuleDirectionEnum.md) | | [optional] **source_type** | [**TransferPeerTypeEnum**](TransferPeerTypeEnum.md) | | [optional] **source_sub_type** | [**TransferPeerSubTypeEnum**](TransferPeerSubTypeEnum.md) | | [optional] diff --git a/docs/ScreeningTRLinkRuleBase.md b/docs/ScreeningTRLinkRuleBase.md index b4249443..ed656382 100644 --- a/docs/ScreeningTRLinkRuleBase.md +++ b/docs/ScreeningTRLinkRuleBase.md @@ -6,7 +6,7 @@ Base interface for TRLink policy rules Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer_id** | **str** | Reference to TrlinkCustomer.id | [optional] +**customer_id** | **str** | Reference to TRLinkCustomer.id | [optional] **direction** | [**TravelRuleDirectionEnum**](TravelRuleDirectionEnum.md) | | [optional] **source_type** | [**TransferPeerTypeEnum**](TransferPeerTypeEnum.md) | | [optional] **source_sub_type** | [**TransferPeerSubTypeEnum**](TransferPeerSubTypeEnum.md) | | [optional] diff --git a/docs/Settlement.md b/docs/Settlement.md index e3b7ad9a..9e7aed99 100644 --- a/docs/Settlement.md +++ b/docs/Settlement.md @@ -6,7 +6,7 @@ Settlement configuration for the order Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**DVPSettlementType**](DVPSettlementType.md) | | **destination_account** | [**AccountReference**](AccountReference.md) | | **source_account** | [**SettlementSourceAccount**](SettlementSourceAccount.md) | | diff --git a/docs/SettlementSourceAccount.md b/docs/SettlementSourceAccount.md index a002921e..204917f7 100644 --- a/docs/SettlementSourceAccount.md +++ b/docs/SettlementSourceAccount.md @@ -5,8 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str** | | +**type** | [**ExternalAccountType**](ExternalAccountType.md) | | **account_id** | **str** | | +**sender_information** | [**ExternalAccountSenderInformation**](ExternalAccountSenderInformation.md) | | [optional] ## Example diff --git a/docs/Side.md b/docs/Side.md new file mode 100644 index 00000000..70e35125 --- /dev/null +++ b/docs/Side.md @@ -0,0 +1,13 @@ +# Side + +Side of the order + +## Enum + +* `BUY` (value: `'BUY'`) + +* `SELL` (value: `'SELL'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SmartTransferApi.md b/docs/SmartTransferApi.md index 1b7f3b89..343a87be 100644 --- a/docs/SmartTransferApi.md +++ b/docs/SmartTransferApi.md @@ -4,12 +4,12 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**approve_dv_p_ticket_term**](SmartTransferApi.md#approve_dv_p_ticket_term) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Define funding source and give approve to contract to transfer asset +[**approve_dv_p_ticket_term**](SmartTransferApi.md#approve_dv_p_ticket_term) | **PUT** /smart_transfers/{ticketId}/terms/{termId}/dvp/approve | Set funding source and approval [**cancel_ticket**](SmartTransferApi.md#cancel_ticket) | **PUT** /smart-transfers/{ticketId}/cancel | Cancel Ticket [**create_ticket**](SmartTransferApi.md#create_ticket) | **POST** /smart-transfers | Create Ticket [**create_ticket_term**](SmartTransferApi.md#create_ticket_term) | **POST** /smart-transfers/{ticketId}/terms | Create leg (term) -[**find_ticket_by_id**](SmartTransferApi.md#find_ticket_by_id) | **GET** /smart-transfers/{ticketId} | Search Tickets by ID -[**find_ticket_term_by_id**](SmartTransferApi.md#find_ticket_term_by_id) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Search ticket by leg (term) ID +[**find_ticket_by_id**](SmartTransferApi.md#find_ticket_by_id) | **GET** /smart-transfers/{ticketId} | Search Ticket by ID +[**find_ticket_term_by_id**](SmartTransferApi.md#find_ticket_term_by_id) | **GET** /smart-transfers/{ticketId}/terms/{termId} | Get Smart Transfer ticket term [**fulfill_ticket**](SmartTransferApi.md#fulfill_ticket) | **PUT** /smart-transfers/{ticketId}/fulfill | Fund ticket manually [**fund_dvp_ticket**](SmartTransferApi.md#fund_dvp_ticket) | **PUT** /smart_transfers/{ticketId}/dvp/fund | Fund dvp ticket [**fund_ticket_term**](SmartTransferApi.md#fund_ticket_term) | **PUT** /smart-transfers/{ticketId}/terms/{termId}/fund | Define funding source @@ -28,7 +28,7 @@ Method | HTTP request | Description # **approve_dv_p_ticket_term** > SmartTransferTicketTermResponse approve_dv_p_ticket_term(ticket_id, term_id, smart_transfer_approve_term, idempotency_key=idempotency_key) -Define funding source and give approve to contract to transfer asset +Set funding source and approval Set funding source for ticket term and creating approving transaction for contract to transfer asset @@ -64,7 +64,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Define funding source and give approve to contract to transfer asset + # Set funding source and approval api_response = fireblocks.smart_transfer.approve_dv_p_ticket_term(ticket_id, term_id, smart_transfer_approve_term, idempotency_key=idempotency_key).result() print("The response of SmartTransferApi->approve_dv_p_ticket_term:\n") pprint(api_response) @@ -113,7 +113,7 @@ No authorization required Cancel Ticket -Cancel Smart Transfer ticket +Cancel Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -191,7 +191,12 @@ No authorization required Create Ticket -Creates new Smart Transfer ticket +Creates a new Smart Transfer ticket. Learn more about Fireblocks Smart Transfers [here](https://developers.fireblocks.com/docs/execute-smart-transfers). + +**Note:** The `DVP` value is in Early Access and should only be used if Fireblocks has enabled it in your workspace. Contact your Customer Success Manager for more information. + +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. + ### Example @@ -269,7 +274,7 @@ No authorization required Create leg (term) -Creates new smart transfer ticket term (when the ticket status is DRAFT) +Creates new smart transfer ticket term (when the ticket status is DRAFT). Learn more about Fireblocks Smart Transfers in the following [guide](https://developers.fireblocks.com/docs/execute-smart-transfers).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -347,9 +352,9 @@ No authorization required # **find_ticket_by_id** > SmartTransferTicketResponse find_ticket_by_id(ticket_id) -Search Tickets by ID +Search Ticket by ID -Find Smart Transfer ticket by id +Find Smart Transfer ticket by id.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -379,7 +384,7 @@ with Fireblocks(configuration) as fireblocks: ticket_id = 'ticket_id_example' # str | try: - # Search Tickets by ID + # Search Ticket by ID api_response = fireblocks.smart_transfer.find_ticket_by_id(ticket_id).result() print("The response of SmartTransferApi->find_ticket_by_id:\n") pprint(api_response) @@ -422,9 +427,9 @@ No authorization required # **find_ticket_term_by_id** > SmartTransferTicketTermResponse find_ticket_term_by_id(ticket_id, term_id) -Search ticket by leg (term) ID +Get Smart Transfer ticket term -Find Smart Transfer ticket term by id +Find a specific term of a specific Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -455,7 +460,7 @@ with Fireblocks(configuration) as fireblocks: term_id = 'term_id_example' # str | try: - # Search ticket by leg (term) ID + # Get Smart Transfer ticket term api_response = fireblocks.smart_transfer.find_ticket_term_by_id(ticket_id, term_id).result() print("The response of SmartTransferApi->find_ticket_term_by_id:\n") pprint(api_response) @@ -501,7 +506,7 @@ No authorization required Fund ticket manually -Manually fulfill ticket, in case when all terms (legs) are funded manually +Manually fulfill ticket, in case when all terms (legs) are funded manually.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -660,7 +665,7 @@ No authorization required Define funding source -Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately) +Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -814,7 +819,8 @@ No authorization required Get user group -Get Smart Transfer user groups +Get Smart Transfer user groups. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -885,7 +891,8 @@ No authorization required Manually add term transaction -Manually set ticket term transaction +Manually set ticket term transaction. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1041,7 +1048,8 @@ No authorization required Find Ticket -Finds Smart Transfer tickets that match the submitted criteria +Find tickets by their title or ticker. You can also query all tickets without filters by not providing any input parameters. +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1137,7 +1145,7 @@ No authorization required Add external ref. ID -Set external id Smart Transfer ticket +Set external id Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1218,7 +1226,7 @@ No authorization required Set expiration -Set expiration date on Smart Transfer ticket +Set expiration date on Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1299,7 +1307,8 @@ No authorization required Set user group -Set Smart Transfer user group +Set Smart Transfers user group to receive email notifications for Smart Transfers. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1377,7 +1386,7 @@ No authorization required Submit ticket -Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on +Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/SolanaBlockchainData.md b/docs/SolanaBlockchainData.md index 7a3f5839..e95969f8 100644 --- a/docs/SolanaBlockchainData.md +++ b/docs/SolanaBlockchainData.md @@ -7,7 +7,7 @@ Additional fields per blockchain - can be empty or missing if not initialized or Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **stake_account_address** | **str** | The stake account address matching the stakeAccountId. | -**stake_account_derivation_change_value** | **float** | The value of the change level in the BIP44 path which was used to derive the stake account address | +**stake_account_derivation_change_value** | **float** | The value of the change level in the BIP32 path which was used to derive the stake account address. | ## Example diff --git a/docs/SplitRequest.md b/docs/SplitRequest.md index 7418de60..1105b716 100644 --- a/docs/SplitRequest.md +++ b/docs/SplitRequest.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **amount** | **str** | Amount of tokens to be transferred to the new stake account. | **fee** | **str** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] **fee_level** | [**FeeLevel**](FeeLevel.md) | | [optional] -**tx_note** | **str** | The note to associate with the transactions. | [optional] +**tx_note** | **str** | The note to associate with the split transactions. | [optional] ## Example diff --git a/docs/StEthBlockchainData.md b/docs/StEthBlockchainData.md new file mode 100644 index 00000000..777c7649 --- /dev/null +++ b/docs/StEthBlockchainData.md @@ -0,0 +1,31 @@ +# StEthBlockchainData + +Additional fields per blockchain for Staked Ethereum (STETH_ETH) - can be empty or missing if not initialized or no additional info exists. + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_withdrawable_amount** | **str** | The total amount available for withdrawal. | +**total_inactive_amount** | **str** | The total inactive amount. | + +## Example + +```python +from fireblocks.models.st_eth_blockchain_data import StEthBlockchainData + +# TODO update the JSON string below +json = "{}" +# create an instance of StEthBlockchainData from a JSON string +st_eth_blockchain_data_instance = StEthBlockchainData.from_json(json) +# print the JSON string representation of the object +print(StEthBlockchainData.to_json()) + +# convert the object into a dict +st_eth_blockchain_data_dict = st_eth_blockchain_data_instance.to_dict() +# create an instance of StEthBlockchainData from a dict +st_eth_blockchain_data_from_dict = StEthBlockchainData.from_dict(st_eth_blockchain_data_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) + + diff --git a/docs/StakeRequest.md b/docs/StakeRequest.md index ff2bb71b..7a688cab 100644 --- a/docs/StakeRequest.md +++ b/docs/StakeRequest.md @@ -5,12 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**vault_account_id** | **str** | The source vault account to stake from | +**vault_account_id** | **str** | The Fireblocks vault account ID that will source the funds for staking. | **provider_id** | [**StakingProvider**](StakingProvider.md) | | -**stake_amount** | **str** | Amount of tokens to stake | -**tx_note** | **str** | The note to associate with the stake transactions. | [optional] -**fee** | **str** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] +**stake_amount** | **str** | The amount of tokens to stake. The amount may be truncated to match the chain's decimal precision requirements. | +**tx_note** | **str** | Optional note or comment to associate with the stake transaction. This note will be included in transaction records and can be used for tracking or audit purposes. | [optional] +**fee** | **str** | Optional transaction fee. Controls the priority and cost of the blockchain transaction. Only one of 'fee' or 'feeLevel' should be provided; if both are specified, 'feeLevel' takes precedence. | [optional] **fee_level** | [**FeeLevel**](FeeLevel.md) | | [optional] +**chain_descriptor** | **str** | Protocol identifier for the staking operation | [optional] +**id** | **str** | Applies only to Ethereum compounding validator staking (Pectra/EIP-7251). The ID of an existing staking position to add additional stake to. When provided, adds stake to the specified position instead of creating a new one. Requires 'isCompoundingValidator' to be true. | [optional] +**is_compounding_validator** | **bool** | Applies only to Ethereum staking. Indicates whether to use a compounding validator (see Pectra/EIP-7251). When true, creates a position that supports adding additional stake via the 'id' parameter. If not provided, defaults to false and a legacy (non-compounding) validator will be used. | [optional] ## Example diff --git a/docs/StakingApi.md b/docs/StakingApi.md index fe12f9a7..189a46e6 100644 --- a/docs/StakingApi.md +++ b/docs/StakingApi.md @@ -4,29 +4,28 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**approve_terms_of_service_by_provider_id**](StakingApi.md#approve_terms_of_service_by_provider_id) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve staking terms of service -[**claim_rewards**](StakingApi.md#claim_rewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Execute a Claim Rewards operation -[**get_all_delegations**](StakingApi.md#get_all_delegations) | **GET** /staking/positions | List staking positions details -[**get_chain_info**](StakingApi.md#get_chain_info) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-specific staking summary -[**get_chains**](StakingApi.md#get_chains) | **GET** /staking/chains | List staking supported chains -[**get_delegation_by_id**](StakingApi.md#get_delegation_by_id) | **GET** /staking/positions/{id} | Get staking position details -[**get_providers**](StakingApi.md#get_providers) | **GET** /staking/providers | List staking providers details -[**get_summary**](StakingApi.md#get_summary) | **GET** /staking/positions/summary | Get staking summary details -[**get_summary_by_vault**](StakingApi.md#get_summary_by_vault) | **GET** /staking/positions/summary/vaults | Get staking summary details by vault -[**merge_stake_accounts**](StakingApi.md#merge_stake_accounts) | **POST** /staking/chains/{chainDescriptor}/merge | Merge Solana on stake accounts -[**split**](StakingApi.md#split) | **POST** /staking/chains/{chainDescriptor}/split | Execute a Split operation on SOL/SOL_TEST stake account -[**stake**](StakingApi.md#stake) | **POST** /staking/chains/{chainDescriptor}/stake | Initiate Stake Operation -[**unstake**](StakingApi.md#unstake) | **POST** /staking/chains/{chainDescriptor}/unstake | Execute an Unstake operation -[**withdraw**](StakingApi.md#withdraw) | **POST** /staking/chains/{chainDescriptor}/withdraw | Execute a Withdraw operation +[**approve_terms_of_service_by_provider_id**](StakingApi.md#approve_terms_of_service_by_provider_id) | **POST** /staking/providers/{providerId}/approveTermsOfService | Approve provider terms of service +[**claim_rewards**](StakingApi.md#claim_rewards) | **POST** /staking/chains/{chainDescriptor}/claim_rewards | Claim accrued rewards +[**get_all_delegations**](StakingApi.md#get_all_delegations) | **GET** /staking/positions | List staking positions +[**get_chain_info**](StakingApi.md#get_chain_info) | **GET** /staking/chains/{chainDescriptor}/chainInfo | Get chain-level staking parameters +[**get_chains**](StakingApi.md#get_chains) | **GET** /staking/chains | List supported staking chains +[**get_delegation_by_id**](StakingApi.md#get_delegation_by_id) | **GET** /staking/positions/{id} | Get position details +[**get_providers**](StakingApi.md#get_providers) | **GET** /staking/providers | List staking providers +[**get_summary**](StakingApi.md#get_summary) | **GET** /staking/positions/summary | Get positions summary +[**get_summary_by_vault**](StakingApi.md#get_summary_by_vault) | **GET** /staking/positions/summary/vaults | Get positions summary by vault +[**merge_stake_accounts**](StakingApi.md#merge_stake_accounts) | **POST** /staking/chains/{chainDescriptor}/merge | Merge staking positions +[**split**](StakingApi.md#split) | **POST** /staking/chains/{chainDescriptor}/split | Split a staking position +[**stake**](StakingApi.md#stake) | **POST** /staking/chains/{chainDescriptor}/stake | Initiate or add to existing stake +[**unstake**](StakingApi.md#unstake) | **POST** /staking/chains/{chainDescriptor}/unstake | Initiate unstake +[**withdraw**](StakingApi.md#withdraw) | **POST** /staking/chains/{chainDescriptor}/withdraw | Withdraw staked funds # **approve_terms_of_service_by_provider_id** > approve_terms_of_service_by_provider_id(provider_id, idempotency_key=idempotency_key) -Approve staking terms of service +Approve provider terms of service -Approve the terms of service of the staking provider. -This must be called before performing a staking action for the first time with this provider. +Approves the provider's terms of service. Must be called once before performing any staking operation with this provider. ### Example @@ -52,11 +51,11 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - provider_id = fireblocks.StakingProvider() # StakingProvider | The unique identifier of the staking provider + provider_id = fireblocks.StakingProvider() # StakingProvider | Unique identifier of the staking provider. idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Approve staking terms of service + # Approve provider terms of service fireblocks.staking.approve_terms_of_service_by_provider_id(provider_id, idempotency_key=idempotency_key).result() except Exception as e: print("Exception when calling StakingApi->approve_terms_of_service_by_provider_id: %s\n" % e) @@ -69,7 +68,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **provider_id** | [**StakingProvider**](.md)| The unique identifier of the staking provider | + **provider_id** | [**StakingProvider**](.md)| Unique identifier of the staking provider. | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] ### Return type @@ -89,7 +88,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | The terms of service have been successfully approved and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Terms of service accepted. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -97,9 +101,9 @@ No authorization required # **claim_rewards** > claim_rewards(chain_descriptor, claim_rewards_request, idempotency_key=idempotency_key) -Execute a Claim Rewards operation +Claim accrued rewards -Perform a chain-specific Claim Rewards. +Claims available staking rewards for the specified chain and vault. Supported chains: Solana and Polygon (Matic). Behavior depends on protocol reward distribution. ### Example @@ -125,12 +129,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = 'MATIC' # str | The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use + chain_descriptor = 'SOL' # str | Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL). claim_rewards_request = fireblocks.ClaimRewardsRequest() # ClaimRewardsRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Execute a Claim Rewards operation + # Claim accrued rewards fireblocks.staking.claim_rewards(chain_descriptor, claim_rewards_request, idempotency_key=idempotency_key).result() except Exception as e: print("Exception when calling StakingApi->claim_rewards: %s\n" % e) @@ -143,7 +147,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | **str**| The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use | + **chain_descriptor** | **str**| Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL). | **claim_rewards_request** | [**ClaimRewardsRequest**](ClaimRewardsRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -164,7 +168,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Claim Rewards action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Claim-rewards request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -172,9 +181,10 @@ No authorization required # **get_all_delegations** > List[Delegation] get_all_delegations(chain_descriptor=chain_descriptor) -List staking positions details +List staking positions -Return detailed information on all staking positions, including the staked amount, rewards, status and more. +Returns all staking positions with core details: amounts, rewards, status, chain, and vault. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -202,10 +212,10 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Use \"ETH\" / \"SOL\" / \"MATIC\" / \"STETH_ETH\" in order to obtain information related to the specific blockchain network or retrieve information about all chains that have data available by providing no argument. (optional) + chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. (optional) try: - # List staking positions details + # List staking positions api_response = fireblocks.staking.get_all_delegations(chain_descriptor=chain_descriptor).result() print("The response of StakingApi->get_all_delegations:\n") pprint(api_response) @@ -220,7 +230,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | [**ChainDescriptor**](.md)| Use \"ETH\" / \"SOL\" / \"MATIC\" / \"STETH_ETH\" in order to obtain information related to the specific blockchain network or retrieve information about all chains that have data available by providing no argument. | [optional] + **chain_descriptor** | [**ChainDescriptor**](.md)| Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. | [optional] ### Return type @@ -239,7 +249,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | An array of position data was returned successfully | * X-Request-ID -
    | +**200** | Positions retrieved successfully. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -247,9 +262,9 @@ No authorization required # **get_chain_info** > ChainInfoResponse get_chain_info(chain_descriptor) -Get chain-specific staking summary +Get chain-level staking parameters -Return chain-specific, staking-related information summary (e.g. epoch details, lockup durations, estimated rewards, etc.) +Returns chain-specific staking information such as epoch/slot cadence, lockup or unbonding periods, fee/reward mechanics, and other operational constraints. ### Example @@ -277,10 +292,10 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use + chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL). try: - # Get chain-specific staking summary + # Get chain-level staking parameters api_response = fireblocks.staking.get_chain_info(chain_descriptor).result() print("The response of StakingApi->get_chain_info:\n") pprint(api_response) @@ -295,7 +310,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use | + **chain_descriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL). | ### Return type @@ -314,7 +329,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Chain specific info summary was returned successfully | * X-Request-ID -
    | +**200** | Chain-specific staking information returned successfully. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -322,9 +342,10 @@ No authorization required # **get_chains** > List[ChainDescriptor] get_chains() -List staking supported chains +List supported staking chains -Return an alphabetical list of supported chains. +Returns an alphabetical list of blockchains supported for staking by the current workspace context. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -353,7 +374,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # List staking supported chains + # List supported staking chains api_response = fireblocks.staking.get_chains().result() print("The response of StakingApi->get_chains:\n") pprint(api_response) @@ -384,7 +405,11 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | An array of supported chains was returned successfully | * X-Request-ID -
    | +**200** | An array of supported chains was returned successfully. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -392,9 +417,9 @@ No authorization required # **get_delegation_by_id** > Delegation get_delegation_by_id(id) -Get staking position details +Get position details -Return detailed information on a staking position, including the staked amount, rewards, status and more. +Returns full details for a single staking position: amounts, rewards, status, chain, and vault. ### Example @@ -421,10 +446,10 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - id = '1fe3b61f-7e1f-4a19-aff0-4f0a524d44d7' # str | The unique identifier of the staking position + id = 'id_example' # str | Unique identifier of the staking position. try: - # Get staking position details + # Get position details api_response = fireblocks.staking.get_delegation_by_id(id).result() print("The response of StakingApi->get_delegation_by_id:\n") pprint(api_response) @@ -439,7 +464,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **id** | **str**| The unique identifier of the staking position | + **id** | **str**| Unique identifier of the staking position. | ### Return type @@ -458,7 +483,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Position data was returned successfully | * X-Request-ID -
    | +**200** | Position retrieved successfully. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -466,9 +496,10 @@ No authorization required # **get_providers** > List[Provider] get_providers() -List staking providers details +List staking providers -Return information on all the available staking providers. +Returns all available staking providers with metadata such as name, ID, and supported chains. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -497,7 +528,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # List staking providers details + # List staking providers api_response = fireblocks.staking.get_providers().result() print("The response of StakingApi->get_providers:\n") pprint(api_response) @@ -528,7 +559,11 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | An array of supported providers was returned successfully | * X-Request-ID -
    | +**200** | Supported providers retrieved successfully. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -536,9 +571,9 @@ No authorization required # **get_summary** > DelegationSummary get_summary() -Get staking summary details +Get positions summary -Return a summary of all vaults, categorized by their status (active, inactive), the total amounts staked and total rewards per-chain. +Returns an aggregated cross-vault summary: active/inactive counts, total staked, and total rewards per chain. ### Example @@ -567,7 +602,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # Get staking summary details + # Get positions summary api_response = fireblocks.staking.get_summary().result() print("The response of StakingApi->get_summary:\n") pprint(api_response) @@ -598,7 +633,11 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A summary for all vaults were returned successfully | * X-Request-ID -
    | +**200** | Summary across all vaults returned successfully. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -606,9 +645,9 @@ No authorization required # **get_summary_by_vault** > Dict[str, DelegationSummary] get_summary_by_vault() -Get staking summary details by vault +Get positions summary by vault -Return a summary for each vault, categorized by their status (active, inactive), the total amounts staked and total rewards per-chain. +Returns per-vault aggregates: status breakdown, total staked, and total rewards per chain. ### Example @@ -637,7 +676,7 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: try: - # Get staking summary details by vault + # Get positions summary by vault api_response = fireblocks.staking.get_summary_by_vault().result() print("The response of StakingApi->get_summary_by_vault:\n") pprint(api_response) @@ -668,7 +707,11 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A summary for each vault were returned successfully | * X-Request-ID -
    | +**200** | Per-vault summary returned successfully. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -676,11 +719,10 @@ No authorization required # **merge_stake_accounts** > MergeStakeAccountsResponse merge_stake_accounts(chain_descriptor, merge_stake_accounts_request, idempotency_key=idempotency_key) -Merge Solana on stake accounts +Merge staking positions -Perform a Solana Merge of two active stake accounts into one. - -Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +Merges the source stake account into the destination, consolidating the balance into the destination and closing the source account once complete. Both accounts must be from the same validator provider and of same vault account.. Supported chains: Solana (SOL). +
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -708,12 +750,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = 'SOL' # str | The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use + chain_descriptor = 'SOL' # str | Protocol identifier for the merge staking operation (e.g., SOL). merge_stake_accounts_request = fireblocks.MergeStakeAccountsRequest() # MergeStakeAccountsRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Merge Solana on stake accounts + # Merge staking positions api_response = fireblocks.staking.merge_stake_accounts(chain_descriptor, merge_stake_accounts_request, idempotency_key=idempotency_key).result() print("The response of StakingApi->merge_stake_accounts:\n") pprint(api_response) @@ -728,7 +770,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | **str**| The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use | + **chain_descriptor** | **str**| Protocol identifier for the merge staking operation (e.g., SOL). | **merge_stake_accounts_request** | [**MergeStakeAccountsRequest**](MergeStakeAccountsRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -749,7 +791,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Merge action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Merge request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -757,9 +804,9 @@ No authorization required # **split** > SplitResponse split(chain_descriptor, split_request, idempotency_key=idempotency_key) -Execute a Split operation on SOL/SOL_TEST stake account +Split a staking position -Perform a Solana Split stake account. +Splits a staking position by creating a new stake account with the requested amount, while keeping the original account with the remaining balance. Supported chains: Solana (SOL). ### Example @@ -787,12 +834,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = 'SOL' # str | The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use + chain_descriptor = 'SOL' # str | Protocol identifier for the staking operation (e.g., SOL). split_request = fireblocks.SplitRequest() # SplitRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Execute a Split operation on SOL/SOL_TEST stake account + # Split a staking position api_response = fireblocks.staking.split(chain_descriptor, split_request, idempotency_key=idempotency_key).result() print("The response of StakingApi->split:\n") pprint(api_response) @@ -807,7 +854,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | **str**| The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use | + **chain_descriptor** | **str**| Protocol identifier for the staking operation (e.g., SOL). | **split_request** | [**SplitRequest**](SplitRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -828,7 +875,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Split action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Split request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -836,9 +888,9 @@ No authorization required # **stake** > StakeResponse stake(chain_descriptor, stake_request, idempotency_key=idempotency_key) -Initiate Stake Operation +Initiate or add to existing stake -Perform a chain-specific Stake. +Creates a new staking position and returns its unique ID. For Ethereum compounding validator (EIP-7251): when the 'id' of an existing compounding validator position is provided, adds to that position; otherwise creates a new position. For Ethereum legacy validator: creates a new position regardless of existing delegations. For Cosmos chains and Ethereum liquid staking (Lido): automatically add to existing positions for the same validator provider and same vault account if one exists, otherwise create a new position. For Solana and Polygon: always create new positions regardless of existing delegations. ### Example @@ -867,12 +919,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA). stake_request = fireblocks.StakeRequest() # StakeRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Initiate Stake Operation + # Initiate or add to existing stake api_response = fireblocks.staking.stake(chain_descriptor, stake_request, idempotency_key=idempotency_key).result() print("The response of StakingApi->stake:\n") pprint(api_response) @@ -887,7 +939,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | + **chain_descriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA). | **stake_request** | [**StakeRequest**](StakeRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -908,7 +960,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Stake action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Stake request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -916,9 +973,9 @@ No authorization required # **unstake** > unstake(chain_descriptor, unstake_request, idempotency_key=idempotency_key) -Execute an Unstake operation +Initiate unstake -Execute an Unstake operation +Submits a chain-specific unstake request. ### Example @@ -945,12 +1002,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC). unstake_request = fireblocks.UnstakeRequest() # UnstakeRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Execute an Unstake operation + # Initiate unstake fireblocks.staking.unstake(chain_descriptor, unstake_request, idempotency_key=idempotency_key).result() except Exception as e: print("Exception when calling StakingApi->unstake: %s\n" % e) @@ -963,7 +1020,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | + **chain_descriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC). | **unstake_request** | [**UnstakeRequest**](UnstakeRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -984,7 +1041,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Unstake action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Unstake request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -992,9 +1054,9 @@ No authorization required # **withdraw** > withdraw(chain_descriptor, withdraw_request, idempotency_key=idempotency_key) -Execute a Withdraw operation +Withdraw staked funds -Perform a chain-specific Withdraw. +Withdraws funds that have completed the unbonding period. Typically requires the position to be deactivated first (unstake → unbond → withdraw). Amount and timing vary by chain protocol. ### Example @@ -1021,12 +1083,12 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use + chain_descriptor = fireblocks.ChainDescriptor() # ChainDescriptor | Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH). withdraw_request = fireblocks.WithdrawRequest() # WithdrawRequest | idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Execute a Withdraw operation + # Withdraw staked funds fireblocks.staking.withdraw(chain_descriptor, withdraw_request, idempotency_key=idempotency_key).result() except Exception as e: print("Exception when calling StakingApi->withdraw: %s\n" % e) @@ -1039,7 +1101,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **chain_descriptor** | [**ChainDescriptor**](.md)| The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use | + **chain_descriptor** | [**ChainDescriptor**](.md)| Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH). | **withdraw_request** | [**WithdrawRequest**](WithdrawRequest.md)| | **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] @@ -1060,7 +1122,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Withdraw action has been executed successfully on vault and is associated with 201 status code. | * X-Request-ID -
    | +**201** | Withdraw request accepted and created. | * X-Request-ID -
    | +**400** | Bad request: missing/invalid fields, unsupported amount, or malformed payload. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted provider/validator. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., position, validator, provider, or wallet). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**500** | Internal error while processing the request. | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) diff --git a/docs/StakingProvider.md b/docs/StakingProvider.md index f2a7b2bc..2a76e698 100644 --- a/docs/StakingProvider.md +++ b/docs/StakingProvider.md @@ -12,6 +12,14 @@ The unique identifier of the staking provider * `P2P` (value: `'p2p'`) +* `BLOCKDAEMON` (value: `'blockdaemon'`) + +* `GALAXY` (value: `'galaxy'`) + +* `PIERTWO` (value: `'pierTwo'`) + +* `KRAKEN` (value: `'kraken'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SupportedBlockChainsResponse.md b/docs/SupportedBlockChainsResponse.md new file mode 100644 index 00000000..9b6438b3 --- /dev/null +++ b/docs/SupportedBlockChainsResponse.md @@ -0,0 +1,30 @@ +# SupportedBlockChainsResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**supports_all_blockchains** | **bool** | Boolean representing if all blockchains are supported | +**supported_blockchains** | [**List[SupportedBlockchain]**](SupportedBlockchain.md) | List of supported blockchains | [optional] + +## Example + +```python +from fireblocks.models.supported_block_chains_response import SupportedBlockChainsResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of SupportedBlockChainsResponse from a JSON string +supported_block_chains_response_instance = SupportedBlockChainsResponse.from_json(json) +# print the JSON string representation of the object +print(SupportedBlockChainsResponse.to_json()) + +# convert the object into a dict +supported_block_chains_response_dict = supported_block_chains_response_instance.to_dict() +# create an instance of SupportedBlockChainsResponse from a dict +supported_block_chains_response_from_dict = SupportedBlockChainsResponse.from_dict(supported_block_chains_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) + + diff --git a/docs/SupportedBlockchain.md b/docs/SupportedBlockchain.md new file mode 100644 index 00000000..a5f76d06 --- /dev/null +++ b/docs/SupportedBlockchain.md @@ -0,0 +1,32 @@ +# SupportedBlockchain + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The ID of the blockchain | +**legacy_id** | **str** | The old blockchain ID representation of the blockchain | +**display_name** | **str** | The name of the blockchain | +**native_asset_id** | **str** | Native asset ID of this blockchain | + +## Example + +```python +from fireblocks.models.supported_blockchain import SupportedBlockchain + +# TODO update the JSON string below +json = "{}" +# create an instance of SupportedBlockchain from a JSON string +supported_blockchain_instance = SupportedBlockchain.from_json(json) +# print the JSON string representation of the object +print(SupportedBlockchain.to_json()) + +# convert the object into a dict +supported_blockchain_dict = supported_blockchain_instance.to_dict() +# create an instance of SupportedBlockchain from a dict +supported_blockchain_from_dict = SupportedBlockchain.from_dict(supported_blockchain_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) + + diff --git a/docs/TRLinkAPIPagedResponse.md b/docs/TRLinkAPIPagedResponse.md new file mode 100644 index 00000000..4bd05e09 --- /dev/null +++ b/docs/TRLinkAPIPagedResponse.md @@ -0,0 +1,31 @@ +# TRLinkAPIPagedResponse + +Generic paginated response wrapper with cursor-based pagination + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[TRLinkVaspListDto]**](TRLinkVaspListDto.md) | Array of result items | +**paging** | [**TRLinkPaging**](TRLinkPaging.md) | | [optional] + +## Example + +```python +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAPIPagedResponse from a JSON string +tr_link_api_paged_response_instance = TRLinkAPIPagedResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkAPIPagedResponse.to_json()) + +# convert the object into a dict +tr_link_api_paged_response_dict = tr_link_api_paged_response_instance.to_dict() +# create an instance of TRLinkAPIPagedResponse from a dict +tr_link_api_paged_response_from_dict = TRLinkAPIPagedResponse.from_dict(tr_link_api_paged_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) + + diff --git a/docs/TRLinkAmount2.md b/docs/TRLinkAmount2.md new file mode 100644 index 00000000..c5bda031 --- /dev/null +++ b/docs/TRLinkAmount2.md @@ -0,0 +1,31 @@ +# TRLinkAmount2 + +Amount specification with range and currency type + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**range** | [**TRLinkAmountRange**](TRLinkAmountRange.md) | | +**currency** | [**TRLinkCurrency**](TRLinkCurrency.md) | | + +## Example + +```python +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAmount2 from a JSON string +tr_link_amount2_instance = TRLinkAmount2.from_json(json) +# print the JSON string representation of the object +print(TRLinkAmount2.to_json()) + +# convert the object into a dict +tr_link_amount2_dict = tr_link_amount2_instance.to_dict() +# create an instance of TRLinkAmount2 from a dict +tr_link_amount2_from_dict = TRLinkAmount2.from_dict(tr_link_amount2_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) + + diff --git a/docs/TRLinkAmountRange.md b/docs/TRLinkAmountRange.md new file mode 100644 index 00000000..2a5ea8ff --- /dev/null +++ b/docs/TRLinkAmountRange.md @@ -0,0 +1,31 @@ +# TRLinkAmountRange + +Minimum and maximum amount range specification + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min** | **str** | Minimum amount (inclusive) | [optional] +**max** | **str** | Maximum amount (inclusive) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_amount_range import TRLinkAmountRange + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAmountRange from a JSON string +tr_link_amount_range_instance = TRLinkAmountRange.from_json(json) +# print the JSON string representation of the object +print(TRLinkAmountRange.to_json()) + +# convert the object into a dict +tr_link_amount_range_dict = tr_link_amount_range_instance.to_dict() +# create an instance of TRLinkAmountRange from a dict +tr_link_amount_range_from_dict = TRLinkAmountRange.from_dict(tr_link_amount_range_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) + + diff --git a/docs/TRLinkApi.md b/docs/TRLinkApi.md new file mode 100644 index 00000000..5e9cba73 --- /dev/null +++ b/docs/TRLinkApi.md @@ -0,0 +1,1931 @@ +# fireblocks.TRLinkApi + +All URIs are relative to *https://api.fireblocks.io/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**assess_tr_link_travel_rule_requirement**](TRLinkApi.md#assess_tr_link_travel_rule_requirement) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/assess | Assess Travel Rule requirement +[**cancel_tr_link_trm**](TRLinkApi.md#cancel_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel | Cancel Travel Rule Message +[**connect_tr_link_integration**](TRLinkApi.md#connect_tr_link_integration) | **PUT** /screening/trlink/customers/integration/{customerIntegrationId} | Connect customer integration +[**create_tr_link_customer**](TRLinkApi.md#create_tr_link_customer) | **POST** /screening/trlink/customers | Create customer +[**create_tr_link_integration**](TRLinkApi.md#create_tr_link_integration) | **POST** /screening/trlink/customers/integration | Create customer integration +[**create_tr_link_trm**](TRLinkApi.md#create_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm | Create Travel Rule Message +[**delete_tr_link_customer**](TRLinkApi.md#delete_tr_link_customer) | **DELETE** /screening/trlink/customers/{customerId} | Delete customer +[**disconnect_tr_link_integration**](TRLinkApi.md#disconnect_tr_link_integration) | **DELETE** /screening/trlink/customers/integration/{customerIntegrationId} | Disconnect customer integration +[**get_tr_link_customer_by_id**](TRLinkApi.md#get_tr_link_customer_by_id) | **GET** /screening/trlink/customers/{customerId} | Get customer by ID +[**get_tr_link_customer_integration_by_id**](TRLinkApi.md#get_tr_link_customer_integration_by_id) | **GET** /screening/trlink/customers/{customerId}/integrations/{customerIntegrationId} | Get customer integration by ID +[**get_tr_link_customer_integrations**](TRLinkApi.md#get_tr_link_customer_integrations) | **GET** /screening/trlink/customers/{customerId}/integrations | Get customer integrations +[**get_tr_link_customers**](TRLinkApi.md#get_tr_link_customers) | **GET** /screening/trlink/customers | Get all customers +[**get_tr_link_integration_public_key**](TRLinkApi.md#get_tr_link_integration_public_key) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/public_key | Get public key for PII encryption +[**get_tr_link_partners**](TRLinkApi.md#get_tr_link_partners) | **GET** /screening/trlink/partners | List available TRLink partners +[**get_tr_link_policy**](TRLinkApi.md#get_tr_link_policy) | **GET** /screening/trlink/policy | Get TRLink policy +[**get_tr_link_supported_asset**](TRLinkApi.md#get_tr_link_supported_asset) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId} | Get supported asset by ID +[**get_tr_link_trm_by_id**](TRLinkApi.md#get_tr_link_trm_by_id) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId} | Get TRM by ID +[**get_tr_link_vasp_by_id**](TRLinkApi.md#get_tr_link_vasp_by_id) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId} | Get VASP by ID +[**list_tr_link_supported_assets**](TRLinkApi.md#list_tr_link_supported_assets) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/assets | List supported assets +[**list_tr_link_vasps**](TRLinkApi.md#list_tr_link_vasps) | **GET** /screening/trlink/customers/integration/{customerIntegrationId}/vasps | List VASPs +[**redirect_tr_link_trm**](TRLinkApi.md#redirect_tr_link_trm) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect | Redirect Travel Rule Message +[**set_tr_link_destination_travel_rule_message_id**](TRLinkApi.md#set_tr_link_destination_travel_rule_message_id) | **POST** /screening/trlink/transaction/{txId}/destination/travel_rule_message_id | Set destination travel rule message ID +[**set_tr_link_transaction_travel_rule_message_id**](TRLinkApi.md#set_tr_link_transaction_travel_rule_message_id) | **POST** /screening/trlink/transaction/{txId}/travel_rule_message_id | Set transaction travel rule message ID +[**test_tr_link_integration_connection**](TRLinkApi.md#test_tr_link_integration_connection) | **POST** /screening/trlink/customers/integration/{customerIntegrationId}/test_connection | Test connection +[**update_tr_link_customer**](TRLinkApi.md#update_tr_link_customer) | **PUT** /screening/trlink/customers/{customerId} | Update customer + + +# **assess_tr_link_travel_rule_requirement** +> TRLinkAssessTravelRuleResponse assess_tr_link_travel_rule_requirement(customer_integration_id, tr_link_assess_travel_rule_request, idempotency_key=idempotency_key) + +Assess Travel Rule requirement + +Assesses travel rule requirement for a transaction by validating stored credentials and determining whether Travel Rule compliance is required based on amount, jurisdiction, and partner thresholds. + +### Example + + +```python +from fireblocks.models.tr_link_assess_travel_rule_request import TRLinkAssessTravelRuleRequest +from fireblocks.models.tr_link_assess_travel_rule_response import TRLinkAssessTravelRuleResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + tr_link_assess_travel_rule_request = fireblocks.TRLinkAssessTravelRuleRequest() # TRLinkAssessTravelRuleRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Assess Travel Rule requirement + api_response = fireblocks.tr_link.assess_tr_link_travel_rule_requirement(customer_integration_id, tr_link_assess_travel_rule_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->assess_tr_link_travel_rule_requirement:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->assess_tr_link_travel_rule_requirement: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **tr_link_assess_travel_rule_request** | [**TRLinkAssessTravelRuleRequest**](TRLinkAssessTravelRuleRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkAssessTravelRuleResponse**](TRLinkAssessTravelRuleResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Travel rule assessment completed | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **cancel_tr_link_trm** +> TRLinkTrmInfoResponse cancel_tr_link_trm(customer_integration_id, trm_id, tr_link_cancel_trm_request, idempotency_key=idempotency_key) + +Cancel Travel Rule Message + +Cancels a travel rule message. The TRM status will be updated to cancelled and the partner will be notified. + +### Example + + +```python +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + trm_id = 'trm_id_example' # str | Travel Rule Message unique identifier + tr_link_cancel_trm_request = fireblocks.TRLinkCancelTrmRequest() # TRLinkCancelTrmRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Cancel Travel Rule Message + api_response = fireblocks.tr_link.cancel_tr_link_trm(customer_integration_id, trm_id, tr_link_cancel_trm_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->cancel_tr_link_trm:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->cancel_tr_link_trm: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **trm_id** | **str**| Travel Rule Message unique identifier | + **tr_link_cancel_trm_request** | [**TRLinkCancelTrmRequest**](TRLinkCancelTrmRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkTrmInfoResponse**](TRLinkTrmInfoResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Transaction cancellation request accepted | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **connect_tr_link_integration** +> TRLinkCustomerIntegrationResponse connect_tr_link_integration(customer_integration_id, tr_link_connect_integration_request, idempotency_key=idempotency_key) + +Connect customer integration + +Connects a customer integration by providing API credentials. Stores encrypted credentials and enables the integration for use. + +### Example + + +```python +from fireblocks.models.tr_link_connect_integration_request import TRLinkConnectIntegrationRequest +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000' # str | Customer integration unique identifier + tr_link_connect_integration_request = fireblocks.TRLinkConnectIntegrationRequest() # TRLinkConnectIntegrationRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Connect customer integration + api_response = fireblocks.tr_link.connect_tr_link_integration(customer_integration_id, tr_link_connect_integration_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->connect_tr_link_integration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->connect_tr_link_integration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **tr_link_connect_integration_request** | [**TRLinkConnectIntegrationRequest**](TRLinkConnectIntegrationRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkCustomerIntegrationResponse**](TRLinkCustomerIntegrationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customer integration connected successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **create_tr_link_customer** +> TRLinkCustomerResponse create_tr_link_customer(tr_link_create_customer_request, idempotency_key=idempotency_key) + +Create customer + +Creates a new customer (legal entity/VASP) for TRLink Travel Rule compliance operations. The customer represents your organization in the Travel Rule network and contains IVMS101-compliant identity information. + +### Example + + +```python +from fireblocks.models.tr_link_create_customer_request import TRLinkCreateCustomerRequest +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + tr_link_create_customer_request = fireblocks.TRLinkCreateCustomerRequest() # TRLinkCreateCustomerRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Create customer + api_response = fireblocks.tr_link.create_tr_link_customer(tr_link_create_customer_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->create_tr_link_customer:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->create_tr_link_customer: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **tr_link_create_customer_request** | [**TRLinkCreateCustomerRequest**](TRLinkCreateCustomerRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkCustomerResponse**](TRLinkCustomerResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Customer created successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **create_tr_link_integration** +> TRLinkCustomerIntegrationResponse create_tr_link_integration(tr_link_create_integration_request, idempotency_key=idempotency_key) + +Create customer integration + +Creates a new TRLink integration for a customer. This establishes a connection placeholder between a customer and a Travel Rule partner. Use the connect endpoint to provide credentials after creation. + +### Example + + +```python +from fireblocks.models.tr_link_create_integration_request import TRLinkCreateIntegrationRequest +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + tr_link_create_integration_request = fireblocks.TRLinkCreateIntegrationRequest() # TRLinkCreateIntegrationRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Create customer integration + api_response = fireblocks.tr_link.create_tr_link_integration(tr_link_create_integration_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->create_tr_link_integration:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->create_tr_link_integration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **tr_link_create_integration_request** | [**TRLinkCreateIntegrationRequest**](TRLinkCreateIntegrationRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkCustomerIntegrationResponse**](TRLinkCustomerIntegrationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Customer integration created successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **create_tr_link_trm** +> TRLinkTrmInfoResponse create_tr_link_trm(customer_integration_id, tr_link_create_trm_request, idempotency_key=idempotency_key) + +Create Travel Rule Message + +Creates a new travel rule message with IVMS101-compliant PII data. Encrypts sensitive originator and beneficiary information before sending to partner. + +### Example + + +```python +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + tr_link_create_trm_request = fireblocks.TRLinkCreateTrmRequest() # TRLinkCreateTrmRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Create Travel Rule Message + api_response = fireblocks.tr_link.create_tr_link_trm(customer_integration_id, tr_link_create_trm_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->create_tr_link_trm:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->create_tr_link_trm: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **tr_link_create_trm_request** | [**TRLinkCreateTrmRequest**](TRLinkCreateTrmRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkTrmInfoResponse**](TRLinkTrmInfoResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | TRM created successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **delete_tr_link_customer** +> delete_tr_link_customer(customer_id) + +Delete customer + +Deletes a customer and all associated integrations. This action cannot be undone. + +### Example + + +```python +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_id = '550e8400-e29b-41d4-a716-446655440001' # str | Customer unique identifier + + try: + # Delete customer + fireblocks.tr_link.delete_tr_link_customer(customer_id).result() + except Exception as e: + print("Exception when calling TRLinkApi->delete_tr_link_customer: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **str**| Customer unique identifier | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Customer deleted successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **disconnect_tr_link_integration** +> disconnect_tr_link_integration(customer_integration_id) + +Disconnect customer integration + +Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + +### Example + + +```python +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000' # str | Customer integration unique identifier + + try: + # Disconnect customer integration + fireblocks.tr_link.disconnect_tr_link_integration(customer_integration_id).result() + except Exception as e: + print("Exception when calling TRLinkApi->disconnect_tr_link_integration: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | Customer integration disconnected successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_customer_by_id** +> TRLinkCustomerResponse get_tr_link_customer_by_id(customer_id) + +Get customer by ID + +Retrieves detailed information about a specific customer by their unique identifier. + +### Example + + +```python +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_id = '550e8400-e29b-41d4-a716-446655440001' # str | Customer unique identifier + + try: + # Get customer by ID + api_response = fireblocks.tr_link.get_tr_link_customer_by_id(customer_id).result() + print("The response of TRLinkApi->get_tr_link_customer_by_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_customer_by_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **str**| Customer unique identifier | + +### Return type + +[**TRLinkCustomerResponse**](TRLinkCustomerResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customer retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_customer_integration_by_id** +> TRLinkCustomerIntegrationResponse get_tr_link_customer_integration_by_id(customer_id, customer_integration_id) + +Get customer integration by ID + +Retrieves detailed information about a specific customer integration. + +### Example + + +```python +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_id = '550e8400-e29b-41d4-a716-446655440001' # str | Customer unique identifier + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000' # str | Customer integration unique identifier + + try: + # Get customer integration by ID + api_response = fireblocks.tr_link.get_tr_link_customer_integration_by_id(customer_id, customer_integration_id).result() + print("The response of TRLinkApi->get_tr_link_customer_integration_by_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_customer_integration_by_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **str**| Customer unique identifier | + **customer_integration_id** | **str**| Customer integration unique identifier | + +### Return type + +[**TRLinkCustomerIntegrationResponse**](TRLinkCustomerIntegrationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customer integration retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_customer_integrations** +> List[TRLinkCustomerIntegrationResponse] get_tr_link_customer_integrations(customer_id) + +Get customer integrations + +Retrieves all TRLink integrations for a specific customer. Returns a list of partner integrations configured for Travel Rule compliance. + +### Example + + +```python +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_id = '550e8400-e29b-41d4-a716-446655440001' # str | Customer unique identifier + + try: + # Get customer integrations + api_response = fireblocks.tr_link.get_tr_link_customer_integrations(customer_id).result() + print("The response of TRLinkApi->get_tr_link_customer_integrations:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_customer_integrations: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **str**| Customer unique identifier | + +### Return type + +[**List[TRLinkCustomerIntegrationResponse]**](TRLinkCustomerIntegrationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customer integrations retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_customers** +> List[TRLinkCustomerResponse] get_tr_link_customers() + +Get all customers + +Retrieves all customers associated with the authenticated tenant. Returns a list of legal entities configured for Travel Rule compliance. + +### Example + + +```python +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + + try: + # Get all customers + api_response = fireblocks.tr_link.get_tr_link_customers().result() + print("The response of TRLinkApi->get_tr_link_customers:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_customers: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[TRLinkCustomerResponse]**](TRLinkCustomerResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customers retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_integration_public_key** +> TRLinkPublicKeyResponse get_tr_link_integration_public_key(customer_integration_id) + +Get public key for PII encryption + +Retrieves the partner's public key in JWK format for encrypting PII data in Travel Rule Messages. Use this key to encrypt sensitive originator and beneficiary information before sending Travel Rule messages. + +### Example + + +```python +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000' # str | Customer integration unique identifier + + try: + # Get public key for PII encryption + api_response = fireblocks.tr_link.get_tr_link_integration_public_key(customer_integration_id).result() + print("The response of TRLinkApi->get_tr_link_integration_public_key:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_integration_public_key: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + +### Return type + +[**TRLinkPublicKeyResponse**](TRLinkPublicKeyResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Public key retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_partners** +> List[TRLinkPartnerResponse] get_tr_link_partners() + +List available TRLink partners + +Retrieves a list of all available Travel Rule Link integration partners. Partners provide Travel Rule compliance services such as VASP discovery, TRM exchange, and PII encryption. + +### Example + + +```python +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + + try: + # List available TRLink partners + api_response = fireblocks.tr_link.get_tr_link_partners().result() + print("The response of TRLinkApi->get_tr_link_partners:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_partners: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**List[TRLinkPartnerResponse]**](TRLinkPartnerResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List of partners retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_policy** +> TRLinkPolicyResponse get_tr_link_policy() + +Get TRLink policy + +Retrieves the complete TRLink policy for the authenticated tenant, including pre-screening rules, post-screening rules, and missing TRM rules. Pre-screening rules determine whether transactions should be screened. Post-screening rules determine actions based on screening results. Missing TRM rules handle cases when screening data is unavailable. + +### Example + + +```python +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + + try: + # Get TRLink policy + api_response = fireblocks.tr_link.get_tr_link_policy().result() + print("The response of TRLinkApi->get_tr_link_policy:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_policy: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**TRLinkPolicyResponse**](TRLinkPolicyResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Policy retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_supported_asset** +> TRLinkGetSupportedAssetResponse get_tr_link_supported_asset(customer_integration_id, asset_id) + +Get supported asset by ID + +Retrieves detailed information about a specific asset by its Fireblocks asset ID. Returns the transformed Fireblocks asset data, raw partner response, and support status. + +### Example + + +```python +from fireblocks.models.tr_link_get_supported_asset_response import TRLinkGetSupportedAssetResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + asset_id = 'asset_id_example' # str | Fireblocks asset ID + + try: + # Get supported asset by ID + api_response = fireblocks.tr_link.get_tr_link_supported_asset(customer_integration_id, asset_id).result() + print("The response of TRLinkApi->get_tr_link_supported_asset:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_supported_asset: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **asset_id** | **str**| Fireblocks asset ID | + +### Return type + +[**TRLinkGetSupportedAssetResponse**](TRLinkGetSupportedAssetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Asset retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_trm_by_id** +> TRLinkTrmInfoResponse get_tr_link_trm_by_id(customer_integration_id, trm_id) + +Get TRM by ID + +Retrieves a Travel Rule Message by its unique identifier from the partner provider. Returns full TRM details including status, IVMS101 data, and transaction information. + +### Example + + +```python +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + trm_id = 'trm_id_example' # str | Travel Rule Message unique identifier + + try: + # Get TRM by ID + api_response = fireblocks.tr_link.get_tr_link_trm_by_id(customer_integration_id, trm_id).result() + print("The response of TRLinkApi->get_tr_link_trm_by_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_trm_by_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **trm_id** | **str**| Travel Rule Message unique identifier | + +### Return type + +[**TRLinkTrmInfoResponse**](TRLinkTrmInfoResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | TRM retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tr_link_vasp_by_id** +> TRLinkVaspDto get_tr_link_vasp_by_id(customer_integration_id, vasp_id) + +Get VASP by ID + +Retrieves detailed information about a specific VASP by its unique identifier. Returns VASP details including public key if available. + +### Example + + +```python +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + vasp_id = 'vasp_id_example' # str | VASP unique identifier (DID format) + + try: + # Get VASP by ID + api_response = fireblocks.tr_link.get_tr_link_vasp_by_id(customer_integration_id, vasp_id).result() + print("The response of TRLinkApi->get_tr_link_vasp_by_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->get_tr_link_vasp_by_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **vasp_id** | **str**| VASP unique identifier (DID format) | + +### Return type + +[**TRLinkVaspDto**](TRLinkVaspDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | VASP retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **list_tr_link_supported_assets** +> TRLinkAssetsListPagedResponse list_tr_link_supported_assets(customer_integration_id, page_size=page_size, page_cursor=page_cursor) + +List supported assets + +Retrieves a paginated list of assets supported by the partner integration. Includes a flag indicating whether the partner can handle assets not explicitly listed. Supports cursor-based pagination. + +### Example + + +```python +from fireblocks.models.tr_link_assets_list_paged_response import TRLinkAssetsListPagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + page_size = 100 # int | Number of results per page (max 100) (optional) (default to 100) + page_cursor = 'page_cursor_example' # str | Cursor for pagination (from previous response) (optional) + + try: + # List supported assets + api_response = fireblocks.tr_link.list_tr_link_supported_assets(customer_integration_id, page_size=page_size, page_cursor=page_cursor).result() + print("The response of TRLinkApi->list_tr_link_supported_assets:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->list_tr_link_supported_assets: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **page_size** | **int**| Number of results per page (max 100) | [optional] [default to 100] + **page_cursor** | **str**| Cursor for pagination (from previous response) | [optional] + +### Return type + +[**TRLinkAssetsListPagedResponse**](TRLinkAssetsListPagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Supported assets retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **list_tr_link_vasps** +> TRLinkAPIPagedResponse list_tr_link_vasps(customer_integration_id, page_size=page_size, page_cursor=page_cursor) + +List VASPs + +Retrieves a paginated list of VASPs (Virtual Asset Service Providers) available through the partner integration. Supports cursor-based pagination. + +### Example + + +```python +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + page_size = 100 # int | Number of results per page (max 100) (optional) (default to 100) + page_cursor = 'page_cursor_example' # str | Cursor for pagination (from previous response) (optional) + + try: + # List VASPs + api_response = fireblocks.tr_link.list_tr_link_vasps(customer_integration_id, page_size=page_size, page_cursor=page_cursor).result() + print("The response of TRLinkApi->list_tr_link_vasps:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->list_tr_link_vasps: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **page_size** | **int**| Number of results per page (max 100) | [optional] [default to 100] + **page_cursor** | **str**| Cursor for pagination (from previous response) | [optional] + +### Return type + +[**TRLinkAPIPagedResponse**](TRLinkAPIPagedResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | VASPs retrieved successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **redirect_tr_link_trm** +> TRLinkTrmInfoResponse redirect_tr_link_trm(customer_integration_id, trm_id, tr_link_redirect_trm_request, idempotency_key=idempotency_key) + +Redirect Travel Rule Message + +Redirects a Travel Rule Message to a subsidiary VASP. This operation requires the partner to support nested VASPs functionality. + +### Example + + +```python +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = 'customer_integration_id_example' # str | Customer integration unique identifier + trm_id = 'trm_id_example' # str | Travel Rule Message unique identifier + tr_link_redirect_trm_request = fireblocks.TRLinkRedirectTrmRequest() # TRLinkRedirectTrmRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Redirect Travel Rule Message + api_response = fireblocks.tr_link.redirect_tr_link_trm(customer_integration_id, trm_id, tr_link_redirect_trm_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->redirect_tr_link_trm:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->redirect_tr_link_trm: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **trm_id** | **str**| Travel Rule Message unique identifier | + **tr_link_redirect_trm_request** | [**TRLinkRedirectTrmRequest**](TRLinkRedirectTrmRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkTrmInfoResponse**](TRLinkTrmInfoResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Transaction redirect request accepted | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **set_tr_link_destination_travel_rule_message_id** +> TRLinkSetDestinationTravelRuleMessageIdResponse set_tr_link_destination_travel_rule_message_id(tx_id, tr_link_set_destination_travel_rule_message_id_request, idempotency_key=idempotency_key) + +Set destination travel rule message ID + +Associates a Travel Rule Message ID with a specific destination in a multi-destination Fireblocks transaction. Matches destinations by amount and peer path. + +### Example + + +```python +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import TRLinkSetDestinationTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import TRLinkSetDestinationTravelRuleMessageIdResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + tx_id = 'tx_id_example' # str | Fireblocks transaction unique identifier + tr_link_set_destination_travel_rule_message_id_request = fireblocks.TRLinkSetDestinationTravelRuleMessageIdRequest() # TRLinkSetDestinationTravelRuleMessageIdRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Set destination travel rule message ID + api_response = fireblocks.tr_link.set_tr_link_destination_travel_rule_message_id(tx_id, tr_link_set_destination_travel_rule_message_id_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->set_tr_link_destination_travel_rule_message_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->set_tr_link_destination_travel_rule_message_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **tx_id** | **str**| Fireblocks transaction unique identifier | + **tr_link_set_destination_travel_rule_message_id_request** | [**TRLinkSetDestinationTravelRuleMessageIdRequest**](TRLinkSetDestinationTravelRuleMessageIdRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkSetDestinationTravelRuleMessageIdResponse**](TRLinkSetDestinationTravelRuleMessageIdResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Destination travel rule message ID set successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **set_tr_link_transaction_travel_rule_message_id** +> TRLinkSetTransactionTravelRuleMessageIdResponse set_tr_link_transaction_travel_rule_message_id(tx_id, tr_link_set_transaction_travel_rule_message_id_request, idempotency_key=idempotency_key) + +Set transaction travel rule message ID + +Associates a Travel Rule Message ID with a Fireblocks transaction. This links the TRM compliance data to the blockchain transaction. + +### Example + + +```python +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import TRLinkSetTransactionTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import TRLinkSetTransactionTravelRuleMessageIdResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + tx_id = 'tx_id_example' # str | Fireblocks transaction unique identifier + tr_link_set_transaction_travel_rule_message_id_request = fireblocks.TRLinkSetTransactionTravelRuleMessageIdRequest() # TRLinkSetTransactionTravelRuleMessageIdRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Set transaction travel rule message ID + api_response = fireblocks.tr_link.set_tr_link_transaction_travel_rule_message_id(tx_id, tr_link_set_transaction_travel_rule_message_id_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->set_tr_link_transaction_travel_rule_message_id:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->set_tr_link_transaction_travel_rule_message_id: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **tx_id** | **str**| Fireblocks transaction unique identifier | + **tr_link_set_transaction_travel_rule_message_id_request** | [**TRLinkSetTransactionTravelRuleMessageIdRequest**](TRLinkSetTransactionTravelRuleMessageIdRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkSetTransactionTravelRuleMessageIdResponse**](TRLinkSetTransactionTravelRuleMessageIdResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Travel rule message ID set successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **test_tr_link_integration_connection** +> TRLinkTestConnectionResponse test_tr_link_integration_connection(customer_integration_id, idempotency_key=idempotency_key) + +Test connection + +Tests the connection to a customer integration by validating stored credentials and attempting communication with the Travel Rule partner. Returns connection status and any error messages. + +### Example + + +```python +from fireblocks.models.tr_link_test_connection_response import TRLinkTestConnectionResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000' # str | Customer integration unique identifier + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Test connection + api_response = fireblocks.tr_link.test_tr_link_integration_connection(customer_integration_id, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->test_tr_link_integration_connection:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->test_tr_link_integration_connection: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_integration_id** | **str**| Customer integration unique identifier | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkTestConnectionResponse**](TRLinkTestConnectionResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Connection test completed (success or failure details in response body) | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + +# **update_tr_link_customer** +> TRLinkCustomerResponse update_tr_link_customer(customer_id, tr_link_update_customer_request, idempotency_key=idempotency_key) + +Update customer + +Updates an existing customer's information. All fields are optional - only provided fields will be updated. + +### Example + + +```python +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.models.tr_link_update_customer_request import TRLinkUpdateCustomerRequest +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + customer_id = '550e8400-e29b-41d4-a716-446655440001' # str | Customer unique identifier + tr_link_update_customer_request = fireblocks.TRLinkUpdateCustomerRequest() # TRLinkUpdateCustomerRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Update customer + api_response = fireblocks.tr_link.update_tr_link_customer(customer_id, tr_link_update_customer_request, idempotency_key=idempotency_key).result() + print("The response of TRLinkApi->update_tr_link_customer:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TRLinkApi->update_tr_link_customer: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **customer_id** | **str**| Customer unique identifier | + **tr_link_update_customer_request** | [**TRLinkUpdateCustomerRequest**](TRLinkUpdateCustomerRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TRLinkCustomerResponse**](TRLinkCustomerResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customer updated successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + diff --git a/docs/TRLinkAssessTravelRuleRequest.md b/docs/TRLinkAssessTravelRuleRequest.md new file mode 100644 index 00000000..0f6cafdf --- /dev/null +++ b/docs/TRLinkAssessTravelRuleRequest.md @@ -0,0 +1,42 @@ +# TRLinkAssessTravelRuleRequest + +Request to assess whether Travel Rule compliance is required for a transaction + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tx_id** | **str** | Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions | [optional] +**amount** | **str** | Transaction amount (required when txId not provided) | [optional] +**amount_usd** | **str** | Transaction amount in USD (optional) | [optional] +**destination** | [**TRLinkDestinationTransferPeerPath**](TRLinkDestinationTransferPeerPath.md) | | [optional] +**dest_address** | **str** | Destination address (optional) | [optional] +**dest_tag** | **str** | Destination tag (optional) | [optional] +**source** | [**TRLinkSourceTransferPeerPath**](TRLinkSourceTransferPeerPath.md) | | [optional] +**src_address** | **str** | Source address (optional) | [optional] +**asset_id** | **str** | Asset identifier (e.g., ETH, BTC, USDC) | [optional] +**direction** | [**TRLinkTransactionDirection**](TRLinkTransactionDirection.md) | | [optional] +**tx_hash** | **str** | Transaction hash (optional) | [optional] +**originator_vasp_id** | **str** | Originator VASP identifier - required for inbound transactions | [optional] +**beneficiary_vasp_id** | **str** | Beneficiary VASP identifier - required for outbound transactions | [optional] + +## Example + +```python +from fireblocks.models.tr_link_assess_travel_rule_request import TRLinkAssessTravelRuleRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAssessTravelRuleRequest from a JSON string +tr_link_assess_travel_rule_request_instance = TRLinkAssessTravelRuleRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkAssessTravelRuleRequest.to_json()) + +# convert the object into a dict +tr_link_assess_travel_rule_request_dict = tr_link_assess_travel_rule_request_instance.to_dict() +# create an instance of TRLinkAssessTravelRuleRequest from a dict +tr_link_assess_travel_rule_request_from_dict = TRLinkAssessTravelRuleRequest.from_dict(tr_link_assess_travel_rule_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) + + diff --git a/docs/TRLinkAssessTravelRuleResponse.md b/docs/TRLinkAssessTravelRuleResponse.md new file mode 100644 index 00000000..f6e45a81 --- /dev/null +++ b/docs/TRLinkAssessTravelRuleResponse.md @@ -0,0 +1,34 @@ +# TRLinkAssessTravelRuleResponse + +Response indicating whether Travel Rule compliance is required + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**decision** | [**TRLinkAssessmentDecision**](TRLinkAssessmentDecision.md) | | +**reason** | **str** | Explanation of the decision | +**required_fields** | **List[str]** | List of required fields if Travel Rule is required | [optional] +**missing_info** | **List[str]** | List of missing fields if more information is needed | [optional] +**thresholds** | [**TRLinkThresholds**](TRLinkThresholds.md) | | [optional] + +## Example + +```python +from fireblocks.models.tr_link_assess_travel_rule_response import TRLinkAssessTravelRuleResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAssessTravelRuleResponse from a JSON string +tr_link_assess_travel_rule_response_instance = TRLinkAssessTravelRuleResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkAssessTravelRuleResponse.to_json()) + +# convert the object into a dict +tr_link_assess_travel_rule_response_dict = tr_link_assess_travel_rule_response_instance.to_dict() +# create an instance of TRLinkAssessTravelRuleResponse from a dict +tr_link_assess_travel_rule_response_from_dict = TRLinkAssessTravelRuleResponse.from_dict(tr_link_assess_travel_rule_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) + + diff --git a/docs/TRLinkAssessmentDecision.md b/docs/TRLinkAssessmentDecision.md new file mode 100644 index 00000000..49bb2e52 --- /dev/null +++ b/docs/TRLinkAssessmentDecision.md @@ -0,0 +1,15 @@ +# TRLinkAssessmentDecision + +Decision about Travel Rule applicability + +## Enum + +* `REQUIRED` (value: `'REQUIRED'`) + +* `NOT_REQUIRED` (value: `'NOT_REQUIRED'`) + +* `NEED_MORE_INFO` (value: `'NEED_MORE_INFO'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkAsset.md b/docs/TRLinkAsset.md new file mode 100644 index 00000000..6725ac42 --- /dev/null +++ b/docs/TRLinkAsset.md @@ -0,0 +1,30 @@ +# TRLinkAsset + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**format** | [**TRLinkAssetFormat**](TRLinkAssetFormat.md) | | +**data** | [**TRLinkAssetData**](TRLinkAssetData.md) | | + +## Example + +```python +from fireblocks.models.tr_link_asset import TRLinkAsset + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAsset from a JSON string +tr_link_asset_instance = TRLinkAsset.from_json(json) +# print the JSON string representation of the object +print(TRLinkAsset.to_json()) + +# convert the object into a dict +tr_link_asset_dict = tr_link_asset_instance.to_dict() +# create an instance of TRLinkAsset from a dict +tr_link_asset_from_dict = TRLinkAsset.from_dict(tr_link_asset_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) + + diff --git a/docs/TRLinkAssetData.md b/docs/TRLinkAssetData.md new file mode 100644 index 00000000..48cfd8ec --- /dev/null +++ b/docs/TRLinkAssetData.md @@ -0,0 +1,33 @@ +# TRLinkAssetData + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ticker** | **str** | Asset ticker symbol (e.g., BTC, ETH, USDT) | [optional] +**network** | **str** | Network identifier from Fireblocks (e.g., ETH, BTC) | +**ucid** | **float** | CoinMarketCap unique coin ID | [optional] +**contract_address** | **str** | Contract address for tokens | [optional] +**id** | **str** | Fireblocks asset ID | [optional] + +## Example + +```python +from fireblocks.models.tr_link_asset_data import TRLinkAssetData + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAssetData from a JSON string +tr_link_asset_data_instance = TRLinkAssetData.from_json(json) +# print the JSON string representation of the object +print(TRLinkAssetData.to_json()) + +# convert the object into a dict +tr_link_asset_data_dict = tr_link_asset_data_instance.to_dict() +# create an instance of TRLinkAssetData from a dict +tr_link_asset_data_from_dict = TRLinkAssetData.from_dict(tr_link_asset_data_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) + + diff --git a/docs/TRLinkAssetFormat.md b/docs/TRLinkAssetFormat.md new file mode 100644 index 00000000..a2d77a5f --- /dev/null +++ b/docs/TRLinkAssetFormat.md @@ -0,0 +1,15 @@ +# TRLinkAssetFormat + +Asset format type + +## Enum + +* `FIREBLOCKS` (value: `'fireblocks'`) + +* `COINMARKETCAP` (value: `'coinmarketcap'`) + +* `SLIP44` (value: `'slip44'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkAssetsListPagedResponse.md b/docs/TRLinkAssetsListPagedResponse.md new file mode 100644 index 00000000..82f7c87c --- /dev/null +++ b/docs/TRLinkAssetsListPagedResponse.md @@ -0,0 +1,33 @@ +# TRLinkAssetsListPagedResponse + +Paginated list of supported assets with partner capability flag + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[TRLinkPublicAssetInfo]**](TRLinkPublicAssetInfo.md) | List of supported assets | +**paging** | [**TRLinkPaging**](TRLinkPaging.md) | | [optional] +**partner_can_handle_any_asset** | **bool** | Whether partner can handle any asset (not just explicitly listed ones) | +**note** | **str** | Note about asset support capabilities | + +## Example + +```python +from fireblocks.models.tr_link_assets_list_paged_response import TRLinkAssetsListPagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkAssetsListPagedResponse from a JSON string +tr_link_assets_list_paged_response_instance = TRLinkAssetsListPagedResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkAssetsListPagedResponse.to_json()) + +# convert the object into a dict +tr_link_assets_list_paged_response_dict = tr_link_assets_list_paged_response_instance.to_dict() +# create an instance of TRLinkAssetsListPagedResponse from a dict +tr_link_assets_list_paged_response_from_dict = TRLinkAssetsListPagedResponse.from_dict(tr_link_assets_list_paged_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) + + diff --git a/docs/TRLinkCancelTrmRequest.md b/docs/TRLinkCancelTrmRequest.md new file mode 100644 index 00000000..5b47a8b1 --- /dev/null +++ b/docs/TRLinkCancelTrmRequest.md @@ -0,0 +1,30 @@ +# TRLinkCancelTrmRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reason** | **str** | Reason for cancellation | [optional] +**cancelled_by** | **str** | User ID who cancelled the TRM | [optional] + +## Example + +```python +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCancelTrmRequest from a JSON string +tr_link_cancel_trm_request_instance = TRLinkCancelTrmRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkCancelTrmRequest.to_json()) + +# convert the object into a dict +tr_link_cancel_trm_request_dict = tr_link_cancel_trm_request_instance.to_dict() +# create an instance of TRLinkCancelTrmRequest from a dict +tr_link_cancel_trm_request_from_dict = TRLinkCancelTrmRequest.from_dict(tr_link_cancel_trm_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) + + diff --git a/docs/TRLinkConnectIntegrationRequest.md b/docs/TRLinkConnectIntegrationRequest.md new file mode 100644 index 00000000..4d2015e7 --- /dev/null +++ b/docs/TRLinkConnectIntegrationRequest.md @@ -0,0 +1,30 @@ +# TRLinkConnectIntegrationRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_key** | **str** | API key provided by the Travel Rule partner | +**secret** | **str** | Secret/password provided by the Travel Rule partner (optional) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_connect_integration_request import TRLinkConnectIntegrationRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkConnectIntegrationRequest from a JSON string +tr_link_connect_integration_request_instance = TRLinkConnectIntegrationRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkConnectIntegrationRequest.to_json()) + +# convert the object into a dict +tr_link_connect_integration_request_dict = tr_link_connect_integration_request_instance.to_dict() +# create an instance of TRLinkConnectIntegrationRequest from a dict +tr_link_connect_integration_request_from_dict = TRLinkConnectIntegrationRequest.from_dict(tr_link_connect_integration_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) + + diff --git a/docs/TRLinkCreateCustomerRequest.md b/docs/TRLinkCreateCustomerRequest.md new file mode 100644 index 00000000..7170774a --- /dev/null +++ b/docs/TRLinkCreateCustomerRequest.md @@ -0,0 +1,37 @@ +# TRLinkCreateCustomerRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**discoverable** | [**TRLinkDiscoverableStatus**](TRLinkDiscoverableStatus.md) | | [optional] +**short_name** | **str** | Short display name (required) | +**full_legal_name** | **str** | Full legal entity name | [optional] +**geographic_address** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] +**country_of_registration** | **str** | ISO 3166-1 alpha-2 country code where the entity is registered | [optional] +**national_identification** | **str** | National identification as JSON string | [optional] +**date_of_incorporation** | **date** | Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) | [optional] +**vaults** | **List[int]** | Associated Fireblocks vault account IDs | [optional] +**tr_primary_purpose** | **str** | Primary purpose for Travel Rule compliance (enum value) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_create_customer_request import TRLinkCreateCustomerRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCreateCustomerRequest from a JSON string +tr_link_create_customer_request_instance = TRLinkCreateCustomerRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkCreateCustomerRequest.to_json()) + +# convert the object into a dict +tr_link_create_customer_request_dict = tr_link_create_customer_request_instance.to_dict() +# create an instance of TRLinkCreateCustomerRequest from a dict +tr_link_create_customer_request_from_dict = TRLinkCreateCustomerRequest.from_dict(tr_link_create_customer_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) + + diff --git a/docs/TRLinkCreateIntegrationRequest.md b/docs/TRLinkCreateIntegrationRequest.md new file mode 100644 index 00000000..18e9b890 --- /dev/null +++ b/docs/TRLinkCreateIntegrationRequest.md @@ -0,0 +1,30 @@ +# TRLinkCreateIntegrationRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **str** | Customer unique identifier | +**partner_ident** | **str** | Partner identification code (e.g., \"sumsub\", \"notabene\") | + +## Example + +```python +from fireblocks.models.tr_link_create_integration_request import TRLinkCreateIntegrationRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCreateIntegrationRequest from a JSON string +tr_link_create_integration_request_instance = TRLinkCreateIntegrationRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkCreateIntegrationRequest.to_json()) + +# convert the object into a dict +tr_link_create_integration_request_dict = tr_link_create_integration_request_instance.to_dict() +# create an instance of TRLinkCreateIntegrationRequest from a dict +tr_link_create_integration_request_from_dict = TRLinkCreateIntegrationRequest.from_dict(tr_link_create_integration_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) + + diff --git a/docs/TRLinkCreateTrmRequest.md b/docs/TRLinkCreateTrmRequest.md new file mode 100644 index 00000000..1d903de7 --- /dev/null +++ b/docs/TRLinkCreateTrmRequest.md @@ -0,0 +1,43 @@ +# TRLinkCreateTrmRequest + +Request to create a Travel Rule Message with IVMS101 PII data + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**asset_id** | **str** | Asset identifier (required when txId not provided) | [optional] +**amount** | **str** | Transaction amount (required when txId not provided) | [optional] +**amount_usd** | **str** | Amount in USD (optional) | [optional] +**source** | [**TRLinkSourceTransferPeerPath**](TRLinkSourceTransferPeerPath.md) | | [optional] +**src_address** | **str** | Source address (optional) | [optional] +**destination** | [**TRLinkDestinationTransferPeerPath**](TRLinkDestinationTransferPeerPath.md) | | [optional] +**dest_address** | **str** | Destination address (optional) | [optional] +**dest_tag** | **str** | Destination tag (optional) | [optional] +**tx_id** | **str** | Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions | [optional] +**tx_hash** | **str** | Transaction hash (optional) | [optional] +**direction** | [**TRLinkTransactionDirection**](TRLinkTransactionDirection.md) | | [optional] +**originator_vasp_id** | **str** | Originator VASP identifier - required for inbound transactions | [optional] +**beneficiary_vasp_id** | **str** | Beneficiary VASP identifier - required for outbound transactions | [optional] +**ivms101** | [**TRLinkIvms**](TRLinkIvms.md) | | + +## Example + +```python +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCreateTrmRequest from a JSON string +tr_link_create_trm_request_instance = TRLinkCreateTrmRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkCreateTrmRequest.to_json()) + +# convert the object into a dict +tr_link_create_trm_request_dict = tr_link_create_trm_request_instance.to_dict() +# create an instance of TRLinkCreateTrmRequest from a dict +tr_link_create_trm_request_from_dict = TRLinkCreateTrmRequest.from_dict(tr_link_create_trm_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) + + diff --git a/docs/TRLinkCurrency.md b/docs/TRLinkCurrency.md new file mode 100644 index 00000000..a64b9465 --- /dev/null +++ b/docs/TRLinkCurrency.md @@ -0,0 +1,12 @@ +# TRLinkCurrency + + +## Enum + +* `USD` (value: `'USD'`) + +* `NATIVE` (value: `'NATIVE'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkCustomerIntegrationResponse.md b/docs/TRLinkCustomerIntegrationResponse.md new file mode 100644 index 00000000..2eb39216 --- /dev/null +++ b/docs/TRLinkCustomerIntegrationResponse.md @@ -0,0 +1,35 @@ +# TRLinkCustomerIntegrationResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_integration_id** | **str** | Customer integration unique identifier | +**api_key** | **str** | API key for partner integration (censored for security) | [optional] +**secret** | **str** | Secret for partner integration (censored for security) | [optional] +**create_date** | **datetime** | Timestamp when the integration was created (ISO 8601 format) | +**last_update** | **datetime** | Timestamp when the integration was last updated (ISO 8601 format) | +**partner** | [**TRLinkPartnerResponse**](TRLinkPartnerResponse.md) | | +**customer** | [**TRLinkCustomerResponse**](TRLinkCustomerResponse.md) | | + +## Example + +```python +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCustomerIntegrationResponse from a JSON string +tr_link_customer_integration_response_instance = TRLinkCustomerIntegrationResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkCustomerIntegrationResponse.to_json()) + +# convert the object into a dict +tr_link_customer_integration_response_dict = tr_link_customer_integration_response_instance.to_dict() +# create an instance of TRLinkCustomerIntegrationResponse from a dict +tr_link_customer_integration_response_from_dict = TRLinkCustomerIntegrationResponse.from_dict(tr_link_customer_integration_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) + + diff --git a/docs/TRLinkCustomerResponse.md b/docs/TRLinkCustomerResponse.md new file mode 100644 index 00000000..122100f3 --- /dev/null +++ b/docs/TRLinkCustomerResponse.md @@ -0,0 +1,41 @@ +# TRLinkCustomerResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Customer unique identifier | +**tenant_id** | **str** | Fireblocks tenant ID | +**discoverable** | [**TRLinkDiscoverableStatus**](TRLinkDiscoverableStatus.md) | | +**short_name** | **str** | Short display name | +**full_legal_name** | **str** | Full legal entity name | +**geographic_address** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] +**country_of_registration** | **str** | ISO 3166-1 alpha-2 country code where the entity is registered | +**national_identification** | **str** | National identification (serialized as string) | [optional] +**date_of_incorporation** | **date** | Date of entity incorporation (ISO 8601 format) | [optional] +**vaults** | **List[int]** | Associated Fireblocks vault account IDs | [optional] +**tr_primary_purpose** | **str** | Primary purpose for Travel Rule compliance | [optional] +**create_date** | **datetime** | Timestamp when the customer was created (ISO 8601 format) | +**last_update** | **datetime** | Timestamp when the customer was last updated (ISO 8601 format) | + +## Example + +```python +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkCustomerResponse from a JSON string +tr_link_customer_response_instance = TRLinkCustomerResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkCustomerResponse.to_json()) + +# convert the object into a dict +tr_link_customer_response_dict = tr_link_customer_response_instance.to_dict() +# create an instance of TRLinkCustomerResponse from a dict +tr_link_customer_response_from_dict = TRLinkCustomerResponse.from_dict(tr_link_customer_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) + + diff --git a/docs/TRLinkDestinationTransferPeerPath.md b/docs/TRLinkDestinationTransferPeerPath.md new file mode 100644 index 00000000..dd8cd1ad --- /dev/null +++ b/docs/TRLinkDestinationTransferPeerPath.md @@ -0,0 +1,33 @@ +# TRLinkDestinationTransferPeerPath + +Destination peer path for transaction + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Destination peer type (e.g., ONE_TIME_ADDRESS, VAULT_ACCOUNT) | +**id** | **str** | Destination peer ID | [optional] +**wallet_id** | **str** | Destination wallet ID | [optional] +**one_time_address** | [**TRLinkOneTimeAddress**](TRLinkOneTimeAddress.md) | | [optional] + +## Example + +```python +from fireblocks.models.tr_link_destination_transfer_peer_path import TRLinkDestinationTransferPeerPath + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkDestinationTransferPeerPath from a JSON string +tr_link_destination_transfer_peer_path_instance = TRLinkDestinationTransferPeerPath.from_json(json) +# print the JSON string representation of the object +print(TRLinkDestinationTransferPeerPath.to_json()) + +# convert the object into a dict +tr_link_destination_transfer_peer_path_dict = tr_link_destination_transfer_peer_path_instance.to_dict() +# create an instance of TRLinkDestinationTransferPeerPath from a dict +tr_link_destination_transfer_peer_path_from_dict = TRLinkDestinationTransferPeerPath.from_dict(tr_link_destination_transfer_peer_path_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) + + diff --git a/docs/TRLinkDiscoverableStatus.md b/docs/TRLinkDiscoverableStatus.md new file mode 100644 index 00000000..e202a839 --- /dev/null +++ b/docs/TRLinkDiscoverableStatus.md @@ -0,0 +1,15 @@ +# TRLinkDiscoverableStatus + +Customer discoverability status in the Travel Rule network + +## Enum + +* `ANONYMOUS` (value: `'anonymous'`) + +* `HIDDEN` (value: `'hidden'`) + +* `DISCOVERABLE` (value: `'discoverable'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkFiatValue.md b/docs/TRLinkFiatValue.md new file mode 100644 index 00000000..b24073e0 --- /dev/null +++ b/docs/TRLinkFiatValue.md @@ -0,0 +1,30 @@ +# TRLinkFiatValue + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **str** | Fiat amount | +**currency** | **str** | Fiat currency code | + +## Example + +```python +from fireblocks.models.tr_link_fiat_value import TRLinkFiatValue + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkFiatValue from a JSON string +tr_link_fiat_value_instance = TRLinkFiatValue.from_json(json) +# print the JSON string representation of the object +print(TRLinkFiatValue.to_json()) + +# convert the object into a dict +tr_link_fiat_value_dict = tr_link_fiat_value_instance.to_dict() +# create an instance of TRLinkFiatValue from a dict +tr_link_fiat_value_from_dict = TRLinkFiatValue.from_dict(tr_link_fiat_value_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) + + diff --git a/docs/TRLinkGeographicAddressRequest.md b/docs/TRLinkGeographicAddressRequest.md new file mode 100644 index 00000000..094e2bc9 --- /dev/null +++ b/docs/TRLinkGeographicAddressRequest.md @@ -0,0 +1,39 @@ +# TRLinkGeographicAddressRequest + +Geographic address following IVMS101 standard + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address_line** | **List[str]** | Address lines (max 3, each up to 70 characters) | [optional] +**street_name** | **str** | Street name (required if buildingNumber is provided) | [optional] +**building_number** | **str** | Building number | [optional] +**floor** | **str** | Floor number | [optional] +**post_box** | **str** | Post box number | [optional] +**post_code** | **str** | Postal code (required if townName is provided) | [optional] +**town_name** | **str** | City or town name (required if postCode is provided) | [optional] +**district_name** | **str** | District name | [optional] +**country_sub_division** | **str** | State or province (validated against country) | [optional] +**country** | **str** | ISO 3166-1 alpha-2 country code (required if town, district, or sub-division provided) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_geographic_address_request import TRLinkGeographicAddressRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkGeographicAddressRequest from a JSON string +tr_link_geographic_address_request_instance = TRLinkGeographicAddressRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkGeographicAddressRequest.to_json()) + +# convert the object into a dict +tr_link_geographic_address_request_dict = tr_link_geographic_address_request_instance.to_dict() +# create an instance of TRLinkGeographicAddressRequest from a dict +tr_link_geographic_address_request_from_dict = TRLinkGeographicAddressRequest.from_dict(tr_link_geographic_address_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) + + diff --git a/docs/TRLinkGetSupportedAssetResponse.md b/docs/TRLinkGetSupportedAssetResponse.md new file mode 100644 index 00000000..437aace8 --- /dev/null +++ b/docs/TRLinkGetSupportedAssetResponse.md @@ -0,0 +1,34 @@ +# TRLinkGetSupportedAssetResponse + +Response for getting a single supported asset by ID + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fireblocks_asset** | [**TRLinkPublicAssetInfo**](TRLinkPublicAssetInfo.md) | | +**partner_response** | **Dict[str, object]** | Raw partner response data | +**partner_can_handle_any_asset** | **bool** | Whether partner can handle any asset (not just explicitly listed ones) | +**note** | **str** | Note about asset support capabilities | +**supported** | **bool** | Whether the asset is supported by the partner | + +## Example + +```python +from fireblocks.models.tr_link_get_supported_asset_response import TRLinkGetSupportedAssetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkGetSupportedAssetResponse from a JSON string +tr_link_get_supported_asset_response_instance = TRLinkGetSupportedAssetResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkGetSupportedAssetResponse.to_json()) + +# convert the object into a dict +tr_link_get_supported_asset_response_dict = tr_link_get_supported_asset_response_instance.to_dict() +# create an instance of TRLinkGetSupportedAssetResponse from a dict +tr_link_get_supported_asset_response_from_dict = TRLinkGetSupportedAssetResponse.from_dict(tr_link_get_supported_asset_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) + + diff --git a/docs/TRLinkIvms.md b/docs/TRLinkIvms.md new file mode 100644 index 00000000..2d568bc3 --- /dev/null +++ b/docs/TRLinkIvms.md @@ -0,0 +1,32 @@ +# TRLinkIvms + +IVMS101 data structure containing encrypted PII + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**version** | **str** | IVMS version | +**data** | **str** | Encrypted IVMS101 data containing originator and beneficiary information | +**filled_fields** | **List[str]** | List of fields that are filled in the IVMS data | + +## Example + +```python +from fireblocks.models.tr_link_ivms import TRLinkIvms + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkIvms from a JSON string +tr_link_ivms_instance = TRLinkIvms.from_json(json) +# print the JSON string representation of the object +print(TRLinkIvms.to_json()) + +# convert the object into a dict +tr_link_ivms_dict = tr_link_ivms_instance.to_dict() +# create an instance of TRLinkIvms from a dict +tr_link_ivms_from_dict = TRLinkIvms.from_dict(tr_link_ivms_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) + + diff --git a/docs/TRLinkIvmsResponse.md b/docs/TRLinkIvmsResponse.md new file mode 100644 index 00000000..e6e19c6d --- /dev/null +++ b/docs/TRLinkIvmsResponse.md @@ -0,0 +1,32 @@ +# TRLinkIvmsResponse + +IVMS101 data in response format + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**version** | **str** | IVMS101 version | +**data** | **str** | Base64 encoded IVMS101 data containing originator and beneficiary information | +**filled_fields** | **List[str]** | List of fields that are filled in the IVMS101 data | + +## Example + +```python +from fireblocks.models.tr_link_ivms_response import TRLinkIvmsResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkIvmsResponse from a JSON string +tr_link_ivms_response_instance = TRLinkIvmsResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkIvmsResponse.to_json()) + +# convert the object into a dict +tr_link_ivms_response_dict = tr_link_ivms_response_instance.to_dict() +# create an instance of TRLinkIvmsResponse from a dict +tr_link_ivms_response_from_dict = TRLinkIvmsResponse.from_dict(tr_link_ivms_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) + + diff --git a/docs/TRLinkJwkPublicKey.md b/docs/TRLinkJwkPublicKey.md new file mode 100644 index 00000000..addaf233 --- /dev/null +++ b/docs/TRLinkJwkPublicKey.md @@ -0,0 +1,34 @@ +# TRLinkJwkPublicKey + +JSON Web Key (JWK) format public key + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kty** | **str** | Key type | +**e** | **str** | RSA public exponent | +**use** | **str** | Public key use (encryption) | +**kid** | **str** | Key ID | +**n** | **str** | RSA modulus | + +## Example + +```python +from fireblocks.models.tr_link_jwk_public_key import TRLinkJwkPublicKey + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkJwkPublicKey from a JSON string +tr_link_jwk_public_key_instance = TRLinkJwkPublicKey.from_json(json) +# print the JSON string representation of the object +print(TRLinkJwkPublicKey.to_json()) + +# convert the object into a dict +tr_link_jwk_public_key_dict = tr_link_jwk_public_key_instance.to_dict() +# create an instance of TRLinkJwkPublicKey from a dict +tr_link_jwk_public_key_from_dict = TRLinkJwkPublicKey.from_dict(tr_link_jwk_public_key_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) + + diff --git a/docs/TRLinkMissingTrmAction2.md b/docs/TRLinkMissingTrmAction2.md new file mode 100644 index 00000000..5049913a --- /dev/null +++ b/docs/TRLinkMissingTrmAction2.md @@ -0,0 +1,14 @@ +# TRLinkMissingTrmAction2 + + +## Enum + +* `WAIT` (value: `'WAIT'`) + +* `REJECT` (value: `'REJECT'`) + +* `ACCEPT` (value: `'ACCEPT'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkMissingTrmRule2.md b/docs/TRLinkMissingTrmRule2.md new file mode 100644 index 00000000..53693fe3 --- /dev/null +++ b/docs/TRLinkMissingTrmRule2.md @@ -0,0 +1,49 @@ +# TRLinkMissingTrmRule2 + +Rule for handling transactions when TRM screening data is missing or unavailable + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **str** | Customer identifier | [optional] +**direction** | [**TRLinkTransactionDirection**](TRLinkTransactionDirection.md) | | [optional] +**source_type** | **str** | Source entity type | [optional] +**source_sub_type** | **str** | Source entity subtype | [optional] +**source_address** | **str** | Source blockchain address | [optional] +**dest_type** | **str** | Destination entity type | [optional] +**dest_sub_type** | **str** | Destination entity subtype | [optional] +**dest_address** | **str** | Destination blockchain address | [optional] +**source_id** | **str** | Source identifier | [optional] +**dest_id** | **str** | Destination identifier | [optional] +**asset** | **str** | Asset or cryptocurrency type | [optional] +**base_asset** | **str** | Base asset for derivatives | [optional] +**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] +**network_protocol** | **str** | Network protocol identifier | [optional] +**operation** | **str** | Operation type | [optional] +**description** | **str** | Rule description | [optional] +**is_default** | **bool** | Whether this is a default rule | [optional] +**valid_before** | **int** | Rule is valid before this timestamp (milliseconds) | [optional] +**valid_after** | **int** | Rule is valid after this timestamp (milliseconds) | [optional] +**action** | [**TRLinkMissingTrmAction2**](TRLinkMissingTrmAction2.md) | | + +## Example + +```python +from fireblocks.models.tr_link_missing_trm_rule2 import TRLinkMissingTrmRule2 + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkMissingTrmRule2 from a JSON string +tr_link_missing_trm_rule2_instance = TRLinkMissingTrmRule2.from_json(json) +# print the JSON string representation of the object +print(TRLinkMissingTrmRule2.to_json()) + +# convert the object into a dict +tr_link_missing_trm_rule2_dict = tr_link_missing_trm_rule2_instance.to_dict() +# create an instance of TRLinkMissingTrmRule2 from a dict +tr_link_missing_trm_rule2_from_dict = TRLinkMissingTrmRule2.from_dict(tr_link_missing_trm_rule2_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) + + diff --git a/docs/TRLinkOneTimeAddress.md b/docs/TRLinkOneTimeAddress.md new file mode 100644 index 00000000..26350872 --- /dev/null +++ b/docs/TRLinkOneTimeAddress.md @@ -0,0 +1,30 @@ +# TRLinkOneTimeAddress + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **str** | Blockchain address | +**tag** | **str** | Destination tag (memo, memo ID, etc.) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_one_time_address import TRLinkOneTimeAddress + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkOneTimeAddress from a JSON string +tr_link_one_time_address_instance = TRLinkOneTimeAddress.from_json(json) +# print the JSON string representation of the object +print(TRLinkOneTimeAddress.to_json()) + +# convert the object into a dict +tr_link_one_time_address_dict = tr_link_one_time_address_instance.to_dict() +# create an instance of TRLinkOneTimeAddress from a dict +tr_link_one_time_address_from_dict = TRLinkOneTimeAddress.from_dict(tr_link_one_time_address_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) + + diff --git a/docs/TRLinkPaging.md b/docs/TRLinkPaging.md new file mode 100644 index 00000000..d5333617 --- /dev/null +++ b/docs/TRLinkPaging.md @@ -0,0 +1,29 @@ +# TRLinkPaging + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**next** | **str** | Cursor for next page | + +## Example + +```python +from fireblocks.models.tr_link_paging import TRLinkPaging + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPaging from a JSON string +tr_link_paging_instance = TRLinkPaging.from_json(json) +# print the JSON string representation of the object +print(TRLinkPaging.to_json()) + +# convert the object into a dict +tr_link_paging_dict = tr_link_paging_instance.to_dict() +# create an instance of TRLinkPaging from a dict +tr_link_paging_from_dict = TRLinkPaging.from_dict(tr_link_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) + + diff --git a/docs/TRLinkPartnerResponse.md b/docs/TRLinkPartnerResponse.md new file mode 100644 index 00000000..8cb9ecdf --- /dev/null +++ b/docs/TRLinkPartnerResponse.md @@ -0,0 +1,35 @@ +# TRLinkPartnerResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Partner unique identifier | +**ident** | **str** | Partner identification code | +**name** | **str** | Partner display name | +**description** | **str** | Partner description | [optional] +**base_url** | **str** | Partner API base URL | +**active** | **bool** | Whether the partner is active | +**is_test** | **bool** | Whether this is a test/sandbox partner | + +## Example + +```python +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPartnerResponse from a JSON string +tr_link_partner_response_instance = TRLinkPartnerResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkPartnerResponse.to_json()) + +# convert the object into a dict +tr_link_partner_response_dict = tr_link_partner_response_instance.to_dict() +# create an instance of TRLinkPartnerResponse from a dict +tr_link_partner_response_from_dict = TRLinkPartnerResponse.from_dict(tr_link_partner_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) + + diff --git a/docs/TRLinkPolicyResponse.md b/docs/TRLinkPolicyResponse.md new file mode 100644 index 00000000..197ad0a2 --- /dev/null +++ b/docs/TRLinkPolicyResponse.md @@ -0,0 +1,32 @@ +# TRLinkPolicyResponse + +TRLink policy response containing pre-screening, post-screening, and missing TRM rules + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pre_screening_rules** | [**List[TRLinkPreScreeningRule2]**](TRLinkPreScreeningRule2.md) | Pre-screening rules that determine whether transactions should be screened | +**post_screening_rules** | [**List[TRLinkPostScreeningRule2]**](TRLinkPostScreeningRule2.md) | Post-screening rules that determine actions based on screening results | +**missing_trm_rules** | [**List[TRLinkMissingTrmRule2]**](TRLinkMissingTrmRule2.md) | Rules for handling transactions when TRM screening data is unavailable | + +## Example + +```python +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPolicyResponse from a JSON string +tr_link_policy_response_instance = TRLinkPolicyResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkPolicyResponse.to_json()) + +# convert the object into a dict +tr_link_policy_response_dict = tr_link_policy_response_instance.to_dict() +# create an instance of TRLinkPolicyResponse from a dict +tr_link_policy_response_from_dict = TRLinkPolicyResponse.from_dict(tr_link_policy_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) + + diff --git a/docs/TRLinkPostScreeningAction.md b/docs/TRLinkPostScreeningAction.md new file mode 100644 index 00000000..d5c60b4c --- /dev/null +++ b/docs/TRLinkPostScreeningAction.md @@ -0,0 +1,16 @@ +# TRLinkPostScreeningAction + + +## Enum + +* `ACCEPT` (value: `'ACCEPT'`) + +* `ALERT` (value: `'ALERT'`) + +* `REJECT` (value: `'REJECT'`) + +* `WAIT` (value: `'WAIT'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkPostScreeningRule2.md b/docs/TRLinkPostScreeningRule2.md new file mode 100644 index 00000000..3ce40448 --- /dev/null +++ b/docs/TRLinkPostScreeningRule2.md @@ -0,0 +1,51 @@ +# TRLinkPostScreeningRule2 + +Post-screening rule that determines the verdict based on screening results + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **str** | Customer identifier | [optional] +**direction** | [**TRLinkTransactionDirection**](TRLinkTransactionDirection.md) | | [optional] +**source_type** | **str** | Source entity type | [optional] +**source_sub_type** | **str** | Source entity subtype | [optional] +**source_address** | **str** | Source blockchain address | [optional] +**dest_type** | **str** | Destination entity type | [optional] +**dest_sub_type** | **str** | Destination entity subtype | [optional] +**dest_address** | **str** | Destination blockchain address | [optional] +**source_id** | **str** | Source identifier | [optional] +**dest_id** | **str** | Destination identifier | [optional] +**asset** | **str** | Asset or cryptocurrency type | [optional] +**base_asset** | **str** | Base asset for derivatives | [optional] +**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] +**network_protocol** | **str** | Network protocol identifier | [optional] +**operation** | **str** | Operation type | [optional] +**description** | **str** | Rule description | [optional] +**is_default** | **bool** | Whether this is a default rule | [optional] +**provider_ident** | **str** | TRP provider identifier | [optional] +**trm_status** | [**TRLinkTrmStatus**](TRLinkTrmStatus.md) | | [optional] +**valid_before** | **int** | Rule is valid before this timestamp (milliseconds) | [optional] +**valid_after** | **int** | Rule is valid after this timestamp (milliseconds) | [optional] +**action** | [**TRLinkPostScreeningAction**](TRLinkPostScreeningAction.md) | | + +## Example + +```python +from fireblocks.models.tr_link_post_screening_rule2 import TRLinkPostScreeningRule2 + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPostScreeningRule2 from a JSON string +tr_link_post_screening_rule2_instance = TRLinkPostScreeningRule2.from_json(json) +# print the JSON string representation of the object +print(TRLinkPostScreeningRule2.to_json()) + +# convert the object into a dict +tr_link_post_screening_rule2_dict = tr_link_post_screening_rule2_instance.to_dict() +# create an instance of TRLinkPostScreeningRule2 from a dict +tr_link_post_screening_rule2_from_dict = TRLinkPostScreeningRule2.from_dict(tr_link_post_screening_rule2_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) + + diff --git a/docs/TRLinkPreScreeningAction2.md b/docs/TRLinkPreScreeningAction2.md new file mode 100644 index 00000000..f26ffdf0 --- /dev/null +++ b/docs/TRLinkPreScreeningAction2.md @@ -0,0 +1,12 @@ +# TRLinkPreScreeningAction2 + + +## Enum + +* `SCREEN` (value: `'SCREEN'`) + +* `PASS` (value: `'PASS'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkPreScreeningRule2.md b/docs/TRLinkPreScreeningRule2.md new file mode 100644 index 00000000..b263cea2 --- /dev/null +++ b/docs/TRLinkPreScreeningRule2.md @@ -0,0 +1,47 @@ +# TRLinkPreScreeningRule2 + +Pre-screening rule that determines if a transaction should be screened + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **str** | Customer identifier | [optional] +**direction** | [**TRLinkTransactionDirection**](TRLinkTransactionDirection.md) | | [optional] +**source_type** | **str** | Source entity type | [optional] +**source_sub_type** | **str** | Source entity subtype | [optional] +**source_address** | **str** | Source blockchain address | [optional] +**dest_type** | **str** | Destination entity type | [optional] +**dest_sub_type** | **str** | Destination entity subtype | [optional] +**dest_address** | **str** | Destination blockchain address | [optional] +**source_id** | **str** | Source identifier | [optional] +**dest_id** | **str** | Destination identifier | [optional] +**asset** | **str** | Asset or cryptocurrency type | [optional] +**base_asset** | **str** | Base asset for derivatives | [optional] +**amount** | [**TRLinkAmount2**](TRLinkAmount2.md) | | [optional] +**network_protocol** | **str** | Network protocol identifier | [optional] +**operation** | **str** | Operation type | [optional] +**description** | **str** | Rule description | [optional] +**is_default** | **bool** | Whether this is a default rule | [optional] +**action** | [**TRLinkPreScreeningAction2**](TRLinkPreScreeningAction2.md) | | + +## Example + +```python +from fireblocks.models.tr_link_pre_screening_rule2 import TRLinkPreScreeningRule2 + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPreScreeningRule2 from a JSON string +tr_link_pre_screening_rule2_instance = TRLinkPreScreeningRule2.from_json(json) +# print the JSON string representation of the object +print(TRLinkPreScreeningRule2.to_json()) + +# convert the object into a dict +tr_link_pre_screening_rule2_dict = tr_link_pre_screening_rule2_instance.to_dict() +# create an instance of TRLinkPreScreeningRule2 from a dict +tr_link_pre_screening_rule2_from_dict = TRLinkPreScreeningRule2.from_dict(tr_link_pre_screening_rule2_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) + + diff --git a/docs/TRLinkProviderData.md b/docs/TRLinkProviderData.md new file mode 100644 index 00000000..e3b89b9b --- /dev/null +++ b/docs/TRLinkProviderData.md @@ -0,0 +1,30 @@ +# TRLinkProviderData + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**provider** | **str** | Provider name | [optional] +**data** | **Dict[str, object]** | Provider-specific data | [optional] + +## Example + +```python +from fireblocks.models.tr_link_provider_data import TRLinkProviderData + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkProviderData from a JSON string +tr_link_provider_data_instance = TRLinkProviderData.from_json(json) +# print the JSON string representation of the object +print(TRLinkProviderData.to_json()) + +# convert the object into a dict +tr_link_provider_data_dict = tr_link_provider_data_instance.to_dict() +# create an instance of TRLinkProviderData from a dict +tr_link_provider_data_from_dict = TRLinkProviderData.from_dict(tr_link_provider_data_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) + + diff --git a/docs/TRLinkPublicAssetInfo.md b/docs/TRLinkPublicAssetInfo.md new file mode 100644 index 00000000..7b7c2a28 --- /dev/null +++ b/docs/TRLinkPublicAssetInfo.md @@ -0,0 +1,36 @@ +# TRLinkPublicAssetInfo + +Public asset information with limited properties for API consumption + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The unique ID of the asset (e.g., Fireblocks asset ID) | +**name** | **str** | The name of the asset | +**type** | **str** | The type of the asset (e.g., BASE_ASSET, ERC20) | +**contract_address** | **str** | The contract address of the asset (for tokenized assets) | +**native_asset** | **str** | The native asset of the network (e.g., ETH for ERC20 tokens) | +**decimals** | **float** | The number of decimal places for the asset | +**issuer_address** | **str** | The issuer address of the asset (optional) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPublicAssetInfo from a JSON string +tr_link_public_asset_info_instance = TRLinkPublicAssetInfo.from_json(json) +# print the JSON string representation of the object +print(TRLinkPublicAssetInfo.to_json()) + +# convert the object into a dict +tr_link_public_asset_info_dict = tr_link_public_asset_info_instance.to_dict() +# create an instance of TRLinkPublicAssetInfo from a dict +tr_link_public_asset_info_from_dict = TRLinkPublicAssetInfo.from_dict(tr_link_public_asset_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) + + diff --git a/docs/TRLinkPublicKeyResponse.md b/docs/TRLinkPublicKeyResponse.md new file mode 100644 index 00000000..42dbc329 --- /dev/null +++ b/docs/TRLinkPublicKeyResponse.md @@ -0,0 +1,30 @@ +# TRLinkPublicKeyResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**issuer** | **str** | Partner issuer identifier | +**public_key** | [**TRLinkJwkPublicKey**](TRLinkJwkPublicKey.md) | | + +## Example + +```python +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkPublicKeyResponse from a JSON string +tr_link_public_key_response_instance = TRLinkPublicKeyResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkPublicKeyResponse.to_json()) + +# convert the object into a dict +tr_link_public_key_response_dict = tr_link_public_key_response_instance.to_dict() +# create an instance of TRLinkPublicKeyResponse from a dict +tr_link_public_key_response_from_dict = TRLinkPublicKeyResponse.from_dict(tr_link_public_key_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) + + diff --git a/docs/TRLinkRedirectTrmRequest.md b/docs/TRLinkRedirectTrmRequest.md new file mode 100644 index 00000000..0d79d42f --- /dev/null +++ b/docs/TRLinkRedirectTrmRequest.md @@ -0,0 +1,29 @@ +# TRLinkRedirectTrmRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subsidiary_vasp_id** | **str** | ID of the subsidiary VASP to redirect the TRM to | + +## Example + +```python +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkRedirectTrmRequest from a JSON string +tr_link_redirect_trm_request_instance = TRLinkRedirectTrmRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkRedirectTrmRequest.to_json()) + +# convert the object into a dict +tr_link_redirect_trm_request_dict = tr_link_redirect_trm_request_instance.to_dict() +# create an instance of TRLinkRedirectTrmRequest from a dict +tr_link_redirect_trm_request_from_dict = TRLinkRedirectTrmRequest.from_dict(tr_link_redirect_trm_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) + + diff --git a/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md b/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md new file mode 100644 index 00000000..52650195 --- /dev/null +++ b/docs/TRLinkSetDestinationTravelRuleMessageIdRequest.md @@ -0,0 +1,32 @@ +# TRLinkSetDestinationTravelRuleMessageIdRequest + +Request to set TRM ID for specific transaction destination + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **str** | Destination amount for matching | +**destination** | [**TRLinkTransferPeerPath**](TRLinkTransferPeerPath.md) | | +**travel_rule_message_id** | **str** | Travel Rule Message ID to associate with destination (null to unset) | + +## Example + +```python +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import TRLinkSetDestinationTravelRuleMessageIdRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkSetDestinationTravelRuleMessageIdRequest from a JSON string +tr_link_set_destination_travel_rule_message_id_request_instance = TRLinkSetDestinationTravelRuleMessageIdRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkSetDestinationTravelRuleMessageIdRequest.to_json()) + +# convert the object into a dict +tr_link_set_destination_travel_rule_message_id_request_dict = tr_link_set_destination_travel_rule_message_id_request_instance.to_dict() +# create an instance of TRLinkSetDestinationTravelRuleMessageIdRequest from a dict +tr_link_set_destination_travel_rule_message_id_request_from_dict = TRLinkSetDestinationTravelRuleMessageIdRequest.from_dict(tr_link_set_destination_travel_rule_message_id_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) + + diff --git a/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md b/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md new file mode 100644 index 00000000..9546f6e5 --- /dev/null +++ b/docs/TRLinkSetDestinationTravelRuleMessageIdResponse.md @@ -0,0 +1,32 @@ +# TRLinkSetDestinationTravelRuleMessageIdResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **bool** | Whether the operation was successful | +**updated_destinations** | **float** | Number of destinations updated | +**failed_destinations** | **float** | Number of destinations that failed to update | +**errors** | **List[str]** | List of errors (if any) | [optional] + +## Example + +```python +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import TRLinkSetDestinationTravelRuleMessageIdResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkSetDestinationTravelRuleMessageIdResponse from a JSON string +tr_link_set_destination_travel_rule_message_id_response_instance = TRLinkSetDestinationTravelRuleMessageIdResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkSetDestinationTravelRuleMessageIdResponse.to_json()) + +# convert the object into a dict +tr_link_set_destination_travel_rule_message_id_response_dict = tr_link_set_destination_travel_rule_message_id_response_instance.to_dict() +# create an instance of TRLinkSetDestinationTravelRuleMessageIdResponse from a dict +tr_link_set_destination_travel_rule_message_id_response_from_dict = TRLinkSetDestinationTravelRuleMessageIdResponse.from_dict(tr_link_set_destination_travel_rule_message_id_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) + + diff --git a/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md b/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md new file mode 100644 index 00000000..778c7917 --- /dev/null +++ b/docs/TRLinkSetTransactionTravelRuleMessageIdRequest.md @@ -0,0 +1,29 @@ +# TRLinkSetTransactionTravelRuleMessageIdRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**travel_rule_message_id** | **str** | Travel Rule Message ID to associate with transaction (null to unset) | + +## Example + +```python +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import TRLinkSetTransactionTravelRuleMessageIdRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkSetTransactionTravelRuleMessageIdRequest from a JSON string +tr_link_set_transaction_travel_rule_message_id_request_instance = TRLinkSetTransactionTravelRuleMessageIdRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkSetTransactionTravelRuleMessageIdRequest.to_json()) + +# convert the object into a dict +tr_link_set_transaction_travel_rule_message_id_request_dict = tr_link_set_transaction_travel_rule_message_id_request_instance.to_dict() +# create an instance of TRLinkSetTransactionTravelRuleMessageIdRequest from a dict +tr_link_set_transaction_travel_rule_message_id_request_from_dict = TRLinkSetTransactionTravelRuleMessageIdRequest.from_dict(tr_link_set_transaction_travel_rule_message_id_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) + + diff --git a/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md b/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md new file mode 100644 index 00000000..3280d43a --- /dev/null +++ b/docs/TRLinkSetTransactionTravelRuleMessageIdResponse.md @@ -0,0 +1,29 @@ +# TRLinkSetTransactionTravelRuleMessageIdResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **bool** | Whether the operation was successful | + +## Example + +```python +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import TRLinkSetTransactionTravelRuleMessageIdResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkSetTransactionTravelRuleMessageIdResponse from a JSON string +tr_link_set_transaction_travel_rule_message_id_response_instance = TRLinkSetTransactionTravelRuleMessageIdResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkSetTransactionTravelRuleMessageIdResponse.to_json()) + +# convert the object into a dict +tr_link_set_transaction_travel_rule_message_id_response_dict = tr_link_set_transaction_travel_rule_message_id_response_instance.to_dict() +# create an instance of TRLinkSetTransactionTravelRuleMessageIdResponse from a dict +tr_link_set_transaction_travel_rule_message_id_response_from_dict = TRLinkSetTransactionTravelRuleMessageIdResponse.from_dict(tr_link_set_transaction_travel_rule_message_id_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) + + diff --git a/docs/TRLinkSourceTransferPeerPath.md b/docs/TRLinkSourceTransferPeerPath.md new file mode 100644 index 00000000..91f79bab --- /dev/null +++ b/docs/TRLinkSourceTransferPeerPath.md @@ -0,0 +1,32 @@ +# TRLinkSourceTransferPeerPath + +Source peer path for transaction + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Source peer type (e.g., VAULT_ACCOUNT, UNKNOWN) | +**id** | **str** | Source peer ID | [optional] +**wallet_id** | **str** | Source wallet ID | [optional] + +## Example + +```python +from fireblocks.models.tr_link_source_transfer_peer_path import TRLinkSourceTransferPeerPath + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkSourceTransferPeerPath from a JSON string +tr_link_source_transfer_peer_path_instance = TRLinkSourceTransferPeerPath.from_json(json) +# print the JSON string representation of the object +print(TRLinkSourceTransferPeerPath.to_json()) + +# convert the object into a dict +tr_link_source_transfer_peer_path_dict = tr_link_source_transfer_peer_path_instance.to_dict() +# create an instance of TRLinkSourceTransferPeerPath from a dict +tr_link_source_transfer_peer_path_from_dict = TRLinkSourceTransferPeerPath.from_dict(tr_link_source_transfer_peer_path_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) + + diff --git a/docs/TRLinkTestConnectionResponse.md b/docs/TRLinkTestConnectionResponse.md new file mode 100644 index 00000000..4390b342 --- /dev/null +++ b/docs/TRLinkTestConnectionResponse.md @@ -0,0 +1,33 @@ +# TRLinkTestConnectionResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**success** | **bool** | Whether the connection test was successful | +**message** | **str** | Additional message about the connection test (present when success is false) | [optional] +**timestamp** | **datetime** | Timestamp when the test was performed (ISO 8601 format) | +**partner_ident** | **str** | Partner identification code | [optional] +**partner_name** | **str** | Partner display name | [optional] + +## Example + +```python +from fireblocks.models.tr_link_test_connection_response import TRLinkTestConnectionResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkTestConnectionResponse from a JSON string +tr_link_test_connection_response_instance = TRLinkTestConnectionResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkTestConnectionResponse.to_json()) + +# convert the object into a dict +tr_link_test_connection_response_dict = tr_link_test_connection_response_instance.to_dict() +# create an instance of TRLinkTestConnectionResponse from a dict +tr_link_test_connection_response_from_dict = TRLinkTestConnectionResponse.from_dict(tr_link_test_connection_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) + + diff --git a/docs/TRLinkThresholds.md b/docs/TRLinkThresholds.md new file mode 100644 index 00000000..e566d202 --- /dev/null +++ b/docs/TRLinkThresholds.md @@ -0,0 +1,30 @@ +# TRLinkThresholds + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **str** | Threshold amount | [optional] +**currency** | **str** | Currency code | [optional] + +## Example + +```python +from fireblocks.models.tr_link_thresholds import TRLinkThresholds + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkThresholds from a JSON string +tr_link_thresholds_instance = TRLinkThresholds.from_json(json) +# print the JSON string representation of the object +print(TRLinkThresholds.to_json()) + +# convert the object into a dict +tr_link_thresholds_dict = tr_link_thresholds_instance.to_dict() +# create an instance of TRLinkThresholds from a dict +tr_link_thresholds_from_dict = TRLinkThresholds.from_dict(tr_link_thresholds_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) + + diff --git a/docs/TRLinkTransactionDirection.md b/docs/TRLinkTransactionDirection.md new file mode 100644 index 00000000..2a2723c7 --- /dev/null +++ b/docs/TRLinkTransactionDirection.md @@ -0,0 +1,13 @@ +# TRLinkTransactionDirection + +Transaction direction from workspace perspective + +## Enum + +* `INBOUND` (value: `'INBOUND'`) + +* `OUTBOUND` (value: `'OUTBOUND'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkTransferPeerPath.md b/docs/TRLinkTransferPeerPath.md new file mode 100644 index 00000000..2337ef71 --- /dev/null +++ b/docs/TRLinkTransferPeerPath.md @@ -0,0 +1,33 @@ +# TRLinkTransferPeerPath + +Transfer peer path for destination matching + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | Peer type | [optional] +**id** | **str** | Peer ID | [optional] +**sub_type** | **str** | Peer subtype | [optional] +**address** | **str** | Peer address | [optional] + +## Example + +```python +from fireblocks.models.tr_link_transfer_peer_path import TRLinkTransferPeerPath + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkTransferPeerPath from a JSON string +tr_link_transfer_peer_path_instance = TRLinkTransferPeerPath.from_json(json) +# print the JSON string representation of the object +print(TRLinkTransferPeerPath.to_json()) + +# convert the object into a dict +tr_link_transfer_peer_path_dict = tr_link_transfer_peer_path_instance.to_dict() +# create an instance of TRLinkTransferPeerPath from a dict +tr_link_transfer_peer_path_from_dict = TRLinkTransferPeerPath.from_dict(tr_link_transfer_peer_path_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) + + diff --git a/docs/TRLinkTrmDirection.md b/docs/TRLinkTrmDirection.md new file mode 100644 index 00000000..ef660b68 --- /dev/null +++ b/docs/TRLinkTrmDirection.md @@ -0,0 +1,13 @@ +# TRLinkTrmDirection + +Transaction direction for TRM (in = inbound, out = outbound) + +## Enum + +* `IN` (value: `'in'`) + +* `OUT` (value: `'out'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkTrmInfoResponse.md b/docs/TRLinkTrmInfoResponse.md new file mode 100644 index 00000000..3c45d7e3 --- /dev/null +++ b/docs/TRLinkTrmInfoResponse.md @@ -0,0 +1,43 @@ +# TRLinkTrmInfoResponse + +Travel Rule Message information + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | TRM message ID | +**version** | **str** | TRM version | [optional] +**status** | [**TRLinkTrmStatus**](TRLinkTrmStatus.md) | | [optional] +**reason** | **str** | Human readable reason for the current status | [optional] +**external_id** | **str** | External ID (e.g., Fireblocks ID) | +**asset** | [**TRLinkAsset**](TRLinkAsset.md) | | +**amount** | **str** | Transaction amount in asset units | +**fiat_value** | [**TRLinkFiatValue**](TRLinkFiatValue.md) | | [optional] +**direction** | [**TRLinkTrmDirection**](TRLinkTrmDirection.md) | | +**originator_vasp_id** | **str** | ID of the originator VASP | [optional] +**beneficiary_vasp_id** | **str** | ID of the beneficiary VASP | [optional] +**txn_info** | [**TRLinkTxnInfo**](TRLinkTxnInfo.md) | | +**ivms101** | [**TRLinkIvmsResponse**](TRLinkIvmsResponse.md) | | +**provider_data** | [**TRLinkProviderData**](TRLinkProviderData.md) | | [optional] + +## Example + +```python +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkTrmInfoResponse from a JSON string +tr_link_trm_info_response_instance = TRLinkTrmInfoResponse.from_json(json) +# print the JSON string representation of the object +print(TRLinkTrmInfoResponse.to_json()) + +# convert the object into a dict +tr_link_trm_info_response_dict = tr_link_trm_info_response_instance.to_dict() +# create an instance of TRLinkTrmInfoResponse from a dict +tr_link_trm_info_response_from_dict = TRLinkTrmInfoResponse.from_dict(tr_link_trm_info_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) + + diff --git a/docs/TRLinkTrmStatus.md b/docs/TRLinkTrmStatus.md new file mode 100644 index 00000000..b8c208cd --- /dev/null +++ b/docs/TRLinkTrmStatus.md @@ -0,0 +1,17 @@ +# TRLinkTrmStatus + +Current status of the Travel Rule Message + +## Enum + +* `PENDING` (value: `'PENDING'`) + +* `ACCEPTED` (value: `'ACCEPTED'`) + +* `REJECTED` (value: `'REJECTED'`) + +* `FAILED` (value: `'FAILED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/TRLinkTxnInfo.md b/docs/TRLinkTxnInfo.md new file mode 100644 index 00000000..3404fb93 --- /dev/null +++ b/docs/TRLinkTxnInfo.md @@ -0,0 +1,31 @@ +# TRLinkTxnInfo + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**originator_wallet_address** | **str** | Originator's blockchain wallet address | +**beneficiary_wallet_address** | **str** | Beneficiary's blockchain wallet address | +**tx_hash** | **str** | Blockchain transaction hash | + +## Example + +```python +from fireblocks.models.tr_link_txn_info import TRLinkTxnInfo + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkTxnInfo from a JSON string +tr_link_txn_info_instance = TRLinkTxnInfo.from_json(json) +# print the JSON string representation of the object +print(TRLinkTxnInfo.to_json()) + +# convert the object into a dict +tr_link_txn_info_dict = tr_link_txn_info_instance.to_dict() +# create an instance of TRLinkTxnInfo from a dict +tr_link_txn_info_from_dict = TRLinkTxnInfo.from_dict(tr_link_txn_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) + + diff --git a/docs/TRLinkUpdateCustomerRequest.md b/docs/TRLinkUpdateCustomerRequest.md new file mode 100644 index 00000000..36beeadb --- /dev/null +++ b/docs/TRLinkUpdateCustomerRequest.md @@ -0,0 +1,37 @@ +# TRLinkUpdateCustomerRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**discoverable** | [**TRLinkDiscoverableStatus**](TRLinkDiscoverableStatus.md) | | [optional] +**short_name** | **str** | Short display name | [optional] +**full_legal_name** | **str** | Full legal entity name | [optional] +**geographic_address** | [**TRLinkGeographicAddressRequest**](TRLinkGeographicAddressRequest.md) | | [optional] +**country_of_registration** | **str** | ISO 3166-1 alpha-2 country code where the entity is registered | [optional] +**national_identification** | **str** | National identification as JSON string | [optional] +**date_of_incorporation** | **date** | Date of entity incorporation (ISO 8601 format: YYYY-MM-DD) | [optional] +**vaults** | **List[int]** | Associated Fireblocks vault account IDs | [optional] +**tr_primary_purpose** | **str** | Primary purpose for Travel Rule compliance | [optional] + +## Example + +```python +from fireblocks.models.tr_link_update_customer_request import TRLinkUpdateCustomerRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkUpdateCustomerRequest from a JSON string +tr_link_update_customer_request_instance = TRLinkUpdateCustomerRequest.from_json(json) +# print the JSON string representation of the object +print(TRLinkUpdateCustomerRequest.to_json()) + +# convert the object into a dict +tr_link_update_customer_request_dict = tr_link_update_customer_request_instance.to_dict() +# create an instance of TRLinkUpdateCustomerRequest from a dict +tr_link_update_customer_request_from_dict = TRLinkUpdateCustomerRequest.from_dict(tr_link_update_customer_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) + + diff --git a/docs/TRLinkVaspDto.md b/docs/TRLinkVaspDto.md new file mode 100644 index 00000000..7f03b8ce --- /dev/null +++ b/docs/TRLinkVaspDto.md @@ -0,0 +1,34 @@ +# TRLinkVaspDto + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | VASP unique identifier (DID format) | +**name** | **str** | VASP display name | +**legal_name** | **str** | Legal entity name | [optional] +**national_identification** | [**TRLinkVaspNationalIdentification**](TRLinkVaspNationalIdentification.md) | | [optional] +**geographic_address** | [**TRLinkVaspGeographicAddress**](TRLinkVaspGeographicAddress.md) | | [optional] +**public_key** | **str** | VASP public key for encryption | [optional] + +## Example + +```python +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkVaspDto from a JSON string +tr_link_vasp_dto_instance = TRLinkVaspDto.from_json(json) +# print the JSON string representation of the object +print(TRLinkVaspDto.to_json()) + +# convert the object into a dict +tr_link_vasp_dto_dict = tr_link_vasp_dto_instance.to_dict() +# create an instance of TRLinkVaspDto from a dict +tr_link_vasp_dto_from_dict = TRLinkVaspDto.from_dict(tr_link_vasp_dto_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) + + diff --git a/docs/TRLinkVaspGeographicAddress.md b/docs/TRLinkVaspGeographicAddress.md new file mode 100644 index 00000000..7894cd64 --- /dev/null +++ b/docs/TRLinkVaspGeographicAddress.md @@ -0,0 +1,34 @@ +# TRLinkVaspGeographicAddress + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**formatted_address** | **str** | Complete formatted address | [optional] +**country** | **str** | Country code or name | [optional] +**street_name** | **str** | Street name | [optional] +**building_number** | **str** | Building number | [optional] +**city** | **str** | City name | [optional] +**postal_code** | **str** | Postal/ZIP code | [optional] + +## Example + +```python +from fireblocks.models.tr_link_vasp_geographic_address import TRLinkVaspGeographicAddress + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkVaspGeographicAddress from a JSON string +tr_link_vasp_geographic_address_instance = TRLinkVaspGeographicAddress.from_json(json) +# print the JSON string representation of the object +print(TRLinkVaspGeographicAddress.to_json()) + +# convert the object into a dict +tr_link_vasp_geographic_address_dict = tr_link_vasp_geographic_address_instance.to_dict() +# create an instance of TRLinkVaspGeographicAddress from a dict +tr_link_vasp_geographic_address_from_dict = TRLinkVaspGeographicAddress.from_dict(tr_link_vasp_geographic_address_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) + + diff --git a/docs/TRLinkVaspListDto.md b/docs/TRLinkVaspListDto.md new file mode 100644 index 00000000..2302b4be --- /dev/null +++ b/docs/TRLinkVaspListDto.md @@ -0,0 +1,33 @@ +# TRLinkVaspListDto + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | VASP unique identifier (DID format) | +**name** | **str** | VASP display name | +**legal_name** | **str** | Legal entity name | [optional] +**national_identification** | [**TRLinkVaspNationalIdentification**](TRLinkVaspNationalIdentification.md) | | [optional] +**geographic_address** | [**TRLinkVaspGeographicAddress**](TRLinkVaspGeographicAddress.md) | | [optional] + +## Example + +```python +from fireblocks.models.tr_link_vasp_list_dto import TRLinkVaspListDto + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkVaspListDto from a JSON string +tr_link_vasp_list_dto_instance = TRLinkVaspListDto.from_json(json) +# print the JSON string representation of the object +print(TRLinkVaspListDto.to_json()) + +# convert the object into a dict +tr_link_vasp_list_dto_dict = tr_link_vasp_list_dto_instance.to_dict() +# create an instance of TRLinkVaspListDto from a dict +tr_link_vasp_list_dto_from_dict = TRLinkVaspListDto.from_dict(tr_link_vasp_list_dto_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) + + diff --git a/docs/TRLinkVaspNationalIdentification.md b/docs/TRLinkVaspNationalIdentification.md new file mode 100644 index 00000000..3277e385 --- /dev/null +++ b/docs/TRLinkVaspNationalIdentification.md @@ -0,0 +1,31 @@ +# TRLinkVaspNationalIdentification + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**identifier** | **str** | National identification number | +**type** | **str** | Type of national identification | [optional] +**authority** | **str** | Issuing authority | [optional] + +## Example + +```python +from fireblocks.models.tr_link_vasp_national_identification import TRLinkVaspNationalIdentification + +# TODO update the JSON string below +json = "{}" +# create an instance of TRLinkVaspNationalIdentification from a JSON string +tr_link_vasp_national_identification_instance = TRLinkVaspNationalIdentification.from_json(json) +# print the JSON string representation of the object +print(TRLinkVaspNationalIdentification.to_json()) + +# convert the object into a dict +tr_link_vasp_national_identification_dict = tr_link_vasp_national_identification_instance.to_dict() +# create an instance of TRLinkVaspNationalIdentification from a dict +tr_link_vasp_national_identification_from_dict = TRLinkVaspNationalIdentification.from_dict(tr_link_vasp_national_identification_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) + + diff --git a/docs/Tag.md b/docs/Tag.md index d9cb1895..9519d8c5 100644 --- a/docs/Tag.md +++ b/docs/Tag.md @@ -8,9 +8,10 @@ Name | Type | Description | Notes **id** | **str** | The unique identifier of the tag | **label** | **str** | The tag label | **description** | **str** | Description for the tag | [optional] -**is_protected** | **bool** | Whether the tag is protected | [optional] -**color** | **str** | The color of the tag in hex format | [optional] -**updated_at** | **str** | The date and time the tag was last updated | [optional] +**color** | **str** | The tag color in hex format | [optional] +**is_protected** | **bool** | Indication if the tag is a protected tag | [default to False] +**updated_at** | **float** | The date and time the tag was last updated | +**pending_approval_request** | [**ApprovalRequest**](ApprovalRequest.md) | | [optional] ## Example diff --git a/docs/TagsApi.md b/docs/TagsApi.md index 34bff7bc..7332b199 100644 --- a/docs/TagsApi.md +++ b/docs/TagsApi.md @@ -4,19 +4,97 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_tag**](TagsApi.md#create_tag) | **POST** /tags | Create a tag +[**cancel_approval_request**](TagsApi.md#cancel_approval_request) | **POST** /tags/approval_requests/{id}/cancel | Cancel an approval request by id +[**create_tag**](TagsApi.md#create_tag) | **POST** /tags | Create a new tag [**delete_tag**](TagsApi.md#delete_tag) | **DELETE** /tags/{tagId} | Delete a tag +[**get_approval_request**](TagsApi.md#get_approval_request) | **GET** /tags/approval_requests/{id} | Get an approval request by id [**get_tag**](TagsApi.md#get_tag) | **GET** /tags/{tagId} | Get a tag [**get_tags**](TagsApi.md#get_tags) | **GET** /tags | Get list of tags [**update_tag**](TagsApi.md#update_tag) | **PATCH** /tags/{tagId} | Update a tag +# **cancel_approval_request** +> cancel_approval_request(id, idempotency_key=idempotency_key) + +Cancel an approval request by id + +Cancel an approval request by id. Can only cancel requests in PENDING status. Returns 202 Accepted when the cancellation is processed. + +### Example + + +```python +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + id = '12345' # str | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Cancel an approval request by id + fireblocks.tags.cancel_approval_request(id, idempotency_key=idempotency_key).result() + except Exception as e: + print("Exception when calling TagsApi->cancel_approval_request: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**202** | Approval request cancellation processed | * X-Request-ID -
    | +**401** | Unauthorized | * X-Request-ID -
    | +**404** | Approval request not found | * X-Request-ID -
    | +**409** | Invalid approval request state - cannot cancel request that is not in PENDING status | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + # **create_tag** > Tag create_tag(create_tag_request, idempotency_key=idempotency_key) -Create a tag +Create a new tag Create a new tag. +Endpoint Permissions: For protected tags: ADMIN,NON_SIGNING_ADMIN,OWNER. For non protected tags: ADMIN,NON_SIGNING_ADMIN,OWNER,SIGNER,EDITOR,APPROVER. ### Example @@ -48,7 +126,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Create a tag + # Create a new tag api_response = fireblocks.tags.create_tag(create_tag_request, idempotency_key=idempotency_key).result() print("The response of TagsApi->create_tag:\n") pprint(api_response) @@ -83,7 +161,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A tag object | * X-Request-ID -
    | +**201** | Tag created successfully | * X-Request-ID -
    | [[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) @@ -93,6 +171,7 @@ No authorization required Delete a tag Delete the specified tag. +Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. ### Example @@ -156,6 +235,82 @@ 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_approval_request** +> ApprovalRequest get_approval_request(id) + +Get an approval request by id + +Get an approval request by id + +### Example + + +```python +from fireblocks.models.approval_request import ApprovalRequest +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + id = '12345' # str | + + try: + # Get an approval request by id + api_response = fireblocks.tags.get_approval_request(id).result() + print("The response of TagsApi->get_approval_request:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TagsApi->get_approval_request: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| | + +### Return type + +[**ApprovalRequest**](ApprovalRequest.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Approval request fetched successfully | * X-Request-ID -
    | +**401** | Unauthorized | * X-Request-ID -
    | +**404** | Approval request not found | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | + +[[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_tag** > Tag get_tag(tag_id) @@ -230,7 +385,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_tags** -> TagsPagedResponse get_tags(page_cursor=page_cursor, page_size=page_size, label=label, tag_ids=tag_ids) +> TagsPagedResponse get_tags(page_cursor=page_cursor, page_size=page_size, label=label, tag_ids=tag_ids, include_pending_approvals_info=include_pending_approvals_info, is_protected=is_protected) Get list of tags @@ -265,10 +420,12 @@ with Fireblocks(configuration) as fireblocks: page_size = 100 # float | Maximum number of items in the page (optional) (default to 100) label = 'VIP' # str | Label prefix to filter by. (optional) tag_ids = ['tag_ids_example'] # List[str] | List of tag IDs to filter by. (optional) + include_pending_approvals_info = False # bool | Whether to include pending approval requests info. (optional) (default to False) + is_protected = True # bool | (optional) try: # Get list of tags - api_response = fireblocks.tags.get_tags(page_cursor=page_cursor, page_size=page_size, label=label, tag_ids=tag_ids).result() + api_response = fireblocks.tags.get_tags(page_cursor=page_cursor, page_size=page_size, label=label, tag_ids=tag_ids, include_pending_approvals_info=include_pending_approvals_info, is_protected=is_protected).result() print("The response of TagsApi->get_tags:\n") pprint(api_response) except Exception as e: @@ -286,6 +443,8 @@ Name | Type | Description | Notes **page_size** | **float**| Maximum number of items in the page | [optional] [default to 100] **label** | **str**| Label prefix to filter by. | [optional] **tag_ids** | [**List[str]**](str.md)| List of tag IDs to filter by. | [optional] + **include_pending_approvals_info** | **bool**| Whether to include pending approval requests info. | [optional] [default to False] + **is_protected** | **bool**| | [optional] ### Return type @@ -304,7 +463,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A TagsPagedResponse object | * X-Request-ID -
    | +**200** | Tags fetched successfully | * X-Request-ID -
    | [[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) @@ -314,6 +473,7 @@ No authorization required Update a tag Update an existing specified tag. +Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. ### Example diff --git a/docs/Task.md b/docs/Task.md deleted file mode 100644 index a467eb06..00000000 --- a/docs/Task.md +++ /dev/null @@ -1,35 +0,0 @@ -# Task - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | [optional] -**job_id** | **str** | | [optional] -**type** | **str** | | [optional] -**tenant_id** | **str** | | [optional] -**created** | **float** | | [optional] -**updated** | **float** | | [optional] -**state** | **str** | | [optional] - -## Example - -```python -from fireblocks.models.task import Task - -# TODO update the JSON string below -json = "{}" -# create an instance of Task from a JSON string -task_instance = Task.from_json(json) -# print the JSON string representation of the object -print(Task.to_json()) - -# convert the object into a dict -task_dict = task_instance.to_dict() -# create an instance of Task from a dict -task_from_dict = Task.from_dict(task_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) - - diff --git a/docs/TokenContractSummaryResponse.md b/docs/TokenContractSummaryResponse.md new file mode 100644 index 00000000..5fe67a93 --- /dev/null +++ b/docs/TokenContractSummaryResponse.md @@ -0,0 +1,32 @@ +# TokenContractSummaryResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**base_asset_id** | **str** | The base asset ID | +**contract_address** | **str** | The contract address | +**total_addresses** | **float** | Total number of addresses with balances | +**total_supply** | **str** | The total supply of the token | + +## Example + +```python +from fireblocks.models.token_contract_summary_response import TokenContractSummaryResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TokenContractSummaryResponse from a JSON string +token_contract_summary_response_instance = TokenContractSummaryResponse.from_json(json) +# print the JSON string representation of the object +print(TokenContractSummaryResponse.to_json()) + +# convert the object into a dict +token_contract_summary_response_dict = token_contract_summary_response_instance.to_dict() +# create an instance of TokenContractSummaryResponse from a dict +token_contract_summary_response_from_dict = TokenContractSummaryResponse.from_dict(token_contract_summary_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) + + diff --git a/docs/TokenizationApi.md b/docs/TokenizationApi.md index 5dc70f4f..b11698fb 100644 --- a/docs/TokenizationApi.md +++ b/docs/TokenizationApi.md @@ -16,6 +16,7 @@ Method | HTTP request | Description [**get_linked_collections**](TokenizationApi.md#get_linked_collections) | **GET** /tokenization/collections | Get collections [**get_linked_token**](TokenizationApi.md#get_linked_token) | **GET** /tokenization/tokens/{id} | Return a linked token [**get_linked_tokens**](TokenizationApi.md#get_linked_tokens) | **GET** /tokenization/tokens | List all linked tokens +[**get_linked_tokens_count**](TokenizationApi.md#get_linked_tokens_count) | **GET** /tokenization/tokens/count | Get the total count of linked tokens [**issue_new_token**](TokenizationApi.md#issue_new_token) | **POST** /tokenization/tokens | Issue a new token [**issue_token_multi_chain**](TokenizationApi.md#issue_token_multi_chain) | **POST** /tokenization/multichain/tokens | Issue a token on one or more blockchains [**link**](TokenizationApi.md#link) | **POST** /tokenization/tokens/link | Link a contract @@ -113,7 +114,8 @@ No authorization required Create a new collection -Create a new collection and link it as a token +Create a new collection and link it as a token. +
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. ### Example @@ -734,7 +736,8 @@ No authorization required Get collections -Get collections (paginated) +Get collections (paginated). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -959,12 +962,83 @@ 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_linked_tokens_count** +> LinkedTokensCount get_linked_tokens_count() + +Get the total count of linked tokens + +Get the total count of linked tokens + +### Example + + +```python +from fireblocks.models.linked_tokens_count import LinkedTokensCount +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + + try: + # Get the total count of linked tokens + api_response = fireblocks.tokenization.get_linked_tokens_count().result() + print("The response of TokenizationApi->get_linked_tokens_count:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TokenizationApi->get_linked_tokens_count: %s\n" % e) +``` + + + +### Parameters + +This endpoint does not need any parameter. + +### Return type + +[**LinkedTokensCount**](LinkedTokensCount.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Count fetched successfully | - | +**0** | Error Response | * X-Request-ID -
    | + +[[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) + # **issue_new_token** > TokenLinkDto issue_new_token(create_token_request_dto, idempotency_key=idempotency_key) Issue a new token Facilitates the creation of a new token, supporting both EVM-based and Stellar/Ripple platforms. For EVM, it deploys the corresponding contract template to the blockchain and links the token to the workspace. For Stellar/Ripple, it links a newly created token directly to the workspace without deploying a contract. Returns the token link with status "PENDING" until the token is deployed or "SUCCESS" if no deployment is needed. +
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. ### Example diff --git a/docs/TotalSupplyItemDto.md b/docs/TotalSupplyItemDto.md new file mode 100644 index 00000000..f321217e --- /dev/null +++ b/docs/TotalSupplyItemDto.md @@ -0,0 +1,30 @@ +# TotalSupplyItemDto + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timestamp** | **datetime** | Timestamp of the data point | +**total_supply** | **str** | Total supply at the given timestamp | + +## Example + +```python +from fireblocks.models.total_supply_item_dto import TotalSupplyItemDto + +# TODO update the JSON string below +json = "{}" +# create an instance of TotalSupplyItemDto from a JSON string +total_supply_item_dto_instance = TotalSupplyItemDto.from_json(json) +# print the JSON string representation of the object +print(TotalSupplyItemDto.to_json()) + +# convert the object into a dict +total_supply_item_dto_dict = total_supply_item_dto_instance.to_dict() +# create an instance of TotalSupplyItemDto from a dict +total_supply_item_dto_from_dict = TotalSupplyItemDto.from_dict(total_supply_item_dto_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) + + diff --git a/docs/TotalSupplyPagedResponse.md b/docs/TotalSupplyPagedResponse.md new file mode 100644 index 00000000..42518c45 --- /dev/null +++ b/docs/TotalSupplyPagedResponse.md @@ -0,0 +1,32 @@ +# TotalSupplyPagedResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | [**List[TotalSupplyItemDto]**](TotalSupplyItemDto.md) | Array of total supply data points | +**next** | **str** | Cursor for next page | [optional] +**prev** | **str** | Cursor for previous page | [optional] +**total** | **float** | Total count of items | [optional] + +## Example + +```python +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TotalSupplyPagedResponse from a JSON string +total_supply_paged_response_instance = TotalSupplyPagedResponse.from_json(json) +# print the JSON string representation of the object +print(TotalSupplyPagedResponse.to_json()) + +# convert the object into a dict +total_supply_paged_response_dict = total_supply_paged_response_instance.to_dict() +# create an instance of TotalSupplyPagedResponse from a dict +total_supply_paged_response_from_dict = TotalSupplyPagedResponse.from_dict(total_supply_paged_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) + + diff --git a/docs/TradingAccountType.md b/docs/TradingAccountType.md index a830fbb1..5e62f50d 100644 --- a/docs/TradingAccountType.md +++ b/docs/TradingAccountType.md @@ -31,6 +31,28 @@ * `UNIFIED` (value: `'UNIFIED'`) +* `INTERNAL_BALANCE_1` (value: `'INTERNAL_BALANCE_1'`) + +* `INTERNAL_BALANCE_2` (value: `'INTERNAL_BALANCE_2'`) + +* `INTERNAL_BALANCE_3` (value: `'INTERNAL_BALANCE_3'`) + +* `INTERNAL_BALANCE_4` (value: `'INTERNAL_BALANCE_4'`) + +* `INTERNAL_BALANCE_5` (value: `'INTERNAL_BALANCE_5'`) + +* `INTERNAL_BALANCE_6` (value: `'INTERNAL_BALANCE_6'`) + +* `INTERNAL_BALANCE_7` (value: `'INTERNAL_BALANCE_7'`) + +* `INTERNAL_BALANCE_8` (value: `'INTERNAL_BALANCE_8'`) + +* `INTERNAL_BALANCE_9` (value: `'INTERNAL_BALANCE_9'`) + +* `INTERNAL_BALANCE_10` (value: `'INTERNAL_BALANCE_10'`) + +* `INTERNAL_BALANCE_11` (value: `'INTERNAL_BALANCE_11'`) + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TradingBetaApi.md b/docs/TradingBetaApi.md index b87d55a3..56b0fced 100644 --- a/docs/TradingBetaApi.md +++ b/docs/TradingBetaApi.md @@ -24,6 +24,8 @@ If you want to participate and learn more about the Fireblocks Trading, please c Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. +For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + ### Example @@ -89,10 +91,13 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**202** | Order creation response | - | -**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | -**404** | Not found | - | -**5XX** | Internal error. | - | +**202** | Order creation response | * X-Request-ID -
    | +**400** | Bad request: invalid input parameters, malformed request body, or validation failure. | * X-Request-ID -
    | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted access. | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**5XX** | Internal error while processing the request. | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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) @@ -109,6 +114,8 @@ If you want to participate and learn more about the Fireblocks Trading, please c Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. +For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + ### Example @@ -174,10 +181,13 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Quote created | - | -**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | -**404** | Not found | - | -**5XX** | Internal error. | - | +**201** | Quote created | * X-Request-ID -
    | +**400** | Bad request: invalid input parameters, malformed request body, or validation failure. | * X-Request-ID -
    | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted access. | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**5XX** | Internal error while processing the request. | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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) @@ -194,6 +204,8 @@ If you want to participate and learn more about the Fireblocks Trading, please c Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + ### Example @@ -256,10 +268,13 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Order response | - | -**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | -**404** | Not found | - | -**5XX** | Internal error. | - | +**200** | Order response | * X-Request-ID -
    | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted access. | * X-Request-ID -
    | +**404** | Not found: requested resource does not exist (e.g., order). | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**5XX** | Internal error while processing the request. | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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) @@ -276,6 +291,8 @@ If you want to participate and learn more about the Fireblocks Trading, please c Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). + ### Example @@ -355,10 +372,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Orders response | - | -**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | -**404** | Not found | - | -**5XX** | Internal error. | - | +**200** | Orders response | * X-Request-ID -
    | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted access. | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**5XX** | Internal error while processing the request. | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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) @@ -369,11 +388,12 @@ Get providers Retrieve a list of all available external providers supporting trading activities through the platform. -Note: These endpoints are currently in beta and might be subject to changes. +**Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. -If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. +**Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + +For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). -Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -439,9 +459,12 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Providers response | - | -**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | - | -**5XX** | Internal error. | - | +**200** | Providers response | * X-Request-ID -
    | +**401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
    | +**403** | Forbidden: insufficient permissions, disabled feature, or restricted access. | * X-Request-ID -
    | +**429** | Rate limit exceeded: slow down and retry later. | * X-Request-ID -
    | +**5XX** | Internal error while processing the request. | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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) diff --git a/docs/TradingErrorResponse.md b/docs/TradingErrorResponse.md deleted file mode 100644 index 5ad21fdc..00000000 --- a/docs/TradingErrorResponse.md +++ /dev/null @@ -1,29 +0,0 @@ -# TradingErrorResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [**TradingErrorResponseError**](TradingErrorResponseError.md) | | - -## Example - -```python -from fireblocks.models.trading_error_response import TradingErrorResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of TradingErrorResponse from a JSON string -trading_error_response_instance = TradingErrorResponse.from_json(json) -# print the JSON string representation of the object -print(TradingErrorResponse.to_json()) - -# convert the object into a dict -trading_error_response_dict = trading_error_response_instance.to_dict() -# create an instance of TradingErrorResponse from a dict -trading_error_response_from_dict = TradingErrorResponse.from_dict(trading_error_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) - - diff --git a/docs/TradingErrorResponseError.md b/docs/TradingErrorResponseError.md deleted file mode 100644 index 9bfa3271..00000000 --- a/docs/TradingErrorResponseError.md +++ /dev/null @@ -1,31 +0,0 @@ -# TradingErrorResponseError - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**message** | **str** | | -**error_code** | [**ErrorCodes**](ErrorCodes.md) | | [optional] - -## Example - -```python -from fireblocks.models.trading_error_response_error import TradingErrorResponseError - -# TODO update the JSON string below -json = "{}" -# create an instance of TradingErrorResponseError from a JSON string -trading_error_response_error_instance = TradingErrorResponseError.from_json(json) -# print the JSON string representation of the object -print(TradingErrorResponseError.to_json()) - -# convert the object into a dict -trading_error_response_error_dict = trading_error_response_error_instance.to_dict() -# create an instance of TradingErrorResponseError from a dict -trading_error_response_error_from_dict = TradingErrorResponseError.from_dict(trading_error_response_error_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) - - diff --git a/docs/TradingErrorSchema.md b/docs/TradingErrorSchema.md new file mode 100644 index 00000000..58e280c2 --- /dev/null +++ b/docs/TradingErrorSchema.md @@ -0,0 +1,31 @@ +# TradingErrorSchema + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**code** | **float** | | +**descriptor** | **str** | | [optional] + +## Example + +```python +from fireblocks.models.trading_error_schema import TradingErrorSchema + +# TODO update the JSON string below +json = "{}" +# create an instance of TradingErrorSchema from a JSON string +trading_error_schema_instance = TradingErrorSchema.from_json(json) +# print the JSON string representation of the object +print(TradingErrorSchema.to_json()) + +# convert the object into a dict +trading_error_schema_dict = trading_error_schema_instance.to_dict() +# create an instance of TradingErrorSchema from a dict +trading_error_schema_from_dict = TradingErrorSchema.from_dict(trading_error_schema_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) + + diff --git a/docs/TransactionOperation.md b/docs/TransactionOperation.md index 84fe261d..907b7a61 100644 --- a/docs/TransactionOperation.md +++ b/docs/TransactionOperation.md @@ -1,6 +1,6 @@ # TransactionOperation -* `TRANSFER` - The default value for an operation. Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. * `MINT` - Mints new tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `BURN` - Burns tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `CONTRACT_CALL` - Calls a smart contract method for web3 operations on any EVM blockchain. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. * `PROGRAM_CALL` - Execute multiple instructions on Solana blockchain. The @solana/web3.js library is recommended for building program call transactions. Currently in beta and disabled * `TYPED_MESSAGE` - An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. [Learn more about typed messages](https://developers.fireblocks.com/docs/typed-message-signing). * `RAW` - An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that are not natively supported by Fireblocks. [Learn more about raw signing transactions.](https://developers.fireblocks.com/docs/raw-message-signing) * `APPROVE` - Enables the approve function for a smart contract or wallet to withdraw from a designated wallet. [Learn more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions). * `ENABLE_ASSET` - Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. +* `TRANSFER` - The default value for an operation. Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. * `MINT` - Mints new tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `BURN` - Burns tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `CONTRACT_CALL` - Calls a smart contract method for web3 operations on any EVM blockchain. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. * `PROGRAM_CALL` - Execute multiple instructions on Solana blockchain. The @solana/web3.js library is recommended for building program call transactions. * `TYPED_MESSAGE` - An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. [Learn more about typed messages](https://developers.fireblocks.com/docs/typed-message-signing). * `RAW` - An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that are not natively supported by Fireblocks. [Learn more about raw signing transactions.](https://developers.fireblocks.com/docs/raw-message-signing) * `APPROVE` - Enables the approve function for a smart contract or wallet to withdraw from a designated wallet. [Learn more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions). * `ENABLE_ASSET` - Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. ## Enum diff --git a/docs/TransactionRequest.md b/docs/TransactionRequest.md index ec3d5903..adcebf6c 100644 --- a/docs/TransactionRequest.md +++ b/docs/TransactionRequest.md @@ -7,15 +7,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **operation** | [**TransactionOperation**](TransactionOperation.md) | | [optional] [default to TransactionOperation.TRANSFER] **note** | **str** | Custom note, not sent to the blockchain, to describe the transaction at your Fireblocks workspace. | [optional] -**external_tx_id** | **str** | **This parameter will become required for all transactions on March 1, 2026.** This parameter allows you to add a unique ID of your own to help prevent duplicate transactions. No specific format is required for this parameter. After you submit a transaction with an external ID, Fireblocks will automatically reject all future transactions with the same ID. Using an external ID primarily helps in situations where, even though a submitted transaction responds with an error due to an internet outage, the transaction was still sent to and processed on the blockchain. Use the [Get a specific transaction by external transaction ID](https://developers.fireblocks.com/reference/gettransactionbyexternalid) endpoint to validate whether these transactions have been processed. | [optional] -**asset_id** | **str** | The ID of the asset to transfer, for `TRANSFER`, `MINT` or `BURN` operations. [See the list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/get_supported-assets) | [optional] +**external_tx_id** | **str** | This parameter allows you to add a unique ID of your own to help prevent duplicate transactions. No specific format is required for this parameter. After you submit a transaction with an external ID, Fireblocks will automatically reject all future transactions with the same ID. Using an external ID primarily helps in situations where, even though a submitted transaction responds with an error due to an internet outage, the transaction was still sent to and processed on the blockchain. Use the [Get a specific transaction by external transaction ID](https://developers.fireblocks.com/reference/gettransactionbyexternalid) endpoint to validate whether these transactions have been processed. | [optional] +**asset_id** | **str** | The ID of the asset to transfer, for `TRANSFER`, `MINT` or `BURN` operations. [See the list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/gettrlinksupportedasset#/) | [optional] **source** | [**SourceTransferPeerPath**](SourceTransferPeerPath.md) | | [optional] **destination** | [**DestinationTransferPeerPath**](DestinationTransferPeerPath.md) | | [optional] **destinations** | [**List[TransactionRequestDestination]**](TransactionRequestDestination.md) | For UTXO based blockchains, you can send a single transaction to multiple destinations. | [optional] **amount** | [**TransactionRequestAmount**](TransactionRequestAmount.md) | | [optional] **treat_as_gross_amount** | **bool** | \"When set to `true`, the fee will be deducted from the requested amount.\" **Note**: This parameter can only be considered if a transaction’s asset is a base asset, such as ETH or MATIC. If the asset can’t be used for transaction fees, like USDC, this parameter is ignored and the fee is deducted from the relevant base asset wallet in the source account. | [optional] **force_sweep** | **bool** | For Polkadot, Kusama and Westend transactions only. When set to true, Fireblocks will empty the asset wallet. **Note:** If set to true when the source account is exactly 1 DOT, the transaction will fail. Any amount more or less than 1 DOT succeeds. This is a Polkadot blockchain limitation. | [optional] -**fee_level** | **str** | For UTXO or EVM-based blockchains only. Defines the blockchain fee level which will be payed for the transaction. Alternatively, specific fee estimation parameters exist below. | [optional] +**fee_level** | **str** | For UTXO, EVM-based, or Solana blockchains only. Defines the blockchain fee level which will be payed for the transaction. Alternatively, specific fee estimation parameters exist below. | [optional] **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional] **priority_fee** | [**TransactionRequestPriorityFee**](TransactionRequestPriorityFee.md) | | [optional] **fail_on_low_fee** | **bool** | When set to `true`, in case the current `MEDIUM` fee level is higher than the one specified in the transaction, the transaction will fail to avoid getting stuck with no confirmations. | [optional] diff --git a/docs/TransactionResponse.md b/docs/TransactionResponse.md index 9fb5da5a..c48508ff 100644 --- a/docs/TransactionResponse.md +++ b/docs/TransactionResponse.md @@ -36,6 +36,7 @@ Name | Type | Description | Notes **authorization_info** | [**AuthorizationInfo**](AuthorizationInfo.md) | | [optional] **exchange_tx_id** | **str** | If the transaction originated from an exchange, this is the ID of this transaction at the exchange. | [optional] **customer_ref_id** | **str** | The ID for AML providers to associate the owner of funds with transactions. | [optional] +**travel_rule_message_id** | **str** | The ID of the travel rule message from any travel rule provider. Used for travel rule linking functionality to associate transactions with existing travel rule messages. | [optional] **aml_screening_result** | [**AmlScreeningResult**](AmlScreeningResult.md) | | [optional] **compliance_results** | [**ComplianceResults**](ComplianceResults.md) | | [optional] **not_broadcast_by_fireblocks** | **bool** | Indicates the transaction was not broadcast by Fireblocks | [optional] @@ -50,7 +51,7 @@ Name | Type | Description | Notes **index** | **float** | For UTXO based assets this is the vOut, for Ethereum based, this is the index of the event of the contract call. **Note:** This field is not returned if a transaction uses the `destinations` object with more than one value. | [optional] **reward_info** | [**RewardInfo**](RewardInfo.md) | | [optional] **fee_payer_info** | [**FeePayerInfo**](FeePayerInfo.md) | | [optional] -**system_messages** | [**SystemMessageInfo**](SystemMessageInfo.md) | | [optional] +**system_messages** | [**List[SystemMessageInfo]**](SystemMessageInfo.md) | | [optional] **address_type** | **str** | | [optional] **requested_amount** | **float** | The amount requested by the user. Deprecated - please use the `amountInfo` field for accuracy. | [optional] **amount** | **float** | If the transfer is a withdrawal from an exchange, the actual amount that was requested to be transferred. Otherwise, the requested amount. Deprecated - please use the `amountInfo` field for accuracy. | [optional] diff --git a/docs/TransactionResponseDestination.md b/docs/TransactionResponseDestination.md index 72b4f924..45ef4929 100644 --- a/docs/TransactionResponseDestination.md +++ b/docs/TransactionResponseDestination.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **amount** | **str** | The amount to be sent to this destination. | [optional] **amount_usd** | **str** | The USD value of the requested amount. | [optional] +**travel_rule_message_id** | **str** | The ID of the travel rule message from any travel rule provider. Used for travel rule linking functionality to associate transactions with existing travel rule messages. | [optional] **aml_screening_result** | [**AmlScreeningResult**](AmlScreeningResult.md) | | [optional] **destination** | [**DestinationTransferPeerPathResponse**](DestinationTransferPeerPathResponse.md) | | [optional] **authorization_info** | [**AuthorizationInfo**](AuthorizationInfo.md) | | [optional] diff --git a/docs/TransactionsApi.md b/docs/TransactionsApi.md index 5162b9ad..4479492f 100644 --- a/docs/TransactionsApi.md +++ b/docs/TransactionsApi.md @@ -6,16 +6,15 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**cancel_transaction**](TransactionsApi.md#cancel_transaction) | **POST** /transactions/{txId}/cancel | Cancel a transaction [**create_transaction**](TransactionsApi.md#create_transaction) | **POST** /transactions | Create a new transaction -[**drop_transaction**](TransactionsApi.md#drop_transaction) | **POST** /transactions/{txId}/drop | Drop ETH transaction by ID +[**drop_transaction**](TransactionsApi.md#drop_transaction) | **POST** /transactions/{txId}/drop | Drop ETH (EVM) transaction by ID [**estimate_network_fee**](TransactionsApi.md#estimate_network_fee) | **GET** /estimate_network_fee | Estimate the required fee for an asset [**estimate_transaction_fee**](TransactionsApi.md#estimate_transaction_fee) | **POST** /transactions/estimate_fee | Estimate transaction fee [**freeze_transaction**](TransactionsApi.md#freeze_transaction) | **POST** /transactions/{txId}/freeze | Freeze a transaction -[**get_transaction**](TransactionsApi.md#get_transaction) | **GET** /transactions/{txId} | Find a specific transaction by Fireblocks transaction ID -[**get_transaction_by_external_id**](TransactionsApi.md#get_transaction_by_external_id) | **GET** /transactions/external_tx_id/{externalTxId} | Find a specific transaction by external transaction ID -[**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /transactions | List transaction history -[**rescan_transactions_beta**](TransactionsApi.md#rescan_transactions_beta) | **POST** /transactions/rescan | rescan array of transactions +[**get_transaction**](TransactionsApi.md#get_transaction) | **GET** /transactions/{txId} | Get a specific transaction by Fireblocks transaction ID +[**get_transaction_by_external_id**](TransactionsApi.md#get_transaction_by_external_id) | **GET** /transactions/external_tx_id/{externalTxId} | Get a specific transaction by external transaction ID +[**get_transactions**](TransactionsApi.md#get_transactions) | **GET** /transactions | Get transaction history [**set_confirmation_threshold_by_transaction_hash**](TransactionsApi.md#set_confirmation_threshold_by_transaction_hash) | **POST** /txHash/{txHash}/set_confirmation_threshold | Set confirmation threshold by transaction hash -[**set_transaction_confirmation_threshold**](TransactionsApi.md#set_transaction_confirmation_threshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by transaction ID +[**set_transaction_confirmation_threshold**](TransactionsApi.md#set_transaction_confirmation_threshold) | **POST** /transactions/{txId}/set_confirmation_threshold | Set confirmation threshold by Fireblocks Transaction ID [**unfreeze_transaction**](TransactionsApi.md#unfreeze_transaction) | **POST** /transactions/{txId}/unfreeze | Unfreeze a transaction [**validate_address**](TransactionsApi.md#validate_address) | **GET** /transactions/validate_address/{assetId}/{address} | Validate destination address @@ -25,7 +24,10 @@ Method | HTTP request | Description Cancel a transaction -Cancels a transaction by ID. +Cancels a transaction by Fireblocks Transaction ID. + +Can be used only for transactions that did not get to the BROADCASTING state. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -103,7 +105,7 @@ No authorization required Create a new transaction -Creates a new transaction. +Creates a new transaction. This endpoint can be used for regular Transfers, Contract Calls, Raw & Typed message signing. - For Transfers, the required parameters are: `assetId`, `source`, `destination` and `amount`. - For Contract Calls, the required parameters are: `operation.CONTRACT_CALL`, `assetId` (Base Asset), `source`, ### Example @@ -180,9 +182,10 @@ No authorization required # **drop_transaction** > DropTransactionResponse drop_transaction(tx_id, x_end_user_wallet_id=x_end_user_wallet_id, idempotency_key=idempotency_key, drop_transaction_request=drop_transaction_request) -Drop ETH transaction by ID +Drop ETH (EVM) transaction by ID -Drops a stuck ETH transaction and creates a replacement transaction. +Drops a stuck ETH (EVM) transaction and creates a replacement transaction with 0 amount. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -216,7 +219,7 @@ with Fireblocks(configuration) as fireblocks: drop_transaction_request = fireblocks.DropTransactionRequest() # DropTransactionRequest | (optional) try: - # Drop ETH transaction by ID + # Drop ETH (EVM) transaction by ID api_response = fireblocks.transactions.drop_transaction(tx_id, x_end_user_wallet_id=x_end_user_wallet_id, idempotency_key=idempotency_key, drop_transaction_request=drop_transaction_request).result() print("The response of TransactionsApi->drop_transaction:\n") pprint(api_response) @@ -263,7 +266,19 @@ No authorization required Estimate the required fee for an asset -Gets the estimated required fee for an asset. For UTXO based assets, the response will contain the suggested fee per byte, for ETH/ETC based assets, the suggested gas price, and for XRP/XLM, the transaction fee. +Gets the estimated required fee for an asset. +Fireblocks fetches, calculates and caches the result every 30 seconds. +Customers should query this API while taking the caching interval into consideration. +Notes: +- The `networkFee` parameter is the `gasPrice` with a given delta added, multiplied by the gasLimit plus the delta. - The estimation provided depends on the asset type. + - For UTXO-based assets, the response contains the `feePerByte` parameter + - For ETH-based and all EVM based assets, the response will contain `gasPrice` parameter. This is calculated by adding the `baseFee` to the `actualPriority` based on the latest 12 blocks. The response for ETH-based contains the `baseFee`, `gasPrice`, and `priorityFee` parameters. + - For ADA-based assets, the response will contain the parameter `networkFee` and `feePerByte` parameters. + - For XRP and XLM, the response will contain the transaction fee. + - For other assets, the response will contain the `networkFee` parameter. + +Learn more about Fireblocks Fee Management in the following [guide](https://developers.fireblocks.com/reference/estimate-transaction-fee). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -337,8 +352,13 @@ No authorization required Estimate transaction fee -Estimates the transaction fee for a transaction request. -* Note: Supports all Fireblocks assets except ZCash (ZEC). +Estimates the transaction fee for a specific transaction request. +This endpoint simulates a transaction which means that the system will expect to have the requested asset and balance in the specified wallet. + + +**Note**: Supports all Fireblocks assets except ZCash (ZEC). +Learn more about Fireblocks Fee Management in the following [guide](https://developers.fireblocks.com/reference/estimate-transaction-fee). +
    Endpoint Permission: Admin, Signer, Approver, Editor. ### Example @@ -417,6 +437,11 @@ Freeze a transaction Freezes a transaction by ID. +Usually used for AML integrations when the incoming funds should be quarantined. +For account based assets - the entire amount of the transaction is frozen +For UTXO based assets - all UTXOs of the specified transaction are frozen +
    Endpoint Permission: Admin, Non-Signing Admin. + ### Example @@ -490,9 +515,10 @@ No authorization required # **get_transaction** > TransactionResponse get_transaction(tx_id) -Find a specific transaction by Fireblocks transaction ID +Get a specific transaction by Fireblocks transaction ID -Returns a transaction by ID. +Get a specific transaction data by Fireblocks Transaction ID +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -522,7 +548,7 @@ with Fireblocks(configuration) as fireblocks: tx_id = '00000000-0000-0000-0000-000000000000' # str | The ID of the transaction to return try: - # Find a specific transaction by Fireblocks transaction ID + # Get a specific transaction by Fireblocks transaction ID api_response = fireblocks.transactions.get_transaction(tx_id).result() print("The response of TransactionsApi->get_transaction:\n") pprint(api_response) @@ -565,9 +591,10 @@ No authorization required # **get_transaction_by_external_id** > TransactionResponse get_transaction_by_external_id(external_tx_id) -Find a specific transaction by external transaction ID +Get a specific transaction by external transaction ID Returns transaction by external transaction ID. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -597,7 +624,7 @@ with Fireblocks(configuration) as fireblocks: external_tx_id = '00000000-0000-0000-0000-000000000000' # str | The external ID of the transaction to return try: - # Find a specific transaction by external transaction ID + # Get a specific transaction by external transaction ID api_response = fireblocks.transactions.get_transaction_by_external_id(external_tx_id).result() print("The response of TransactionsApi->get_transaction_by_external_id:\n") pprint(api_response) @@ -639,9 +666,12 @@ No authorization required # **get_transactions** > List[TransactionResponse] get_transactions(next=next, prev=prev, before=before, after=after, status=status, order_by=order_by, sort=sort, limit=limit, source_type=source_type, source_id=source_id, dest_type=dest_type, dest_id=dest_id, assets=assets, tx_hash=tx_hash, source_wallet_id=source_wallet_id, dest_wallet_id=dest_wallet_id) -List transaction history +Get transaction history + +Get the transaction history for your workspace. + +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. -Lists the transaction history for your workspace. ### Example @@ -670,10 +700,10 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: next = 'next_example' # str | Cursor returned in next-page header that can be used to fetch the next page of results (optional) prev = 'prev_example' # str | Cursor returned in prev-page header that can be used to fetch the previous page of results (optional) - before = 'before_example' # str | Unix timestamp in milliseconds. Returns only transactions created before the specified date (optional) - after = 'after_example' # str | Unix timestamp in milliseconds. Returns only transactions created after the specified date (optional) + before = 'before_example' # str | Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. (optional) + after = 'after_example' # str | Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. (optional) status = 'status_example' # str | You can filter by one of the statuses. (optional) - order_by = 'order_by_example' # str | The field to order the results by **Note**: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions. (optional) + order_by = 'order_by_example' # str | The field to order the results by. **Note:** Ordering by a field that is not `createdAt` may result in transactions that receive updates as you request the next or previous pages of results, resulting in missing those transactions. (optional) sort = 'sort_example' # str | The direction to order the results by (optional) limit = 200 # int | Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500 (optional) (default to 200) source_type = 'source_type_example' # str | The source type of the transaction (optional) @@ -686,7 +716,7 @@ with Fireblocks(configuration) as fireblocks: dest_wallet_id = 'dest_wallet_id_example' # str | Returns only results where the destination is a specific end user wallet (optional) try: - # List transaction history + # Get transaction history api_response = fireblocks.transactions.get_transactions(next=next, prev=prev, before=before, after=after, status=status, order_by=order_by, sort=sort, limit=limit, source_type=source_type, source_id=source_id, dest_type=dest_type, dest_id=dest_id, assets=assets, tx_hash=tx_hash, source_wallet_id=source_wallet_id, dest_wallet_id=dest_wallet_id).result() print("The response of TransactionsApi->get_transactions:\n") pprint(api_response) @@ -703,10 +733,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **next** | **str**| Cursor returned in next-page header that can be used to fetch the next page of results | [optional] **prev** | **str**| Cursor returned in prev-page header that can be used to fetch the previous page of results | [optional] - **before** | **str**| Unix timestamp in milliseconds. Returns only transactions created before the specified date | [optional] - **after** | **str**| Unix timestamp in milliseconds. Returns only transactions created after the specified date | [optional] + **before** | **str**| Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. | [optional] + **after** | **str**| Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. | [optional] **status** | **str**| You can filter by one of the statuses. | [optional] - **order_by** | **str**| The field to order the results by **Note**: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions. | [optional] + **order_by** | **str**| The field to order the results by. **Note:** Ordering by a field that is not `createdAt` may result in transactions that receive updates as you request the next or previous pages of results, resulting in missing those transactions. | [optional] **sort** | **str**| The direction to order the results by | [optional] **limit** | **int**| Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500 | [optional] [default to 200] **source_type** | **str**| The source type of the transaction | [optional] @@ -740,93 +770,13 @@ 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) -# **rescan_transactions_beta** -> List[ValidatedTransactionsForRescan] rescan_transactions_beta(rescan_transaction, idempotency_key=idempotency_key) - -rescan array of transactions - -rescan transaction by running an async job.
    -**Note**: -- These endpoints are currently in beta and might be subject to changes. -- We limit the amount of the transaction to 16 per request. - - -### Example - - -```python -from fireblocks.models.rescan_transaction import RescanTransaction -from fireblocks.models.validated_transactions_for_rescan import ValidatedTransactionsForRescan -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath -from pprint import pprint - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - rescan_transaction = [fireblocks.RescanTransaction()] # List[RescanTransaction] | - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # rescan array of transactions - api_response = fireblocks.transactions.rescan_transactions_beta(rescan_transaction, idempotency_key=idempotency_key).result() - print("The response of TransactionsApi->rescan_transactions_beta:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling TransactionsApi->rescan_transactions_beta: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **rescan_transaction** | [**List[RescanTransaction]**](RescanTransaction.md)| | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -[**List[ValidatedTransactionsForRescan]**](ValidatedTransactionsForRescan.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A array of validated transactions that were sent to rescan | * X-Request-ID -
    | -**0** | Error Response | * X-Request-ID -
    | - -[[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) - # **set_confirmation_threshold_by_transaction_hash** > SetConfirmationsThresholdResponse set_confirmation_threshold_by_transaction_hash(tx_hash, idempotency_key=idempotency_key, set_confirmations_threshold_request=set_confirmations_threshold_request) Set confirmation threshold by transaction hash Overrides the required number of confirmations for transaction completion by transaction hash. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -903,9 +853,10 @@ No authorization required # **set_transaction_confirmation_threshold** > SetConfirmationsThresholdResponse set_transaction_confirmation_threshold(tx_id, idempotency_key=idempotency_key, set_confirmations_threshold_request=set_confirmations_threshold_request) -Set confirmation threshold by transaction ID +Set confirmation threshold by Fireblocks Transaction ID -Overrides the required number of confirmations for transaction completion by transaction ID. +Overrides the required number of confirmations for transaction completion Fireblocks Transaction ID. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -938,7 +889,7 @@ with Fireblocks(configuration) as fireblocks: set_confirmations_threshold_request = fireblocks.SetConfirmationsThresholdRequest() # SetConfirmationsThresholdRequest | (optional) try: - # Set confirmation threshold by transaction ID + # Set confirmation threshold by Fireblocks Transaction ID api_response = fireblocks.transactions.set_transaction_confirmation_threshold(tx_id, idempotency_key=idempotency_key, set_confirmations_threshold_request=set_confirmations_threshold_request).result() print("The response of TransactionsApi->set_transaction_confirmation_threshold:\n") pprint(api_response) @@ -984,7 +935,8 @@ No authorization required Unfreeze a transaction -Unfreezes a transaction by ID and makes the transaction available again. +Unfreezes a transaction by Fireblocks Transaction ID and makes the transaction available again. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1061,7 +1013,8 @@ No authorization required Validate destination address -Checks if an address is valid (for XRP, DOT, XLM, and EOS). +Checks if an address is valid and active (for XRP, DOT, XLM, and EOS). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example diff --git a/docs/TravelRuleApi.md b/docs/TravelRuleApi.md index 58e314fe..5903f013 100644 --- a/docs/TravelRuleApi.md +++ b/docs/TravelRuleApi.md @@ -4,6 +4,8 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_trust_proof_of_address**](TravelRuleApi.md#create_trust_proof_of_address) | **POST** /screening/travel_rule/providers/trust/proof_of_address | Create Trust Network Proof of Address +[**get_trust_proof_of_address**](TravelRuleApi.md#get_trust_proof_of_address) | **GET** /screening/travel_rule/providers/trust/proof_of_address/{transactionId} | Retrieve Trust Network Proof of Address Signature [**get_vasp_for_vault**](TravelRuleApi.md#get_vasp_for_vault) | **GET** /screening/travel_rule/vault/{vaultAccountId}/vasp | Get assigned VASP to vault [**get_vaspby_did**](TravelRuleApi.md#get_vaspby_did) | **GET** /screening/travel_rule/vasp/{did} | Get VASP details [**get_vasps**](TravelRuleApi.md#get_vasps) | **GET** /screening/travel_rule/vasp | Get All VASPs @@ -12,6 +14,157 @@ Method | HTTP request | Description [**validate_full_travel_rule_transaction**](TravelRuleApi.md#validate_full_travel_rule_transaction) | **POST** /screening/travel_rule/transaction/validate/full | Validate Full Travel Rule Transaction +# **create_trust_proof_of_address** +> TrustProofOfAddressCreateResponse create_trust_proof_of_address(trust_proof_of_address_request, idempotency_key=idempotency_key) + +Create Trust Network Proof of Address + +Creates a cryptographic proof of address ownership for TRUST network. + +### Example + + +```python +from fireblocks.models.trust_proof_of_address_create_response import TrustProofOfAddressCreateResponse +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + trust_proof_of_address_request = fireblocks.TrustProofOfAddressRequest() # TrustProofOfAddressRequest | + idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + + try: + # Create Trust Network Proof of Address + api_response = fireblocks.travel_rule.create_trust_proof_of_address(trust_proof_of_address_request, idempotency_key=idempotency_key).result() + print("The response of TravelRuleApi->create_trust_proof_of_address:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TravelRuleApi->create_trust_proof_of_address: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **trust_proof_of_address_request** | [**TrustProofOfAddressRequest**](TrustProofOfAddressRequest.md)| | + **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + +### Return type + +[**TrustProofOfAddressCreateResponse**](TrustProofOfAddressCreateResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Proof of address transaction created successfully | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | + +[[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_trust_proof_of_address** +> TrustProofOfAddressResponse get_trust_proof_of_address(transaction_id) + +Retrieve Trust Network Proof of Address Signature + +Retrieves the TRUST-compatible encoded signature for a proof of address transaction. Send this signature directly to TRUST for verification. + +### Example + + +```python +from fireblocks.models.trust_proof_of_address_response import TrustProofOfAddressResponse +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath +from pprint import pprint + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + transaction_id = '550e8400-e29b-41d4-a716-446655440000' # str | Fireblocks transaction ID (UUID format) + + try: + # Retrieve Trust Network Proof of Address Signature + api_response = fireblocks.travel_rule.get_trust_proof_of_address(transaction_id).result() + print("The response of TravelRuleApi->get_trust_proof_of_address:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TravelRuleApi->get_trust_proof_of_address: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **transaction_id** | **str**| Fireblocks transaction ID (UUID format) | + +### Return type + +[**TrustProofOfAddressResponse**](TrustProofOfAddressResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Encoded signature retrieved successfully | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | + +[[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_vasp_for_vault** > TravelRuleVaspForVault get_vasp_for_vault(vault_account_id) diff --git a/docs/TrustProofOfAddressCreateResponse.md b/docs/TrustProofOfAddressCreateResponse.md new file mode 100644 index 00000000..b04bad7a --- /dev/null +++ b/docs/TrustProofOfAddressCreateResponse.md @@ -0,0 +1,31 @@ +# TrustProofOfAddressCreateResponse + +Response from creating a proof of address transaction + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transaction_id** | **str** | Transaction ID from Fireblocks (UUID format) | +**status** | [**TypedMessageTransactionStatusEnum**](TypedMessageTransactionStatusEnum.md) | | + +## Example + +```python +from fireblocks.models.trust_proof_of_address_create_response import TrustProofOfAddressCreateResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TrustProofOfAddressCreateResponse from a JSON string +trust_proof_of_address_create_response_instance = TrustProofOfAddressCreateResponse.from_json(json) +# print the JSON string representation of the object +print(TrustProofOfAddressCreateResponse.to_json()) + +# convert the object into a dict +trust_proof_of_address_create_response_dict = trust_proof_of_address_create_response_instance.to_dict() +# create an instance of TrustProofOfAddressCreateResponse from a dict +trust_proof_of_address_create_response_from_dict = TrustProofOfAddressCreateResponse.from_dict(trust_proof_of_address_create_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) + + diff --git a/docs/TrustProofOfAddressRequest.md b/docs/TrustProofOfAddressRequest.md new file mode 100644 index 00000000..a9ef5947 --- /dev/null +++ b/docs/TrustProofOfAddressRequest.md @@ -0,0 +1,33 @@ +# TrustProofOfAddressRequest + +Request to create a cryptographic proof of address ownership for TRUST network compliance + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vault_account_id** | **str** | The ID of the vault account. | +**asset** | **str** | The asset identifier for which proof of address is being created. | +**prefix** | **str** | The prefix to be used for signing messages. | +**trust_uuid** | **str** | A unique identifier (UUID) obtained from TRUST (CreateAddressOwnership) | + +## Example + +```python +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of TrustProofOfAddressRequest from a JSON string +trust_proof_of_address_request_instance = TrustProofOfAddressRequest.from_json(json) +# print the JSON string representation of the object +print(TrustProofOfAddressRequest.to_json()) + +# convert the object into a dict +trust_proof_of_address_request_dict = trust_proof_of_address_request_instance.to_dict() +# create an instance of TrustProofOfAddressRequest from a dict +trust_proof_of_address_request_from_dict = TrustProofOfAddressRequest.from_dict(trust_proof_of_address_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) + + diff --git a/docs/TrustProofOfAddressResponse.md b/docs/TrustProofOfAddressResponse.md new file mode 100644 index 00000000..01dd7c67 --- /dev/null +++ b/docs/TrustProofOfAddressResponse.md @@ -0,0 +1,32 @@ +# TrustProofOfAddressResponse + +Response containing the TRUST-compatible encoded signature + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**transaction_id** | **str** | Transaction ID from Fireblocks (UUID format) | +**status** | [**TypedMessageTransactionStatusEnum**](TypedMessageTransactionStatusEnum.md) | | +**signature** | **str** | TRUST-compatible encoded signature for proof of address verification. | + +## Example + +```python +from fireblocks.models.trust_proof_of_address_response import TrustProofOfAddressResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of TrustProofOfAddressResponse from a JSON string +trust_proof_of_address_response_instance = TrustProofOfAddressResponse.from_json(json) +# print the JSON string representation of the object +print(TrustProofOfAddressResponse.to_json()) + +# convert the object into a dict +trust_proof_of_address_response_dict = trust_proof_of_address_response_instance.to_dict() +# create an instance of TrustProofOfAddressResponse from a dict +trust_proof_of_address_response_from_dict = TrustProofOfAddressResponse.from_dict(trust_proof_of_address_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) + + diff --git a/docs/TypedMessageTransactionStatusEnum.md b/docs/TypedMessageTransactionStatusEnum.md new file mode 100644 index 00000000..46eb546f --- /dev/null +++ b/docs/TypedMessageTransactionStatusEnum.md @@ -0,0 +1,41 @@ +# TypedMessageTransactionStatusEnum + +Status of the typed message transaction from Fireblocks. For details, see [Primary transaction statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses) + +## Enum + +* `SUBMITTED` (value: `'SUBMITTED'`) + +* `QUEUED` (value: `'QUEUED'`) + +* `PENDING_SIGNATURE` (value: `'PENDING_SIGNATURE'`) + +* `PENDING_AUTHORIZATION` (value: `'PENDING_AUTHORIZATION'`) + +* `PENDING_3_RD_PARTY_MANUAL_APPROVAL` (value: `'PENDING_3RD_PARTY_MANUAL_APPROVAL'`) + +* `PENDING_3_RD_PARTY` (value: `'PENDING_3RD_PARTY'`) + +* `BROADCASTING` (value: `'BROADCASTING'`) + +* `PENDING_AML_SCREENING` (value: `'PENDING_AML_SCREENING'`) + +* `CONFIRMING` (value: `'CONFIRMING'`) + +* `PARTIALLY_COMPLETED` (value: `'PARTIALLY_COMPLETED'`) + +* `PENDING_EMAIL_APPROVAL` (value: `'PENDING_EMAIL_APPROVAL'`) + +* `CANCELLED` (value: `'CANCELLED'`) + +* `REJECTED` (value: `'REJECTED'`) + +* `FAILED` (value: `'FAILED'`) + +* `TIMEOUT` (value: `'TIMEOUT'`) + +* `BLOCKED` (value: `'BLOCKED'`) + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/USWireAddress.md b/docs/USWireAddress.md index 8ca3015f..f5c6f1d3 100644 --- a/docs/USWireAddress.md +++ b/docs/USWireAddress.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **bank_name** | **str** | Name of the bank. | [optional] **bank_account_number** | **str** | The bank account number for the wire transfer. | **routing_number** | **str** | Routing number identifying the bank account. | -**bank_address** | **str** | Address of the bank. | [optional] +**bank_address** | [**BankAddress**](BankAddress.md) | | [optional] ## Example diff --git a/docs/UnstakeRequest.md b/docs/UnstakeRequest.md index 7988a3d6..010e198d 100644 --- a/docs/UnstakeRequest.md +++ b/docs/UnstakeRequest.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **fee** | **str** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] **fee_level** | [**FeeLevel**](FeeLevel.md) | | [optional] **tx_note** | **str** | The note to associate with the transactions. | [optional] -**amount** | **str** | The number of tokens to unstake. This optional field is applicable only for liquid staking and allows for a partial unstake of the position. If not provided, the entire position will be unstaked by default. | [optional] +**amount** | **str** | Amount of tokens to unstake. Only supported for liquid staking (Lido) to enable partial unstaking. For other chains, this field is ignored and the entire position will be unstaked. If not provided, the entire position will be unstaked. | [optional] ## Example diff --git a/docs/UserGroupsBetaApi.md b/docs/UserGroupsBetaApi.md index d39f5377..d1ae8237 100644 --- a/docs/UserGroupsBetaApi.md +++ b/docs/UserGroupsBetaApi.md @@ -16,12 +16,8 @@ Method | HTTP request | Description Create user group -Create a new user group.
    - -**Note**: -- This endpoint is now in Beta, disabled for general availability at this time. -- Please note that this endpoint is available only for API keys with Admin permissions. - +Create a new user group. Users with the Viewer role cannot be added to groups. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -252,12 +248,10 @@ No authorization required List user groups -Get all user groups in your workspace.
    - -**Note**: -- This endpoint is now in Beta, disabled for general availability at this time. -- Please note that this endpoint is available only for API keys with Admin permissions. +Get all user groups in your workspace +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/docs/ValidatedTransactionsForRescan.md b/docs/ValidatedTransactionsForRescan.md deleted file mode 100644 index 5cdbb497..00000000 --- a/docs/ValidatedTransactionsForRescan.md +++ /dev/null @@ -1,31 +0,0 @@ -# ValidatedTransactionsForRescan - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**base_asset** | **str** | Base asset symbol BTC_TEST, ETH_TEST5) | [optional] -**network_protocol** | **str** | Netowrk protocol of the blockchain (BTC, ETH) | [optional] -**tx_hashes** | **List[str]** | Blockchain TX hashes | [optional] - -## Example - -```python -from fireblocks.models.validated_transactions_for_rescan import ValidatedTransactionsForRescan - -# TODO update the JSON string below -json = "{}" -# create an instance of ValidatedTransactionsForRescan from a JSON string -validated_transactions_for_rescan_instance = ValidatedTransactionsForRescan.from_json(json) -# print the JSON string representation of the object -print(ValidatedTransactionsForRescan.to_json()) - -# convert the object into a dict -validated_transactions_for_rescan_dict = validated_transactions_for_rescan_instance.to_dict() -# create an instance of ValidatedTransactionsForRescan from a dict -validated_transactions_for_rescan_from_dict = ValidatedTransactionsForRescan.from_dict(validated_transactions_for_rescan_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) - - diff --git a/docs/VaultAccountsTagAttachmentsRequest.md b/docs/VaultAccountsTagAttachmentsRequest.md deleted file mode 100644 index 6ffbff1f..00000000 --- a/docs/VaultAccountsTagAttachmentsRequest.md +++ /dev/null @@ -1,30 +0,0 @@ -# VaultAccountsTagAttachmentsRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tag_ids** | **List[str]** | The IDs of the tags to attach | -**vault_account_ids** | **List[str]** | The IDs of the vault accounts to attach tags to | - -## Example - -```python -from fireblocks.models.vault_accounts_tag_attachments_request import VaultAccountsTagAttachmentsRequest - -# TODO update the JSON string below -json = "{}" -# create an instance of VaultAccountsTagAttachmentsRequest from a JSON string -vault_accounts_tag_attachments_request_instance = VaultAccountsTagAttachmentsRequest.from_json(json) -# print the JSON string representation of the object -print(VaultAccountsTagAttachmentsRequest.to_json()) - -# convert the object into a dict -vault_accounts_tag_attachments_request_dict = vault_accounts_tag_attachments_request_instance.to_dict() -# create an instance of VaultAccountsTagAttachmentsRequest from a dict -vault_accounts_tag_attachments_request_from_dict = VaultAccountsTagAttachmentsRequest.from_dict(vault_accounts_tag_attachments_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) - - diff --git a/docs/VaultsApi.md b/docs/VaultsApi.md index cf7f12e7..4f6ec47e 100644 --- a/docs/VaultsApi.md +++ b/docs/VaultsApi.md @@ -5,32 +5,31 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**activate_asset_for_vault_account**](VaultsApi.md#activate_asset_for_vault_account) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/activate | Activate a wallet in a vault account -[**attach_or_detach_tags_from_vault_accounts**](VaultsApi.md#attach_or_detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from a vault accounts -[**attach_tags_to_vault_accounts**](VaultsApi.md#attach_tags_to_vault_accounts) | **POST** /vault/accounts/attached_tags/attach | Attach tags to a vault accounts (deprecated) +[**attach_or_detach_tags_from_vault_accounts**](VaultsApi.md#attach_or_detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags | Attach or detach tags from vault accounts [**create_legacy_address**](VaultsApi.md#create_legacy_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy | Convert a segwit address to legacy format [**create_multiple_accounts**](VaultsApi.md#create_multiple_accounts) | **POST** /vault/accounts/bulk | Bulk creation of new vault accounts [**create_multiple_deposit_addresses**](VaultsApi.md#create_multiple_deposit_addresses) | **POST** /vault/accounts/addresses/bulk | Bulk creation of new deposit addresses [**create_vault_account**](VaultsApi.md#create_vault_account) | **POST** /vault/accounts | Create a new vault account -[**create_vault_account_asset**](VaultsApi.md#create_vault_account_asset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new wallet +[**create_vault_account_asset**](VaultsApi.md#create_vault_account_asset) | **POST** /vault/accounts/{vaultAccountId}/{assetId} | Create a new vault wallet [**create_vault_account_asset_address**](VaultsApi.md#create_vault_account_asset_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Create new asset deposit address -[**detach_tags_from_vault_accounts**](VaultsApi.md#detach_tags_from_vault_accounts) | **POST** /vault/accounts/attached_tags/detach | Detach tags from a vault accounts (deprecated) -[**get_asset_wallets**](VaultsApi.md#get_asset_wallets) | **GET** /vault/asset_wallets | List asset wallets (Paginated) -[**get_create_multiple_deposit_addresses_job_status**](VaultsApi.md#get_create_multiple_deposit_addresses_job_status) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get job status of bulk creation of new deposit addresses +[**get_asset_wallets**](VaultsApi.md#get_asset_wallets) | **GET** /vault/asset_wallets | Get vault wallets (Paginated) +[**get_create_multiple_deposit_addresses_job_status**](VaultsApi.md#get_create_multiple_deposit_addresses_job_status) | **GET** /vault/accounts/addresses/bulk/{jobId} | Get the job status of the bulk deposit address creation [**get_create_multiple_vault_accounts_job_status**](VaultsApi.md#get_create_multiple_vault_accounts_job_status) | **GET** /vault/accounts/bulk/{jobId} | Get job status of bulk creation of new vault accounts -[**get_max_spendable_amount**](VaultsApi.md#get_max_spendable_amount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get the maximum spendable amount in a single transaction. -[**get_paged_vault_accounts**](VaultsApi.md#get_paged_vault_accounts) | **GET** /vault/accounts_paged | List vault accounts (Paginated) -[**get_public_key_info**](VaultsApi.md#get_public_key_info) | **GET** /vault/public_key_info | Get the public key information -[**get_public_key_info_for_address**](VaultsApi.md#get_public_key_info_for_address) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get the public key for a vault account +[**get_max_bip_index_used**](VaultsApi.md#get_max_bip_index_used) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used | Get maximum BIP44 index used +[**get_max_spendable_amount**](VaultsApi.md#get_max_spendable_amount) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount | Get max spendable amount in a transaction +[**get_paged_vault_accounts**](VaultsApi.md#get_paged_vault_accounts) | **GET** /vault/accounts_paged | Get vault accounts (Paginated) +[**get_public_key_info**](VaultsApi.md#get_public_key_info) | **GET** /vault/public_key_info | Get the public key for a derivation path +[**get_public_key_info_for_address**](VaultsApi.md#get_public_key_info_for_address) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info | Get an asset's public key [**get_unspent_inputs**](VaultsApi.md#get_unspent_inputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information -[**get_vault_account**](VaultsApi.md#get_vault_account) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID +[**get_vault_account**](VaultsApi.md#get_vault_account) | **GET** /vault/accounts/{vaultAccountId} | Get a vault account by ID [**get_vault_account_asset**](VaultsApi.md#get_vault_account_asset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account -[**get_vault_account_asset_addresses_paginated**](VaultsApi.md#get_vault_account_asset_addresses_paginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) +[**get_vault_account_asset_addresses_paginated**](VaultsApi.md#get_vault_account_asset_addresses_paginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | Get addresses (Paginated) [**get_vault_assets**](VaultsApi.md#get_vault_assets) | **GET** /vault/assets | Get asset balance for chosen assets -[**get_vault_balance_by_asset**](VaultsApi.md#get_vault_balance_by_asset) | **GET** /vault/assets/{assetId} | Get vault balance by asset +[**get_vault_balance_by_asset**](VaultsApi.md#get_vault_balance_by_asset) | **GET** /vault/assets/{assetId} | Get vault balance by an asset [**hide_vault_account**](VaultsApi.md#hide_vault_account) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console [**set_customer_ref_id_for_address**](VaultsApi.md#set_customer_ref_id_for_address) | **POST** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id | Assign AML customer reference ID -[**set_vault_account_auto_fuel**](VaultsApi.md#set_vault_account_auto_fuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Turn autofueling on or off -[**set_vault_account_customer_ref_id**](VaultsApi.md#set_vault_account_customer_ref_id) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT customer reference ID for a vault account +[**set_vault_account_auto_fuel**](VaultsApi.md#set_vault_account_auto_fuel) | **POST** /vault/accounts/{vaultAccountId}/set_auto_fuel | Set auto fueling to on or off +[**set_vault_account_customer_ref_id**](VaultsApi.md#set_vault_account_customer_ref_id) | **POST** /vault/accounts/{vaultAccountId}/set_customer_ref_id | Set an AML/KYT ID for a vault account [**unhide_vault_account**](VaultsApi.md#unhide_vault_account) | **POST** /vault/accounts/{vaultAccountId}/unhide | Unhide a vault account in the console [**update_vault_account**](VaultsApi.md#update_vault_account) | **PUT** /vault/accounts/{vaultAccountId} | Rename a vault account [**update_vault_account_asset_address**](VaultsApi.md#update_vault_account_asset_address) | **PUT** /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId} | Update address description @@ -42,7 +41,9 @@ Method | HTTP request | Description Activate a wallet in a vault account -Initiates activation for a wallet in a vault account. +Initiates activation for a wallet in a vault account. +Activation is required for tokens that need an on-chain transaction for creation (XLM tokens, SOL tokens etc). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -118,9 +119,10 @@ No authorization required # **attach_or_detach_tags_from_vault_accounts** > VaultAccountsTagAttachmentOperationsResponse attach_or_detach_tags_from_vault_accounts(vault_accounts_tag_attachment_operations_request, idempotency_key=idempotency_key) -Attach or detach tags from a vault accounts +Attach or detach tags from vault accounts Attach or detach one or more tags from the requested vault accounts. +Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. ### Example @@ -152,7 +154,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Attach or detach tags from a vault accounts + # Attach or detach tags from vault accounts api_response = fireblocks.vaults.attach_or_detach_tags_from_vault_accounts(vault_accounts_tag_attachment_operations_request, idempotency_key=idempotency_key).result() print("The response of VaultsApi->attach_or_detach_tags_from_vault_accounts:\n") pprint(api_response) @@ -193,84 +195,13 @@ 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) -# **attach_tags_to_vault_accounts** -> attach_tags_to_vault_accounts(vault_accounts_tag_attachments_request, idempotency_key=idempotency_key) - -Attach tags to a vault accounts (deprecated) - -Attach one or more tags to the requested vault accounts. This endpoint is deprecated. Please use /vault/accounts/attached_tags instead. - -### Example - - -```python -from fireblocks.models.vault_accounts_tag_attachments_request import VaultAccountsTagAttachmentsRequest -from fireblocks.client import Fireblocks -from fireblocks.client_configuration import ClientConfiguration -from fireblocks.exceptions import ApiException -from fireblocks.base_path import BasePath - -# load the secret key content from a file -with open('your_secret_key_file_path', 'r') as file: - secret_key_value = file.read() - -# build the configuration -configuration = ClientConfiguration( - api_key="your_api_key", - secret_key=secret_key_value, - base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" -) - - -# Enter a context with an instance of the API client -with Fireblocks(configuration) as fireblocks: - vault_accounts_tag_attachments_request = fireblocks.VaultAccountsTagAttachmentsRequest() # VaultAccountsTagAttachmentsRequest | - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - - try: - # Attach tags to a vault accounts (deprecated) - fireblocks.vaults.attach_tags_to_vault_accounts(vault_accounts_tag_attachments_request, idempotency_key=idempotency_key).result() - except Exception as e: - print("Exception when calling VaultsApi->attach_tags_to_vault_accounts: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **vault_accounts_tag_attachments_request** | [**VaultAccountsTagAttachmentsRequest**](VaultAccountsTagAttachmentsRequest.md)| | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Tags were attached successfully | - | - -[[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) - # **create_legacy_address** > CreateAddressResponse create_legacy_address(vault_account_id, asset_id, address_id, idempotency_key=idempotency_key) Convert a segwit address to legacy format Converts an existing segwit address to the legacy format. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -350,11 +281,11 @@ No authorization required Bulk creation of new vault accounts -Create multiple vault accounts by running an async job.
    -**Note**: -- These endpoints are currently in beta and might be subject to changes. -- We limit accounts to 10k per operation and 200k per customer during beta testing. -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. +Create multiple vault accounts by running an async job. +- The HBAR, TON, SUI, TERRA, ALGO, and DOT blockchains are not supported. +- Limited to a maximum of 10,000 accounts per operation. + +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -432,10 +363,13 @@ No authorization required Bulk creation of new deposit addresses -Create multiple deposit address by running an async job.
    -**Note**: -- We limit accounts to 10k per operation. -Endpoint Permission: Admin, Non-Signing Admin. +**For UTXO blockchains only.** + +Create multiple deposit addresses by running an async job. +- The target Vault account should already have a UTXO asset wallet with a permanent address. +- Limited to a maximum of 10,000 addresses per operation. Use multiple operations for the same Vault account/permanent address if needed. + +**Endpoint Permissions:** Admin, Non-Signing Admin. ### Example @@ -514,6 +448,9 @@ No authorization required Create a new vault account Creates a new vault account with the requested name. +**Note: ** Vault account names should consist of ASCII characters only. +Learn more about Fireblocks Vault Accounts in the following [guide](https://developers.fireblocks.com/reference/create-vault-account). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -588,9 +525,11 @@ No authorization required # **create_vault_account_asset** > CreateVaultAssetResponse create_vault_account_asset(vault_account_id, asset_id, idempotency_key=idempotency_key, create_assets_request=create_assets_request) -Create a new wallet +Create a new vault wallet Creates a wallet for a specific asset in a vault account. +Learn more about Fireblocks Vault Wallets in the following [guide](https://developers.fireblocks.com/reference/create-vault-wallet). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -624,7 +563,7 @@ with Fireblocks(configuration) as fireblocks: create_assets_request = fireblocks.CreateAssetsRequest() # CreateAssetsRequest | (optional) try: - # Create a new wallet + # Create a new vault wallet api_response = fireblocks.vaults.create_vault_account_asset(vault_account_id, asset_id, idempotency_key=idempotency_key, create_assets_request=create_assets_request).result() print("The response of VaultsApi->create_vault_account_asset:\n") pprint(api_response) @@ -672,6 +611,11 @@ No authorization required Create new asset deposit address Creates a new deposit address for an asset of a vault account. +Should be used for UTXO or Tag/Memo based assets ONLY. + +Requests with account based assets will fail. + +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -747,22 +691,27 @@ 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) -# **detach_tags_from_vault_accounts** -> detach_tags_from_vault_accounts(vault_accounts_tag_attachments_request, idempotency_key=idempotency_key) +# **get_asset_wallets** +> PaginatedAssetWalletResponse get_asset_wallets(total_amount_larger_than=total_amount_larger_than, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit) -Detach tags from a vault accounts (deprecated) +Get vault wallets (Paginated) -Detach one or more tags from the requested vault account. This endpoint is deprecated. Please use /vault/accounts/attached_tags instead. +Get all vault wallets of the vault accounts in your workspace. +A vault wallet is an asset in a vault account. + +This method allows fast traversal of all account balances. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example ```python -from fireblocks.models.vault_accounts_tag_attachments_request import VaultAccountsTagAttachmentsRequest +from fireblocks.models.paginated_asset_wallet_response import PaginatedAssetWalletResponse from fireblocks.client import Fireblocks from fireblocks.client_configuration import ClientConfiguration from fireblocks.exceptions import ApiException from fireblocks.base_path import BasePath +from pprint import pprint # load the secret key content from a file with open('your_secret_key_file_path', 'r') as file: @@ -778,14 +727,20 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - vault_accounts_tag_attachments_request = fireblocks.VaultAccountsTagAttachmentsRequest() # VaultAccountsTagAttachmentsRequest | - idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + total_amount_larger_than = 3.4 # float | When specified, only vault wallets with total balance greater than this amount are returned. (optional) + asset_id = 'asset_id_example' # str | When specified, only vault wallets with the specified ID are returned. (optional) + order_by = DESC # str | (optional) (default to DESC) + before = 'before_example' # str | Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. (optional) + after = 'after_example' # str | Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. (optional) + limit = 200 # float | The maximum number of vault wallets in a single response. The default is 200 and the maximum is 1000. (optional) (default to 200) try: - # Detach tags from a vault accounts (deprecated) - fireblocks.vaults.detach_tags_from_vault_accounts(vault_accounts_tag_attachments_request, idempotency_key=idempotency_key).result() + # Get vault wallets (Paginated) + api_response = fireblocks.vaults.get_asset_wallets(total_amount_larger_than=total_amount_larger_than, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit).result() + print("The response of VaultsApi->get_asset_wallets:\n") + pprint(api_response) except Exception as e: - print("Exception when calling VaultsApi->detach_tags_from_vault_accounts: %s\n" % e) + print("Exception when calling VaultsApi->get_asset_wallets: %s\n" % e) ``` @@ -795,12 +750,16 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vault_accounts_tag_attachments_request** | [**VaultAccountsTagAttachmentsRequest**](VaultAccountsTagAttachmentsRequest.md)| | - **idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional] + **total_amount_larger_than** | **float**| When specified, only vault wallets with total balance greater than this amount are returned. | [optional] + **asset_id** | **str**| When specified, only vault wallets with the specified ID are returned. | [optional] + **order_by** | **str**| | [optional] [default to DESC] + **before** | **str**| Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. | [optional] + **after** | **str**| Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. | [optional] + **limit** | **float**| The maximum number of vault wallets in a single response. The default is 200 and the maximum is 1000. | [optional] [default to 200] ### Return type -void (empty response body) +[**PaginatedAssetWalletResponse**](PaginatedAssetWalletResponse.md) ### Authorization @@ -808,30 +767,32 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: Not defined + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Tags were detached successfully | - | +**200** | A PaginatedAssetWalletResponse object | * X-Request-ID -
    | [[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_asset_wallets** -> PaginatedAssetWalletResponse get_asset_wallets(total_amount_larger_than=total_amount_larger_than, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit) +# **get_create_multiple_deposit_addresses_job_status** +> CreateMultipleDepositAddressesJobStatus get_create_multiple_deposit_addresses_job_status(job_id) + +Get the job status of the bulk deposit address creation -List asset wallets (Paginated) +Returns the current status of (or an error for) the specified deposit addresss bulk creation job. -Gets all asset wallets at all of the vault accounts in your workspace. An asset wallet is an asset at a vault account. This method allows fast traversal of all account balances. +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. ### Example ```python -from fireblocks.models.paginated_asset_wallet_response import PaginatedAssetWalletResponse +from fireblocks.models.create_multiple_deposit_addresses_job_status import CreateMultipleDepositAddressesJobStatus from fireblocks.client import Fireblocks from fireblocks.client_configuration import ClientConfiguration from fireblocks.exceptions import ApiException @@ -852,20 +813,15 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - total_amount_larger_than = 3.4 # float | When specified, only asset wallets with total balance larger than this amount are returned. (optional) - asset_id = 'asset_id_example' # str | When specified, only asset wallets cross vault accounts that have this asset ID are returned. (optional) - order_by = DESC # str | (optional) (default to DESC) - before = 'before_example' # str | Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. (optional) - after = 'after_example' # str | Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. (optional) - limit = 200 # float | The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000. (optional) (default to 200) + job_id = '019681b4-107d-7243-942d-4c3c30e36fae' # str | The ID of the job to create addresses try: - # List asset wallets (Paginated) - api_response = fireblocks.vaults.get_asset_wallets(total_amount_larger_than=total_amount_larger_than, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit).result() - print("The response of VaultsApi->get_asset_wallets:\n") + # Get the job status of the bulk deposit address creation + api_response = fireblocks.vaults.get_create_multiple_deposit_addresses_job_status(job_id).result() + print("The response of VaultsApi->get_create_multiple_deposit_addresses_job_status:\n") pprint(api_response) except Exception as e: - print("Exception when calling VaultsApi->get_asset_wallets: %s\n" % e) + print("Exception when calling VaultsApi->get_create_multiple_deposit_addresses_job_status: %s\n" % e) ``` @@ -875,16 +831,11 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **total_amount_larger_than** | **float**| When specified, only asset wallets with total balance larger than this amount are returned. | [optional] - **asset_id** | **str**| When specified, only asset wallets cross vault accounts that have this asset ID are returned. | [optional] - **order_by** | **str**| | [optional] [default to DESC] - **before** | **str**| Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. | [optional] - **after** | **str**| Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. | [optional] - **limit** | **float**| The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000. | [optional] [default to 200] + **job_id** | **str**| The ID of the job to create addresses | ### Return type -[**PaginatedAssetWalletResponse**](PaginatedAssetWalletResponse.md) +[**CreateMultipleDepositAddressesJobStatus**](CreateMultipleDepositAddressesJobStatus.md) ### Authorization @@ -899,24 +850,26 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A PaginatedAssetWalletResponse object | * X-Request-ID -
    | +**200** | A Job with status | * X-Request-ID -
    | +**0** | Error Response | * X-Request-ID -
    | [[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_create_multiple_deposit_addresses_job_status** -> CreateMultipleDepositAddressesJobStatus get_create_multiple_deposit_addresses_job_status(job_id) +# **get_create_multiple_vault_accounts_job_status** +> CreateMultipleVaultAccountsJobStatus get_create_multiple_vault_accounts_job_status(job_id) -Get job status of bulk creation of new deposit addresses +Get job status of bulk creation of new vault accounts + +Returns the current status of (or error for) the specified vault account bulk creation job. -Returns the status of bulk creation of new deposit addresses job and the result or error -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example ```python -from fireblocks.models.create_multiple_deposit_addresses_job_status import CreateMultipleDepositAddressesJobStatus +from fireblocks.models.create_multiple_vault_accounts_job_status import CreateMultipleVaultAccountsJobStatus from fireblocks.client import Fireblocks from fireblocks.client_configuration import ClientConfiguration from fireblocks.exceptions import ApiException @@ -940,12 +893,12 @@ with Fireblocks(configuration) as fireblocks: job_id = '019681b4-107d-7243-942d-4c3c30e36fae' # str | The ID of the job to create addresses try: - # Get job status of bulk creation of new deposit addresses - api_response = fireblocks.vaults.get_create_multiple_deposit_addresses_job_status(job_id).result() - print("The response of VaultsApi->get_create_multiple_deposit_addresses_job_status:\n") + # Get job status of bulk creation of new vault accounts + api_response = fireblocks.vaults.get_create_multiple_vault_accounts_job_status(job_id).result() + print("The response of VaultsApi->get_create_multiple_vault_accounts_job_status:\n") pprint(api_response) except Exception as e: - print("Exception when calling VaultsApi->get_create_multiple_deposit_addresses_job_status: %s\n" % e) + print("Exception when calling VaultsApi->get_create_multiple_vault_accounts_job_status: %s\n" % e) ``` @@ -959,7 +912,7 @@ Name | Type | Description | Notes ### Return type -[**CreateMultipleDepositAddressesJobStatus**](CreateMultipleDepositAddressesJobStatus.md) +[**CreateMultipleVaultAccountsJobStatus**](CreateMultipleVaultAccountsJobStatus.md) ### Authorization @@ -979,20 +932,18 @@ 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_create_multiple_vault_accounts_job_status** -> CreateMultipleVaultAccountsJobStatus get_create_multiple_vault_accounts_job_status(job_id) - -Get job status of bulk creation of new vault accounts +# **get_max_bip_index_used** +> GetMaxBipIndexUsedResponse get_max_bip_index_used(vault_account_id, asset_id) -Returns the status of bulk creation of new vault accounts job and the result or error -Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. +Get maximum BIP44 index used +Retrieves the maximum BIP44 address index and change address index used for a specific asset in a vault account (BIP44 standard). ### Example ```python -from fireblocks.models.create_multiple_vault_accounts_job_status import CreateMultipleVaultAccountsJobStatus +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse from fireblocks.client import Fireblocks from fireblocks.client_configuration import ClientConfiguration from fireblocks.exceptions import ApiException @@ -1013,15 +964,16 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - job_id = '019681b4-107d-7243-942d-4c3c30e36fae' # str | The ID of the job to create addresses + vault_account_id = 'vault_account_id_example' # str | The ID of the vault account + asset_id = 'asset_id_example' # str | The ID of the asset try: - # Get job status of bulk creation of new vault accounts - api_response = fireblocks.vaults.get_create_multiple_vault_accounts_job_status(job_id).result() - print("The response of VaultsApi->get_create_multiple_vault_accounts_job_status:\n") + # Get maximum BIP44 index used + api_response = fireblocks.vaults.get_max_bip_index_used(vault_account_id, asset_id).result() + print("The response of VaultsApi->get_max_bip_index_used:\n") pprint(api_response) except Exception as e: - print("Exception when calling VaultsApi->get_create_multiple_vault_accounts_job_status: %s\n" % e) + print("Exception when calling VaultsApi->get_max_bip_index_used: %s\n" % e) ``` @@ -1031,11 +983,12 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **job_id** | **str**| The ID of the job to create addresses | + **vault_account_id** | **str**| The ID of the vault account | + **asset_id** | **str**| The ID of the asset | ### Return type -[**CreateMultipleVaultAccountsJobStatus**](CreateMultipleVaultAccountsJobStatus.md) +[**GetMaxBipIndexUsedResponse**](GetMaxBipIndexUsedResponse.md) ### Authorization @@ -1050,7 +1003,7 @@ No authorization required | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | A Job with status | * X-Request-ID -
    | +**200** | OK | * X-Request-ID -
    | **0** | Error Response | * X-Request-ID -
    | [[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) @@ -1058,9 +1011,14 @@ No authorization required # **get_max_spendable_amount** > GetMaxSpendableAmountResponse get_max_spendable_amount(vault_account_id, asset_id, manual_signging=manual_signging) -Get the maximum spendable amount in a single transaction. +Get max spendable amount in a transaction + +**UTXO assets only.** + +Retrieve the maximum amount of the specified asset that can be spent in a single transaction from the specified vault account. + +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. -Get the maximum amount of a particular asset that can be spent in a single transaction from a specified vault account (UTXO assets only, with a limitation on number of inputs embedded). Send several transactions if you want to spend more than the maximum spendable amount. ### Example @@ -1092,7 +1050,7 @@ with Fireblocks(configuration) as fireblocks: manual_signging = True # bool | False by default. The maximum number of inputs depends if the transaction will be signed by an automated co-signer server or on a mobile device. (optional) try: - # Get the maximum spendable amount in a single transaction. + # Get max spendable amount in a transaction api_response = fireblocks.vaults.get_max_spendable_amount(vault_account_id, asset_id, manual_signging=manual_signging).result() print("The response of VaultsApi->get_max_spendable_amount:\n") pprint(api_response) @@ -1134,11 +1092,12 @@ 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_vault_accounts** -> VaultAccountsPagedResponse get_paged_vault_accounts(name_prefix=name_prefix, name_suffix=name_suffix, min_amount_threshold=min_amount_threshold, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit, tag_ids=tag_ids) +> VaultAccountsPagedResponse get_paged_vault_accounts(name_prefix=name_prefix, name_suffix=name_suffix, min_amount_threshold=min_amount_threshold, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit, tag_ids=tag_ids, include_tag_ids=include_tag_ids, exclude_tag_ids=exclude_tag_ids) -List vault accounts (Paginated) +Get vault accounts (Paginated) Gets all vault accounts in your workspace. This endpoint returns a limited amount of results with a quick response time. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1167,17 +1126,19 @@ configuration = ClientConfiguration( with Fireblocks(configuration) as fireblocks: name_prefix = 'name_prefix_example' # str | (optional) name_suffix = 'name_suffix_example' # str | (optional) - min_amount_threshold = 3.4 # float | Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. (optional) + min_amount_threshold = 10 # float | Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. The amount set in this parameter is the native asset amount and not its USD value. (optional) asset_id = 'asset_id_example' # str | (optional) order_by = DESC # str | (optional) (default to DESC) before = 'before_example' # str | (optional) after = 'after_example' # str | (optional) limit = 200 # float | (optional) (default to 200) - tag_ids = ['tag_ids_example'] # List[str] | List of tag IDs to filter vault accounts. (optional) + tag_ids = ['tag_ids_example'] # List[str] | DEPRECATED - use includeTagIds instead (optional) + include_tag_ids = ['include_tag_ids_example'] # List[str] | List of tag IDs to include. Vault accounts with any of these tags will be included (optional) + exclude_tag_ids = ['exclude_tag_ids_example'] # List[str] | List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out (optional) try: - # List vault accounts (Paginated) - api_response = fireblocks.vaults.get_paged_vault_accounts(name_prefix=name_prefix, name_suffix=name_suffix, min_amount_threshold=min_amount_threshold, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit, tag_ids=tag_ids).result() + # Get vault accounts (Paginated) + api_response = fireblocks.vaults.get_paged_vault_accounts(name_prefix=name_prefix, name_suffix=name_suffix, min_amount_threshold=min_amount_threshold, asset_id=asset_id, order_by=order_by, before=before, after=after, limit=limit, tag_ids=tag_ids, include_tag_ids=include_tag_ids, exclude_tag_ids=exclude_tag_ids).result() print("The response of VaultsApi->get_paged_vault_accounts:\n") pprint(api_response) except Exception as e: @@ -1193,13 +1154,15 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name_prefix** | **str**| | [optional] **name_suffix** | **str**| | [optional] - **min_amount_threshold** | **float**| Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. | [optional] + **min_amount_threshold** | **float**| Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. The amount set in this parameter is the native asset amount and not its USD value. | [optional] **asset_id** | **str**| | [optional] **order_by** | **str**| | [optional] [default to DESC] **before** | **str**| | [optional] **after** | **str**| | [optional] **limit** | **float**| | [optional] [default to 200] - **tag_ids** | [**List[str]**](str.md)| List of tag IDs to filter vault accounts. | [optional] + **tag_ids** | [**List[str]**](str.md)| DEPRECATED - use includeTagIds instead | [optional] + **include_tag_ids** | [**List[str]**](str.md)| List of tag IDs to include. Vault accounts with any of these tags will be included | [optional] + **exclude_tag_ids** | [**List[str]**](str.md)| List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out | [optional] ### Return type @@ -1225,9 +1188,10 @@ No authorization required # **get_public_key_info** > PublicKeyInformation get_public_key_info(derivation_path, algorithm, compressed=compressed) -Get the public key information +Get the public key for a derivation path Gets the public key information based on derivation path and signing algorithm. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1259,7 +1223,7 @@ with Fireblocks(configuration) as fireblocks: compressed = True # bool | (optional) try: - # Get the public key information + # Get the public key for a derivation path api_response = fireblocks.vaults.get_public_key_info(derivation_path, algorithm, compressed=compressed).result() print("The response of VaultsApi->get_public_key_info:\n") pprint(api_response) @@ -1303,9 +1267,10 @@ No authorization required # **get_public_key_info_for_address** > PublicKeyInformation get_public_key_info_for_address(vault_account_id, asset_id, change, address_index, compressed=compressed) -Get the public key for a vault account +Get an asset's public key -Gets the public key information for the vault account. +Get the public key information for a specific asset in a vault account. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -1339,7 +1304,7 @@ with Fireblocks(configuration) as fireblocks: compressed = True # bool | (optional) try: - # Get the public key for a vault account + # Get an asset's public key api_response = fireblocks.vaults.get_public_key_info_for_address(vault_account_id, asset_id, change, address_index, compressed=compressed).result() print("The response of VaultsApi->get_public_key_info_for_address:\n") pprint(api_response) @@ -1387,7 +1352,9 @@ No authorization required Get UTXO unspent inputs information -Returns unspent inputs information of an asset in a vault account. +Returns unspent inputs information of an UTXO asset in a vault account. + +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1461,9 +1428,10 @@ No authorization required # **get_vault_account** > VaultAccount get_vault_account(vault_account_id) -Find a vault account by ID +Get a vault account by ID -Returns the requested vault account. +Get a vault account by its unique ID. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1490,10 +1458,10 @@ configuration = ClientConfiguration( # Enter a context with an instance of the API client with Fireblocks(configuration) as fireblocks: - vault_account_id = 'vault_account_id_example' # str | The ID of the vault account to return type: string + vault_account_id = 'vault_account_id_example' # str | The ID of the vault account try: - # Find a vault account by ID + # Get a vault account by ID api_response = fireblocks.vaults.get_vault_account(vault_account_id).result() print("The response of VaultsApi->get_vault_account:\n") pprint(api_response) @@ -1508,7 +1476,7 @@ with Fireblocks(configuration) as fireblocks: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vault_account_id** | **str**| The ID of the vault account to return type: string | + **vault_account_id** | **str**| The ID of the vault account | ### Return type @@ -1537,7 +1505,10 @@ No authorization required Get the asset balance for a vault account -Returns a wallet for a specific asset of a vault account. +Returns a specific vault wallet balance information for a specific asset. + +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, + Viewer. ### Example @@ -1611,9 +1582,10 @@ No authorization required # **get_vault_account_asset_addresses_paginated** > PaginatedAddressResponse get_vault_account_asset_addresses_paginated(vault_account_id, asset_id, limit=limit, before=before, after=after) -List addresses (Paginated) +Get addresses (Paginated) Returns a paginated response of the addresses for a given vault account and asset. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1647,7 +1619,7 @@ with Fireblocks(configuration) as fireblocks: after = 'after_example' # str | (optional) try: - # List addresses (Paginated) + # Get addresses (Paginated) api_response = fireblocks.vaults.get_vault_account_asset_addresses_paginated(vault_account_id, asset_id, limit=limit, before=before, after=after).result() print("The response of VaultsApi->get_vault_account_asset_addresses_paginated:\n") pprint(api_response) @@ -1697,6 +1669,8 @@ Get asset balance for chosen assets Gets the assets amount summary for all accounts or filtered accounts. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + ### Example @@ -1769,9 +1743,11 @@ No authorization required # **get_vault_balance_by_asset** > VaultAsset get_vault_balance_by_asset(asset_id) -Get vault balance by asset +Get vault balance by an asset + +Get the total balance of an asset across all the vault accounts. -Gets the vault balance summary for an asset. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. ### Example @@ -1801,7 +1777,7 @@ with Fireblocks(configuration) as fireblocks: asset_id = 'asset_id_example' # str | try: - # Get vault balance by asset + # Get vault balance by an asset api_response = fireblocks.vaults.get_vault_balance_by_asset(asset_id).result() print("The response of VaultsApi->get_vault_balance_by_asset:\n") pprint(api_response) @@ -1846,6 +1822,11 @@ No authorization required Hide a vault account in the console Hides the requested vault account from the web console view. +This operation is required when creating thousands of vault accounts to serve your end-users. +Used for preventing the web console to be swamped with too much vault accounts. +Learn more in the following [guide](https://developers.fireblocks.com/docs/create-direct-custody-wallets#hiding-vault-accounts). +NOTE: Hiding the vault account from the web console will also hide all the related transactions to/from this vault. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -1922,6 +1903,7 @@ No authorization required Assign AML customer reference ID Sets an AML/KYT customer reference ID for a specific address. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -2002,9 +1984,12 @@ No authorization required # **set_vault_account_auto_fuel** > VaultActionStatus set_vault_account_auto_fuel(vault_account_id, set_auto_fuel_request, idempotency_key=idempotency_key) -Turn autofueling on or off +Set auto fueling to on or off -Sets the autofueling property of the vault account to enabled or disabled. +Toggles the auto fueling property of the vault account to enabled or disabled. +Vault Accounts with 'autoFuel=true' are monitored and auto fueled by the Fireblocks Gas Station. +Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station). +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2037,7 +2022,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Turn autofueling on or off + # Set auto fueling to on or off api_response = fireblocks.vaults.set_vault_account_auto_fuel(vault_account_id, set_auto_fuel_request, idempotency_key=idempotency_key).result() print("The response of VaultsApi->set_vault_account_auto_fuel:\n") pprint(api_response) @@ -2081,9 +2066,9 @@ No authorization required # **set_vault_account_customer_ref_id** > VaultActionStatus set_vault_account_customer_ref_id(vault_account_id, set_customer_ref_id_request, idempotency_key=idempotency_key) -Set an AML/KYT customer reference ID for a vault account +Set an AML/KYT ID for a vault account -Assigns an AML/KYT customer reference ID for the vault account. +Assigns an AML/KYT customer reference ID for the vault account. Learn more about Fireblocks AML management in the following [guide](https://developers.fireblocks.com/docs/define-aml-policies).
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -2116,7 +2101,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Set an AML/KYT customer reference ID for a vault account + # Set an AML/KYT ID for a vault account api_response = fireblocks.vaults.set_vault_account_customer_ref_id(vault_account_id, set_customer_ref_id_request, idempotency_key=idempotency_key).result() print("The response of VaultsApi->set_vault_account_customer_ref_id:\n") pprint(api_response) @@ -2163,6 +2148,7 @@ No authorization required Unhide a vault account in the console Makes a hidden vault account visible in web console view. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2239,6 +2225,7 @@ No authorization required Rename a vault account Renames the requested vault account. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver. ### Example @@ -2318,6 +2305,7 @@ No authorization required Update address description Updates the description of an existing address of an asset in a vault account. +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. ### Example @@ -2402,6 +2390,11 @@ Refresh asset balance data Updates the balance of a specific asset in a vault account. +This API endpoint is subject to a strict rate limit. +Should be used by clients in very specific scenarios. + +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + ### Example diff --git a/docs/VersionSummary.md b/docs/VersionSummary.md new file mode 100644 index 00000000..c021731a --- /dev/null +++ b/docs/VersionSummary.md @@ -0,0 +1,30 @@ +# VersionSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hash** | **str** | The version hash of the cosigner | +**name** | **str** | The name of the version | [optional] + +## Example + +```python +from fireblocks.models.version_summary import VersionSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of VersionSummary from a JSON string +version_summary_instance = VersionSummary.from_json(json) +# print the JSON string representation of the object +print(VersionSummary.to_json()) + +# convert the object into a dict +version_summary_dict = version_summary_instance.to_dict() +# create an instance of VersionSummary from a dict +version_summary_from_dict = VersionSummary.from_dict(version_summary_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) + + diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index 38ea3504..2c49d348 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -4,16 +4,21 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**resend_transaction_webhooks**](WebhooksApi.md#resend_transaction_webhooks) | **POST** /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID +[**resend_transaction_webhooks**](WebhooksApi.md#resend_transaction_webhooks) | **POST** /webhooks/resend/{txId} | Resend webhooks for a transaction by ID [**resend_webhooks**](WebhooksApi.md#resend_webhooks) | **POST** /webhooks/resend | Resend failed webhooks # **resend_transaction_webhooks** > ResendWebhooksByTransactionIdResponse resend_transaction_webhooks(tx_id, resend_transaction_webhooks_request, idempotency_key=idempotency_key) -Resend failed webhooks for a transaction by ID +Resend webhooks for a transaction by ID + +Resends webhook notifications for a transaction by its unique identifier. + +Learn more about Fireblocks Webhooks in the following [guide](https://developers.fireblocks.com/docs/configure-webhooks). + +**Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. -Resends failed webhook notifications for a transaction by ID. ### Example @@ -46,7 +51,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Resend failed webhooks for a transaction by ID + # Resend webhooks for a transaction by ID api_response = fireblocks.webhooks.resend_transaction_webhooks(tx_id, resend_transaction_webhooks_request, idempotency_key=idempotency_key).result() print("The response of WebhooksApi->resend_transaction_webhooks:\n") pprint(api_response) @@ -94,6 +99,10 @@ Resend failed webhooks Resends all failed webhook notifications. +Learn more about Fireblocks Webhooks in the following [guide](https://developers.fireblocks.com/docs/configure-webhooks). + +
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + ### Example diff --git a/docs/WebhooksV2Api.md b/docs/WebhooksV2Api.md index 49c4501b..d93edab2 100644 --- a/docs/WebhooksV2Api.md +++ b/docs/WebhooksV2Api.md @@ -4,7 +4,7 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_webhook**](WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create new webhook +[**create_webhook**](WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create a new webhook [**delete_webhook**](WebhooksV2Api.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete webhook [**get_metrics**](WebhooksV2Api.md#get_metrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics [**get_notification**](WebhooksV2Api.md#get_notification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id @@ -22,11 +22,11 @@ Method | HTTP request | Description # **create_webhook** > Webhook create_webhook(create_webhook_request, idempotency_key=idempotency_key) -Create new webhook +Create a new webhook Creates a new webhook, which will be triggered on the specified events -Endpoint Permission: Owner, Admin, Non-Signing Admin. +**Endpoint Permissions:** Owner, Admin, Non-Signing Admin. ### Example @@ -59,7 +59,7 @@ with Fireblocks(configuration) as fireblocks: idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) try: - # Create new webhook + # Create a new webhook api_response = fireblocks.webhooks_v2.create_webhook(create_webhook_request, idempotency_key=idempotency_key).result() print("The response of WebhooksV2Api->create_webhook:\n") pprint(api_response) @@ -665,7 +665,7 @@ No authorization required Get all webhooks -Get all webhooks (paginated) +Get all webhooks (paginated). ### Example diff --git a/docs/WhitelistIpAddressesApi.md b/docs/WhitelistIpAddressesApi.md index b582c732..8c0a0d12 100644 --- a/docs/WhitelistIpAddressesApi.md +++ b/docs/WhitelistIpAddressesApi.md @@ -4,15 +4,17 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_whitelist_ip_addresses**](WhitelistIpAddressesApi.md#get_whitelist_ip_addresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Gets whitelisted ip addresses +[**get_whitelist_ip_addresses**](WhitelistIpAddressesApi.md#get_whitelist_ip_addresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | Get whitelisted ip addresses for an API Key # **get_whitelist_ip_addresses** > GetWhitelistIpAddressesResponse get_whitelist_ip_addresses(user_id) -Gets whitelisted ip addresses +Get whitelisted ip addresses for an API Key -Gets whitelisted ip addresses for given Api user. +Get a list of the whitelisted IP addresses for a specific API Key +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example @@ -42,7 +44,7 @@ with Fireblocks(configuration) as fireblocks: user_id = 'user_id_example' # str | The ID of the api user try: - # Gets whitelisted ip addresses + # Get whitelisted ip addresses for an API Key api_response = fireblocks.whitelist_ip_addresses.get_whitelist_ip_addresses(user_id).result() print("The response of WhitelistIpAddressesApi->get_whitelist_ip_addresses:\n") pprint(api_response) diff --git a/docs/WithdrawRequest.md b/docs/WithdrawRequest.md index 057c677f..b7f5ecc5 100644 --- a/docs/WithdrawRequest.md +++ b/docs/WithdrawRequest.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **fee** | **str** | Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required. | [optional] **fee_level** | [**FeeLevel**](FeeLevel.md) | | [optional] **tx_note** | **str** | The note to associate with the transactions. | [optional] +**amount** | **str** | Amount of tokens to withdraw. Only supported for Cosmos chains to enable partial withdrawals. For other chains, this field is ignored and the entire available amount will be withdrawn. If not provided, the entire available amount will be withdrawn. | [optional] ## Example diff --git a/docs/WorkspaceStatusBetaApi.md b/docs/WorkspaceStatusBetaApi.md index 58c0a6db..2e836373 100644 --- a/docs/WorkspaceStatusBetaApi.md +++ b/docs/WorkspaceStatusBetaApi.md @@ -12,7 +12,12 @@ Method | HTTP request | Description Returns current workspace status -Returns current workspace status +Returns current workspace status (Beta). +**Note**: +- This endpoint is now in Beta, disabled for general availability at this time. +- Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. + +
    Endpoint Permission: Admin, Non-Signing Admin. ### Example diff --git a/fireblocks/__init__.py b/fireblocks/__init__.py index ad87e4a1..a5610167 100644 --- a/fireblocks/__init__.py +++ b/fireblocks/__init__.py @@ -5,21 +5,20 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 -__version__ = "13.0.0" +__version__ = "0.0.0" # import apis into sdk package from fireblocks.api.api_user_api import ApiUserApi -from fireblocks.api.assets_api import AssetsApi from fireblocks.api.audit_logs_api import AuditLogsApi from fireblocks.api.blockchains_assets_api import BlockchainsAssetsApi from fireblocks.api.compliance_api import ComplianceApi @@ -39,19 +38,20 @@ from fireblocks.api.fiat_accounts_api import FiatAccountsApi from fireblocks.api.gas_stations_api import GasStationsApi from fireblocks.api.internal_wallets_api import InternalWalletsApi -from fireblocks.api.job_management_api import JobManagementApi from fireblocks.api.key_link_beta_api import KeyLinkBetaApi from fireblocks.api.keys_beta_api import KeysBetaApi from fireblocks.api.nfts_api import NFTsApi from fireblocks.api.network_connections_api import NetworkConnectionsApi from fireblocks.api.ota_beta_api import OTABetaApi from fireblocks.api.off_exchanges_api import OffExchangesApi +from fireblocks.api.onchain_data_api import OnchainDataApi from fireblocks.api.payments_payout_api import PaymentsPayoutApi from fireblocks.api.policy_editor_v2_beta_api import PolicyEditorV2BetaApi from fireblocks.api.policy_editor_beta_api import PolicyEditorBetaApi from fireblocks.api.reset_device_api import ResetDeviceApi from fireblocks.api.smart_transfer_api import SmartTransferApi from fireblocks.api.staking_api import StakingApi +from fireblocks.api.tr_link_api import TRLinkApi from fireblocks.api.tags_api import TagsApi from fireblocks.api.tokenization_api import TokenizationApi from fireblocks.api.trading_beta_api import TradingBetaApi @@ -83,6 +83,13 @@ from fireblocks.models.api_user import APIUser from fireblocks.models.aba_payment_info import AbaPaymentInfo from fireblocks.models.abi_function import AbiFunction +from fireblocks.models.access_registry_address_item import AccessRegistryAddressItem +from fireblocks.models.access_registry_current_state_response import ( + AccessRegistryCurrentStateResponse, +) +from fireblocks.models.access_registry_summary_response import ( + AccessRegistrySummaryResponse, +) from fireblocks.models.access_type import AccessType from fireblocks.models.account import Account from fireblocks.models.account_access import AccountAccess @@ -94,7 +101,6 @@ from fireblocks.models.account_config import AccountConfig from fireblocks.models.account_holder_details import AccountHolderDetails from fireblocks.models.account_identifier import AccountIdentifier -from fireblocks.models.account_provider_id import AccountProviderID from fireblocks.models.account_reference import AccountReference from fireblocks.models.account_type import AccountType from fireblocks.models.account_type2 import AccountType2 @@ -118,6 +124,8 @@ from fireblocks.models.additional_info_request_additional_info import ( AdditionalInfoRequestAdditionalInfo, ) +from fireblocks.models.address_balance_item_dto import AddressBalanceItemDto +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse from fireblocks.models.address_not_available_error import AddressNotAvailableError from fireblocks.models.alert_exposure_type_enum import AlertExposureTypeEnum from fireblocks.models.alert_level_enum import AlertLevelEnum @@ -142,6 +150,7 @@ from fireblocks.models.amount_range_min_max2 import AmountRangeMinMax2 from fireblocks.models.api_key import ApiKey from fireblocks.models.api_keys_paginated_response import ApiKeysPaginatedResponse +from fireblocks.models.approval_request import ApprovalRequest from fireblocks.models.approvers_config import ApproversConfig from fireblocks.models.approvers_config_approval_groups_inner import ( ApproversConfigApprovalGroupsInner, @@ -180,6 +189,7 @@ from fireblocks.models.asset_price_response import AssetPriceResponse from fireblocks.models.asset_response import AssetResponse from fireblocks.models.asset_scope import AssetScope +from fireblocks.models.asset_type_enum import AssetTypeEnum from fireblocks.models.asset_type_response import AssetTypeResponse from fireblocks.models.asset_types_config_inner import AssetTypesConfigInner from fireblocks.models.asset_wallet import AssetWallet @@ -187,9 +197,14 @@ from fireblocks.models.auditor_data import AuditorData from fireblocks.models.authorization_groups import AuthorizationGroups from fireblocks.models.authorization_info import AuthorizationInfo +from fireblocks.models.balance_history_item_dto import BalanceHistoryItemDto +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse +from fireblocks.models.bank_address import BankAddress from fireblocks.models.base_provider import BaseProvider from fireblocks.models.basic_address_request import BasicAddressRequest from fireblocks.models.block_info import BlockInfo +from fireblocks.models.blockchain_address import BlockchainAddress +from fireblocks.models.blockchain_destination import BlockchainDestination from fireblocks.models.blockchain_explorer import BlockchainExplorer from fireblocks.models.blockchain_media import BlockchainMedia from fireblocks.models.blockchain_metadata import BlockchainMetadata @@ -200,6 +215,7 @@ from fireblocks.models.blockchain_response import BlockchainResponse from fireblocks.models.blockchain_transfer import BlockchainTransfer from fireblocks.models.bps_fee import BpsFee +from fireblocks.models.business_entity_type_enum import BusinessEntityTypeEnum from fireblocks.models.business_identification import BusinessIdentification from fireblocks.models.callback_handler import CallbackHandler from fireblocks.models.callback_handler_request import CallbackHandlerRequest @@ -230,6 +246,7 @@ ) from fireblocks.models.collection_token_metadata_dto import CollectionTokenMetadataDto from fireblocks.models.collection_type import CollectionType +from fireblocks.models.committed_quote_enum import CommittedQuoteEnum from fireblocks.models.committed_quote_type import CommittedQuoteType from fireblocks.models.compliance_result_full_payload import ComplianceResultFullPayload from fireblocks.models.compliance_result_statuses_enum import ( @@ -263,6 +280,9 @@ ConnectedAccountBalancesResponse, ) from fireblocks.models.connected_account_capability import ConnectedAccountCapability +from fireblocks.models.connected_account_error_response import ( + ConnectedAccountErrorResponse, +) from fireblocks.models.connected_account_manifest import ConnectedAccountManifest from fireblocks.models.connected_account_rate_response import ( ConnectedAccountRateResponse, @@ -287,6 +307,7 @@ from fireblocks.models.contract_abi_response_dto_abi_inner import ( ContractAbiResponseDtoAbiInner, ) +from fireblocks.models.contract_address_response import ContractAddressResponse from fireblocks.models.contract_attributes import ContractAttributes from fireblocks.models.contract_data_decode_data_type import ContractDataDecodeDataType from fireblocks.models.contract_data_decode_error import ContractDataDecodeError @@ -338,7 +359,6 @@ from fireblocks.models.create_api_user import CreateAPIUser from fireblocks.models.create_address_request import CreateAddressRequest from fireblocks.models.create_address_response import CreateAddressResponse -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest from fireblocks.models.create_assets_request import CreateAssetsRequest from fireblocks.models.create_config_operation_request import ( CreateConfigOperationRequest, @@ -414,8 +434,13 @@ from fireblocks.models.custom_routing_dest import CustomRoutingDest from fireblocks.models.d_app_address_config import DAppAddressConfig from fireblocks.models.dvp_settlement import DVPSettlement +from fireblocks.models.dvp_settlement_type import DVPSettlementType +from fireblocks.models.decoded_log import DecodedLog from fireblocks.models.default_network_routing_dest import DefaultNetworkRoutingDest from fireblocks.models.delegation import Delegation +from fireblocks.models.delegation_blockchain_position_info import ( + DelegationBlockchainPositionInfo, +) from fireblocks.models.delegation_summary import DelegationSummary from fireblocks.models.delete_network_connection_response import ( DeleteNetworkConnectionResponse, @@ -529,11 +554,21 @@ from fireblocks.models.embedded_wallet_paginated_assets_response import ( EmbeddedWalletPaginatedAssetsResponse, ) +from fireblocks.models.embedded_wallet_paginated_devices_response import ( + EmbeddedWalletPaginatedDevicesResponse, +) from fireblocks.models.embedded_wallet_paginated_wallets_response import ( EmbeddedWalletPaginatedWalletsResponse, ) +from fireblocks.models.embedded_wallet_required_algorithms import ( + EmbeddedWalletRequiredAlgorithms, +) from fireblocks.models.embedded_wallet_set_up_status import EmbeddedWalletSetUpStatus -from fireblocks.models.error_codes import ErrorCodes +from fireblocks.models.embedded_wallet_setup_status_response import ( + EmbeddedWalletSetupStatusResponse, +) +from fireblocks.models.enable_device import EnableDevice +from fireblocks.models.enable_wallet import EnableWallet from fireblocks.models.error_response import ErrorResponse from fireblocks.models.error_response_error import ErrorResponseError from fireblocks.models.error_schema import ErrorSchema @@ -542,6 +577,9 @@ from fireblocks.models.estimated_transaction_fee_response import ( EstimatedTransactionFeeResponse, ) +from fireblocks.models.ethereum_blockchain_data import EthereumBlockchainData +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress +from fireblocks.models.european_sepa_destination import EuropeanSEPADestination from fireblocks.models.exchange_account import ExchangeAccount from fireblocks.models.exchange_asset import ExchangeAsset from fireblocks.models.exchange_settlement_transactions_response import ( @@ -563,14 +601,31 @@ ) from fireblocks.models.execution_response_details import ExecutionResponseDetails from fireblocks.models.execution_screening_operation import ExecutionScreeningOperation -from fireblocks.models.execution_step import ExecutionStep -from fireblocks.models.execution_step_details import ExecutionStepDetails from fireblocks.models.execution_step_error import ExecutionStepError from fireblocks.models.execution_step_status_enum import ExecutionStepStatusEnum from fireblocks.models.execution_step_type import ExecutionStepType from fireblocks.models.execution_transfer_operation import ExecutionTransferOperation from fireblocks.models.external_account import ExternalAccount +from fireblocks.models.external_account_local_bank_africa import ( + ExternalAccountLocalBankAfrica, +) +from fireblocks.models.external_account_local_bank_africa_type import ( + ExternalAccountLocalBankAfricaType, +) +from fireblocks.models.external_account_mobile_money import ExternalAccountMobileMoney +from fireblocks.models.external_account_mobile_money_provider import ( + ExternalAccountMobileMoneyProvider, +) +from fireblocks.models.external_account_mobile_money_type import ( + ExternalAccountMobileMoneyType, +) +from fireblocks.models.external_account_sender_information import ( + ExternalAccountSenderInformation, +) +from fireblocks.models.external_account_type import ExternalAccountType from fireblocks.models.external_wallet_asset import ExternalWalletAsset +from fireblocks.models.failure import Failure +from fireblocks.models.failure_reason import FailureReason from fireblocks.models.fee import Fee from fireblocks.models.fee_breakdown import FeeBreakdown from fireblocks.models.fee_breakdown_one_of import FeeBreakdownOneOf @@ -579,12 +634,15 @@ from fireblocks.models.fee_level import FeeLevel from fireblocks.models.fee_payer_info import FeePayerInfo from fireblocks.models.fee_properties_details import FeePropertiesDetails +from fireblocks.models.fee_type_enum import FeeTypeEnum from fireblocks.models.fetch_abi_request_dto import FetchAbiRequestDto from fireblocks.models.fiat_account import FiatAccount from fireblocks.models.fiat_account_type import FiatAccountType from fireblocks.models.fiat_asset import FiatAsset from fireblocks.models.fiat_destination import FiatDestination +from fireblocks.models.fiat_payment_metadata import FiatPaymentMetadata from fireblocks.models.fiat_transfer import FiatTransfer +from fireblocks.models.fixed_amount_type_enum import FixedAmountTypeEnum from fireblocks.models.fixed_fee import FixedFee from fireblocks.models.freeze_transaction_response import FreezeTransactionResponse from fireblocks.models.function_doc import FunctionDoc @@ -618,6 +676,7 @@ from fireblocks.models.get_linked_collections_paginated_response import ( GetLinkedCollectionsPaginatedResponse, ) +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse from fireblocks.models.get_max_spendable_amount_response import ( GetMaxSpendableAmountResponse, ) @@ -649,6 +708,7 @@ from fireblocks.models.iban_payment_info import IbanPaymentInfo from fireblocks.models.identification import Identification from fireblocks.models.idl_type import IdlType +from fireblocks.models.indicative_quote_enum import IndicativeQuoteEnum from fireblocks.models.indicative_quote_type import IndicativeQuoteType from fireblocks.models.initiator_config import InitiatorConfig from fireblocks.models.initiator_config_pattern import InitiatorConfigPattern @@ -656,7 +716,6 @@ from fireblocks.models.internal_reference import InternalReference from fireblocks.models.internal_transfer_response import InternalTransferResponse from fireblocks.models.invalid_paramater_value_error import InvalidParamaterValueError -from fireblocks.models.job import Job from fireblocks.models.job_created import JobCreated from fireblocks.models.layer_zero_adapter_create_params import ( LayerZeroAdapterCreateParams, @@ -719,13 +778,7 @@ from fireblocks.models.legacy_src_or_dest_attributes_inner import ( LegacySrcOrDestAttributesInner, ) -from fireblocks.models.limit_execution_request_details import ( - LimitExecutionRequestDetails, -) -from fireblocks.models.limit_execution_response_details import ( - LimitExecutionResponseDetails, -) -from fireblocks.models.limit_type_details import LimitTypeDetails +from fireblocks.models.linked_tokens_count import LinkedTokensCount from fireblocks.models.list_assets_response import ListAssetsResponse from fireblocks.models.list_blockchains_response import ListBlockchainsResponse from fireblocks.models.list_owned_collections_response import ( @@ -746,7 +799,9 @@ MarketExecutionResponseDetails, ) from fireblocks.models.market_requote_request_details import MarketRequoteRequestDetails +from fireblocks.models.market_requote_type_enum import MarketRequoteTypeEnum from fireblocks.models.market_type_details import MarketTypeDetails +from fireblocks.models.market_type_enum import MarketTypeEnum from fireblocks.models.media_entity_response import MediaEntityResponse from fireblocks.models.merge_stake_accounts_request import MergeStakeAccountsRequest from fireblocks.models.merge_stake_accounts_response import MergeStakeAccountsResponse @@ -787,11 +842,17 @@ ) from fireblocks.models.notification_status import NotificationStatus from fireblocks.models.notification_with_data import NotificationWithData +from fireblocks.models.onchain_transaction import OnchainTransaction +from fireblocks.models.onchain_transactions_paged_response import ( + OnchainTransactionsPagedResponse, +) from fireblocks.models.one_time_address import OneTimeAddress from fireblocks.models.one_time_address_account import OneTimeAddressAccount +from fireblocks.models.one_time_address_peer_type import OneTimeAddressPeerType from fireblocks.models.one_time_address_reference import OneTimeAddressReference from fireblocks.models.operation_execution_failure import OperationExecutionFailure from fireblocks.models.order_details import OrderDetails +from fireblocks.models.order_execution_step import OrderExecutionStep from fireblocks.models.order_side import OrderSide from fireblocks.models.order_status import OrderStatus from fireblocks.models.order_summary import OrderSummary @@ -820,7 +881,7 @@ from fireblocks.models.payment_account_response import PaymentAccountResponse from fireblocks.models.payment_account_type import PaymentAccountType from fireblocks.models.payment_instructions import PaymentInstructions -from fireblocks.models.payment_instructions_details import PaymentInstructionsDetails +from fireblocks.models.payment_instructions_one_of import PaymentInstructionsOneOf from fireblocks.models.payout_init_method import PayoutInitMethod from fireblocks.models.payout_instruction import PayoutInstruction from fireblocks.models.payout_instruction_response import PayoutInstructionResponse @@ -830,6 +891,7 @@ from fireblocks.models.payout_status import PayoutStatus from fireblocks.models.peer_adapter_info import PeerAdapterInfo from fireblocks.models.peer_type import PeerType +from fireblocks.models.personal_entity_type_enum import PersonalEntityTypeEnum from fireblocks.models.personal_identification import PersonalIdentification from fireblocks.models.personal_identification_full_name import ( PersonalIdentificationFullName, @@ -838,6 +900,7 @@ from fireblocks.models.pix_destination import PixDestination from fireblocks.models.pix_payment_info import PixPaymentInfo from fireblocks.models.platform_account import PlatformAccount +from fireblocks.models.platform_peer_type import PlatformPeerType from fireblocks.models.players import Players from fireblocks.models.policy_and_validation_response import PolicyAndValidationResponse from fireblocks.models.policy_check_result import PolicyCheckResult @@ -854,13 +917,12 @@ from fireblocks.models.policy_validation import PolicyValidation from fireblocks.models.policy_verdict_action_enum import PolicyVerdictActionEnum from fireblocks.models.policy_verdict_action_enum2 import PolicyVerdictActionEnum2 -from fireblocks.models.post_order_settlement import PostOrderSettlement from fireblocks.models.postal_address import PostalAddress from fireblocks.models.pre_screening import PreScreening from fireblocks.models.prefunded_settlement import PrefundedSettlement +from fireblocks.models.prefunded_settlement_type import PrefundedSettlementType from fireblocks.models.program_call_config import ProgramCallConfig from fireblocks.models.provider import Provider -from fireblocks.models.provider_id import ProviderID from fireblocks.models.providers_list_response import ProvidersListResponse from fireblocks.models.public_key_information import PublicKeyInformation from fireblocks.models.publish_draft_request import PublishDraftRequest @@ -869,9 +931,7 @@ from fireblocks.models.quote_execution_request_details import ( QuoteExecutionRequestDetails, ) -from fireblocks.models.quote_execution_response_details import ( - QuoteExecutionResponseDetails, -) +from fireblocks.models.quote_execution_step import QuoteExecutionStep from fireblocks.models.quote_execution_type_details import QuoteExecutionTypeDetails from fireblocks.models.quote_execution_with_requote_request_details import ( QuoteExecutionWithRequoteRequestDetails, @@ -880,6 +940,7 @@ QuoteExecutionWithRequoteResponseDetails, ) from fireblocks.models.quote_properties_details import QuotePropertiesDetails +from fireblocks.models.quote_type_enum import QuoteTypeEnum from fireblocks.models.quotes_response import QuotesResponse from fireblocks.models.re_quote_details import ReQuoteDetails from fireblocks.models.re_quote_details_re_quote import ReQuoteDetailsReQuote @@ -913,9 +974,14 @@ from fireblocks.models.remove_layer_zero_peers_response import ( RemoveLayerZeroPeersResponse, ) +from fireblocks.models.rename_connected_account_request import ( + RenameConnectedAccountRequest, +) +from fireblocks.models.rename_connected_account_response import ( + RenameConnectedAccountResponse, +) from fireblocks.models.rename_cosigner import RenameCosigner from fireblocks.models.rename_vault_account_response import RenameVaultAccountResponse -from fireblocks.models.rescan_transaction import RescanTransaction from fireblocks.models.resend_failed_notifications_job_status_response import ( ResendFailedNotificationsJobStatusResponse, ) @@ -937,12 +1003,16 @@ from fireblocks.models.resend_webhooks_response import ResendWebhooksResponse from fireblocks.models.respond_to_connection_request import RespondToConnectionRequest from fireblocks.models.retry_requote_request_details import RetryRequoteRequestDetails +from fireblocks.models.retry_requote_type_enum import RetryRequoteTypeEnum from fireblocks.models.reward_info import RewardInfo from fireblocks.models.rewards_info import RewardsInfo +from fireblocks.models.role_details import RoleDetails +from fireblocks.models.role_grantee import RoleGrantee from fireblocks.models.sepa_address import SEPAAddress from fireblocks.models.sepa_destination import SEPADestination from fireblocks.models.sol_account import SOLAccount from fireblocks.models.sol_account_with_value import SOLAccountWithValue +from fireblocks.models.scope_item import ScopeItem from fireblocks.models.screening_alert_exposure_type_enum import ( ScreeningAlertExposureTypeEnum, ) @@ -1039,6 +1109,7 @@ from fireblocks.models.settlement_request_body import SettlementRequestBody from fireblocks.models.settlement_response import SettlementResponse from fireblocks.models.settlement_source_account import SettlementSourceAccount +from fireblocks.models.side import Side from fireblocks.models.signed_message import SignedMessage from fireblocks.models.signed_message_signature import SignedMessageSignature from fireblocks.models.signing_key_dto import SigningKeyDto @@ -1113,6 +1184,7 @@ from fireblocks.models.spei_destination import SpeiDestination from fireblocks.models.split_request import SplitRequest from fireblocks.models.split_response import SplitResponse +from fireblocks.models.st_eth_blockchain_data import StEthBlockchainData from fireblocks.models.stake_request import StakeRequest from fireblocks.models.stake_response import StakeResponse from fireblocks.models.staking_provider import StakingProvider @@ -1120,20 +1192,81 @@ from fireblocks.models.stellar_ripple_create_params_dto import ( StellarRippleCreateParamsDto, ) +from fireblocks.models.supported_block_chains_response import ( + SupportedBlockChainsResponse, +) +from fireblocks.models.supported_blockchain import SupportedBlockchain from fireblocks.models.swift_address import SwiftAddress from fireblocks.models.swift_destination import SwiftDestination from fireblocks.models.system_message_info import SystemMessageInfo +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse from fireblocks.models.tr_link_amount import TRLinkAmount +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 +from fireblocks.models.tr_link_amount_range import TRLinkAmountRange +from fireblocks.models.tr_link_assess_travel_rule_request import ( + TRLinkAssessTravelRuleRequest, +) +from fireblocks.models.tr_link_assess_travel_rule_response import ( + TRLinkAssessTravelRuleResponse, +) +from fireblocks.models.tr_link_assessment_decision import TRLinkAssessmentDecision +from fireblocks.models.tr_link_asset import TRLinkAsset +from fireblocks.models.tr_link_asset_data import TRLinkAssetData +from fireblocks.models.tr_link_asset_format import TRLinkAssetFormat +from fireblocks.models.tr_link_assets_list_paged_response import ( + TRLinkAssetsListPagedResponse, +) +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest +from fireblocks.models.tr_link_connect_integration_request import ( + TRLinkConnectIntegrationRequest, +) +from fireblocks.models.tr_link_create_customer_request import ( + TRLinkCreateCustomerRequest, +) +from fireblocks.models.tr_link_create_integration_request import ( + TRLinkCreateIntegrationRequest, +) +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest +from fireblocks.models.tr_link_currency import TRLinkCurrency +from fireblocks.models.tr_link_customer_integration_response import ( + TRLinkCustomerIntegrationResponse, +) +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.models.tr_link_destination_transfer_peer_path import ( + TRLinkDestinationTransferPeerPath, +) +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus +from fireblocks.models.tr_link_fiat_value import TRLinkFiatValue +from fireblocks.models.tr_link_geographic_address_request import ( + TRLinkGeographicAddressRequest, +) +from fireblocks.models.tr_link_get_supported_asset_response import ( + TRLinkGetSupportedAssetResponse, +) +from fireblocks.models.tr_link_ivms import TRLinkIvms +from fireblocks.models.tr_link_ivms_response import TRLinkIvmsResponse +from fireblocks.models.tr_link_jwk_public_key import TRLinkJwkPublicKey from fireblocks.models.tr_link_missing_trm_action import TRLinkMissingTrmAction +from fireblocks.models.tr_link_missing_trm_action2 import TRLinkMissingTrmAction2 from fireblocks.models.tr_link_missing_trm_action_enum import TRLinkMissingTrmActionEnum from fireblocks.models.tr_link_missing_trm_decision import TRLinkMissingTrmDecision from fireblocks.models.tr_link_missing_trm_rule import TRLinkMissingTrmRule +from fireblocks.models.tr_link_missing_trm_rule2 import TRLinkMissingTrmRule2 +from fireblocks.models.tr_link_one_time_address import TRLinkOneTimeAddress +from fireblocks.models.tr_link_paging import TRLinkPaging +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse +from fireblocks.models.tr_link_post_screening_action import TRLinkPostScreeningAction from fireblocks.models.tr_link_post_screening_rule import TRLinkPostScreeningRule +from fireblocks.models.tr_link_post_screening_rule2 import TRLinkPostScreeningRule2 from fireblocks.models.tr_link_pre_screening_action import TRLinkPreScreeningAction +from fireblocks.models.tr_link_pre_screening_action2 import TRLinkPreScreeningAction2 from fireblocks.models.tr_link_pre_screening_action_enum import ( TRLinkPreScreeningActionEnum, ) from fireblocks.models.tr_link_pre_screening_rule import TRLinkPreScreeningRule +from fireblocks.models.tr_link_pre_screening_rule2 import TRLinkPreScreeningRule2 +from fireblocks.models.tr_link_provider_data import TRLinkProviderData from fireblocks.models.tr_link_provider_result import TRLinkProviderResult from fireblocks.models.tr_link_provider_result_with_rule import ( TRLinkProviderResultWithRule, @@ -1141,6 +1274,9 @@ from fireblocks.models.tr_link_provider_result_with_rule2 import ( TRLinkProviderResultWithRule2, ) +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest from fireblocks.models.tr_link_registration_result import TRLinkRegistrationResult from fireblocks.models.tr_link_registration_result_full_payload import ( TRLinkRegistrationResultFullPayload, @@ -1152,10 +1288,46 @@ from fireblocks.models.tr_link_result import TRLinkResult from fireblocks.models.tr_link_result_full_payload import TRLinkResultFullPayload from fireblocks.models.tr_link_rule_base import TRLinkRuleBase +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import ( + TRLinkSetDestinationTravelRuleMessageIdRequest, +) +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import ( + TRLinkSetDestinationTravelRuleMessageIdResponse, +) +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import ( + TRLinkSetTransactionTravelRuleMessageIdRequest, +) +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import ( + TRLinkSetTransactionTravelRuleMessageIdResponse, +) +from fireblocks.models.tr_link_source_transfer_peer_path import ( + TRLinkSourceTransferPeerPath, +) +from fireblocks.models.tr_link_test_connection_response import ( + TRLinkTestConnectionResponse, +) +from fireblocks.models.tr_link_thresholds import TRLinkThresholds +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from fireblocks.models.tr_link_transfer_peer_path import TRLinkTransferPeerPath +from fireblocks.models.tr_link_trm_direction import TRLinkTrmDirection +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse from fireblocks.models.tr_link_trm_screening_status import TRLinkTrmScreeningStatus from fireblocks.models.tr_link_trm_screening_status_enum import ( TRLinkTrmScreeningStatusEnum, ) +from fireblocks.models.tr_link_trm_status import TRLinkTrmStatus +from fireblocks.models.tr_link_txn_info import TRLinkTxnInfo +from fireblocks.models.tr_link_update_customer_request import ( + TRLinkUpdateCustomerRequest, +) +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto +from fireblocks.models.tr_link_vasp_geographic_address import ( + TRLinkVaspGeographicAddress, +) +from fireblocks.models.tr_link_vasp_list_dto import TRLinkVaspListDto +from fireblocks.models.tr_link_vasp_national_identification import ( + TRLinkVaspNationalIdentification, +) from fireblocks.models.tr_link_verdict import TRLinkVerdict from fireblocks.models.tr_link_verdict_enum import TRLinkVerdictEnum from fireblocks.models.tag import Tag @@ -1163,15 +1335,16 @@ TagAttachmentOperationAction, ) from fireblocks.models.tags_paged_response import TagsPagedResponse -from fireblocks.models.task import Task from fireblocks.models.templates_paginated_response import TemplatesPaginatedResponse from fireblocks.models.third_party_routing import ThirdPartyRouting -from fireblocks.models.time_in_force import TimeInForce from fireblocks.models.time_period_config import TimePeriodConfig from fireblocks.models.time_period_match_type import TimePeriodMatchType from fireblocks.models.to_collateral_transaction import ToCollateralTransaction from fireblocks.models.to_exchange_transaction import ToExchangeTransaction from fireblocks.models.token_collection_response import TokenCollectionResponse +from fireblocks.models.token_contract_summary_response import ( + TokenContractSummaryResponse, +) from fireblocks.models.token_info_not_found_error_response import ( TokenInfoNotFoundErrorResponse, ) @@ -1191,9 +1364,10 @@ ) from fireblocks.models.token_response import TokenResponse from fireblocks.models.tokens_paginated_response import TokensPaginatedResponse +from fireblocks.models.total_supply_item_dto import TotalSupplyItemDto +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse from fireblocks.models.trading_account_type import TradingAccountType -from fireblocks.models.trading_error_response import TradingErrorResponse -from fireblocks.models.trading_error_response_error import TradingErrorResponseError +from fireblocks.models.trading_error_schema import TradingErrorSchema from fireblocks.models.trading_provider import TradingProvider from fireblocks.models.transaction import Transaction from fireblocks.models.transaction_direction import TransactionDirection @@ -1338,7 +1512,17 @@ ) from fireblocks.models.travel_rule_vasp_for_vault import TravelRuleVaspForVault from fireblocks.models.travel_rule_verdict_enum import TravelRuleVerdictEnum +from fireblocks.models.trust_proof_of_address_create_response import ( + TrustProofOfAddressCreateResponse, +) +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest +from fireblocks.models.trust_proof_of_address_response import ( + TrustProofOfAddressResponse, +) from fireblocks.models.tx_log import TxLog +from fireblocks.models.typed_message_transaction_status_enum import ( + TypedMessageTransactionStatusEnum, +) from fireblocks.models.us_wire_address import USWireAddress from fireblocks.models.us_wire_destination import USWireDestination from fireblocks.models.unfreeze_transaction_response import UnfreezeTransactionResponse @@ -1378,9 +1562,6 @@ from fireblocks.models.validate_layer_zero_channel_response import ( ValidateLayerZeroChannelResponse, ) -from fireblocks.models.validated_transactions_for_rescan import ( - ValidatedTransactionsForRescan, -) from fireblocks.models.validation_key_dto import ValidationKeyDto from fireblocks.models.validator import Validator from fireblocks.models.vault_account import VaultAccount @@ -1403,15 +1584,12 @@ from fireblocks.models.vault_accounts_tag_attachment_operations_response import ( VaultAccountsTagAttachmentOperationsResponse, ) -from fireblocks.models.vault_accounts_tag_attachments_request import ( - VaultAccountsTagAttachmentsRequest, -) from fireblocks.models.vault_action_status import VaultActionStatus from fireblocks.models.vault_asset import VaultAsset from fireblocks.models.vault_wallet_address import VaultWalletAddress from fireblocks.models.vendor_dto import VendorDto from fireblocks.models.verdict_config import VerdictConfig -from fireblocks.models.version import Version +from fireblocks.models.version_summary import VersionSummary from fireblocks.models.wallet_asset import WalletAsset from fireblocks.models.wallet_asset_additional_info import WalletAssetAdditionalInfo from fireblocks.models.webhook import Webhook diff --git a/fireblocks/additional_options.py b/fireblocks/additional_options.py index 53327a22..12b71da1 100644 --- a/fireblocks/additional_options.py +++ b/fireblocks/additional_options.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/__init__.py b/fireblocks/api/__init__.py index 1da789d2..67dacdff 100644 --- a/fireblocks/api/__init__.py +++ b/fireblocks/api/__init__.py @@ -2,7 +2,6 @@ # import apis into api package from fireblocks.api.api_user_api import ApiUserApi -from fireblocks.api.assets_api import AssetsApi from fireblocks.api.audit_logs_api import AuditLogsApi from fireblocks.api.blockchains_assets_api import BlockchainsAssetsApi from fireblocks.api.compliance_api import ComplianceApi @@ -20,19 +19,20 @@ from fireblocks.api.fiat_accounts_api import FiatAccountsApi from fireblocks.api.gas_stations_api import GasStationsApi from fireblocks.api.internal_wallets_api import InternalWalletsApi -from fireblocks.api.job_management_api import JobManagementApi from fireblocks.api.key_link_beta_api import KeyLinkBetaApi from fireblocks.api.keys_beta_api import KeysBetaApi from fireblocks.api.nfts_api import NFTsApi from fireblocks.api.network_connections_api import NetworkConnectionsApi from fireblocks.api.ota_beta_api import OTABetaApi from fireblocks.api.off_exchanges_api import OffExchangesApi +from fireblocks.api.onchain_data_api import OnchainDataApi from fireblocks.api.payments_payout_api import PaymentsPayoutApi from fireblocks.api.policy_editor_v2_beta_api import PolicyEditorV2BetaApi from fireblocks.api.policy_editor_beta_api import PolicyEditorBetaApi from fireblocks.api.reset_device_api import ResetDeviceApi from fireblocks.api.smart_transfer_api import SmartTransferApi from fireblocks.api.staking_api import StakingApi +from fireblocks.api.tr_link_api import TRLinkApi from fireblocks.api.tags_api import TagsApi from fireblocks.api.tokenization_api import TokenizationApi from fireblocks.api.trading_beta_api import TradingBetaApi diff --git a/fireblocks/api/api_user_api.py b/fireblocks/api/api_user_api.py index da9a5725..5941dee2 100644 --- a/fireblocks/api/api_user_api.py +++ b/fireblocks/api/api_user_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -61,9 +61,9 @@ def create_api_user( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Create Api user + """Create API Key - Creates Api user in your tenant + Create a new API key in your workspace. Learn more about Fireblocks API Keys management in the following [guide](https://developers.fireblocks.com/docs/manage-api-keys).
    Endpoint Permission: Admin, Non-Signing Admin. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -211,9 +211,9 @@ def get_api_users( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[GetAPIUsersResponse]]: - """Get Api users + """Get API Keys - Get Api users of your tenant + List all API keys in your workspace. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api/assets_api.py b/fireblocks/api/assets_api.py deleted file mode 100644 index 17b9ff7e..00000000 --- a/fireblocks/api/assets_api.py +++ /dev/null @@ -1,191 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - -import warnings -from concurrent.futures import Future -from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt -from typing import Any, Dict, List, Optional, Tuple, Union -from typing_extensions import Annotated - -from pydantic import Field, StrictStr -from typing import Optional -from typing_extensions import Annotated -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest -from fireblocks.models.job_created import JobCreated - -from fireblocks.api_client import ApiClient, RequestSerialized -from fireblocks.api_response import ApiResponse -from fireblocks.rest import RESTResponseType -from fireblocks.validation_utils import validate_not_empty_string - - -class AssetsApi: - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None) -> None: - if api_client is None: - api_client = ApiClient.get_default() - self.api_client = api_client - - - @validate_call - def create_assets_bulk( - self, - create_assets_bulk_request: CreateAssetsBulkRequest, - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[JobCreated]]: - """Bulk creation of wallets - - Create multiple wallets for a given vault account by running an async job.
    **Note**: - These endpoints are currently in beta and might be subject to changes. - We limit accounts to 10k per operation and 200k per customer during beta testing. - Currently, we are only supporting EVM wallets. - - :param create_assets_bulk_request: (required) - :type create_assets_bulk_request: CreateAssetsBulkRequest - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - - _param = self._create_assets_bulk_serialize( - create_assets_bulk_request=create_assets_bulk_request, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "JobCreated", - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _create_assets_bulk_serialize( - self, - create_assets_bulk_request, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - if create_assets_bulk_request is not None: - _body_params = create_assets_bulk_request - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/vault/assets/bulk', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - diff --git a/fireblocks/api/audit_logs_api.py b/fireblocks/api/audit_logs_api.py index 6b4af32b..fe8f98f5 100644 --- a/fireblocks/api/audit_logs_api.py +++ b/fireblocks/api/audit_logs_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -62,7 +62,7 @@ def get_audit_logs( ) -> Future[ApiResponse[GetAuditLogsResponse]]: """Get audit logs - Get all audits + Get Audit logs for the last Day/Week. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param time_period: The last time period to fetch audit logs :type time_period: str diff --git a/fireblocks/api/blockchains_assets_api.py b/fireblocks/api/blockchains_assets_api.py index 4233c734..aff3f4ed 100644 --- a/fireblocks/api/blockchains_assets_api.py +++ b/fireblocks/api/blockchains_assets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -208,9 +208,9 @@ def get_blockchain( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[BlockchainResponse]]: - """Get an blockchain + """Get a Blockchain by ID - Returns an blockchain by ID or legacyID. + Returns a blockchain by ID or legacyID. :param id: The ID or legacyId of the blockchain (required) :type id: str @@ -338,9 +338,9 @@ def get_supported_assets( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[AssetTypeResponse]]]: - """List all asset types supported by Fireblocks - legacy endpoint + """List assets (Legacy) - Legacy Endpoint – Retrieves all assets supported by Fireblocks in your workspace without extended information.
    **Note**: - This endpoint will remain available for the foreseeable future and is not deprecated.
    - The `listAssets` endpoint provides more detailed asset information and improved performance.
    - We recommend transitioning to the `listAssets` endpoint for better results. + **This legacy endpoint has not been deprecated but it should not be used in your operations. Instead, use the new [List assets](https://developers.fireblocks.com/reference/listassets) endpoint for better performance and to retrieve more detailed asset information.** Retrieves all assets supported by Fireblocks in your workspace. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -470,7 +470,7 @@ def list_assets( ) -> Future[ApiResponse[ListAssetsResponse]]: """List assets - Retrieves all assets supported by Fireblocks in your workspace, providing extended information and enhanced performance compared to the legacy `supported_assets` endpoint.
    **Note**: - We will continue displaying and supporting the legacy ID (API ID). Since not all Fireblocks services fully support the new Assets UUID, please use only the legacy ID until further notice.
    + Retrieves a paginated list of all assets supported by Fireblocks in your workspace **Note:** We will continue to support and display the legacy ID (API ID). Since not all Fireblocks services fully support the new Assets UUID, please use only the legacy ID until further notice. :param blockchain_id: Blockchain id of the assets :type blockchain_id: str @@ -669,7 +669,7 @@ def list_blockchains( ) -> Future[ApiResponse[ListBlockchainsResponse]]: """List blockchains - Returns all blockchains supported by Fireblocks. + Returns all blockchains supported by Fireblocks.
    :param protocol: Blockchain protocol :type protocol: str @@ -842,7 +842,7 @@ def register_new_asset( ) -> Future[ApiResponse[AssetResponse]]: """Register an asset - Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR - Solana - Sui + Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR - Solana - Sui - TON :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str diff --git a/fireblocks/api/compliance_api.py b/fireblocks/api/compliance_api.py index 927d62c8..393fb0e0 100644 --- a/fireblocks/api/compliance_api.py +++ b/fireblocks/api/compliance_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/compliance_screening_configuration_api.py b/fireblocks/api/compliance_screening_configuration_api.py index 3a1701fd..0190ef5a 100644 --- a/fireblocks/api/compliance_screening_configuration_api.py +++ b/fireblocks/api/compliance_screening_configuration_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/connected_accounts_beta_api.py b/fireblocks/api/connected_accounts_beta_api.py index 13a15af4..fa32265d 100644 --- a/fireblocks/api/connected_accounts_beta_api.py +++ b/fireblocks/api/connected_accounts_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,6 +26,8 @@ from fireblocks.models.connected_account_trading_pairs_response import ConnectedAccountTradingPairsResponse from fireblocks.models.connected_accounts_response import ConnectedAccountsResponse from fireblocks.models.connected_single_account_response import ConnectedSingleAccountResponse +from fireblocks.models.rename_connected_account_request import RenameConnectedAccountRequest +from fireblocks.models.rename_connected_account_response import RenameConnectedAccountResponse from fireblocks.api_client import ApiClient, RequestSerialized from fireblocks.api_response import ApiResponse @@ -46,6 +48,135 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def disconnect_connected_account( + self, + account_id: Annotated[str, Field(min_length=1, strict=True, description="The ID of the account to disconnect.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[None]]: + """Disconnect connected account + + Disconnect a connected account by ID.
    **Note**: - This endpoint is currently in beta and might be subject to changes. + + :param account_id: The ID of the account to disconnect. (required) + :type account_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="disconnect_connected_account", param_name="account_id", param_value=account_id) + + _param = self._disconnect_connected_account_serialize( + account_id=account_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _disconnect_connected_account_serialize( + self, + account_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if account_id is not None: + _path_params['accountId'] = account_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/connected_accounts/{accountId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_connected_account( self, @@ -65,7 +196,7 @@ def get_connected_account( ) -> Future[ApiResponse[ConnectedSingleAccountResponse]]: """Get connected account - Retrieve detailed information about a specific connected account by ID.
    **Note**: - This endpoint is currently in beta and might be subject to changes. + Retrieve detailed information about a specific connected account by ID. **Note:** This endpoint is currently in beta and might be subject to changes. :param account_id: The ID of the account to fetch. (required) :type account_id: str @@ -196,7 +327,7 @@ def get_connected_account_balances( ) -> Future[ApiResponse[ConnectedAccountBalancesResponse]]: """Get balances for an account - Retrieve current asset balances for a specific connected account as a flat list (one row per assetId, balanceType)
    **Note**: - This endpoint is currently in beta and might be subject to changes. + Retrieve current asset balances for a specific connected account as a flat list (one row per `assetId`, `balanceType`). **Note:** This endpoint is currently in beta and might be subject to changes. :param account_id: The ID of the account to fetch balances for. (required) :type account_id: str @@ -343,7 +474,7 @@ def get_connected_account_rates( ) -> Future[ApiResponse[ConnectedAccountRateResponse]]: """Get exchange rates for an account - Retrieve current exchange rates for converting between specific assets in a connected account. + Retrieve current exchange rates for converting between specific assets in a connected account. **Note:** This endpoint is currently in beta and might be subject to changes. :param account_id: The ID of the account to fetch rates for. (required) :type account_id: str @@ -492,7 +623,7 @@ def get_connected_account_trading_pairs( ) -> Future[ApiResponse[ConnectedAccountTradingPairsResponse]]: """Get supported trading pairs for an account - Retrieve all asset trading pairs supported by a specific connected account, including the pair type (quote, market, onOffRamp). + Retrieve all asset trading pairs supported by a specific connected account, including the pair type (`quote`, `market`, `onOffRamp`). **Note:** This endpoint is currently in beta and might be subject to changes. :param account_id: The ID of the account to fetch supported pairs for. (required) :type account_id: str @@ -639,7 +770,7 @@ def get_connected_accounts( ) -> Future[ApiResponse[ConnectedAccountsResponse]]: """Get connected accounts - Returns all connected accounts
    **Note**: - This endpoint is currently in beta and might be subject to changes. + Returns all connected accounts. **Note:** This endpoint is currently in beta and might be subject to changes. :param main_accounts: Whether to include only main accounts in the response. :type main_accounts: bool @@ -764,3 +895,164 @@ def _get_connected_accounts_serialize( ) + + + @validate_call + def rename_connected_account( + self, + account_id: Annotated[str, Field(min_length=1, strict=True, description="The unique identifier of the connected account")], + rename_connected_account_request: RenameConnectedAccountRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[RenameConnectedAccountResponse]]: + """Rename Connected Account + + Rename a connected account by account ID. **Note:** This endpoint is currently in beta and might be subject to changes. + + :param account_id: The unique identifier of the connected account (required) + :type account_id: str + :param rename_connected_account_request: (required) + :type rename_connected_account_request: RenameConnectedAccountRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="rename_connected_account", param_name="account_id", param_value=account_id) + + _param = self._rename_connected_account_serialize( + account_id=account_id, + rename_connected_account_request=rename_connected_account_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "RenameConnectedAccountResponse", + '400': "ConnectedAccountErrorResponse", + '401': "ConnectedAccountErrorResponse", + '403': "ConnectedAccountErrorResponse", + '404': "ConnectedAccountErrorResponse", + '409': "ConnectedAccountErrorResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _rename_connected_account_serialize( + self, + account_id, + rename_connected_account_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if account_id is not None: + _path_params['accountId'] = account_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if rename_connected_account_request is not None: + _body_params = rename_connected_account_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/connected_accounts/{accountId}/rename', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/fireblocks/api/console_user_api.py b/fireblocks/api/console_user_api.py index fe7ac83a..1dad6658 100644 --- a/fireblocks/api/console_user_api.py +++ b/fireblocks/api/console_user_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -63,7 +63,7 @@ def create_console_user( ) -> Future[ApiResponse[None]]: """Create console user - Creates console user in your tenant + Create console users in your workspace - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions. Learn more about Fireblocks Users management in the following [guide](https://developers.fireblocks.com/docs/manage-users).
    Endpoint Permission: Admin, Non-Signing Admin. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -213,7 +213,7 @@ def get_console_users( ) -> Future[ApiResponse[GetConsoleUsersResponse]]: """Get console users - Get console users for your tenant + Get console users for your workspace. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api/contract_interactions_api.py b/fireblocks/api/contract_interactions_api.py index 75d7617e..aa812105 100644 --- a/fireblocks/api/contract_interactions_api.py +++ b/fireblocks/api/contract_interactions_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -22,6 +22,7 @@ from typing import List, Optional from typing_extensions import Annotated from fireblocks.models.contract_abi_response_dto import ContractAbiResponseDto +from fireblocks.models.contract_address_response import ContractAddressResponse from fireblocks.models.contract_data_decode_request import ContractDataDecodeRequest from fireblocks.models.contract_data_decoded_response import ContractDataDecodedResponse from fireblocks.models.parameter_with_value import ParameterWithValue @@ -214,11 +215,155 @@ def _decode_contract_data_serialize( + @validate_call + def get_contract_address( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + tx_hash: Annotated[StrictStr, Field(description="The transaction hash")], + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[ContractAddressResponse]]: + """Get contract address by transaction hash + + Retrieve the contract address by blockchain native asset ID and transaction hash + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param tx_hash: The transaction hash (required) + :type tx_hash: str + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_contract_address", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_contract_address", param_name="tx_hash", param_value=tx_hash) + + _param = self._get_contract_address_serialize( + base_asset_id=base_asset_id, + tx_hash=tx_hash, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ContractAddressResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_contract_address_serialize( + self, + base_asset_id, + tx_hash, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if tx_hash is not None: + _path_params['txHash'] = tx_hash + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/contract_interactions/base_asset_id/{baseAssetId}/tx_hash/{txHash}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_deployed_contract_abi( self, contract_address: Annotated[StrictStr, Field(description="The contract's onchain address")], - base_asset_id: StrictStr, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ None, @@ -235,11 +380,11 @@ def get_deployed_contract_abi( ) -> Future[ApiResponse[ContractAbiResponseDto]]: """Return deployed contract's ABI - Return deployed contract's ABI by blockchain native asset id and contract address + Return deployed contract's ABI by blockchain native asset id and contract address.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. :param contract_address: The contract's onchain address (required) :type contract_address: str - :param base_asset_id: (required) + :param base_asset_id: The blockchain base assetId (required) :type base_asset_id: str :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -378,7 +523,7 @@ def get_transaction_receipt( ) -> Future[ApiResponse[TransactionReceiptResponse]]: """Get transaction receipt - Retrieve the transaction receipt by blockchain native asset ID and transaction hash + Retrieve the transaction receipt by blockchain native asset ID and transaction hash > **Note** > This functionality is exclusively available for EVM (Ethereum Virtual Machine) compatible chains.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. :param base_asset_id: The blockchain base assetId (required) :type base_asset_id: str diff --git a/fireblocks/api/contract_templates_api.py b/fireblocks/api/contract_templates_api.py index d1dedb11..c21ad9af 100644 --- a/fireblocks/api/contract_templates_api.py +++ b/fireblocks/api/contract_templates_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -26,6 +26,7 @@ from fireblocks.models.contract_deploy_response import ContractDeployResponse from fireblocks.models.contract_template_dto import ContractTemplateDto from fireblocks.models.contract_upload_request import ContractUploadRequest +from fireblocks.models.supported_block_chains_response import SupportedBlockChainsResponse from fireblocks.models.templates_paginated_response import TemplatesPaginatedResponse from fireblocks.api_client import ApiClient, RequestSerialized @@ -611,7 +612,7 @@ def get_contract_templates( page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page")] = None, page_size: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="Number of items per page, requesting more then max will return max items")] = None, type: Annotated[Optional[StrictStr], Field(description="The type of the contract templates you wish to retrieve. Can accept one type, more or none")] = None, - initialization_phase: Optional[StrictStr] = None, + initialization_phase: Annotated[Optional[StrictStr], Field(description="For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -627,7 +628,7 @@ def get_contract_templates( ) -> Future[ApiResponse[TemplatesPaginatedResponse]]: """List all contract templates - Return minimal representation of all the contract templates available for the workspace + Return minimal representation of all the contract templates available for the workspace.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param limit: Items per page (max 100) :type limit: float @@ -639,7 +640,7 @@ def get_contract_templates( :type page_size: float :param type: The type of the contract templates you wish to retrieve. Can accept one type, more or none :type type: str - :param initialization_phase: + :param initialization_phase: For standalone contracts use ON_DEPLOYMENT and for contracts that are behind proxies use POST_DEPLOYMENT :type initialization_phase: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -918,6 +919,136 @@ def _get_function_abi_by_contract_template_id_serialize( + @validate_call + def get_supported_blockchains_by_template_id( + self, + contract_template_id: Annotated[StrictStr, Field(description="The Contract Template identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[SupportedBlockChainsResponse]]: + """Get supported blockchains for the template + + Get supported blockchains for the template + + :param contract_template_id: The Contract Template identifier (required) + :type contract_template_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_supported_blockchains_by_template_id", param_name="contract_template_id", param_value=contract_template_id) + + _param = self._get_supported_blockchains_by_template_id_serialize( + contract_template_id=contract_template_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SupportedBlockChainsResponse", + '404': "HttpContractDoesNotExistError", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_supported_blockchains_by_template_id_serialize( + self, + contract_template_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if contract_template_id is not None: + _path_params['contractTemplateId'] = contract_template_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/tokenization/templates/{contractTemplateId}/supported_blockchains', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def upload_contract_template( self, diff --git a/fireblocks/api/contracts_api.py b/fireblocks/api/contracts_api.py index bdad0a29..86a14ad0 100644 --- a/fireblocks/api/contracts_api.py +++ b/fireblocks/api/contracts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -65,9 +65,9 @@ def add_contract_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ExternalWalletAsset]]: - """Add an asset to a contract + """Add an asset to a whitelisted contract - Adds an asset to an existing contract. + Adds an asset to a whitelisted contract.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param contract_id: The ID of the contract (required) :type contract_id: str @@ -227,9 +227,9 @@ def create_contract( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[UnmanagedWallet]]: - """Create a contract + """Add a contract - Creates a new contract. + Adds a contract to the workspace whitelist.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -376,7 +376,7 @@ def delete_contract( ) -> Future[ApiResponse[None]]: """Delete a contract - Deletes a contract by ID. + Deletes a contract by ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param contract_id: The ID of the contract to delete (required) :type contract_id: str @@ -504,9 +504,9 @@ def delete_contract_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Delete a contract asset + """Delete an asset from a whitelisted contract - Deletes a contract asset by ID. + Deletes a whitelisted contract asset by ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param contract_id: The ID of the contract (required) :type contract_id: str @@ -640,9 +640,9 @@ def get_contract( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[UnmanagedWallet]]: - """Find a specific contract + """Find a Specific Whitelisted Contract - Returns a contract by ID. + Returns a whitelisted contract by Fireblocks Contract ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param contract_id: The ID of the contract to return (required) :type contract_id: str @@ -770,9 +770,9 @@ def get_contract_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ExternalWalletAsset]]: - """Find a contract asset + """Find a whitelisted contract's asset - Returns a contract asset by ID. + Returns a whitelisted contract's asset by ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param contract_id: The ID of the contract (required) :type contract_id: str @@ -905,9 +905,9 @@ def get_contracts( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[UnmanagedWallet]]]: - """List contracts + """List Whitelisted Contracts - Gets a list of contracts. + Gets a list of whitelisted contracts.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api/cosigners_beta_api.py b/fireblocks/api/cosigners_beta_api.py index 1fadcf8b..7f3d0732 100644 --- a/fireblocks/api/cosigners_beta_api.py +++ b/fireblocks/api/cosigners_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -73,7 +73,7 @@ def add_cosigner( ) -> Future[ApiResponse[AddCosignerResponse]]: """Add cosigner - Add a new cosigner. The cosigner will be pending pairing until the API key is manually paired + Add a new cosigner. The cosigner will be pending pairing until the API key is manually paired
    Endpoint Permission: Admin and Non-Signing Admin. :param add_cosigner_request: (required) :type add_cosigner_request: AddCosignerRequest @@ -221,7 +221,7 @@ def get_api_key( ) -> Future[ApiResponse[ApiKey]]: """Get API key - Get an API key by ID **Note:** These endpoints are currently in beta and might be subject to changes. + Get an API key by ID. **Note:** These endpoints are currently in beta and might be subject to changes.
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -360,7 +360,7 @@ def get_api_keys( ) -> Future[ApiResponse[ApiKeysPaginatedResponse]]: """Get all API keys - Get all cosigner paired API keys (paginated) + Get all cosigner paired API keys (paginated). **Note:** These endpoints are currently in beta and might be subject to changes.
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -513,7 +513,7 @@ def get_cosigner( ) -> Future[ApiResponse[Cosigner]]: """Get cosigner - Get a cosigner by ID **Note:** These endpoints are currently in beta and might be subject to changes. + Get a cosigner by ID. **Note:** These endpoints are currently in beta and might be subject to changes.
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -644,7 +644,7 @@ def get_cosigners( ) -> Future[ApiResponse[CosignersPaginatedResponse]]: """Get all cosigners - Get all workspace cosigners (paginated) **Note:** These endpoints are currently in beta and might be subject to changes. + Get all workspace cosigners (paginated). **Note:** These endpoints are currently in beta and might be subject to changes.
    Endpoint Permission: Admin and Non-Signing Admin. :param order: ASC / DESC ordering (default DESC) :type order: str @@ -792,7 +792,7 @@ def get_request_status( ) -> Future[ApiResponse[Status]]: """Get request status - Get the status of an asynchronous request + Get the status of an asynchronous request
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -938,7 +938,7 @@ def pair_api_key( ) -> Future[ApiResponse[PairApiKeyResponse]]: """Pair API key - Pair an API key to a cosigner + Pair an API key to a cosigner
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -1100,7 +1100,7 @@ def rename_cosigner( ) -> Future[ApiResponse[Cosigner]]: """Rename cosigner - Rename a cosigner by ID **Note:** These endpoints are currently in beta and might be subject to changes. + Rename a cosigner by ID. **Note:** These endpoints are currently in beta and might be subject to changes.
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -1249,7 +1249,7 @@ def unpair_api_key( ) -> Future[ApiResponse[ApiKey]]: """Unpair API key - Unpair an API key from a cosigner + Unpair an API key from a cosigner
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str @@ -1387,7 +1387,7 @@ def update_callback_handler( ) -> Future[ApiResponse[UpdateCallbackHandlerResponse]]: """Update API key callback handler - Update the callback handler of an API key + Update the callback handler of an API key
    Endpoint Permission: Admin and Non-Signing Admin. :param cosigner_id: The unique identifier of the cosigner (required) :type cosigner_id: str diff --git a/fireblocks/api/deployed_contracts_api.py b/fireblocks/api/deployed_contracts_api.py index b9485e49..559afec1 100644 --- a/fireblocks/api/deployed_contracts_api.py +++ b/fireblocks/api/deployed_contracts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/embedded_wallets_api.py b/fireblocks/api/embedded_wallets_api.py index 8c609e85..11839922 100644 --- a/fireblocks/api/embedded_wallets_api.py +++ b/fireblocks/api/embedded_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ from typing_extensions import Annotated from pydantic import Field, StrictBool, StrictFloat, StrictInt, StrictStr, field_validator -from typing import Optional, Union +from typing import List, Optional, Union from typing_extensions import Annotated from fireblocks.models.embedded_wallet import EmbeddedWallet from fireblocks.models.embedded_wallet_account import EmbeddedWalletAccount @@ -31,7 +31,11 @@ from fireblocks.models.embedded_wallet_latest_backup_response import EmbeddedWalletLatestBackupResponse from fireblocks.models.embedded_wallet_paginated_addresses_response import EmbeddedWalletPaginatedAddressesResponse from fireblocks.models.embedded_wallet_paginated_assets_response import EmbeddedWalletPaginatedAssetsResponse +from fireblocks.models.embedded_wallet_paginated_devices_response import EmbeddedWalletPaginatedDevicesResponse from fireblocks.models.embedded_wallet_paginated_wallets_response import EmbeddedWalletPaginatedWalletsResponse +from fireblocks.models.embedded_wallet_setup_status_response import EmbeddedWalletSetupStatusResponse +from fireblocks.models.enable_device import EnableDevice +from fireblocks.models.enable_wallet import EnableWallet from fireblocks.models.public_key_information import PublicKeyInformation from fireblocks.api_client import ApiClient, RequestSerialized @@ -205,6 +209,142 @@ def _add_embedded_wallet_asset_serialize( + @validate_call + def assign_embedded_wallet( + self, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[EmbeddedWallet]]: + """Assign a wallet + + Assign a specific Non Custodial Wallet to a user + + :param wallet_id: Wallet Id (required) + :type wallet_id: str + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="assign_embedded_wallet", param_name="wallet_id", param_value=wallet_id) + + _param = self._assign_embedded_wallet_serialize( + wallet_id=wallet_id, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "EmbeddedWallet", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _assign_embedded_wallet_serialize( + self, + wallet_id, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/ncw/wallets/{walletId}/assign', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def create_embedded_wallet( self, @@ -1216,10 +1356,14 @@ def _get_embedded_wallet_asset_balance_serialize( @validate_call - def get_embedded_wallet_device( + def get_embedded_wallet_assets( self, wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], - device_id: Annotated[StrictStr, Field(description="Device Id")], + account_id: Annotated[StrictStr, Field(description="The ID of the account")], + sort: Annotated[Optional[List[StrictStr]], Field(description="Sort by fields")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Cursor to the next page")] = None, + page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Amount of results to return in the next page")] = None, + order: Annotated[Optional[StrictStr], Field(description="Is the order ascending or descending")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1232,15 +1376,23 @@ def get_embedded_wallet_device( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletDevice]]: - """Get Embedded Wallet Device + ) -> Future[ApiResponse[EmbeddedWalletPaginatedAssetsResponse]]: + """Retrieve assets - Get specific device for a specific s Wallet + Retrieve assets for a specific account under a specific Non Custodial Wallet :param wallet_id: Wallet Id (required) :type wallet_id: str - :param device_id: Device Id (required) - :type device_id: str + :param account_id: The ID of the account (required) + :type account_id: str + :param sort: Sort by fields + :type sort: List[str] + :param page_cursor: Cursor to the next page + :type page_cursor: str + :param page_size: Amount of results to return in the next page + :type page_size: float + :param order: Is the order ascending or descending + :type order: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1263,12 +1415,16 @@ def get_embedded_wallet_device( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_embedded_wallet_device", param_name="wallet_id", param_value=wallet_id) - validate_not_empty_string(function_name="get_embedded_wallet_device", param_name="device_id", param_value=device_id) + validate_not_empty_string(function_name="get_embedded_wallet_assets", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_assets", param_name="account_id", param_value=account_id) - _param = self._get_embedded_wallet_device_serialize( + _param = self._get_embedded_wallet_assets_serialize( wallet_id=wallet_id, - device_id=device_id, + account_id=account_id, + sort=sort, + page_cursor=page_cursor, + page_size=page_size, + order=order, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1276,7 +1432,7 @@ def get_embedded_wallet_device( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletDevice", + '200': "EmbeddedWalletPaginatedAssetsResponse", 'default': "ErrorSchema", } @@ -1286,10 +1442,14 @@ def get_embedded_wallet_device( _response_types_map=_response_types_map, ) - def _get_embedded_wallet_device_serialize( + def _get_embedded_wallet_assets_serialize( self, wallet_id, - device_id, + account_id, + sort, + page_cursor, + page_size, + order, _request_auth, _content_type, _headers, @@ -1299,6 +1459,7 @@ def _get_embedded_wallet_device_serialize( _host = None _collection_formats: Dict[str, str] = { + 'sort': 'multi', } _path_params: Dict[str, str] = {} @@ -1313,9 +1474,25 @@ def _get_embedded_wallet_device_serialize( # process the path parameters if wallet_id is not None: _path_params['walletId'] = wallet_id - if device_id is not None: - _path_params['deviceId'] = device_id + if account_id is not None: + _path_params['accountId'] = account_id # process the query parameters + if sort is not None: + + _query_params.append(('sort', sort)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if order is not None: + + _query_params.append(('order', order)) + # process the header parameters # process the form parameters # process the body parameter @@ -1336,7 +1513,7 @@ def _get_embedded_wallet_device_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/ncw/wallets/{walletId}/devices/{deviceId}', + resource_path='/ncw/wallets/{walletId}/accounts/{accountId}/assets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1353,7 +1530,7 @@ def _get_embedded_wallet_device_serialize( @validate_call - def get_embedded_wallet_device_setup_state( + def get_embedded_wallet_device( self, wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], device_id: Annotated[StrictStr, Field(description="Device Id")], @@ -1369,10 +1546,10 @@ def get_embedded_wallet_device_setup_state( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletDeviceKeySetupResponse]]: - """Get device key setup state + ) -> Future[ApiResponse[EmbeddedWalletDevice]]: + """Get Embedded Wallet Device - Get the state of the specific device setup key under a specific Non Custodial Wallet + Get specific device for a specific s Wallet :param wallet_id: Wallet Id (required) :type wallet_id: str @@ -1400,10 +1577,10 @@ def get_embedded_wallet_device_setup_state( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_embedded_wallet_device_setup_state", param_name="wallet_id", param_value=wallet_id) - validate_not_empty_string(function_name="get_embedded_wallet_device_setup_state", param_name="device_id", param_value=device_id) + validate_not_empty_string(function_name="get_embedded_wallet_device", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_device", param_name="device_id", param_value=device_id) - _param = self._get_embedded_wallet_device_setup_state_serialize( + _param = self._get_embedded_wallet_device_serialize( wallet_id=wallet_id, device_id=device_id, _request_auth=_request_auth, @@ -1413,7 +1590,7 @@ def get_embedded_wallet_device_setup_state( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletDeviceKeySetupResponse", + '200': "EmbeddedWalletDevice", 'default': "ErrorSchema", } @@ -1423,7 +1600,7 @@ def get_embedded_wallet_device_setup_state( _response_types_map=_response_types_map, ) - def _get_embedded_wallet_device_setup_state_serialize( + def _get_embedded_wallet_device_serialize( self, wallet_id, device_id, @@ -1473,7 +1650,7 @@ def _get_embedded_wallet_device_setup_state_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/ncw/wallets/{walletId}/devices/{deviceId}/setup_status', + resource_path='/ncw/wallets/{walletId}/devices/{deviceId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1490,9 +1667,10 @@ def _get_embedded_wallet_device_setup_state_serialize( @validate_call - def get_embedded_wallet_latest_backup( + def get_embedded_wallet_device_setup_state( self, wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + device_id: Annotated[StrictStr, Field(description="Device Id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1505,13 +1683,15 @@ def get_embedded_wallet_latest_backup( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletLatestBackupResponse]]: - """Get wallet Latest Backup details + ) -> Future[ApiResponse[EmbeddedWalletDeviceKeySetupResponse]]: + """Get device key setup state - Get wallet Latest Backup details, including the deviceId, and backup time + Get the state of the specific device setup key under a specific Non Custodial Wallet :param wallet_id: Wallet Id (required) :type wallet_id: str + :param device_id: Device Id (required) + :type device_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1534,10 +1714,12 @@ def get_embedded_wallet_latest_backup( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_embedded_wallet_latest_backup", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_device_setup_state", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_device_setup_state", param_name="device_id", param_value=device_id) - _param = self._get_embedded_wallet_latest_backup_serialize( + _param = self._get_embedded_wallet_device_setup_state_serialize( wallet_id=wallet_id, + device_id=device_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1545,7 +1727,7 @@ def get_embedded_wallet_latest_backup( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletLatestBackupResponse", + '200': "EmbeddedWalletDeviceKeySetupResponse", 'default': "ErrorSchema", } @@ -1555,9 +1737,10 @@ def get_embedded_wallet_latest_backup( _response_types_map=_response_types_map, ) - def _get_embedded_wallet_latest_backup_serialize( + def _get_embedded_wallet_device_setup_state_serialize( self, wallet_id, + device_id, _request_auth, _content_type, _headers, @@ -1581,6 +1764,8 @@ def _get_embedded_wallet_latest_backup_serialize( # process the path parameters if wallet_id is not None: _path_params['walletId'] = wallet_id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters # process the form parameters @@ -1602,7 +1787,7 @@ def _get_embedded_wallet_latest_backup_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/ncw/wallets/{walletId}/backup/latest', + resource_path='/ncw/wallets/{walletId}/devices/{deviceId}/setup_status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1619,15 +1804,13 @@ def _get_embedded_wallet_latest_backup_serialize( @validate_call - def get_embedded_wallet_public_key_info_for_address( + def get_embedded_wallet_devices_paginated( self, - x_end_user_wallet_id: Annotated[StrictStr, Field(description="Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.")], - wallet_id: Annotated[StrictStr, Field(description="The ID of the Non-Custodial wallet")], - account_id: Annotated[StrictStr, Field(description="The ID of the account")], - asset_id: Annotated[StrictStr, Field(description="The ID of the asset")], - change: Annotated[Union[StrictFloat, StrictInt], Field(description="BIP44 derivation path - change value")], - address_index: Annotated[Union[StrictFloat, StrictInt], Field(description="BIP44 derivation path - index value")], - compressed: Annotated[Optional[StrictBool], Field(description="Compressed/Uncompressed public key format")] = None, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + sort: Annotated[Optional[List[StrictStr]], Field(description="Sort by fields")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Cursor to the next page")] = None, + page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Amount of results to return in the next page")] = None, + order: Annotated[Optional[StrictStr], Field(description="Is the order ascending or descending")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1640,25 +1823,21 @@ def get_embedded_wallet_public_key_info_for_address( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[PublicKeyInformation]]: - """Get the public key of an asset + ) -> Future[ApiResponse[EmbeddedWalletPaginatedDevicesResponse]]: + """Get registered devices - paginated - Gets the public key of an asset associated with a specific account within a Non-Custodial Wallet + Get a paginated list of registered devices for a specific Non Custodial Wallet - :param x_end_user_wallet_id: Unique ID of the End-User wallet to the API request. Required for end-user wallet operations. (required) - :type x_end_user_wallet_id: str - :param wallet_id: The ID of the Non-Custodial wallet (required) + :param wallet_id: Wallet Id (required) :type wallet_id: str - :param account_id: The ID of the account (required) - :type account_id: str - :param asset_id: The ID of the asset (required) - :type asset_id: str - :param change: BIP44 derivation path - change value (required) - :type change: float - :param address_index: BIP44 derivation path - index value (required) - :type address_index: float - :param compressed: Compressed/Uncompressed public key format - :type compressed: bool + :param sort: Sort by fields + :type sort: List[str] + :param page_cursor: Cursor to the next page + :type page_cursor: str + :param page_size: Amount of results to return in the next page + :type page_size: float + :param order: Is the order ascending or descending + :type order: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1681,19 +1860,14 @@ def get_embedded_wallet_public_key_info_for_address( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="x_end_user_wallet_id", param_value=x_end_user_wallet_id) - validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="wallet_id", param_value=wallet_id) - validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="account_id", param_value=account_id) - validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="asset_id", param_value=asset_id) + validate_not_empty_string(function_name="get_embedded_wallet_devices_paginated", param_name="wallet_id", param_value=wallet_id) - _param = self._get_embedded_wallet_public_key_info_for_address_serialize( - x_end_user_wallet_id=x_end_user_wallet_id, + _param = self._get_embedded_wallet_devices_paginated_serialize( wallet_id=wallet_id, - account_id=account_id, - asset_id=asset_id, - change=change, - address_index=address_index, - compressed=compressed, + sort=sort, + page_cursor=page_cursor, + page_size=page_size, + order=order, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1701,7 +1875,8 @@ def get_embedded_wallet_public_key_info_for_address( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PublicKeyInformation", + '200': "EmbeddedWalletPaginatedDevicesResponse", + '400': "ErrorSchema", 'default': "ErrorSchema", } @@ -1711,15 +1886,13 @@ def get_embedded_wallet_public_key_info_for_address( _response_types_map=_response_types_map, ) - def _get_embedded_wallet_public_key_info_for_address_serialize( + def _get_embedded_wallet_devices_paginated_serialize( self, - x_end_user_wallet_id, wallet_id, - account_id, - asset_id, - change, - address_index, - compressed, + sort, + page_cursor, + page_size, + order, _request_auth, _content_type, _headers, @@ -1729,6 +1902,7 @@ def _get_embedded_wallet_public_key_info_for_address_serialize( _host = None _collection_formats: Dict[str, str] = { + 'sort': 'multi', } _path_params: Dict[str, str] = {} @@ -1743,22 +1917,24 @@ def _get_embedded_wallet_public_key_info_for_address_serialize( # process the path parameters if wallet_id is not None: _path_params['walletId'] = wallet_id - if account_id is not None: - _path_params['accountId'] = account_id - if asset_id is not None: - _path_params['assetId'] = asset_id - if change is not None: - _path_params['change'] = change - if address_index is not None: - _path_params['addressIndex'] = address_index # process the query parameters - if compressed is not None: + if sort is not None: - _query_params.append(('compressed', compressed)) + _query_params.append(('sort', sort)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if order is not None: + + _query_params.append(('order', order)) # process the header parameters - if x_end_user_wallet_id is not None: - _header_params['X-End-User-Wallet-Id'] = x_end_user_wallet_id # process the form parameters # process the body parameter @@ -1778,7 +1954,7 @@ def _get_embedded_wallet_public_key_info_for_address_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info', + resource_path='/ncw/wallets/{walletId}/devices_paginated', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1795,11 +1971,761 @@ def _get_embedded_wallet_public_key_info_for_address_serialize( @validate_call - def get_embedded_wallet_supported_assets( + def get_embedded_wallet_latest_backup( self, - page_cursor: Annotated[Optional[StrictStr], Field(description="Next page cursor to fetch")] = None, - page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Items per page")] = None, - only_base_assets: Annotated[Optional[StrictBool], Field(description="Only base assets")] = None, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[EmbeddedWalletLatestBackupResponse]]: + """Get wallet Latest Backup details + + Get wallet Latest Backup details, including the deviceId, and backup time + + :param wallet_id: Wallet Id (required) + :type wallet_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_embedded_wallet_latest_backup", param_name="wallet_id", param_value=wallet_id) + + _param = self._get_embedded_wallet_latest_backup_serialize( + wallet_id=wallet_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EmbeddedWalletLatestBackupResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_embedded_wallet_latest_backup_serialize( + self, + wallet_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/ncw/wallets/{walletId}/backup/latest', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_embedded_wallet_public_key_info_for_address( + self, + x_end_user_wallet_id: Annotated[StrictStr, Field(description="Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.")], + wallet_id: Annotated[StrictStr, Field(description="The ID of the Non-Custodial wallet")], + account_id: Annotated[StrictStr, Field(description="The ID of the account")], + asset_id: Annotated[StrictStr, Field(description="The ID of the asset")], + change: Annotated[Union[StrictFloat, StrictInt], Field(description="BIP44 derivation path - change value")], + address_index: Annotated[Union[StrictFloat, StrictInt], Field(description="BIP44 derivation path - index value")], + compressed: Annotated[Optional[StrictBool], Field(description="Compressed/Uncompressed public key format")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[PublicKeyInformation]]: + """Get the public key of an asset + + Gets the public key of an asset associated with a specific account within a Non-Custodial Wallet + + :param x_end_user_wallet_id: Unique ID of the End-User wallet to the API request. Required for end-user wallet operations. (required) + :type x_end_user_wallet_id: str + :param wallet_id: The ID of the Non-Custodial wallet (required) + :type wallet_id: str + :param account_id: The ID of the account (required) + :type account_id: str + :param asset_id: The ID of the asset (required) + :type asset_id: str + :param change: BIP44 derivation path - change value (required) + :type change: float + :param address_index: BIP44 derivation path - index value (required) + :type address_index: float + :param compressed: Compressed/Uncompressed public key format + :type compressed: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="x_end_user_wallet_id", param_value=x_end_user_wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="account_id", param_value=account_id) + validate_not_empty_string(function_name="get_embedded_wallet_public_key_info_for_address", param_name="asset_id", param_value=asset_id) + + _param = self._get_embedded_wallet_public_key_info_for_address_serialize( + x_end_user_wallet_id=x_end_user_wallet_id, + wallet_id=wallet_id, + account_id=account_id, + asset_id=asset_id, + change=change, + address_index=address_index, + compressed=compressed, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "PublicKeyInformation", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_embedded_wallet_public_key_info_for_address_serialize( + self, + x_end_user_wallet_id, + wallet_id, + account_id, + asset_id, + change, + address_index, + compressed, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id + if account_id is not None: + _path_params['accountId'] = account_id + if asset_id is not None: + _path_params['assetId'] = asset_id + if change is not None: + _path_params['change'] = change + if address_index is not None: + _path_params['addressIndex'] = address_index + # process the query parameters + if compressed is not None: + + _query_params.append(('compressed', compressed)) + + # process the header parameters + if x_end_user_wallet_id is not None: + _header_params['X-End-User-Wallet-Id'] = x_end_user_wallet_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/{change}/{addressIndex}/public_key_info', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_embedded_wallet_setup_status( + self, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[EmbeddedWalletSetupStatusResponse]]: + """Get wallet key setup state + + Get the key setup state for a specific Non Custodial Wallet, including required algorithms and device setup status + + :param wallet_id: Wallet Id (required) + :type wallet_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_embedded_wallet_setup_status", param_name="wallet_id", param_value=wallet_id) + + _param = self._get_embedded_wallet_setup_status_serialize( + wallet_id=wallet_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EmbeddedWalletSetupStatusResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_embedded_wallet_setup_status_serialize( + self, + wallet_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/ncw/wallets/{walletId}/setup_status', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_embedded_wallet_supported_assets( + self, + page_cursor: Annotated[Optional[StrictStr], Field(description="Next page cursor to fetch")] = None, + page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Items per page")] = None, + only_base_assets: Annotated[Optional[StrictBool], Field(description="Only base assets")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[EmbeddedWalletPaginatedAssetsResponse]]: + """Retrieve supported assets + + Get all the available supported assets for the Non-Custodial Wallet + + :param page_cursor: Next page cursor to fetch + :type page_cursor: str + :param page_size: Items per page + :type page_size: float + :param only_base_assets: Only base assets + :type only_base_assets: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_embedded_wallet_supported_assets_serialize( + page_cursor=page_cursor, + page_size=page_size, + only_base_assets=only_base_assets, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EmbeddedWalletPaginatedAssetsResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_embedded_wallet_supported_assets_serialize( + self, + page_cursor, + page_size, + only_base_assets, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if only_base_assets is not None: + + _query_params.append(('onlyBaseAssets', only_base_assets)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/ncw/wallets/supported_assets', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_embedded_wallets( + self, + page_cursor: Annotated[Optional[StrictStr], Field(description="Next page cursor to fetch")] = None, + page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Items per page")] = None, + sort: Annotated[Optional[StrictStr], Field(description="Field(s) to use for sorting")] = None, + order: Annotated[Optional[StrictStr], Field(description="Is the order ascending or descending")] = None, + enabled: Annotated[Optional[StrictBool], Field(description="Enabled Wallets")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[EmbeddedWalletPaginatedWalletsResponse]]: + """List wallets + + Get all Non Custodial Wallets + + :param page_cursor: Next page cursor to fetch + :type page_cursor: str + :param page_size: Items per page + :type page_size: float + :param sort: Field(s) to use for sorting + :type sort: str + :param order: Is the order ascending or descending + :type order: str + :param enabled: Enabled Wallets + :type enabled: bool + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_embedded_wallets_serialize( + page_cursor=page_cursor, + page_size=page_size, + sort=sort, + order=order, + enabled=enabled, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EmbeddedWalletPaginatedWalletsResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_embedded_wallets_serialize( + self, + page_cursor, + page_size, + sort, + order, + enabled, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort is not None: + + _query_params.append(('sort', sort)) + + if order is not None: + + _query_params.append(('order', order)) + + if enabled is not None: + + _query_params.append(('enabled', enabled)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/ncw/wallets', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_public_key_info_ncw( + self, + x_end_user_wallet_id: Annotated[StrictStr, Field(description="Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.")], + wallet_id: Annotated[StrictStr, Field(description="The ID of the Non-Custodial wallet")], + derivation_path: Annotated[StrictStr, Field(description="An array of integers (passed as JSON stringified array) representing the full BIP44 derivation path of the requested public key. The first element must always be 44. ")], + algorithm: Annotated[StrictStr, Field(description="Elliptic Curve")], + compressed: Annotated[Optional[StrictBool], Field(description="Compressed/Uncompressed public key format")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1812,17 +2738,21 @@ def get_embedded_wallet_supported_assets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletPaginatedAssetsResponse]]: - """Retrieve supported assets + ) -> Future[ApiResponse[PublicKeyInformation]]: + """Get the public key for a derivation path - Get all the available supported assets for the Non-Custodial Wallet + Gets the public key information based on derivation path and signing algorithm within a Non-Custodial Wallet - :param page_cursor: Next page cursor to fetch - :type page_cursor: str - :param page_size: Items per page - :type page_size: float - :param only_base_assets: Only base assets - :type only_base_assets: bool + :param x_end_user_wallet_id: Unique ID of the End-User wallet to the API request. Required for end-user wallet operations. (required) + :type x_end_user_wallet_id: str + :param wallet_id: The ID of the Non-Custodial wallet (required) + :type wallet_id: str + :param derivation_path: An array of integers (passed as JSON stringified array) representing the full BIP44 derivation path of the requested public key. The first element must always be 44. (required) + :type derivation_path: str + :param algorithm: Elliptic Curve (required) + :type algorithm: str + :param compressed: Compressed/Uncompressed public key format + :type compressed: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1845,11 +2775,17 @@ def get_embedded_wallet_supported_assets( :return: Returns the result object. """ # noqa: E501 + validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="x_end_user_wallet_id", param_value=x_end_user_wallet_id) + validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="derivation_path", param_value=derivation_path) + validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="algorithm", param_value=algorithm) - _param = self._get_embedded_wallet_supported_assets_serialize( - page_cursor=page_cursor, - page_size=page_size, - only_base_assets=only_base_assets, + _param = self._get_public_key_info_ncw_serialize( + x_end_user_wallet_id=x_end_user_wallet_id, + wallet_id=wallet_id, + derivation_path=derivation_path, + algorithm=algorithm, + compressed=compressed, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1857,7 +2793,7 @@ def get_embedded_wallet_supported_assets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletPaginatedAssetsResponse", + '200': "PublicKeyInformation", 'default': "ErrorSchema", } @@ -1867,11 +2803,13 @@ def get_embedded_wallet_supported_assets( _response_types_map=_response_types_map, ) - def _get_embedded_wallet_supported_assets_serialize( + def _get_public_key_info_ncw_serialize( self, - page_cursor, - page_size, - only_base_assets, + x_end_user_wallet_id, + wallet_id, + derivation_path, + algorithm, + compressed, _request_auth, _content_type, _headers, @@ -1893,20 +2831,24 @@ def _get_embedded_wallet_supported_assets_serialize( _body_params: Optional[bytes] = None # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id # process the query parameters - if page_cursor is not None: + if derivation_path is not None: - _query_params.append(('pageCursor', page_cursor)) + _query_params.append(('derivationPath', derivation_path)) - if page_size is not None: + if algorithm is not None: - _query_params.append(('pageSize', page_size)) + _query_params.append(('algorithm', algorithm)) - if only_base_assets is not None: + if compressed is not None: - _query_params.append(('onlyBaseAssets', only_base_assets)) + _query_params.append(('compressed', compressed)) # process the header parameters + if x_end_user_wallet_id is not None: + _header_params['X-End-User-Wallet-Id'] = x_end_user_wallet_id # process the form parameters # process the body parameter @@ -1926,7 +2868,7 @@ def _get_embedded_wallet_supported_assets_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/ncw/wallets/supported_assets', + resource_path='/ncw/wallets/{walletId}/public_key_info', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1943,13 +2885,12 @@ def _get_embedded_wallet_supported_assets_serialize( @validate_call - def get_embedded_wallets( + def refresh_embedded_wallet_asset_balance( self, - page_cursor: Annotated[Optional[StrictStr], Field(description="Next page cursor to fetch")] = None, - page_size: Annotated[Optional[Union[Annotated[float, Field(le=400, strict=True)], Annotated[int, Field(le=400, strict=True)]]], Field(description="Items per page")] = None, - sort: Annotated[Optional[StrictStr], Field(description="Field(s) to use for sorting")] = None, - order: Annotated[Optional[StrictStr], Field(description="Is the order ascending or descending")] = None, - enabled: Annotated[Optional[StrictBool], Field(description="Enabled Wallets")] = None, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + account_id: Annotated[StrictStr, Field(description="The ID of the account")], + asset_id: Annotated[StrictStr, Field(description="The ID of the asset")], + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1962,21 +2903,19 @@ def get_embedded_wallets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletPaginatedWalletsResponse]]: - """List wallets + ) -> Future[ApiResponse[EmbeddedWalletAssetBalance]]: + """Refresh asset balance - Get all Non Custodial Wallets + Refresh the balance of an asset in a specific account - :param page_cursor: Next page cursor to fetch - :type page_cursor: str - :param page_size: Items per page - :type page_size: float - :param sort: Field(s) to use for sorting - :type sort: str - :param order: Is the order ascending or descending - :type order: str - :param enabled: Enabled Wallets - :type enabled: bool + :param wallet_id: Wallet Id (required) + :type wallet_id: str + :param account_id: The ID of the account (required) + :type account_id: str + :param asset_id: The ID of the asset (required) + :type asset_id: str + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1999,13 +2938,15 @@ def get_embedded_wallets( :return: Returns the result object. """ # noqa: E501 + validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="account_id", param_value=account_id) + validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="asset_id", param_value=asset_id) - _param = self._get_embedded_wallets_serialize( - page_cursor=page_cursor, - page_size=page_size, - sort=sort, - order=order, - enabled=enabled, + _param = self._refresh_embedded_wallet_asset_balance_serialize( + wallet_id=wallet_id, + account_id=account_id, + asset_id=asset_id, + idempotency_key=idempotency_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2013,7 +2954,7 @@ def get_embedded_wallets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletPaginatedWalletsResponse", + '200': "EmbeddedWalletAssetBalance", 'default': "ErrorSchema", } @@ -2023,13 +2964,12 @@ def get_embedded_wallets( _response_types_map=_response_types_map, ) - def _get_embedded_wallets_serialize( + def _refresh_embedded_wallet_asset_balance_serialize( self, - page_cursor, - page_size, - sort, - order, - enabled, + wallet_id, + account_id, + asset_id, + idempotency_key, _request_auth, _content_type, _headers, @@ -2051,28 +2991,16 @@ def _get_embedded_wallets_serialize( _body_params: Optional[bytes] = None # process the path parameters + if wallet_id is not None: + _path_params['walletId'] = wallet_id + if account_id is not None: + _path_params['accountId'] = account_id + if asset_id is not None: + _path_params['assetId'] = asset_id # process the query parameters - if page_cursor is not None: - - _query_params.append(('pageCursor', page_cursor)) - - if page_size is not None: - - _query_params.append(('pageSize', page_size)) - - if sort is not None: - - _query_params.append(('sort', sort)) - - if order is not None: - - _query_params.append(('order', order)) - - if enabled is not None: - - _query_params.append(('enabled', enabled)) - # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key # process the form parameters # process the body parameter @@ -2091,8 +3019,8 @@ def _get_embedded_wallets_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/ncw/wallets', + method='PUT', + resource_path='/ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2109,13 +3037,12 @@ def _get_embedded_wallets_serialize( @validate_call - def get_public_key_info_ncw( + def update_embedded_wallet_device_status( self, - x_end_user_wallet_id: Annotated[StrictStr, Field(description="Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.")], - wallet_id: Annotated[StrictStr, Field(description="The ID of the Non-Custodial wallet")], - derivation_path: Annotated[StrictStr, Field(description="An array of integers (passed as JSON stringified array) representing the full BIP44 derivation path of the requested public key. The first element must always be 44. ")], - algorithm: Annotated[StrictStr, Field(description="Elliptic Curve")], - compressed: Annotated[Optional[StrictBool], Field(description="Compressed/Uncompressed public key format")] = None, + wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], + device_id: Annotated[StrictStr, Field(description="Device Id")], + enable_device: EnableDevice, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2128,21 +3055,19 @@ def get_public_key_info_ncw( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[PublicKeyInformation]]: - """Get the public key for a derivation path + ) -> Future[ApiResponse[None]]: + """Update device status - Gets the public key information based on derivation path and signing algorithm within a Non-Custodial Wallet + Update the enabled/disabled status of a specific device for a Non Custodial Wallet - :param x_end_user_wallet_id: Unique ID of the End-User wallet to the API request. Required for end-user wallet operations. (required) - :type x_end_user_wallet_id: str - :param wallet_id: The ID of the Non-Custodial wallet (required) + :param wallet_id: Wallet Id (required) :type wallet_id: str - :param derivation_path: An array of integers (passed as JSON stringified array) representing the full BIP44 derivation path of the requested public key. The first element must always be 44. (required) - :type derivation_path: str - :param algorithm: Elliptic Curve (required) - :type algorithm: str - :param compressed: Compressed/Uncompressed public key format - :type compressed: bool + :param device_id: Device Id (required) + :type device_id: str + :param enable_device: (required) + :type enable_device: EnableDevice + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2165,17 +3090,14 @@ def get_public_key_info_ncw( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="x_end_user_wallet_id", param_value=x_end_user_wallet_id) - validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="wallet_id", param_value=wallet_id) - validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="derivation_path", param_value=derivation_path) - validate_not_empty_string(function_name="get_public_key_info_ncw", param_name="algorithm", param_value=algorithm) + validate_not_empty_string(function_name="update_embedded_wallet_device_status", param_name="wallet_id", param_value=wallet_id) + validate_not_empty_string(function_name="update_embedded_wallet_device_status", param_name="device_id", param_value=device_id) - _param = self._get_public_key_info_ncw_serialize( - x_end_user_wallet_id=x_end_user_wallet_id, + _param = self._update_embedded_wallet_device_status_serialize( wallet_id=wallet_id, - derivation_path=derivation_path, - algorithm=algorithm, - compressed=compressed, + device_id=device_id, + enable_device=enable_device, + idempotency_key=idempotency_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2183,7 +3105,7 @@ def get_public_key_info_ncw( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PublicKeyInformation", + '204': None, 'default': "ErrorSchema", } @@ -2193,13 +3115,12 @@ def get_public_key_info_ncw( _response_types_map=_response_types_map, ) - def _get_public_key_info_ncw_serialize( + def _update_embedded_wallet_device_status_serialize( self, - x_end_user_wallet_id, wallet_id, - derivation_path, - algorithm, - compressed, + device_id, + enable_device, + idempotency_key, _request_auth, _content_type, _headers, @@ -2223,24 +3144,16 @@ def _get_public_key_info_ncw_serialize( # process the path parameters if wallet_id is not None: _path_params['walletId'] = wallet_id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters - if derivation_path is not None: - - _query_params.append(('derivationPath', derivation_path)) - - if algorithm is not None: - - _query_params.append(('algorithm', algorithm)) - - if compressed is not None: - - _query_params.append(('compressed', compressed)) - # process the header parameters - if x_end_user_wallet_id is not None: - _header_params['X-End-User-Wallet-Id'] = x_end_user_wallet_id + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key # process the form parameters # process the body parameter + if enable_device is not None: + _body_params = enable_device # set the HTTP header `Accept` @@ -2251,14 +3164,27 @@ def _get_public_key_info_ncw_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ ] return self.api_client.param_serialize( - method='GET', - resource_path='/ncw/wallets/{walletId}/public_key_info', + method='PATCH', + resource_path='/ncw/wallets/{walletId}/devices/{deviceId}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2275,11 +3201,10 @@ def _get_public_key_info_ncw_serialize( @validate_call - def refresh_embedded_wallet_asset_balance( + def update_embedded_wallet_status( self, wallet_id: Annotated[StrictStr, Field(description="Wallet Id")], - account_id: Annotated[StrictStr, Field(description="The ID of the account")], - asset_id: Annotated[StrictStr, Field(description="The ID of the asset")], + enable_wallet: EnableWallet, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ None, @@ -2293,17 +3218,15 @@ def refresh_embedded_wallet_asset_balance( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[EmbeddedWalletAssetBalance]]: - """Refresh asset balance + ) -> Future[ApiResponse[None]]: + """Update wallet status - Refresh the balance of an asset in a specific account + Update the enabled/disabled status of a specific Non Custodial Wallet :param wallet_id: Wallet Id (required) :type wallet_id: str - :param account_id: The ID of the account (required) - :type account_id: str - :param asset_id: The ID of the asset (required) - :type asset_id: str + :param enable_wallet: (required) + :type enable_wallet: EnableWallet :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str :param _request_timeout: timeout setting for this request. If one @@ -2328,14 +3251,11 @@ def refresh_embedded_wallet_asset_balance( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="wallet_id", param_value=wallet_id) - validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="account_id", param_value=account_id) - validate_not_empty_string(function_name="refresh_embedded_wallet_asset_balance", param_name="asset_id", param_value=asset_id) + validate_not_empty_string(function_name="update_embedded_wallet_status", param_name="wallet_id", param_value=wallet_id) - _param = self._refresh_embedded_wallet_asset_balance_serialize( + _param = self._update_embedded_wallet_status_serialize( wallet_id=wallet_id, - account_id=account_id, - asset_id=asset_id, + enable_wallet=enable_wallet, idempotency_key=idempotency_key, _request_auth=_request_auth, _content_type=_content_type, @@ -2344,7 +3264,7 @@ def refresh_embedded_wallet_asset_balance( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmbeddedWalletAssetBalance", + '204': None, 'default': "ErrorSchema", } @@ -2354,11 +3274,10 @@ def refresh_embedded_wallet_asset_balance( _response_types_map=_response_types_map, ) - def _refresh_embedded_wallet_asset_balance_serialize( + def _update_embedded_wallet_status_serialize( self, wallet_id, - account_id, - asset_id, + enable_wallet, idempotency_key, _request_auth, _content_type, @@ -2383,16 +3302,14 @@ def _refresh_embedded_wallet_asset_balance_serialize( # process the path parameters if wallet_id is not None: _path_params['walletId'] = wallet_id - if account_id is not None: - _path_params['accountId'] = account_id - if asset_id is not None: - _path_params['assetId'] = asset_id # process the query parameters # process the header parameters if idempotency_key is not None: _header_params['Idempotency-Key'] = idempotency_key # process the form parameters # process the body parameter + if enable_wallet is not None: + _body_params = enable_wallet # set the HTTP header `Accept` @@ -2403,14 +3320,27 @@ def _refresh_embedded_wallet_asset_balance_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ ] return self.api_client.param_serialize( - method='PUT', - resource_path='/ncw/wallets/{walletId}/accounts/{accountId}/assets/{assetId}/balance', + method='PATCH', + resource_path='/ncw/wallets/{walletId}/status', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/fireblocks/api/exchange_accounts_api.py b/fireblocks/api/exchange_accounts_api.py index 2547a427..4dd845fa 100644 --- a/fireblocks/api/exchange_accounts_api.py +++ b/fireblocks/api/exchange_accounts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -71,7 +71,7 @@ def add_exchange_account( ) -> Future[ApiResponse[AddExchangeAccountResponse]]: """Add an exchange account - Add an exchange account to exchanges. + Add an exchange account to exchanges. Note: This endpoint currently only supports the following exchanges `INDEPENDENT_RESERVE`,`BIT`, `BITHUMB`, `BITSO`, `CRYPTOCOM`, `BYBIT_V2`, `WHITEBIT`, `HITBTC`, `GEMINI`, `HUOBI`, `GATEIO`, `COINHAKO`, `BULLISH`, `BITGET`, and `LUNO` To add an exchange account, please use the following [guide](https://developers.fireblocks.com/docs/add-an-exchange-account). :param add_exchange_account_request: (required) :type add_exchange_account_request: AddExchangeAccountRequest @@ -218,9 +218,9 @@ def convert_assets( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ConvertAssetsResponse]]: - """Convert exchange account funds from the source asset to the destination asset. + """Convert exchange account funds - Convert exchange account funds from the source asset to the destination asset. Coinbase (USD to USDC, USDC to USD) and Bitso (MXN to USD) are supported conversions. + Convert exchange account funds from the source asset to the destination asset. Coinbase (USD to USDC, USDC to USD) and Bitso (MXN to USD) are supported conversions. Learn more about Fireblocks Exchange Connectivity in the following [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers).
    Endpoint Permission: Admin, Non-Signing Admin. :param exchange_account_id: The ID of the exchange account. Please make sure the exchange supports conversions. To find the ID of your exchange account, use GET/exchange_accounts. (required) :type exchange_account_id: str @@ -372,9 +372,9 @@ def get_exchange_account( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ExchangeAccount]]: - """Find a specific exchange account + """Get a specific exchange account - Returns an exchange account by ID. + Returns an exchange account by ID.
    Endpoint Permission: Admin, Non-Signing Admin. :param exchange_account_id: The ID of the exchange account to return (required) :type exchange_account_id: str @@ -502,9 +502,9 @@ def get_exchange_account_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ExchangeAsset]]: - """Find an asset for an exchange account + """Get an asset for an exchange account - Returns an asset for an exchange account. + Returns an asset for an exchange account.
    Endpoint Permission: Admin, Non-Signing Admin. :param exchange_account_id: The ID of the exchange account to return (required) :type exchange_account_id: str @@ -761,9 +761,9 @@ def get_paged_exchange_accounts( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[GetPagedExchangeAccountsResponse]]: - """Pagination list exchange accounts + """List connected exchange accounts - Returns a page include exchange accounts. + Returns a list of the connected exchange accounts in your workspace.
    Endpoint Permission: Admin, Non-Signing Admin. :param limit: number of exchanges per page (required) :type limit: float @@ -911,7 +911,7 @@ def internal_transfer( ) -> Future[ApiResponse[InternalTransferResponse]]: """Internal transfer for exchange accounts - Transfers funds between trading accounts under the same exchange account. + Transfers funds between trading accounts under the same exchange account. Learn more about Fireblocks Exchange Connectivity in the following [guide](https://developers.fireblocks.com/docs/connect-to-exchanges-and-fiat-providers).
    Endpoint Permission: Admin, Non-Signing Admin. :param exchange_account_id: The ID of the exchange account to return (required) :type exchange_account_id: str diff --git a/fireblocks/api/external_wallets_api.py b/fireblocks/api/external_wallets_api.py index cd358ac2..52c812cd 100644 --- a/fireblocks/api/external_wallets_api.py +++ b/fireblocks/api/external_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -68,7 +68,7 @@ def add_asset_to_external_wallet( ) -> Future[ApiResponse[ExternalWalletAsset]]: """Add an asset to an external wallet. - Adds an asset to an existing external wallet. + Adds an asset to an existing external wallet.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -230,7 +230,7 @@ def create_external_wallet( ) -> Future[ApiResponse[UnmanagedWallet]]: """Create an external wallet - Creates a new external wallet with the requested name. + Creates a new external wallet with the requested name. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties. - You cannot see the balance of the external wallet. - You cannot initiate transactions from an external wallet as the source via Fireblocks.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -377,7 +377,7 @@ def delete_external_wallet( ) -> Future[ApiResponse[None]]: """Delete an external wallet - Deletes an external wallet by ID. + Deletes an external wallet by ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param wallet_id: The ID of the wallet to delete (required) :type wallet_id: str @@ -506,7 +506,7 @@ def get_external_wallet( ) -> Future[ApiResponse[UnmanagedWallet]]: """Find an external wallet - Returns an external wallet by ID. + Returns an external wallet by ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param wallet_id: The ID of the wallet to return (required) :type wallet_id: str @@ -636,7 +636,7 @@ def get_external_wallet_asset( ) -> Future[ApiResponse[ExternalWalletAsset]]: """Get an asset from an external wallet - Returns an external wallet by wallet ID and asset ID. + Returns an external wallet by wallet ID and asset ID. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -771,7 +771,7 @@ def get_external_wallets( ) -> Future[ApiResponse[List[UnmanagedWallet]]]: """List external wallets - Gets a list of external wallets under the workspace. + Gets a list of external wallets under the workspace. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties. - You cannot see the balance of the external wallet. - You cannot initiate transactions from an external wallet as the source via Fireblocks.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -894,7 +894,7 @@ def remove_asset_from_external_wallet( ) -> Future[ApiResponse[None]]: """Delete an asset from an external wallet - Deletes an external wallet asset by ID. + Deletes an external wallet asset by ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -1032,7 +1032,7 @@ def set_external_wallet_customer_ref_id( ) -> Future[ApiResponse[None]]: """Set an AML customer reference ID for an external wallet - Sets an AML/KYT customer reference ID for the specific external wallet. + Sets an AML/KYT customer reference ID for the specific external wallet. External Wallet is a whitelisted address of a wallet that belongs to your users/counterparties.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param wallet_id: The wallet ID (required) :type wallet_id: str diff --git a/fireblocks/api/fiat_accounts_api.py b/fireblocks/api/fiat_accounts_api.py index 9b47e46e..38500780 100644 --- a/fireblocks/api/fiat_accounts_api.py +++ b/fireblocks/api/fiat_accounts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -220,7 +220,7 @@ def get_fiat_account( ) -> Future[ApiResponse[FiatAccount]]: """Find a specific fiat account - Returns a fiat account by ID. + Returns a fiat account by ID.
    Endpoint Permission: Admin, Non-Signing Admin. :param account_id: The ID of the fiat account to return (required) :type account_id: str @@ -348,7 +348,7 @@ def get_fiat_accounts( ) -> Future[ApiResponse[List[FiatAccount]]]: """List fiat accounts - Returns all fiat accounts. + Returns all fiat accounts.
    Endpoint Permission: Admin, Non-Signing Admin. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api/gas_stations_api.py b/fireblocks/api/gas_stations_api.py index 19f40ae7..c75baaf3 100644 --- a/fireblocks/api/gas_stations_api.py +++ b/fireblocks/api/gas_stations_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -63,7 +63,7 @@ def get_gas_station_by_asset_id( ) -> Future[ApiResponse[GasStationPropertiesResponse]]: """Get gas station settings by asset - Returns gas station settings and balances for a requested asset. + Returns gas station settings and balances for a requested asset.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param asset_id: The ID of the asset (required) :type asset_id: str @@ -191,7 +191,7 @@ def get_gas_station_info( ) -> Future[ApiResponse[GasStationPropertiesResponse]]: """Get gas station settings - Returns gas station settings and ETH balance. + Returns gas station settings and ETH balance.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -314,7 +314,7 @@ def update_gas_station_configuration( ) -> Future[ApiResponse[EditGasStationConfigurationResponse]]: """Edit gas station settings - Configures gas station settings for ETH. + Configures gas station settings for ETH. Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param gas_station_configuration: (required) :type gas_station_configuration: GasStationConfiguration @@ -463,7 +463,7 @@ def update_gas_station_configuration_by_asset_id( ) -> Future[ApiResponse[EditGasStationConfigurationResponse]]: """Edit gas station settings for an asset - Configures gas station settings for a requested asset. + Configures gas station settings for a requested asset. Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param asset_id: The ID of the asset (required) :type asset_id: str diff --git a/fireblocks/api/internal_wallets_api.py b/fireblocks/api/internal_wallets_api.py index a021cc90..60f47f8f 100644 --- a/fireblocks/api/internal_wallets_api.py +++ b/fireblocks/api/internal_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -67,7 +67,7 @@ def create_internal_wallet( ) -> Future[ApiResponse[UnmanagedWallet]]: """Create an internal wallet - Creates a new internal wallet with the requested name. Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Creates a new internal wallet with the requested name. Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -217,7 +217,7 @@ def create_internal_wallet_asset( ) -> Future[ApiResponse[WalletAsset]]: """Add an asset to an internal wallet - Adds an asset to an existing internal wallet. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Adds an asset to an existing internal wallet. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -378,7 +378,7 @@ def delete_internal_wallet( ) -> Future[ApiResponse[None]]: """Delete an internal wallet - Deletes an internal wallet by ID. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Deletes an internal wallet by ID. :param wallet_id: The ID of the wallet to delete (required) :type wallet_id: str @@ -508,7 +508,7 @@ def delete_internal_wallet_asset( ) -> Future[ApiResponse[None]]: """Delete a whitelisted address - Deletes a whitelisted address (for an asset) from an internal wallet. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Deletes a whitelisted address (for an asset) from an internal wallet. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -642,9 +642,9 @@ def get_internal_wallet( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[UnmanagedWallet]]: - """Get an asset from an internal wallet + """Get assets for internal wallet - Returns information for an asset in an internal wallet. This endpoint will be deprecated after 6 months.
    As part of the depreciation process this endpoint will no longer return balances, only addresses.
    Until it is deprecated, this endpoint will behave the same way. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Returns information for an internal wallet. :param wallet_id: The ID of the wallet to return (required) :type wallet_id: str @@ -774,7 +774,7 @@ def get_internal_wallet_asset( ) -> Future[ApiResponse[WalletAsset]]: """Get an asset from an internal wallet - Returns information for an asset in an internal wallet. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Returns information for an asset in an internal wallet. :param wallet_id: The ID of the wallet (required) :type wallet_id: str @@ -912,7 +912,7 @@ def get_internal_wallet_assets_paginated( ) -> Future[ApiResponse[PaginatedAssetsResponse]]: """List assets in an internal wallet (Paginated) - Returns a paginated response of assets in an internal wallet. This is a new paginated endpoint that gets all the assets from the wallet container with balances.
    This endpoint returns a limited amount of results with a quick response time. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Returns a paginated response of assets in an internal wallet. :param wallet_id: The ID of the internal wallet to return assets for (required) :type wallet_id: str @@ -1056,7 +1056,7 @@ def get_internal_wallets( ) -> Future[ApiResponse[List[UnmanagedWallet]]]: """List internal wallets - Gets a list of internal wallets. **Note**: - BTC-based assets belonging to whitelisted addresses cannot be retrieved between 00:00 UTC and 00:01 UTC daily due to third-party provider, Blockchain, being unavailable for this 60 second period.
    Please wait until the next minute to retrieve BTC-based assets. - The list of assets returned will NOT include the balances anymore. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Gets a list of internal wallets. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1178,9 +1178,9 @@ def set_customer_ref_id_for_internal_wallet( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Set an AML/KYT customer reference ID for an internal wallet + """Set an AML/KYT customer reference ID for internal wallet - Sets an AML/KYT customer reference ID for the specific internal wallet. Internal Wallets are whitelisted wallets that belong to you outside of Fireblocks. - You can see the balance of the Internal Wallet via Fireblocks - You cannot initiate transactions from Internal Wallets through Fireblocks Learn more about Whitelisted Internal Addresses [here](https://developers.fireblocks.com/docs/whitelist-addresses#internal-wallets) Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Sets an AML/KYT customer reference ID for the specific internal wallet. :param wallet_id: The wallet ID (required) :type wallet_id: str diff --git a/fireblocks/api/job_management_api.py b/fireblocks/api/job_management_api.py deleted file mode 100644 index fd5bcedb..00000000 --- a/fireblocks/api/job_management_api.py +++ /dev/null @@ -1,848 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - -import warnings -from concurrent.futures import Future -from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt -from typing import Any, Dict, List, Optional, Tuple, Union -from typing_extensions import Annotated - -from pydantic import Field, StrictInt, StrictStr -from typing import List, Optional -from typing_extensions import Annotated -from fireblocks.models.job import Job -from fireblocks.models.task import Task - -from fireblocks.api_client import ApiClient, RequestSerialized -from fireblocks.api_response import ApiResponse -from fireblocks.rest import RESTResponseType -from fireblocks.validation_utils import validate_not_empty_string - - -class JobManagementApi: - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None) -> None: - if api_client is None: - api_client = ApiClient.get_default() - self.api_client = api_client - - - @validate_call - def cancel_job( - self, - job_id: Annotated[StrictStr, Field(description="The requested job id")], - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[None]]: - """Cancel a running job - - Stop the given job immediately. If the job is in the 'Active' state, the job will be canceled after completing the current task. Vault accounts and Wallets that are already created will not be affected. - - :param job_id: The requested job id (required) - :type job_id: str - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - validate_not_empty_string(function_name="cancel_job", param_name="job_id", param_value=job_id) - - _param = self._cancel_job_serialize( - job_id=job_id, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': None, - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _cancel_job_serialize( - self, - job_id, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/batch/{jobId}/cancel', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def continue_job( - self, - job_id: Annotated[StrictStr, Field(description="The requested job id")], - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[None]]: - """Continue a paused job - - Continue the given paused job. - - :param job_id: The requested job id (required) - :type job_id: str - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - validate_not_empty_string(function_name="continue_job", param_name="job_id", param_value=job_id) - - _param = self._continue_job_serialize( - job_id=job_id, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': None, - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _continue_job_serialize( - self, - job_id, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/batch/{jobId}/continue', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def get_job( - self, - job_id: Annotated[StrictStr, Field(description="The requested job id")], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[Job]]: - """Get job details - - Get an object describing the given job - - :param job_id: The requested job id (required) - :type job_id: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - validate_not_empty_string(function_name="get_job", param_name="job_id", param_value=job_id) - - _param = self._get_job_serialize( - job_id=job_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "Job", - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _get_job_serialize( - self, - job_id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/batch/{jobId}', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def get_job_tasks( - self, - job_id: Annotated[StrictStr, Field(description="The requested job id")], - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[List[Task]]]: - """Return a list of tasks for given job - - Return a list of tasks for given job - - :param job_id: The requested job id (required) - :type job_id: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - validate_not_empty_string(function_name="get_job_tasks", param_name="job_id", param_value=job_id) - - _param = self._get_job_tasks_serialize( - job_id=job_id, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "List[Task]", - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _get_job_tasks_serialize( - self, - job_id, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/batch/{jobId}/tasks', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def get_jobs( - self, - from_time: Annotated[Optional[StrictInt], Field(description="Start of time range in ms since 1970")] = None, - to_time: Annotated[Optional[StrictInt], Field(description="End of time range in ms since 1970")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[List[Job]]]: - """Return a list of jobs belonging to tenant - - Get an array of objects including all active, paused, canceled, and complete jobs in a workspace. - - :param from_time: Start of time range in ms since 1970 - :type from_time: int - :param to_time: End of time range in ms since 1970 - :type to_time: int - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - - _param = self._get_jobs_serialize( - from_time=from_time, - to_time=to_time, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "List[Job]", - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _get_jobs_serialize( - self, - from_time, - to_time, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - if from_time is not None: - - _query_params.append(('fromTime', from_time)) - - if to_time is not None: - - _query_params.append(('toTime', to_time)) - - # process the header parameters - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='GET', - resource_path='/batch/jobs', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def pause_job( - self, - job_id: Annotated[StrictStr, Field(description="The requested job id")], - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[None]]: - """Pause a job - - Pause the given job, after the current task is done. A paused job can later be resumed by calling 'continue', or canceled. - - :param job_id: The requested job id (required) - :type job_id: str - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - validate_not_empty_string(function_name="pause_job", param_name="job_id", param_value=job_id) - - _param = self._pause_job_serialize( - job_id=job_id, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': None, - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _pause_job_serialize( - self, - job_id, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/batch/{jobId}/pause', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - diff --git a/fireblocks/api/key_link_beta_api.py b/fireblocks/api/key_link_beta_api.py index 44e51af5..d77481ee 100644 --- a/fireblocks/api/key_link_beta_api.py +++ b/fireblocks/api/key_link_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -71,7 +71,7 @@ def create_signing_key( ) -> Future[ApiResponse[SigningKeyDto]]: """Add a new signing key - Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Adds a new signing key to the workspace. The added key will be linked to the specific Fireblocks agent user ID. The same user will receive the proof of ownership message to be signed, and upon successful proof, the key will become enabled. :param create_signing_key_dto: (required) :type create_signing_key_dto: CreateSigningKeyDto @@ -219,7 +219,7 @@ def create_validation_key( ) -> Future[ApiResponse[CreateValidationKeyResponseDto]]: """Add a new validation key - Adds a new validation key used to validate signing keys. The new validation key will undergo an approval process by the workspace quorum. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Adds a new validation key used to validate signing keys. The new validation key will undergo an approval process by the workspace quorum. :param create_validation_key_dto: (required) :type create_validation_key_dto: CreateValidationKeyDto @@ -367,7 +367,7 @@ def disable_validation_key( ) -> Future[ApiResponse[ValidationKeyDto]]: """Disables a validation key - Allows disabling validation key even if it has not expired yet. It is not allowed to enable the validation key back. Another key has to be used for future validations. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Allows disabling validation key even if it has not expired yet. It is not allowed to enable the validation key back. Another key has to be used for future validations. :param key_id: The unique identifier for the validation key provided by Fireblocks (required) :type key_id: str @@ -515,7 +515,7 @@ def get_signing_key( ) -> Future[ApiResponse[SigningKeyDto]]: """Get a signing key by `keyId` - Returns a signing key if it exists, identified by the specified Fireblocks provided `keyId`. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Returns a signing key if it exists, identified by the specified `keyId`. :param key_id: The unique identifier for the signing key provided by Fireblocks (required) :type key_id: str @@ -654,7 +654,7 @@ def get_signing_keys_list( ) -> Future[ApiResponse[GetSigningKeyResponseDto]]: """Get list of signing keys - Returns the list of signing keys in the workspace Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Returns the list of signing keys in the workspace :param page_cursor: Cursor to the next page :type page_cursor: str @@ -864,7 +864,7 @@ def get_validation_key( ) -> Future[ApiResponse[ValidationKeyDto]]: """Get a validation key by `keyId` - Returns a validation key if it exists, identified by the specified `keyId`. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Returns a validation key if it exists, identified by the specified `keyId`. :param key_id: (required) :type key_id: str @@ -996,7 +996,7 @@ def get_validation_keys_list( ) -> Future[ApiResponse[GetValidationKeyResponseDto]]: """Get list of registered validation keys - Returns the list of validation keys in the workspace Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Returns the list of validation keys in the workspace :param page_cursor: Cursor to the next page :type page_cursor: str @@ -1149,9 +1149,9 @@ def set_agent_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` + """Set agent user id - Can modify existing signing key id if the key is not enabled. The change done in background and will be visible once applied. If key is already enabled (after proof of ownership) the user cannot be changed. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Can modify existing signing key id if the key is not enabled. The change done in background and will be visible once applied. If key is already enabled (after proof of ownership) the user cannot be changed. :param key_id: The unique identifier for the signing key provided by Fireblocks (required) :type key_id: str @@ -1298,9 +1298,9 @@ def update_signing_key( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SigningKeyDto]]: - """Modify the signing by Fireblocks provided `keyId` + """Modify the signing keyId - Allows assigning the signing key to a vault account, if it hasn't been assigned to any other vault accounts yet. Please note that this endpoint is available only for Key Link enabled workspaces. **Note:** This endpoint is currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Key Link, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. + Allows assigning the signing key to a vault account, if it hasn't been assigned to any other vault accounts yet. :param key_id: The unique identifier for the signing key provided by Fireblocks (required) :type key_id: str diff --git a/fireblocks/api/keys_beta_api.py b/fireblocks/api/keys_beta_api.py index 0f288a38..9047fd1e 100644 --- a/fireblocks/api/keys_beta_api.py +++ b/fireblocks/api/keys_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/network_connections_api.py b/fireblocks/api/network_connections_api.py index d9246184..a752fb50 100644 --- a/fireblocks/api/network_connections_api.py +++ b/fireblocks/api/network_connections_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -73,7 +73,7 @@ def check_third_party_routing( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ThirdPartyRouting]]: - """Retrieve third-party network routing validation by asset type. + """Retrieve third-party network routing validation The Fireblocks Network allows for flexibility around incoming deposits. A receiver can receive network deposits to locations other than Fireblocks. This endpoint validates whether future transactions are routed to the displayed recipient or to a 3rd party. @@ -210,7 +210,7 @@ def create_network_connection( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[NetworkConnectionResponse]]: - """Creates a new network connection + """Create a new network connection Initiates a new network connection. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). @@ -360,7 +360,7 @@ def create_network_id( ) -> Future[ApiResponse[NetworkIdResponse]]: """Creates a new Network ID - Creates a new Network ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Creates a new Network ID. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -507,7 +507,7 @@ def delete_network_connection( ) -> Future[ApiResponse[DeleteNetworkConnectionResponse]]: """Deletes a network connection by ID - Deletes an existing network connection specified by its connection ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Deletes an existing network connection specified by its connection ID. :param connection_id: The ID of the network connection to delete (required) :type connection_id: str @@ -636,7 +636,7 @@ def delete_network_id( ) -> Future[ApiResponse[DeleteNetworkIdResponse]]: """Deletes specific network ID. - Deletes a network by its ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Deletes a network by its ID. :param network_id: The ID of the network (required) :type network_id: str @@ -765,7 +765,7 @@ def get_network( ) -> Future[ApiResponse[NetworkConnectionResponse]]: """Get a network connection - Gets a network connection by ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Gets a network connection by ID. :param connection_id: The ID of the connection (required) :type connection_id: str @@ -893,7 +893,7 @@ def get_network_connections( ) -> Future[ApiResponse[List[NetworkConnectionResponse]]]: """List network connections - Returns all network connections. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Returns all network connections. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1015,7 +1015,7 @@ def get_network_id( ) -> Future[ApiResponse[NetworkIdResponse]]: """Returns specific network ID. - Retrieves a network by its ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Returns specific network ID. :param network_id: The ID of the network (required) :type network_id: str @@ -1141,9 +1141,9 @@ def get_network_ids( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[NetworkIdResponse]]]: - """(Deprecated) Returns all network IDs, both local IDs and discoverable remote IDs + """(Deprecated) Get all network IDs - Retrieves a list of all local and discoverable remote network IDs. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Retrieves a list of all local and discoverable remote network IDs. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1265,7 +1265,7 @@ def get_routing_policy_asset_groups( ) -> Future[ApiResponse[List[str]]]: """Returns all enabled routing policy asset groups - Retrieves a list of all enabled routing policy asset groups. Your routing policy defines how your transactions are routed. You can use one or more enabled routing policy asset groups to describe connection or network id routing policy. + Returns all enabled routing policy asset groups :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1390,9 +1390,9 @@ def search_network_ids( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SearchNetworkIdsResponse]]: - """Search network IDs, both local IDs and discoverable remote IDs + """Get both local IDs and discoverable remote IDs - Retrieves a list of all local and discoverable remote network IDs. Can be filtered. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Retrieves a list of all local and discoverable remote network IDs. Can be filtered. :param search: Search string - displayName networkId. Optional :type search: str @@ -1563,7 +1563,7 @@ def set_network_id_discoverability( ) -> Future[ApiResponse[SetNetworkIdResponse]]: """Update network ID's discoverability. - Update whether or not the network ID is discoverable by others. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Update whether or not the network ID is discoverable by others. :param network_id: The ID of the network (required) :type network_id: str @@ -1712,7 +1712,7 @@ def set_network_id_name( ) -> Future[ApiResponse[SetNetworkIdResponse]]: """Update network ID's name. - Updates name of a specified network ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Updates name of a specified network ID. :param network_id: The ID of the network (required) :type network_id: str @@ -1861,7 +1861,7 @@ def set_network_id_routing_policy( ) -> Future[ApiResponse[SetNetworkIdResponse]]: """Update network id routing policy. - Updates the routing policy of a specified network ID. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Updates the routing policy of a specified network ID. :param network_id: The ID of the network (required) :type network_id: str @@ -2010,7 +2010,7 @@ def set_routing_policy( ) -> Future[ApiResponse[SetRoutingPolicyResponse]]: """Update network connection routing policy. - Updates an existing network connection's routing policy. **Note:** This API call is subject to Flexible Routing Schemes. Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - **None**; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to `None` will fail. - **Custom**; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - **Default**; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as \"Profile Routing\" Default Workspace Presets: - Network Profile Crypto → **Custom** - Network Profile FIAT → **None** - Network Connection Crypto → **Default** - Network Connection FIAT → **Default** Supported asset groups for routing police can be found at `/network_ids/routing_policy_asset_groups` - **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`). + Updates an existing network connection's routing policy. :param connection_id: The ID of the network connection (required) :type connection_id: str diff --git a/fireblocks/api/nfts_api.py b/fireblocks/api/nfts_api.py index f589ede5..7c8fdcf3 100644 --- a/fireblocks/api/nfts_api.py +++ b/fireblocks/api/nfts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -1142,7 +1142,7 @@ def update_ownership_tokens( ) -> Future[ApiResponse[None]]: """Refresh vault account tokens - Updates all tokens and balances per blockchain and vault account. + Updates all tokens and balances per blockchain and vault account. Learn more about Fireblocks NFT management in the following [guide](https://developers.fireblocks.com/reference/deploy-an-nft-collection).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param blockchain_descriptor: Blockchain descriptor filter (required) :type blockchain_descriptor: str diff --git a/fireblocks/api/off_exchanges_api.py b/fireblocks/api/off_exchanges_api.py index b023b3eb..953b0437 100644 --- a/fireblocks/api/off_exchanges_api.py +++ b/fireblocks/api/off_exchanges_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -66,9 +66,9 @@ def add_off_exchange( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[CreateTransactionResponse]]: - """add collateral + """Add Collateral - add collateral, create deposit request + Add collateral and create deposit request. Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -215,7 +215,7 @@ def get_off_exchange_collateral_accounts( ) -> Future[ApiResponse[ExchangeAccount]]: """Find a specific collateral exchange account - Returns a collateral account by mainExchangeAccountId. + Returns a collateral account by mainExchangeAccountId. Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param main_exchange_account_id: The id of the main exchange account for which the requested collateral account is associated with (required) :type main_exchange_account_id: str @@ -342,9 +342,9 @@ def get_off_exchange_settlement_transactions( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ExchangeSettlementTransactionsResponse]]: - """get settlements transactions from exchange + """Get Settlements Transactions - get settlements transactions from exchange + Get settlements transactions from exchange. Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param main_exchange_account_id: (required) :type main_exchange_account_id: str @@ -474,9 +474,9 @@ def remove_off_exchange( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[CreateTransactionResponse]]: - """remove collateral + """Remove Collateral - remove collateral, create withdraw request + Remove collateral, create withdraw request. Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -622,9 +622,9 @@ def settle_off_exchange_trades( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SettlementResponse]]: - """create settlement for a trader + """Create Settlement for a Trader - create settlement for a trader + Create settlement for a trader. Learn more about Fireblocks Off Exchange in the following [guide](https://developers.fireblocks.com/docs/off-exchange).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str diff --git a/fireblocks/api/onchain_data_api.py b/fireblocks/api/onchain_data_api.py new file mode 100644 index 00000000..a1c2a4c2 --- /dev/null +++ b/fireblocks/api/onchain_data_api.py @@ -0,0 +1,1469 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from concurrent.futures import Future +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from datetime import datetime +from pydantic import Field, StrictStr, field_validator +from typing import Dict, Optional +from typing_extensions import Annotated +from fireblocks.models.access_registry_current_state_response import AccessRegistryCurrentStateResponse +from fireblocks.models.access_registry_summary_response import AccessRegistrySummaryResponse +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse +from fireblocks.models.onchain_transactions_paged_response import OnchainTransactionsPagedResponse +from fireblocks.models.role_details import RoleDetails +from fireblocks.models.token_contract_summary_response import TokenContractSummaryResponse +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse + +from fireblocks.api_client import ApiClient, RequestSerialized +from fireblocks.api_response import ApiResponse +from fireblocks.rest import RESTResponseType +from fireblocks.validation_utils import validate_not_empty_string + + +class OnchainDataApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def get_access_registry_current_state( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + access_registry_address: Annotated[StrictStr, Field(description="The access registry address")], + page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page\"")] = None, + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page (max 100), requesting more then 100 will return 100 items")] = None, + sort_by: Annotated[Optional[StrictStr], Field(description="Sorting field (enum).")] = None, + order: Annotated[Optional[StrictStr], Field(description="ASC / DESC ordering (default DESC)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[AccessRegistryCurrentStateResponse]]: + """Get the current state of addresses in an access registry + + Returns the current state of addresses in the specified access registry. Only addresses that are currently active (added but not removed) are included. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param access_registry_address: The access registry address (required) + :type access_registry_address: str + :param page_cursor: Page cursor to get the next page\" + :type page_cursor: str + :param page_size: Number of items per page (max 100), requesting more then 100 will return 100 items + :type page_size: int + :param sort_by: Sorting field (enum). + :type sort_by: str + :param order: ASC / DESC ordering (default DESC) + :type order: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_access_registry_current_state", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_access_registry_current_state", param_name="access_registry_address", param_value=access_registry_address) + + _param = self._get_access_registry_current_state_serialize( + base_asset_id=base_asset_id, + access_registry_address=access_registry_address, + page_cursor=page_cursor, + page_size=page_size, + sort_by=sort_by, + order=order, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AccessRegistryCurrentStateResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_access_registry_current_state_serialize( + self, + base_asset_id, + access_registry_address, + page_cursor, + page_size, + sort_by, + order, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if access_registry_address is not None: + _path_params['accessRegistryAddress'] = access_registry_address + # process the query parameters + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort_by is not None: + + _query_params.append(('sortBy', sort_by)) + + if order is not None: + + _query_params.append(('order', order)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/list', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_access_registry_summary( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + access_registry_address: Annotated[StrictStr, Field(description="The access registry address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[AccessRegistrySummaryResponse]]: + """Summary of access registry state + + Returns a summary of the current state of the access registry for the specified baseAssetId and accessRegistryAddress. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param access_registry_address: The access registry address (required) + :type access_registry_address: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_access_registry_summary", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_access_registry_summary", param_name="access_registry_address", param_value=access_registry_address) + + _param = self._get_access_registry_summary_serialize( + base_asset_id=base_asset_id, + access_registry_address=access_registry_address, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AccessRegistrySummaryResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_access_registry_summary_serialize( + self, + base_asset_id, + access_registry_address, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if access_registry_address is not None: + _path_params['accessRegistryAddress'] = access_registry_address + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/access_registry_address/{accessRegistryAddress}/summary', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_active_roles_for_contract( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[Dict[str, RoleDetails]]]: + """List of active roles for a given contract address and base asset ID + + Returns a list of currently active roles for the specified baseAssetId and contractAddress. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_active_roles_for_contract", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_active_roles_for_contract", param_name="contract_address", param_value=contract_address) + + _param = self._get_active_roles_for_contract_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "Dict[str, RoleDetails]", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_active_roles_for_contract_serialize( + self, + base_asset_id, + contract_address, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/roles', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_contract_balance_history( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + account_address: Annotated[StrictStr, Field(description="The account address to get balance history for")], + start_date: Annotated[Optional[datetime], Field(description="Start date of the time range in ISO 8601 format")] = None, + end_date: Annotated[Optional[datetime], Field(description="End date of the time range in ISO 8601 format")] = None, + interval: Annotated[Optional[StrictStr], Field(description="Time interval for grouping data")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page\"")] = None, + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page (max 100), requesting more then 100 will return 100 items")] = None, + sort_by: Annotated[Optional[StrictStr], Field(description="Sorting field (enum). Sorting only supported by 'blockTimestamp'")] = None, + order: Annotated[Optional[StrictStr], Field(description="ASC / DESC ordering (default DESC)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[BalanceHistoryPagedResponse]]: + """Get historical balance data for a specific account in a contract + + Returns the paginated balance history of the specified account in a contract with optional date range and interval filtering. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param account_address: The account address to get balance history for (required) + :type account_address: str + :param start_date: Start date of the time range in ISO 8601 format + :type start_date: datetime + :param end_date: End date of the time range in ISO 8601 format + :type end_date: datetime + :param interval: Time interval for grouping data + :type interval: str + :param page_cursor: Page cursor to get the next page\" + :type page_cursor: str + :param page_size: Number of items per page (max 100), requesting more then 100 will return 100 items + :type page_size: int + :param sort_by: Sorting field (enum). Sorting only supported by 'blockTimestamp' + :type sort_by: str + :param order: ASC / DESC ordering (default DESC) + :type order: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_contract_balance_history", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_contract_balance_history", param_name="contract_address", param_value=contract_address) + validate_not_empty_string(function_name="get_contract_balance_history", param_name="account_address", param_value=account_address) + + _param = self._get_contract_balance_history_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + account_address=account_address, + start_date=start_date, + end_date=end_date, + interval=interval, + page_cursor=page_cursor, + page_size=page_size, + sort_by=sort_by, + order=order, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BalanceHistoryPagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_contract_balance_history_serialize( + self, + base_asset_id, + contract_address, + account_address, + start_date, + end_date, + interval, + page_cursor, + page_size, + sort_by, + order, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + if account_address is not None: + _path_params['accountAddress'] = account_address + # process the query parameters + if start_date is not None: + if isinstance(start_date, datetime): + _query_params.append( + ( + 'startDate', + start_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('startDate', start_date)) + + if end_date is not None: + if isinstance(end_date, datetime): + _query_params.append( + ( + 'endDate', + end_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('endDate', end_date)) + + if interval is not None: + + _query_params.append(('interval', interval)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort_by is not None: + + _query_params.append(('sortBy', sort_by)) + + if order is not None: + + _query_params.append(('order', order)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/account_address/{accountAddress}/balance_history', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_contract_balances_summary( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TokenContractSummaryResponse]]: + """Get summary for the token contract + + Returns the total number of unique addresses holding balances and the total supply for the specified contract. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_contract_balances_summary", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_contract_balances_summary", param_name="contract_address", param_value=contract_address) + + _param = self._get_contract_balances_summary_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TokenContractSummaryResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_contract_balances_summary_serialize( + self, + base_asset_id, + contract_address, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/summary', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_contract_total_supply( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + start_date: Annotated[Optional[datetime], Field(description="Start date of the time range in ISO 8601 format")] = None, + end_date: Annotated[Optional[datetime], Field(description="End date of the time range in ISO 8601 format")] = None, + interval: Annotated[Optional[StrictStr], Field(description="Time interval for grouping data")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page\"")] = None, + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page (max 100), requesting more then 100 will return 100 items")] = None, + sort_by: Annotated[Optional[StrictStr], Field(description="Sorting field (enum). Sorting only supported by 'blockTimestamp'")] = None, + order: Annotated[Optional[StrictStr], Field(description="ASC / DESC ordering (default DESC)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TotalSupplyPagedResponse]]: + """Get historical total supply data for a contract + + Returns the paginated total supply history of the specified contract with optional date range and interval filtering. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param start_date: Start date of the time range in ISO 8601 format + :type start_date: datetime + :param end_date: End date of the time range in ISO 8601 format + :type end_date: datetime + :param interval: Time interval for grouping data + :type interval: str + :param page_cursor: Page cursor to get the next page\" + :type page_cursor: str + :param page_size: Number of items per page (max 100), requesting more then 100 will return 100 items + :type page_size: int + :param sort_by: Sorting field (enum). Sorting only supported by 'blockTimestamp' + :type sort_by: str + :param order: ASC / DESC ordering (default DESC) + :type order: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_contract_total_supply", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_contract_total_supply", param_name="contract_address", param_value=contract_address) + + _param = self._get_contract_total_supply_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + start_date=start_date, + end_date=end_date, + interval=interval, + page_cursor=page_cursor, + page_size=page_size, + sort_by=sort_by, + order=order, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TotalSupplyPagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_contract_total_supply_serialize( + self, + base_asset_id, + contract_address, + start_date, + end_date, + interval, + page_cursor, + page_size, + sort_by, + order, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + # process the query parameters + if start_date is not None: + if isinstance(start_date, datetime): + _query_params.append( + ( + 'startDate', + start_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('startDate', start_date)) + + if end_date is not None: + if isinstance(end_date, datetime): + _query_params.append( + ( + 'endDate', + end_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('endDate', end_date)) + + if interval is not None: + + _query_params.append(('interval', interval)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort_by is not None: + + _query_params.append(('sortBy', sort_by)) + + if order is not None: + + _query_params.append(('order', order)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/total_supply', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_latest_balances_for_contract( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + account_address: Annotated[Optional[StrictStr], Field(description="Optional filter to get balance for a specific account address")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page\"")] = None, + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page (max 100), requesting more then 100 will return 100 items")] = None, + sort_by: Annotated[Optional[StrictStr], Field(description="Sorting field for balances")] = None, + order: Annotated[Optional[StrictStr], Field(description="ASC / DESC ordering (default DESC)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[AddressBalancePagedResponse]]: + """Get latest balances for all addresses holding tokens from a contract + + Returns the latest balance for each unique address with support for numeric balance sorting. The `prev` cursor is reserved for future support. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param account_address: Optional filter to get balance for a specific account address + :type account_address: str + :param page_cursor: Page cursor to get the next page\" + :type page_cursor: str + :param page_size: Number of items per page (max 100), requesting more then 100 will return 100 items + :type page_size: int + :param sort_by: Sorting field for balances + :type sort_by: str + :param order: ASC / DESC ordering (default DESC) + :type order: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_latest_balances_for_contract", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_latest_balances_for_contract", param_name="contract_address", param_value=contract_address) + + _param = self._get_latest_balances_for_contract_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + account_address=account_address, + page_cursor=page_cursor, + page_size=page_size, + sort_by=sort_by, + order=order, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AddressBalancePagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_latest_balances_for_contract_serialize( + self, + base_asset_id, + contract_address, + account_address, + page_cursor, + page_size, + sort_by, + order, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + # process the query parameters + if account_address is not None: + + _query_params.append(('accountAddress', account_address)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort_by is not None: + + _query_params.append(('sortBy', sort_by)) + + if order is not None: + + _query_params.append(('order', order)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/balances', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_onchain_transactions( + self, + base_asset_id: Annotated[StrictStr, Field(description="The blockchain base assetId")], + contract_address: Annotated[StrictStr, Field(description="The contract address")], + start_date: Annotated[Optional[datetime], Field(description="Start date of the time range in ISO 8601 format")] = None, + end_date: Annotated[Optional[datetime], Field(description="End date of the time range in ISO 8601 format")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Page cursor to get the next page\"")] = None, + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page (max 100), requesting more then 100 will return 100 items")] = None, + sort_by: Annotated[Optional[StrictStr], Field(description="Sorting field (enum).")] = None, + order: Annotated[Optional[StrictStr], Field(description="ASC / DESC ordering (default DESC)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[OnchainTransactionsPagedResponse]]: + """Fetch onchain transactions for a contract + + Returns a paginated list of onchain transactions for the specified contract address and base asset ID, optionally filtered by date range. + + :param base_asset_id: The blockchain base assetId (required) + :type base_asset_id: str + :param contract_address: The contract address (required) + :type contract_address: str + :param start_date: Start date of the time range in ISO 8601 format + :type start_date: datetime + :param end_date: End date of the time range in ISO 8601 format + :type end_date: datetime + :param page_cursor: Page cursor to get the next page\" + :type page_cursor: str + :param page_size: Number of items per page (max 100), requesting more then 100 will return 100 items + :type page_size: int + :param sort_by: Sorting field (enum). + :type sort_by: str + :param order: ASC / DESC ordering (default DESC) + :type order: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_onchain_transactions", param_name="base_asset_id", param_value=base_asset_id) + validate_not_empty_string(function_name="get_onchain_transactions", param_name="contract_address", param_value=contract_address) + + _param = self._get_onchain_transactions_serialize( + base_asset_id=base_asset_id, + contract_address=contract_address, + start_date=start_date, + end_date=end_date, + page_cursor=page_cursor, + page_size=page_size, + sort_by=sort_by, + order=order, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "OnchainTransactionsPagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_onchain_transactions_serialize( + self, + base_asset_id, + contract_address, + start_date, + end_date, + page_cursor, + page_size, + sort_by, + order, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if base_asset_id is not None: + _path_params['baseAssetId'] = base_asset_id + if contract_address is not None: + _path_params['contractAddress'] = contract_address + # process the query parameters + if start_date is not None: + if isinstance(start_date, datetime): + _query_params.append( + ( + 'startDate', + start_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('startDate', start_date)) + + if end_date is not None: + if isinstance(end_date, datetime): + _query_params.append( + ( + 'endDate', + end_date.strftime( + self.api_client.configuration.datetime_format + ) + ) + ) + else: + _query_params.append(('endDate', end_date)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if sort_by is not None: + + _query_params.append(('sortBy', sort_by)) + + if order is not None: + + _query_params.append(('order', order)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/onchain_data/base_asset_id/{baseAssetId}/contract_address/{contractAddress}/transactions', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/fireblocks/api/ota_beta_api.py b/fireblocks/api/ota_beta_api.py index c3c5e715..0e17017d 100644 --- a/fireblocks/api/ota_beta_api.py +++ b/fireblocks/api/ota_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -185,7 +185,7 @@ def set_ota_status( ) -> Future[ApiResponse[SetOtaStatusResponse]]: """Enable or disable transactions to OTA - Enable or disable transactions to OTA + Enable or disable transactions to One Time Addresses (Non Whitelisted addresses). Learn more about [One Time Addresses](https://support.fireblocks.io/hc/en-us/articles/4409104568338-One-Time-Address-OTA-feature) :param set_ota_status_request: (required) :type set_ota_status_request: SetOtaStatusRequest diff --git a/fireblocks/api/payments_payout_api.py b/fireblocks/api/payments_payout_api.py index 259e2830..8e10dd51 100644 --- a/fireblocks/api/payments_payout_api.py +++ b/fireblocks/api/payments_payout_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -64,7 +64,7 @@ def create_payout( ) -> Future[ApiResponse[PayoutResponse]]: """Create a payout instruction set - **Note:** The reference content in this section documents the Payments Engine endpoint. The Payments Engine endpoints include APIs available only for customers with Payments Engine enabled on their accounts.

    These endpoints are currently in beta and might be subject to changes.

    If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com.

    Create a payout instruction set.
    A payout instruction set is a set of instructions for distributing payments from a single payment account to a list of payee accounts.
    The instruction set defines:
    + **Note:** The reference content in this section documents the Payments Engine endpoint. The Payments Engine endpoints include APIs available only for customers with Payments Engine enabled on their accounts.

    These endpoints are currently in beta and might be subject to changes.

    If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com.

    Create a payout instruction set.
    A payout instruction set is a set of instructions for distributing payments from a single payment account to a list of payee accounts.
    The instruction set defines:
    Learn more about Fireblocks Payments - Payouts in the following [guide](https://developers.fireblocks.com/docs/create-payouts).
    Endpoint Permission: Admin, Non-Signing Admin. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -351,7 +351,7 @@ def get_payout( ) -> Future[ApiResponse[PayoutResponse]]: """Get the status of a payout instruction set - **Note:** The reference content in this section documents the Payments Engine endpoint. The Payments Engine endpoints include APIs available only for customers with Payments Engine enabled on their accounts.

    These endpoints are currently in beta and might be subject to changes.

    If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com.
    + **Note:** The reference content in this section documents the Payments Engine endpoint. The Payments Engine endpoints include APIs available only for customers with Payments Engine enabled on their accounts.

    These endpoints are currently in beta and might be subject to changes.

    If you want to learn more about Fireblocks Payments Engine, please contact your Fireblocks Customer Success Manager or email CSM@fireblocks.com.

    Endpoint Permission: Admin, Non-Signing Admin. :param payout_id: the payout id received from the creation of the payout instruction set (required) :type payout_id: str diff --git a/fireblocks/api/policy_editor_beta_api.py b/fireblocks/api/policy_editor_beta_api.py index ce447846..bfca50d5 100644 --- a/fireblocks/api/policy_editor_beta_api.py +++ b/fireblocks/api/policy_editor_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/policy_editor_v2_beta_api.py b/fireblocks/api/policy_editor_v2_beta_api.py index 4c715a31..21a44b5f 100644 --- a/fireblocks/api/policy_editor_v2_beta_api.py +++ b/fireblocks/api/policy_editor_v2_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -66,7 +66,7 @@ def get_active_policy( ) -> Future[ApiResponse[PolicyAndValidationResponse]]: """Get the active policy and its validation by policy type - Returns the active policy and its validation for a specific policy type.
    **Note:** These endpoints are currently in beta and might be subject to changes. + Returns the active policy and its validation for a specific policy type. **Note:** This endpoint is currently in beta and subject to change. If you want to participate in the Policies beta, contact your Fireblocks Customer Success Manager or send an email to csm@fireblocks.com. Endpoint Permissions: Owner, Admin, Non-Signing Admin. :param policy_type: The policy type(s) to retrieve. Can be a single type or multiple types by repeating the parameter (e.g., ?policyType=TRANSFER&policyType=MINT). (required) :type policy_type: PolicyType diff --git a/fireblocks/api/reset_device_api.py b/fireblocks/api/reset_device_api.py index e8df6793..ad78d25d 100644 --- a/fireblocks/api/reset_device_api.py +++ b/fireblocks/api/reset_device_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -61,7 +61,7 @@ def reset_device( ) -> Future[ApiResponse[None]]: """Resets device - Resets mobile device for given console user, that user will need to do mobile onboarding again. + Resets mobile device for given console user, that user will need to do mobile onboarding again. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param id: The ID of the console user (required) :type id: str diff --git a/fireblocks/api/smart_transfer_api.py b/fireblocks/api/smart_transfer_api.py index 59b4970f..dcb42c11 100644 --- a/fireblocks/api/smart_transfer_api.py +++ b/fireblocks/api/smart_transfer_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -78,7 +78,7 @@ def approve_dv_p_ticket_term( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SmartTransferTicketTermResponse]]: - """Define funding source and give approve to contract to transfer asset + """Set funding source and approval Set funding source for ticket term and creating approving transaction for contract to transfer asset @@ -244,7 +244,7 @@ def cancel_ticket( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Cancel Ticket - Cancel Smart Transfer ticket + Cancel Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -382,7 +382,7 @@ def create_ticket( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Create Ticket - Creates new Smart Transfer ticket + Creates a new Smart Transfer ticket. Learn more about Fireblocks Smart Transfers [here](https://developers.fireblocks.com/docs/execute-smart-transfers). **Note:** The `DVP` value is in Early Access and should only be used if Fireblocks has enabled it in your workspace. Contact your Customer Success Manager for more information. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. :param smart_transfer_create_ticket: (required) :type smart_transfer_create_ticket: SmartTransferCreateTicket @@ -532,7 +532,7 @@ def create_ticket_term( ) -> Future[ApiResponse[SmartTransferTicketTermResponse]]: """Create leg (term) - Creates new smart transfer ticket term (when the ticket status is DRAFT) + Creates new smart transfer ticket term (when the ticket status is DRAFT). Learn more about Fireblocks Smart Transfers in the following [guide](https://developers.fireblocks.com/docs/execute-smart-transfers).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -685,9 +685,9 @@ def find_ticket_by_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SmartTransferTicketResponse]]: - """Search Tickets by ID + """Search Ticket by ID - Find Smart Transfer ticket by id + Find Smart Transfer ticket by id.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param ticket_id: (required) :type ticket_id: str @@ -816,9 +816,9 @@ def find_ticket_term_by_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SmartTransferTicketTermResponse]]: - """Search ticket by leg (term) ID + """Get Smart Transfer ticket term - Find Smart Transfer ticket term by id + Find a specific term of a specific Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param ticket_id: (required) :type ticket_id: str @@ -956,7 +956,7 @@ def fulfill_ticket( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Fund ticket manually - Manually fulfill ticket, in case when all terms (legs) are funded manually + Manually fulfill ticket, in case when all terms (legs) are funded manually.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -1254,7 +1254,7 @@ def fund_ticket_term( ) -> Future[ApiResponse[SmartTransferTicketTermResponse]]: """Define funding source - Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately) + Set funding source for ticket term (in case of ASYNC tickets, this will execute transfer immediately).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -1538,7 +1538,7 @@ def get_smart_transfer_user_groups( ) -> Future[ApiResponse[SmartTransferUserGroupsResponse]]: """Get user group - Get Smart Transfer user groups + Get Smart Transfer user groups.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1664,7 +1664,7 @@ def manually_fund_ticket_term( ) -> Future[ApiResponse[SmartTransferTicketTermResponse]]: """Manually add term transaction - Manually set ticket term transaction + Manually set ticket term transaction.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -1976,7 +1976,7 @@ def search_tickets( ) -> Future[ApiResponse[SmartTransferTicketFilteredResponse]]: """Find Ticket - Finds Smart Transfer tickets that match the submitted criteria + Find tickets by their title or ticker. You can also query all tickets without filters by not providing any input parameters. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param q: Search string - counterparty name or asset or ticketId. Optional :type q: str @@ -2215,7 +2215,7 @@ def set_external_ref_id( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Add external ref. ID - Set external id Smart Transfer ticket + Set external id Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -2373,7 +2373,7 @@ def set_ticket_expiration( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Set expiration - Set expiration date on Smart Transfer ticket + Set expiration date on Smart Transfer ticket.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str @@ -2530,7 +2530,7 @@ def set_user_groups( ) -> Future[ApiResponse[SmartTransferUserGroupsResponse]]: """Set user group - Set Smart Transfer user group + Set Smart Transfers user group to receive email notifications for Smart Transfers.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param smart_transfer_set_user_groups: (required) :type smart_transfer_set_user_groups: SmartTransferSetUserGroups @@ -2680,7 +2680,7 @@ def submit_ticket( ) -> Future[ApiResponse[SmartTransferTicketResponse]]: """Submit ticket - Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on + Submit Smart Transfer ticket - change status into ready for approval if auto approval is not turned on, or OPEN if auto approval is on.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param ticket_id: (required) :type ticket_id: str diff --git a/fireblocks/api/staking_api.py b/fireblocks/api/staking_api.py index 0592842d..19cbbc96 100644 --- a/fireblocks/api/staking_api.py +++ b/fireblocks/api/staking_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -59,7 +59,7 @@ def __init__(self, api_client=None) -> None: @validate_call def approve_terms_of_service_by_provider_id( self, - provider_id: Annotated[StakingProvider, Field(description="The unique identifier of the staking provider")], + provider_id: Annotated[StakingProvider, Field(description="Unique identifier of the staking provider.")], idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ None, @@ -74,11 +74,11 @@ def approve_terms_of_service_by_provider_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Approve staking terms of service + """Approve provider terms of service - Approve the terms of service of the staking provider. This must be called before performing a staking action for the first time with this provider. + Approves the provider's terms of service. Must be called once before performing any staking operation with this provider. - :param provider_id: The unique identifier of the staking provider (required) + :param provider_id: Unique identifier of the staking provider. (required) :type provider_id: StakingProvider :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -116,6 +116,11 @@ def approve_terms_of_service_by_provider_id( _response_types_map: Dict[str, Optional[str]] = { '201': None, + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -194,7 +199,7 @@ def _approve_terms_of_service_by_provider_id_serialize( @validate_call def claim_rewards( self, - chain_descriptor: Annotated[StrictStr, Field(description="The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use")], + chain_descriptor: Annotated[StrictStr, Field(description="Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL).")], claim_rewards_request: ClaimRewardsRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -210,11 +215,11 @@ def claim_rewards( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Execute a Claim Rewards operation + """Claim accrued rewards - Perform a chain-specific Claim Rewards. + Claims available staking rewards for the specified chain and vault. Supported chains: Solana and Polygon (Matic). Behavior depends on protocol reward distribution. - :param chain_descriptor: The protocol identifier (e.g. \"MATIC\"/\"SOL\") to use (required) + :param chain_descriptor: Protocol identifier for the claim rewards staking operation (e.g., MATIC/SOL). (required) :type chain_descriptor: str :param claim_rewards_request: (required) :type claim_rewards_request: ClaimRewardsRequest @@ -256,6 +261,11 @@ def claim_rewards( _response_types_map: Dict[str, Optional[str]] = { '201': None, + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -350,7 +360,7 @@ def _claim_rewards_serialize( @validate_call def get_all_delegations( self, - chain_descriptor: Annotated[Optional[ChainDescriptor], Field(description="Use \"ETH\" / \"SOL\" / \"MATIC\" / \"STETH_ETH\" in order to obtain information related to the specific blockchain network or retrieve information about all chains that have data available by providing no argument.")] = None, + chain_descriptor: Annotated[Optional[ChainDescriptor], Field(description="Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -364,11 +374,11 @@ def get_all_delegations( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[Delegation]]]: - """List staking positions details + """List staking positions - Return detailed information on all staking positions, including the staked amount, rewards, status and more. + Returns all staking positions with core details: amounts, rewards, status, chain, and vault.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. - :param chain_descriptor: Use \"ETH\" / \"SOL\" / \"MATIC\" / \"STETH_ETH\" in order to obtain information related to the specific blockchain network or retrieve information about all chains that have data available by providing no argument. + :param chain_descriptor: Protocol identifier to filter positions (e.g., ATOM_COS/AXL/CELESTIA}). If omitted, positions across all supported chains are returned. :type chain_descriptor: ChainDescriptor :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -403,6 +413,11 @@ def get_all_delegations( _response_types_map: Dict[str, Optional[str]] = { '200': "List[Delegation]", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -480,7 +495,7 @@ def _get_all_delegations_serialize( @validate_call def get_chain_info( self, - chain_descriptor: Annotated[ChainDescriptor, Field(description="The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use")], + chain_descriptor: Annotated[ChainDescriptor, Field(description="Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL).")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -494,11 +509,11 @@ def get_chain_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ChainInfoResponse]]: - """Get chain-specific staking summary + """Get chain-level staking parameters - Return chain-specific, staking-related information summary (e.g. epoch details, lockup durations, estimated rewards, etc.) + Returns chain-specific staking information such as epoch/slot cadence, lockup or unbonding periods, fee/reward mechanics, and other operational constraints. - :param chain_descriptor: The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\"/\"STETH_ETH\") to use (required) + :param chain_descriptor: Protocol identifier for the chain info staking operation (e.g., ETH/MATIC/SOL). (required) :type chain_descriptor: ChainDescriptor :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -533,6 +548,11 @@ def get_chain_info( _response_types_map: Dict[str, Optional[str]] = { '200': "ChainInfoResponse", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -621,9 +641,9 @@ def get_chains( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[ChainDescriptor]]]: - """List staking supported chains + """List supported staking chains - Return an alphabetical list of supported chains. + Returns an alphabetical list of blockchains supported for staking by the current workspace context.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -657,6 +677,10 @@ def get_chains( _response_types_map: Dict[str, Optional[str]] = { '200': "List[ChainDescriptor]", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -729,7 +753,7 @@ def _get_chains_serialize( @validate_call def get_delegation_by_id( self, - id: Annotated[StrictStr, Field(description="The unique identifier of the staking position")], + id: Annotated[StrictStr, Field(description="Unique identifier of the staking position.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -743,11 +767,11 @@ def get_delegation_by_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[Delegation]]: - """Get staking position details + """Get position details - Return detailed information on a staking position, including the staked amount, rewards, status and more. + Returns full details for a single staking position: amounts, rewards, status, chain, and vault. - :param id: The unique identifier of the staking position (required) + :param id: Unique identifier of the staking position. (required) :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -783,6 +807,11 @@ def get_delegation_by_id( _response_types_map: Dict[str, Optional[str]] = { '200': "Delegation", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -871,9 +900,9 @@ def get_providers( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[Provider]]]: - """List staking providers details + """List staking providers - Return information on all the available staking providers. + Returns all available staking providers with metadata such as name, ID, and supported chains.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -907,6 +936,10 @@ def get_providers( _response_types_map: Dict[str, Optional[str]] = { '200': "List[Provider]", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -992,9 +1025,9 @@ def get_summary( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[DelegationSummary]]: - """Get staking summary details + """Get positions summary - Return a summary of all vaults, categorized by their status (active, inactive), the total amounts staked and total rewards per-chain. + Returns an aggregated cross-vault summary: active/inactive counts, total staked, and total rewards per chain. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1028,6 +1061,10 @@ def get_summary( _response_types_map: Dict[str, Optional[str]] = { '200': "DelegationSummary", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1113,9 +1150,9 @@ def get_summary_by_vault( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[Dict[str, DelegationSummary]]]: - """Get staking summary details by vault + """Get positions summary by vault - Return a summary for each vault, categorized by their status (active, inactive), the total amounts staked and total rewards per-chain. + Returns per-vault aggregates: status breakdown, total staked, and total rewards per chain. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -1149,6 +1186,10 @@ def get_summary_by_vault( _response_types_map: Dict[str, Optional[str]] = { '200': "Dict[str, DelegationSummary]", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1221,7 +1262,7 @@ def _get_summary_by_vault_serialize( @validate_call def merge_stake_accounts( self, - chain_descriptor: Annotated[StrictStr, Field(description="The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use")], + chain_descriptor: Annotated[StrictStr, Field(description="Protocol identifier for the merge staking operation (e.g., SOL).")], merge_stake_accounts_request: MergeStakeAccountsRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -1237,11 +1278,11 @@ def merge_stake_accounts( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[MergeStakeAccountsResponse]]: - """Merge Solana on stake accounts + """Merge staking positions - Perform a Solana Merge of two active stake accounts into one. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Merges the source stake account into the destination, consolidating the balance into the destination and closing the source account once complete. Both accounts must be from the same validator provider and of same vault account.. Supported chains: Solana (SOL).
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor. - :param chain_descriptor: The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use (required) + :param chain_descriptor: Protocol identifier for the merge staking operation (e.g., SOL). (required) :type chain_descriptor: str :param merge_stake_accounts_request: (required) :type merge_stake_accounts_request: MergeStakeAccountsRequest @@ -1283,6 +1324,11 @@ def merge_stake_accounts( _response_types_map: Dict[str, Optional[str]] = { '201': "MergeStakeAccountsResponse", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1377,7 +1423,7 @@ def _merge_stake_accounts_serialize( @validate_call def split( self, - chain_descriptor: Annotated[StrictStr, Field(description="The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use")], + chain_descriptor: Annotated[StrictStr, Field(description="Protocol identifier for the staking operation (e.g., SOL).")], split_request: SplitRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -1393,11 +1439,11 @@ def split( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SplitResponse]]: - """Execute a Split operation on SOL/SOL_TEST stake account + """Split a staking position - Perform a Solana Split stake account. + Splits a staking position by creating a new stake account with the requested amount, while keeping the original account with the remaining balance. Supported chains: Solana (SOL). - :param chain_descriptor: The protocol identifier (e.g. \"SOL\"/\"SOL_TEST\") to use (required) + :param chain_descriptor: Protocol identifier for the staking operation (e.g., SOL). (required) :type chain_descriptor: str :param split_request: (required) :type split_request: SplitRequest @@ -1439,6 +1485,11 @@ def split( _response_types_map: Dict[str, Optional[str]] = { '201': "SplitResponse", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1533,7 +1584,7 @@ def _split_serialize( @validate_call def stake( self, - chain_descriptor: Annotated[ChainDescriptor, Field(description="The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use")], + chain_descriptor: Annotated[ChainDescriptor, Field(description="Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA).")], stake_request: StakeRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -1549,11 +1600,11 @@ def stake( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[StakeResponse]]: - """Initiate Stake Operation + """Initiate or add to existing stake - Perform a chain-specific Stake. + Creates a new staking position and returns its unique ID. For Ethereum compounding validator (EIP-7251): when the 'id' of an existing compounding validator position is provided, adds to that position; otherwise creates a new position. For Ethereum legacy validator: creates a new position regardless of existing delegations. For Cosmos chains and Ethereum liquid staking (Lido): automatically add to existing positions for the same validator provider and same vault account if one exists, otherwise create a new position. For Solana and Polygon: always create new positions regardless of existing delegations. - :param chain_descriptor: The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + :param chain_descriptor: Protocol identifier for the stake staking operation (e.g., ATOM_COS/AXL/CELESTIA). (required) :type chain_descriptor: ChainDescriptor :param stake_request: (required) :type stake_request: StakeRequest @@ -1594,6 +1645,11 @@ def stake( _response_types_map: Dict[str, Optional[str]] = { '201': "StakeResponse", + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1688,7 +1744,7 @@ def _stake_serialize( @validate_call def unstake( self, - chain_descriptor: Annotated[ChainDescriptor, Field(description="The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use")], + chain_descriptor: Annotated[ChainDescriptor, Field(description="Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC).")], unstake_request: UnstakeRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -1704,11 +1760,11 @@ def unstake( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Execute an Unstake operation + """Initiate unstake - Execute an Unstake operation + Submits a chain-specific unstake request. - :param chain_descriptor: The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + :param chain_descriptor: Protocol identifier for the unstake staking operation (e.g., SOL/SOL_TEST/MATIC). (required) :type chain_descriptor: ChainDescriptor :param unstake_request: (required) :type unstake_request: UnstakeRequest @@ -1749,6 +1805,11 @@ def unstake( _response_types_map: Dict[str, Optional[str]] = { '201': None, + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } @@ -1843,7 +1904,7 @@ def _unstake_serialize( @validate_call def withdraw( self, - chain_descriptor: Annotated[ChainDescriptor, Field(description="The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use")], + chain_descriptor: Annotated[ChainDescriptor, Field(description="Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH).")], withdraw_request: WithdrawRequest, idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, _request_timeout: Union[ @@ -1859,11 +1920,11 @@ def withdraw( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[None]]: - """Execute a Withdraw operation + """Withdraw staked funds - Perform a chain-specific Withdraw. + Withdraws funds that have completed the unbonding period. Typically requires the position to be deactivated first (unstake → unbond → withdraw). Amount and timing vary by chain protocol. - :param chain_descriptor: The protocol identifier (e.g. \"ETH\"/\"SOL\"/\"MATIC\") to use (required) + :param chain_descriptor: Protocol identifier for the withdraw staking operation (e.g., ATOM_COS/ETH/STETH_ETH). (required) :type chain_descriptor: ChainDescriptor :param withdraw_request: (required) :type withdraw_request: WithdrawRequest @@ -1904,6 +1965,11 @@ def withdraw( _response_types_map: Dict[str, Optional[str]] = { '201': None, + '400': "ErrorSchema", + '403': "ErrorSchema", + '404': "ErrorSchema", + '429': "ErrorSchema", + '500': "ErrorSchema", 'default': "ErrorSchema", } diff --git a/fireblocks/api/tags_api.py b/fireblocks/api/tags_api.py index f09c73d1..7cbc0a7e 100644 --- a/fireblocks/api/tags_api.py +++ b/fireblocks/api/tags_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,10 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr +from pydantic import Field, StrictBool, StrictStr from typing import List, Optional, Union from typing_extensions import Annotated +from fireblocks.models.approval_request import ApprovalRequest from fireblocks.models.create_tag_request import CreateTagRequest from fireblocks.models.tag import Tag from fireblocks.models.tags_paged_response import TagsPagedResponse @@ -45,6 +46,145 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def cancel_approval_request( + self, + id: StrictStr, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[None]]: + """Cancel an approval request by id + + Cancel an approval request by id. Can only cancel requests in PENDING status. Returns 202 Accepted when the cancellation is processed. + + :param id: (required) + :type id: str + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="cancel_approval_request", param_name="id", param_value=id) + + _param = self._cancel_approval_request_serialize( + id=id, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '202': None, + '401': "ErrorResponse", + '404': None, + '409': "ErrorResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _cancel_approval_request_serialize( + self, + id, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/tags/approval_requests/{id}/cancel', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def create_tag( self, @@ -63,9 +203,9 @@ def create_tag( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[Tag]]: - """Create a tag + """Create a new tag - Create a new tag. + Create a new tag. Endpoint Permissions: For protected tags: ADMIN,NON_SIGNING_ADMIN,OWNER. For non protected tags: ADMIN,NON_SIGNING_ADMIN,OWNER,SIGNER,EDITOR,APPROVER. :param create_tag_request: (required) :type create_tag_request: CreateTagRequest @@ -104,7 +244,7 @@ def create_tag( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "Tag", + '201': "Tag", } return self.api_client.call_api( @@ -211,7 +351,7 @@ def delete_tag( ) -> Future[ApiResponse[None]]: """Delete a tag - Delete the specified tag. + Delete the specified tag. Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. :param tag_id: The ID of the tag to retrieve (required) :type tag_id: str @@ -313,6 +453,137 @@ def _delete_tag_serialize( + @validate_call + def get_approval_request( + self, + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[ApprovalRequest]]: + """Get an approval request by id + + Get an approval request by id + + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_approval_request", param_name="id", param_value=id) + + _param = self._get_approval_request_serialize( + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "ApprovalRequest", + '401': "ErrorResponse", + '404': "ErrorResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_approval_request_serialize( + self, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/tags/approval_requests/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_tag( self, @@ -448,6 +719,8 @@ def get_tags( page_size: Annotated[Optional[Union[Annotated[float, Field(le=100, strict=True, ge=1)], Annotated[int, Field(le=100, strict=True, ge=1)]]], Field(description="Maximum number of items in the page")] = None, label: Annotated[Optional[StrictStr], Field(description="Label prefix to filter by.")] = None, tag_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=100)]], Field(description="List of tag IDs to filter by.")] = None, + include_pending_approvals_info: Annotated[Optional[StrictBool], Field(description="Whether to include pending approval requests info.")] = None, + is_protected: Optional[StrictBool] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -473,6 +746,10 @@ def get_tags( :type label: str :param tag_ids: List of tag IDs to filter by. :type tag_ids: List[str] + :param include_pending_approvals_info: Whether to include pending approval requests info. + :type include_pending_approvals_info: bool + :param is_protected: + :type is_protected: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -501,6 +778,8 @@ def get_tags( page_size=page_size, label=label, tag_ids=tag_ids, + include_pending_approvals_info=include_pending_approvals_info, + is_protected=is_protected, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -523,6 +802,8 @@ def _get_tags_serialize( page_size, label, tag_ids, + include_pending_approvals_info, + is_protected, _request_auth, _content_type, _headers, @@ -562,6 +843,14 @@ def _get_tags_serialize( _query_params.append(('tagIds', tag_ids)) + if include_pending_approvals_info is not None: + + _query_params.append(('includePendingApprovalsInfo', include_pending_approvals_info)) + + if is_protected is not None: + + _query_params.append(('isProtected', is_protected)) + # process the header parameters # process the form parameters # process the body parameter @@ -619,7 +908,7 @@ def update_tag( ) -> Future[ApiResponse[Tag]]: """Update a tag - Update an existing specified tag. + Update an existing specified tag. Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. :param tag_id: The ID of the tag to update (required) :type tag_id: str diff --git a/fireblocks/api/tokenization_api.py b/fireblocks/api/tokenization_api.py index 889b8930..fdafcbad 100644 --- a/fireblocks/api/tokenization_api.py +++ b/fireblocks/api/tokenization_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -36,6 +36,7 @@ from fireblocks.models.get_layer_zero_dvn_config_response import GetLayerZeroDvnConfigResponse from fireblocks.models.get_layer_zero_peers_response import GetLayerZeroPeersResponse from fireblocks.models.get_linked_collections_paginated_response import GetLinkedCollectionsPaginatedResponse +from fireblocks.models.linked_tokens_count import LinkedTokensCount from fireblocks.models.reissue_multichain_token_request import ReissueMultichainTokenRequest from fireblocks.models.remove_layer_zero_adapters_request import RemoveLayerZeroAdaptersRequest from fireblocks.models.remove_layer_zero_adapters_response import RemoveLayerZeroAdaptersResponse @@ -245,7 +246,7 @@ def create_new_collection( ) -> Future[ApiResponse[CollectionLinkDto]]: """Create a new collection - Create a new collection and link it as a token + Create a new collection and link it as a token.
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. :param collection_deploy_request_dto: (required) :type collection_deploy_request_dto: CollectionDeployRequestDto @@ -1384,7 +1385,7 @@ def get_linked_collections( ) -> Future[ApiResponse[GetLinkedCollectionsPaginatedResponse]]: """Get collections - Get collections (paginated) + Get collections (paginated).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param page_cursor: Page cursor to get the next page, for example - \"MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==\" :type page_cursor: str @@ -1788,6 +1789,127 @@ def _get_linked_tokens_serialize( + @validate_call + def get_linked_tokens_count( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[LinkedTokensCount]]: + """Get the total count of linked tokens + + Get the total count of linked tokens + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_linked_tokens_count_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "LinkedTokensCount", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_linked_tokens_count_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/tokenization/tokens/count', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def issue_new_token( self, @@ -1808,7 +1930,7 @@ def issue_new_token( ) -> Future[ApiResponse[TokenLinkDto]]: """Issue a new token - Facilitates the creation of a new token, supporting both EVM-based and Stellar/Ripple platforms. For EVM, it deploys the corresponding contract template to the blockchain and links the token to the workspace. For Stellar/Ripple, it links a newly created token directly to the workspace without deploying a contract. Returns the token link with status \"PENDING\" until the token is deployed or \"SUCCESS\" if no deployment is needed. + Facilitates the creation of a new token, supporting both EVM-based and Stellar/Ripple platforms. For EVM, it deploys the corresponding contract template to the blockchain and links the token to the workspace. For Stellar/Ripple, it links a newly created token directly to the workspace without deploying a contract. Returns the token link with status \"PENDING\" until the token is deployed or \"SUCCESS\" if no deployment is needed.
    Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, and Editor. :param create_token_request_dto: (required) :type create_token_request_dto: CreateTokenRequestDto diff --git a/fireblocks/api/tr_link_api.py b/fireblocks/api/tr_link_api.py new file mode 100644 index 00000000..34c10999 --- /dev/null +++ b/fireblocks/api/tr_link_api.py @@ -0,0 +1,3611 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from concurrent.futures import Future +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr +from typing import List, Optional +from typing_extensions import Annotated +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse +from fireblocks.models.tr_link_assess_travel_rule_request import TRLinkAssessTravelRuleRequest +from fireblocks.models.tr_link_assess_travel_rule_response import TRLinkAssessTravelRuleResponse +from fireblocks.models.tr_link_assets_list_paged_response import TRLinkAssetsListPagedResponse +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest +from fireblocks.models.tr_link_connect_integration_request import TRLinkConnectIntegrationRequest +from fireblocks.models.tr_link_create_customer_request import TRLinkCreateCustomerRequest +from fireblocks.models.tr_link_create_integration_request import TRLinkCreateIntegrationRequest +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.models.tr_link_get_supported_asset_response import TRLinkGetSupportedAssetResponse +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import TRLinkSetDestinationTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import TRLinkSetDestinationTravelRuleMessageIdResponse +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import TRLinkSetTransactionTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import TRLinkSetTransactionTravelRuleMessageIdResponse +from fireblocks.models.tr_link_test_connection_response import TRLinkTestConnectionResponse +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse +from fireblocks.models.tr_link_update_customer_request import TRLinkUpdateCustomerRequest +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto + +from fireblocks.api_client import ApiClient, RequestSerialized +from fireblocks.api_response import ApiResponse +from fireblocks.rest import RESTResponseType +from fireblocks.validation_utils import validate_not_empty_string + + +class TRLinkApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def assess_tr_link_travel_rule_requirement( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + tr_link_assess_travel_rule_request: TRLinkAssessTravelRuleRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkAssessTravelRuleResponse]]: + """Assess Travel Rule requirement + + Assesses travel rule requirement for a transaction by validating stored credentials and determining whether Travel Rule compliance is required based on amount, jurisdiction, and partner thresholds. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param tr_link_assess_travel_rule_request: (required) + :type tr_link_assess_travel_rule_request: TRLinkAssessTravelRuleRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="assess_tr_link_travel_rule_requirement", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._assess_tr_link_travel_rule_requirement_serialize( + customer_integration_id=customer_integration_id, + tr_link_assess_travel_rule_request=tr_link_assess_travel_rule_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkAssessTravelRuleResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _assess_tr_link_travel_rule_requirement_serialize( + self, + customer_integration_id, + tr_link_assess_travel_rule_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_assess_travel_rule_request is not None: + _body_params = tr_link_assess_travel_rule_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/trm/assess', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def cancel_tr_link_trm( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + trm_id: Annotated[StrictStr, Field(description="Travel Rule Message unique identifier")], + tr_link_cancel_trm_request: TRLinkCancelTrmRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkTrmInfoResponse]]: + """Cancel Travel Rule Message + + Cancels a travel rule message. The TRM status will be updated to cancelled and the partner will be notified. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param trm_id: Travel Rule Message unique identifier (required) + :type trm_id: str + :param tr_link_cancel_trm_request: (required) + :type tr_link_cancel_trm_request: TRLinkCancelTrmRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="cancel_tr_link_trm", param_name="customer_integration_id", param_value=customer_integration_id) + validate_not_empty_string(function_name="cancel_tr_link_trm", param_name="trm_id", param_value=trm_id) + + _param = self._cancel_tr_link_trm_serialize( + customer_integration_id=customer_integration_id, + trm_id=trm_id, + tr_link_cancel_trm_request=tr_link_cancel_trm_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '202': "TRLinkTrmInfoResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _cancel_tr_link_trm_serialize( + self, + customer_integration_id, + trm_id, + tr_link_cancel_trm_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + if trm_id is not None: + _path_params['trmId'] = trm_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_cancel_trm_request is not None: + _body_params = tr_link_cancel_trm_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/cancel', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def connect_tr_link_integration( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + tr_link_connect_integration_request: TRLinkConnectIntegrationRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerIntegrationResponse]]: + """Connect customer integration + + Connects a customer integration by providing API credentials. Stores encrypted credentials and enables the integration for use. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param tr_link_connect_integration_request: (required) + :type tr_link_connect_integration_request: TRLinkConnectIntegrationRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="connect_tr_link_integration", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._connect_tr_link_integration_serialize( + customer_integration_id=customer_integration_id, + tr_link_connect_integration_request=tr_link_connect_integration_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkCustomerIntegrationResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _connect_tr_link_integration_serialize( + self, + customer_integration_id, + tr_link_connect_integration_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_connect_integration_request is not None: + _body_params = tr_link_connect_integration_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def create_tr_link_customer( + self, + tr_link_create_customer_request: TRLinkCreateCustomerRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerResponse]]: + """Create customer + + Creates a new customer (legal entity/VASP) for TRLink Travel Rule compliance operations. The customer represents your organization in the Travel Rule network and contains IVMS101-compliant identity information. + + :param tr_link_create_customer_request: (required) + :type tr_link_create_customer_request: TRLinkCreateCustomerRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._create_tr_link_customer_serialize( + tr_link_create_customer_request=tr_link_create_customer_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "TRLinkCustomerResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _create_tr_link_customer_serialize( + self, + tr_link_create_customer_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_create_customer_request is not None: + _body_params = tr_link_create_customer_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def create_tr_link_integration( + self, + tr_link_create_integration_request: TRLinkCreateIntegrationRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerIntegrationResponse]]: + """Create customer integration + + Creates a new TRLink integration for a customer. This establishes a connection placeholder between a customer and a Travel Rule partner. Use the connect endpoint to provide credentials after creation. + + :param tr_link_create_integration_request: (required) + :type tr_link_create_integration_request: TRLinkCreateIntegrationRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._create_tr_link_integration_serialize( + tr_link_create_integration_request=tr_link_create_integration_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "TRLinkCustomerIntegrationResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _create_tr_link_integration_serialize( + self, + tr_link_create_integration_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_create_integration_request is not None: + _body_params = tr_link_create_integration_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def create_tr_link_trm( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + tr_link_create_trm_request: TRLinkCreateTrmRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkTrmInfoResponse]]: + """Create Travel Rule Message + + Creates a new travel rule message with IVMS101-compliant PII data. Encrypts sensitive originator and beneficiary information before sending to partner. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param tr_link_create_trm_request: (required) + :type tr_link_create_trm_request: TRLinkCreateTrmRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="create_tr_link_trm", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._create_tr_link_trm_serialize( + customer_integration_id=customer_integration_id, + tr_link_create_trm_request=tr_link_create_trm_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "TRLinkTrmInfoResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _create_tr_link_trm_serialize( + self, + customer_integration_id, + tr_link_create_trm_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_create_trm_request is not None: + _body_params = tr_link_create_trm_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/trm', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_tr_link_customer( + self, + customer_id: Annotated[StrictStr, Field(description="Customer unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[None]]: + """Delete customer + + Deletes a customer and all associated integrations. This action cannot be undone. + + :param customer_id: Customer unique identifier (required) + :type customer_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="delete_tr_link_customer", param_name="customer_id", param_value=customer_id) + + _param = self._delete_tr_link_customer_serialize( + customer_id=customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _delete_tr_link_customer_serialize( + self, + customer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/screening/trlink/customers/{customerId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def disconnect_tr_link_integration( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[None]]: + """Disconnect customer integration + + Disconnects a customer integration by removing stored credentials. The integration record is deleted and cannot be recovered. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="disconnect_tr_link_integration", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._disconnect_tr_link_integration_serialize( + customer_integration_id=customer_integration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _disconnect_tr_link_integration_serialize( + self, + customer_integration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_customer_by_id( + self, + customer_id: Annotated[StrictStr, Field(description="Customer unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerResponse]]: + """Get customer by ID + + Retrieves detailed information about a specific customer by their unique identifier. + + :param customer_id: Customer unique identifier (required) + :type customer_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_customer_by_id", param_name="customer_id", param_value=customer_id) + + _param = self._get_tr_link_customer_by_id_serialize( + customer_id=customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkCustomerResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_customer_by_id_serialize( + self, + customer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/{customerId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_customer_integration_by_id( + self, + customer_id: Annotated[StrictStr, Field(description="Customer unique identifier")], + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerIntegrationResponse]]: + """Get customer integration by ID + + Retrieves detailed information about a specific customer integration. + + :param customer_id: Customer unique identifier (required) + :type customer_id: str + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_customer_integration_by_id", param_name="customer_id", param_value=customer_id) + validate_not_empty_string(function_name="get_tr_link_customer_integration_by_id", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._get_tr_link_customer_integration_by_id_serialize( + customer_id=customer_id, + customer_integration_id=customer_integration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkCustomerIntegrationResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_customer_integration_by_id_serialize( + self, + customer_id, + customer_integration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/{customerId}/integrations/{customerIntegrationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_customer_integrations( + self, + customer_id: Annotated[StrictStr, Field(description="Customer unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[List[TRLinkCustomerIntegrationResponse]]]: + """Get customer integrations + + Retrieves all TRLink integrations for a specific customer. Returns a list of partner integrations configured for Travel Rule compliance. + + :param customer_id: Customer unique identifier (required) + :type customer_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_customer_integrations", param_name="customer_id", param_value=customer_id) + + _param = self._get_tr_link_customer_integrations_serialize( + customer_id=customer_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[TRLinkCustomerIntegrationResponse]", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_customer_integrations_serialize( + self, + customer_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/{customerId}/integrations', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_customers( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[List[TRLinkCustomerResponse]]]: + """Get all customers + + Retrieves all customers associated with the authenticated tenant. Returns a list of legal entities configured for Travel Rule compliance. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_tr_link_customers_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[TRLinkCustomerResponse]", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_customers_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_integration_public_key( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkPublicKeyResponse]]: + """Get public key for PII encryption + + Retrieves the partner's public key in JWK format for encrypting PII data in Travel Rule Messages. Use this key to encrypt sensitive originator and beneficiary information before sending Travel Rule messages. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_integration_public_key", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._get_tr_link_integration_public_key_serialize( + customer_integration_id=customer_integration_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkPublicKeyResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_integration_public_key_serialize( + self, + customer_integration_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/public_key', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_partners( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[List[TRLinkPartnerResponse]]]: + """List available TRLink partners + + Retrieves a list of all available Travel Rule Link integration partners. Partners provide Travel Rule compliance services such as VASP discovery, TRM exchange, and PII encryption. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_tr_link_partners_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[TRLinkPartnerResponse]", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_partners_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/partners', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_policy( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkPolicyResponse]]: + """Get TRLink policy + + Retrieves the complete TRLink policy for the authenticated tenant, including pre-screening rules, post-screening rules, and missing TRM rules. Pre-screening rules determine whether transactions should be screened. Post-screening rules determine actions based on screening results. Missing TRM rules handle cases when screening data is unavailable. + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._get_tr_link_policy_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkPolicyResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_policy_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/policy', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_supported_asset( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + asset_id: Annotated[StrictStr, Field(description="Fireblocks asset ID")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkGetSupportedAssetResponse]]: + """Get supported asset by ID + + Retrieves detailed information about a specific asset by its Fireblocks asset ID. Returns the transformed Fireblocks asset data, raw partner response, and support status. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param asset_id: Fireblocks asset ID (required) + :type asset_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_supported_asset", param_name="customer_integration_id", param_value=customer_integration_id) + validate_not_empty_string(function_name="get_tr_link_supported_asset", param_name="asset_id", param_value=asset_id) + + _param = self._get_tr_link_supported_asset_serialize( + customer_integration_id=customer_integration_id, + asset_id=asset_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkGetSupportedAssetResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_supported_asset_serialize( + self, + customer_integration_id, + asset_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + if asset_id is not None: + _path_params['assetId'] = asset_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/assets/{assetId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_trm_by_id( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + trm_id: Annotated[StrictStr, Field(description="Travel Rule Message unique identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkTrmInfoResponse]]: + """Get TRM by ID + + Retrieves a Travel Rule Message by its unique identifier from the partner provider. Returns full TRM details including status, IVMS101 data, and transaction information. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param trm_id: Travel Rule Message unique identifier (required) + :type trm_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_trm_by_id", param_name="customer_integration_id", param_value=customer_integration_id) + validate_not_empty_string(function_name="get_tr_link_trm_by_id", param_name="trm_id", param_value=trm_id) + + _param = self._get_tr_link_trm_by_id_serialize( + customer_integration_id=customer_integration_id, + trm_id=trm_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkTrmInfoResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_trm_by_id_serialize( + self, + customer_integration_id, + trm_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + if trm_id is not None: + _path_params['trmId'] = trm_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_tr_link_vasp_by_id( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + vasp_id: Annotated[StrictStr, Field(description="VASP unique identifier (DID format)")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkVaspDto]]: + """Get VASP by ID + + Retrieves detailed information about a specific VASP by its unique identifier. Returns VASP details including public key if available. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param vasp_id: VASP unique identifier (DID format) (required) + :type vasp_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_tr_link_vasp_by_id", param_name="customer_integration_id", param_value=customer_integration_id) + validate_not_empty_string(function_name="get_tr_link_vasp_by_id", param_name="vasp_id", param_value=vasp_id) + + _param = self._get_tr_link_vasp_by_id_serialize( + customer_integration_id=customer_integration_id, + vasp_id=vasp_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkVaspDto", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_tr_link_vasp_by_id_serialize( + self, + customer_integration_id, + vasp_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + if vasp_id is not None: + _path_params['vaspId'] = vasp_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/vasps/{vaspId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def list_tr_link_supported_assets( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of results per page (max 100)")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Cursor for pagination (from previous response)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkAssetsListPagedResponse]]: + """List supported assets + + Retrieves a paginated list of assets supported by the partner integration. Includes a flag indicating whether the partner can handle assets not explicitly listed. Supports cursor-based pagination. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param page_size: Number of results per page (max 100) + :type page_size: int + :param page_cursor: Cursor for pagination (from previous response) + :type page_cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="list_tr_link_supported_assets", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._list_tr_link_supported_assets_serialize( + customer_integration_id=customer_integration_id, + page_size=page_size, + page_cursor=page_cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkAssetsListPagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _list_tr_link_supported_assets_serialize( + self, + customer_integration_id, + page_size, + page_cursor, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/assets', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def list_tr_link_vasps( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + page_size: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of results per page (max 100)")] = None, + page_cursor: Annotated[Optional[StrictStr], Field(description="Cursor for pagination (from previous response)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkAPIPagedResponse]]: + """List VASPs + + Retrieves a paginated list of VASPs (Virtual Asset Service Providers) available through the partner integration. Supports cursor-based pagination. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param page_size: Number of results per page (max 100) + :type page_size: int + :param page_cursor: Cursor for pagination (from previous response) + :type page_cursor: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="list_tr_link_vasps", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._list_tr_link_vasps_serialize( + customer_integration_id=customer_integration_id, + page_size=page_size, + page_cursor=page_cursor, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkAPIPagedResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _list_tr_link_vasps_serialize( + self, + customer_integration_id, + page_size, + page_cursor, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + if page_cursor is not None: + + _query_params.append(('pageCursor', page_cursor)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/vasps', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def redirect_tr_link_trm( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + trm_id: Annotated[StrictStr, Field(description="Travel Rule Message unique identifier")], + tr_link_redirect_trm_request: TRLinkRedirectTrmRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkTrmInfoResponse]]: + """Redirect Travel Rule Message + + Redirects a Travel Rule Message to a subsidiary VASP. This operation requires the partner to support nested VASPs functionality. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param trm_id: Travel Rule Message unique identifier (required) + :type trm_id: str + :param tr_link_redirect_trm_request: (required) + :type tr_link_redirect_trm_request: TRLinkRedirectTrmRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="redirect_tr_link_trm", param_name="customer_integration_id", param_value=customer_integration_id) + validate_not_empty_string(function_name="redirect_tr_link_trm", param_name="trm_id", param_value=trm_id) + + _param = self._redirect_tr_link_trm_serialize( + customer_integration_id=customer_integration_id, + trm_id=trm_id, + tr_link_redirect_trm_request=tr_link_redirect_trm_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '202': "TRLinkTrmInfoResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _redirect_tr_link_trm_serialize( + self, + customer_integration_id, + trm_id, + tr_link_redirect_trm_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + if trm_id is not None: + _path_params['trmId'] = trm_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_redirect_trm_request is not None: + _body_params = tr_link_redirect_trm_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/trm/{trmId}/redirect', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def set_tr_link_destination_travel_rule_message_id( + self, + tx_id: Annotated[StrictStr, Field(description="Fireblocks transaction unique identifier")], + tr_link_set_destination_travel_rule_message_id_request: TRLinkSetDestinationTravelRuleMessageIdRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkSetDestinationTravelRuleMessageIdResponse]]: + """Set destination travel rule message ID + + Associates a Travel Rule Message ID with a specific destination in a multi-destination Fireblocks transaction. Matches destinations by amount and peer path. + + :param tx_id: Fireblocks transaction unique identifier (required) + :type tx_id: str + :param tr_link_set_destination_travel_rule_message_id_request: (required) + :type tr_link_set_destination_travel_rule_message_id_request: TRLinkSetDestinationTravelRuleMessageIdRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="set_tr_link_destination_travel_rule_message_id", param_name="tx_id", param_value=tx_id) + + _param = self._set_tr_link_destination_travel_rule_message_id_serialize( + tx_id=tx_id, + tr_link_set_destination_travel_rule_message_id_request=tr_link_set_destination_travel_rule_message_id_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkSetDestinationTravelRuleMessageIdResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _set_tr_link_destination_travel_rule_message_id_serialize( + self, + tx_id, + tr_link_set_destination_travel_rule_message_id_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if tx_id is not None: + _path_params['txId'] = tx_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_set_destination_travel_rule_message_id_request is not None: + _body_params = tr_link_set_destination_travel_rule_message_id_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/transaction/{txId}/destination/travel_rule_message_id', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def set_tr_link_transaction_travel_rule_message_id( + self, + tx_id: Annotated[StrictStr, Field(description="Fireblocks transaction unique identifier")], + tr_link_set_transaction_travel_rule_message_id_request: TRLinkSetTransactionTravelRuleMessageIdRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkSetTransactionTravelRuleMessageIdResponse]]: + """Set transaction travel rule message ID + + Associates a Travel Rule Message ID with a Fireblocks transaction. This links the TRM compliance data to the blockchain transaction. + + :param tx_id: Fireblocks transaction unique identifier (required) + :type tx_id: str + :param tr_link_set_transaction_travel_rule_message_id_request: (required) + :type tr_link_set_transaction_travel_rule_message_id_request: TRLinkSetTransactionTravelRuleMessageIdRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="set_tr_link_transaction_travel_rule_message_id", param_name="tx_id", param_value=tx_id) + + _param = self._set_tr_link_transaction_travel_rule_message_id_serialize( + tx_id=tx_id, + tr_link_set_transaction_travel_rule_message_id_request=tr_link_set_transaction_travel_rule_message_id_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkSetTransactionTravelRuleMessageIdResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _set_tr_link_transaction_travel_rule_message_id_serialize( + self, + tx_id, + tr_link_set_transaction_travel_rule_message_id_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if tx_id is not None: + _path_params['txId'] = tx_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_set_transaction_travel_rule_message_id_request is not None: + _body_params = tr_link_set_transaction_travel_rule_message_id_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/transaction/{txId}/travel_rule_message_id', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def test_tr_link_integration_connection( + self, + customer_integration_id: Annotated[StrictStr, Field(description="Customer integration unique identifier")], + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkTestConnectionResponse]]: + """Test connection + + Tests the connection to a customer integration by validating stored credentials and attempting communication with the Travel Rule partner. Returns connection status and any error messages. + + :param customer_integration_id: Customer integration unique identifier (required) + :type customer_integration_id: str + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="test_tr_link_integration_connection", param_name="customer_integration_id", param_value=customer_integration_id) + + _param = self._test_tr_link_integration_connection_serialize( + customer_integration_id=customer_integration_id, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkTestConnectionResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _test_tr_link_integration_connection_serialize( + self, + customer_integration_id, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_integration_id is not None: + _path_params['customerIntegrationId'] = customer_integration_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/trlink/customers/integration/{customerIntegrationId}/test_connection', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def update_tr_link_customer( + self, + customer_id: Annotated[StrictStr, Field(description="Customer unique identifier")], + tr_link_update_customer_request: TRLinkUpdateCustomerRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TRLinkCustomerResponse]]: + """Update customer + + Updates an existing customer's information. All fields are optional - only provided fields will be updated. + + :param customer_id: Customer unique identifier (required) + :type customer_id: str + :param tr_link_update_customer_request: (required) + :type tr_link_update_customer_request: TRLinkUpdateCustomerRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="update_tr_link_customer", param_name="customer_id", param_value=customer_id) + + _param = self._update_tr_link_customer_serialize( + customer_id=customer_id, + tr_link_update_customer_request=tr_link_update_customer_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TRLinkCustomerResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _update_tr_link_customer_serialize( + self, + customer_id, + tr_link_update_customer_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if customer_id is not None: + _path_params['customerId'] = customer_id + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if tr_link_update_customer_request is not None: + _body_params = tr_link_update_customer_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/screening/trlink/customers/{customerId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/fireblocks/api/trading_beta_api.py b/fireblocks/api/trading_beta_api.py index ca56a84d..5abb1807 100644 --- a/fireblocks/api/trading_beta_api.py +++ b/fireblocks/api/trading_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -68,7 +68,7 @@ def create_order( ) -> Future[ApiResponse[OrderDetails]]: """Create an order - Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. + Create an order to buy or sell an asset. If no source is given, an external source will be use. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). :param create_order_request: (required) :type create_order_request: CreateOrderRequest @@ -108,9 +108,12 @@ def create_order( _response_types_map: Dict[str, Optional[str]] = { '202': "OrderDetails", - '401': "TradingErrorResponse", - '404': "TradingErrorResponse", - '5XX': "TradingErrorResponse", + '400': "TradingErrorSchema", + '401': "TradingErrorSchema", + '403': "TradingErrorSchema", + '429': "TradingErrorSchema", + '5XX': "TradingErrorSchema", + 'default': "ErrorSchema", } return self.api_client.call_api( @@ -218,7 +221,7 @@ def create_quote( ) -> Future[ApiResponse[QuotesResponse]]: """Create a quote - Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. + Generate a time-limited quote for asset conversion, providing exchange rate and amount calculations. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Editor. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). :param create_quote: (required) :type create_quote: CreateQuote @@ -258,9 +261,12 @@ def create_quote( _response_types_map: Dict[str, Optional[str]] = { '201': "QuotesResponse", - '401': "TradingErrorResponse", - '404': "TradingErrorResponse", - '5XX': "TradingErrorResponse", + '400': "TradingErrorSchema", + '401': "TradingErrorSchema", + '403': "TradingErrorSchema", + '429': "TradingErrorSchema", + '5XX': "TradingErrorSchema", + 'default': "ErrorSchema", } return self.api_client.call_api( @@ -367,7 +373,7 @@ def get_order( ) -> Future[ApiResponse[OrderDetails]]: """Get order details - Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Retrieve detailed information about a specific order by its ID. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). :param order_id: The ID of the order to fetch. (required) :type order_id: str @@ -405,9 +411,12 @@ def get_order( _response_types_map: Dict[str, Optional[str]] = { '200': "OrderDetails", - '401': "TradingErrorResponse", - '404': "TradingErrorResponse", - '5XX': "TradingErrorResponse", + '401': "TradingErrorSchema", + '403': "TradingErrorSchema", + '404': "TradingErrorSchema", + '429': "TradingErrorSchema", + '5XX': "TradingErrorSchema", + 'default': "ErrorSchema", } return self.api_client.call_api( @@ -506,7 +515,7 @@ def get_orders( ) -> Future[ApiResponse[GetOrdersResponse]]: """Get orders - Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Retrieve a paginated list of orders with optional filtering by account, provider, status, and time range. Note:These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). :param page_size: pageSize for pagination. (required) :type page_size: int @@ -567,9 +576,11 @@ def get_orders( _response_types_map: Dict[str, Optional[str]] = { '200': "GetOrdersResponse", - '401': "TradingErrorResponse", - '404': "TradingErrorResponse", - '5XX': "TradingErrorResponse", + '401': "TradingErrorSchema", + '403': "TradingErrorSchema", + '429': "TradingErrorSchema", + '5XX': "TradingErrorSchema", + 'default': "ErrorSchema", } return self.api_client.call_api( @@ -706,7 +717,7 @@ def get_trading_providers( ) -> Future[ApiResponse[ProvidersListResponse]]: """Get providers - Retrieve a list of all available external providers supporting trading activities through the platform. Note: These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Retrieve a list of all available external providers supporting trading activities through the platform. **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks Trading, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. **Endpoint Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed information about error codes and troubleshooting, please refer to our [API Error Codes documentation](https://developers.fireblocks.com/reference/api-error-codes). :param page_size: Page size for pagination. :type page_size: int @@ -746,8 +757,11 @@ def get_trading_providers( _response_types_map: Dict[str, Optional[str]] = { '200': "ProvidersListResponse", - '401': "TradingErrorResponse", - '5XX': "TradingErrorResponse", + '401': "TradingErrorSchema", + '403': "TradingErrorSchema", + '429': "TradingErrorSchema", + '5XX': "TradingErrorSchema", + 'default': "ErrorSchema", } return self.api_client.call_api( diff --git a/fireblocks/api/transactions_api.py b/fireblocks/api/transactions_api.py index 8e524ab5..52507752 100644 --- a/fireblocks/api/transactions_api.py +++ b/fireblocks/api/transactions_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -28,14 +28,12 @@ from fireblocks.models.estimated_network_fee_response import EstimatedNetworkFeeResponse from fireblocks.models.estimated_transaction_fee_response import EstimatedTransactionFeeResponse from fireblocks.models.freeze_transaction_response import FreezeTransactionResponse -from fireblocks.models.rescan_transaction import RescanTransaction from fireblocks.models.set_confirmations_threshold_request import SetConfirmationsThresholdRequest from fireblocks.models.set_confirmations_threshold_response import SetConfirmationsThresholdResponse from fireblocks.models.transaction_request import TransactionRequest from fireblocks.models.transaction_response import TransactionResponse from fireblocks.models.unfreeze_transaction_response import UnfreezeTransactionResponse from fireblocks.models.validate_address_response import ValidateAddressResponse -from fireblocks.models.validated_transactions_for_rescan import ValidatedTransactionsForRescan from fireblocks.api_client import ApiClient, RequestSerialized from fireblocks.api_response import ApiResponse @@ -77,7 +75,7 @@ def cancel_transaction( ) -> Future[ApiResponse[CancelTransactionResponse]]: """Cancel a transaction - Cancels a transaction by ID. + Cancels a transaction by Fireblocks Transaction ID. Can be used only for transactions that did not get to the BROADCASTING state.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param tx_id: The ID of the transaction to cancel (required) :type tx_id: str @@ -220,7 +218,7 @@ def create_transaction( ) -> Future[ApiResponse[CreateTransactionResponse]]: """Create a new transaction - Creates a new transaction. + Creates a new transaction. This endpoint can be used for regular Transfers, Contract Calls, Raw & Typed message signing. - For Transfers, the required parameters are: `assetId`, `source`, `destination` and `amount`. - For Contract Calls, the required parameters are: `operation.CONTRACT_CALL`, `assetId` (Base Asset), `source`, :param x_end_user_wallet_id: Unique ID of the End-User wallet to the API request. Required for end-user wallet operations. :type x_end_user_wallet_id: str @@ -374,9 +372,9 @@ def drop_transaction( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[DropTransactionResponse]]: - """Drop ETH transaction by ID + """Drop ETH (EVM) transaction by ID - Drops a stuck ETH transaction and creates a replacement transaction. + Drops a stuck ETH (EVM) transaction and creates a replacement transaction with 0 amount.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param tx_id: The ID of the transaction (required) :type tx_id: str @@ -536,7 +534,7 @@ def estimate_network_fee( ) -> Future[ApiResponse[EstimatedNetworkFeeResponse]]: """Estimate the required fee for an asset - Gets the estimated required fee for an asset. For UTXO based assets, the response will contain the suggested fee per byte, for ETH/ETC based assets, the suggested gas price, and for XRP/XLM, the transaction fee. + Gets the estimated required fee for an asset. Fireblocks fetches, calculates and caches the result every 30 seconds. Customers should query this API while taking the caching interval into consideration. Notes: - The `networkFee` parameter is the `gasPrice` with a given delta added, multiplied by the gasLimit plus the delta. - The estimation provided depends on the asset type. - For UTXO-based assets, the response contains the `feePerByte` parameter - For ETH-based and all EVM based assets, the response will contain `gasPrice` parameter. This is calculated by adding the `baseFee` to the `actualPriority` based on the latest 12 blocks. The response for ETH-based contains the `baseFee`, `gasPrice`, and `priorityFee` parameters. - For ADA-based assets, the response will contain the parameter `networkFee` and `feePerByte` parameters. - For XRP and XLM, the response will contain the transaction fee. - For other assets, the response will contain the `networkFee` parameter. Learn more about Fireblocks Fee Management in the following [guide](https://developers.fireblocks.com/reference/estimate-transaction-fee).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param asset_id: The asset for which to estimate the fee (required) :type asset_id: str @@ -668,7 +666,7 @@ def estimate_transaction_fee( ) -> Future[ApiResponse[EstimatedTransactionFeeResponse]]: """Estimate transaction fee - Estimates the transaction fee for a transaction request. * Note: Supports all Fireblocks assets except ZCash (ZEC). + Estimates the transaction fee for a specific transaction request. This endpoint simulates a transaction which means that the system will expect to have the requested asset and balance in the specified wallet. **Note**: Supports all Fireblocks assets except ZCash (ZEC). Learn more about Fireblocks Fee Management in the following [guide](https://developers.fireblocks.com/reference/estimate-transaction-fee).
    Endpoint Permission: Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str @@ -817,7 +815,7 @@ def freeze_transaction( ) -> Future[ApiResponse[FreezeTransactionResponse]]: """Freeze a transaction - Freezes a transaction by ID. + Freezes a transaction by ID. Usually used for AML integrations when the incoming funds should be quarantined. For account based assets - the entire amount of the transaction is frozen For UTXO based assets - all UTXOs of the specified transaction are frozen
    Endpoint Permission: Admin, Non-Signing Admin. :param tx_id: The ID of the transaction to freeze (required) :type tx_id: str @@ -955,9 +953,9 @@ def get_transaction( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[TransactionResponse]]: - """Find a specific transaction by Fireblocks transaction ID + """Get a specific transaction by Fireblocks transaction ID - Returns a transaction by ID. + Get a specific transaction data by Fireblocks Transaction ID
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param tx_id: The ID of the transaction to return (required) :type tx_id: str @@ -1085,9 +1083,9 @@ def get_transaction_by_external_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[TransactionResponse]]: - """Find a specific transaction by external transaction ID + """Get a specific transaction by external transaction ID - Returns transaction by external transaction ID. + Returns transaction by external transaction ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param external_tx_id: The external ID of the transaction to return (required) :type external_tx_id: str @@ -1202,10 +1200,10 @@ def get_transactions( self, next: Annotated[Optional[StrictStr], Field(description="Cursor returned in next-page header that can be used to fetch the next page of results")] = None, prev: Annotated[Optional[StrictStr], Field(description="Cursor returned in prev-page header that can be used to fetch the previous page of results")] = None, - before: Annotated[Optional[StrictStr], Field(description="Unix timestamp in milliseconds. Returns only transactions created before the specified date")] = None, - after: Annotated[Optional[StrictStr], Field(description="Unix timestamp in milliseconds. Returns only transactions created after the specified date")] = None, + before: Annotated[Optional[StrictStr], Field(description="Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. ")] = None, + after: Annotated[Optional[StrictStr], Field(description="Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. ")] = None, status: Annotated[Optional[StrictStr], Field(description="You can filter by one of the statuses.")] = None, - order_by: Annotated[Optional[StrictStr], Field(description="The field to order the results by **Note**: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions.")] = None, + order_by: Annotated[Optional[StrictStr], Field(description="The field to order the results by. **Note:** Ordering by a field that is not `createdAt` may result in transactions that receive updates as you request the next or previous pages of results, resulting in missing those transactions. ")] = None, sort: Annotated[Optional[StrictStr], Field(description="The direction to order the results by")] = None, limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=1)]], Field(description="Limits the number of results. If not provided, a limit of 200 will be used. The maximum allowed limit is 500")] = None, source_type: Annotated[Optional[StrictStr], Field(description="The source type of the transaction")] = None, @@ -1229,21 +1227,21 @@ def get_transactions( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[List[TransactionResponse]]]: - """List transaction history + """Get transaction history - Lists the transaction history for your workspace. + Get the transaction history for your workspace. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param next: Cursor returned in next-page header that can be used to fetch the next page of results :type next: str :param prev: Cursor returned in prev-page header that can be used to fetch the previous page of results :type prev: str - :param before: Unix timestamp in milliseconds. Returns only transactions created before the specified date + :param before: Unix timestamp in milliseconds. Returns only transactions created before the specified date. Provides an explicit end time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. :type before: str - :param after: Unix timestamp in milliseconds. Returns only transactions created after the specified date + :param after: Unix timestamp in milliseconds. Returns only transactions created after the specified date. Provides an explicit start time. If not provided, default value will be applied, and may change over time. The current default value is the past 90 days. :type after: str :param status: You can filter by one of the statuses. :type status: str - :param order_by: The field to order the results by **Note**: Ordering by a field that is not createdAt may result with transactions that receive updates as you request the next or previous pages of results, resulting with missing those transactions. + :param order_by: The field to order the results by. **Note:** Ordering by a field that is not `createdAt` may result in transactions that receive updates as you request the next or previous pages of results, resulting in missing those transactions. :type order_by: str :param sort: The direction to order the results by :type sort: str @@ -1462,155 +1460,6 @@ def _get_transactions_serialize( - @validate_call - def rescan_transactions_beta( - self, - rescan_transaction: List[RescanTransaction], - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[List[ValidatedTransactionsForRescan]]]: - """rescan array of transactions - - rescan transaction by running an async job.
    **Note**: - These endpoints are currently in beta and might be subject to changes. - We limit the amount of the transaction to 16 per request. - - :param rescan_transaction: (required) - :type rescan_transaction: List[RescanTransaction] - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - - _param = self._rescan_transactions_beta_serialize( - rescan_transaction=rescan_transaction, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "List[ValidatedTransactionsForRescan]", - 'default': "ErrorSchema", - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _rescan_transactions_beta_serialize( - self, - rescan_transaction, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - 'RescanTransaction': '', - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - if rescan_transaction is not None: - _body_params = rescan_transaction - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/transactions/rescan', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - @validate_call def set_confirmation_threshold_by_transaction_hash( self, @@ -1632,7 +1481,7 @@ def set_confirmation_threshold_by_transaction_hash( ) -> Future[ApiResponse[SetConfirmationsThresholdResponse]]: """Set confirmation threshold by transaction hash - Overrides the required number of confirmations for transaction completion by transaction hash. + Overrides the required number of confirmations for transaction completion by transaction hash.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param tx_hash: The TxHash (required) :type tx_hash: str @@ -1786,9 +1635,9 @@ def set_transaction_confirmation_threshold( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[SetConfirmationsThresholdResponse]]: - """Set confirmation threshold by transaction ID + """Set confirmation threshold by Fireblocks Transaction ID - Overrides the required number of confirmations for transaction completion by transaction ID. + Overrides the required number of confirmations for transaction completion Fireblocks Transaction ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param tx_id: The ID of the transaction (required) :type tx_id: str @@ -1944,7 +1793,7 @@ def unfreeze_transaction( ) -> Future[ApiResponse[UnfreezeTransactionResponse]]: """Unfreeze a transaction - Unfreezes a transaction by ID and makes the transaction available again. + Unfreezes a transaction by Fireblocks Transaction ID and makes the transaction available again.
    Endpoint Permission: Admin, Non-Signing Admin. :param tx_id: The ID of the transaction to unfreeze (required) :type tx_id: str @@ -2085,7 +1934,7 @@ def validate_address( ) -> Future[ApiResponse[ValidateAddressResponse]]: """Validate destination address - Checks if an address is valid (for XRP, DOT, XLM, and EOS). + Checks if an address is valid and active (for XRP, DOT, XLM, and EOS).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param asset_id: The asset of the address (required) :type asset_id: str diff --git a/fireblocks/api/travel_rule_api.py b/fireblocks/api/travel_rule_api.py index 0accb880..c3cb6ac1 100644 --- a/fireblocks/api/travel_rule_api.py +++ b/fireblocks/api/travel_rule_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,6 +27,9 @@ from fireblocks.models.travel_rule_validate_full_transaction_request import TravelRuleValidateFullTransactionRequest from fireblocks.models.travel_rule_validate_transaction_response import TravelRuleValidateTransactionResponse from fireblocks.models.travel_rule_vasp_for_vault import TravelRuleVaspForVault +from fireblocks.models.trust_proof_of_address_create_response import TrustProofOfAddressCreateResponse +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest +from fireblocks.models.trust_proof_of_address_response import TrustProofOfAddressResponse from fireblocks.api_client import ApiClient, RequestSerialized from fireblocks.api_response import ApiResponse @@ -47,6 +50,283 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def create_trust_proof_of_address( + self, + trust_proof_of_address_request: TrustProofOfAddressRequest, + idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TrustProofOfAddressCreateResponse]]: + """Create Trust Network Proof of Address + + Creates a cryptographic proof of address ownership for TRUST network. + + :param trust_proof_of_address_request: (required) + :type trust_proof_of_address_request: TrustProofOfAddressRequest + :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + :type idempotency_key: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + + _param = self._create_trust_proof_of_address_serialize( + trust_proof_of_address_request=trust_proof_of_address_request, + idempotency_key=idempotency_key, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '201': "TrustProofOfAddressCreateResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _create_trust_proof_of_address_serialize( + self, + trust_proof_of_address_request, + idempotency_key, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if idempotency_key is not None: + _header_params['Idempotency-Key'] = idempotency_key + # process the form parameters + # process the body parameter + if trust_proof_of_address_request is not None: + _body_params = trust_proof_of_address_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/screening/travel_rule/providers/trust/proof_of_address', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_trust_proof_of_address( + self, + transaction_id: Annotated[StrictStr, Field(description="Fireblocks transaction ID (UUID format)")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[TrustProofOfAddressResponse]]: + """Retrieve Trust Network Proof of Address Signature + + Retrieves the TRUST-compatible encoded signature for a proof of address transaction. Send this signature directly to TRUST for verification. + + :param transaction_id: Fireblocks transaction ID (UUID format) (required) + :type transaction_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="get_trust_proof_of_address", param_name="transaction_id", param_value=transaction_id) + + _param = self._get_trust_proof_of_address_serialize( + transaction_id=transaction_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TrustProofOfAddressResponse", + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _get_trust_proof_of_address_serialize( + self, + transaction_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if transaction_id is not None: + _path_params['transactionId'] = transaction_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/screening/travel_rule/providers/trust/proof_of_address/{transactionId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_vasp_for_vault( self, diff --git a/fireblocks/api/user_groups_beta_api.py b/fireblocks/api/user_groups_beta_api.py index a0d38e45..ef0b15cf 100644 --- a/fireblocks/api/user_groups_beta_api.py +++ b/fireblocks/api/user_groups_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -66,7 +66,7 @@ def create_user_group( ) -> Future[ApiResponse[CreateUserGroupResponse]]: """Create user group - Create a new user group.
    **Note**: - This endpoint is now in Beta, disabled for general availability at this time. - Please note that this endpoint is available only for API keys with Admin permissions. + Create a new user group. Users with the Viewer role cannot be added to groups.
    Endpoint Permission: Admin, Non-Signing Admin. :param user_group_create_request: (required) :type user_group_create_request: UserGroupCreateRequest @@ -470,7 +470,7 @@ def get_user_groups( ) -> Future[ApiResponse[List[UserGroupResponse]]]: """List user groups - Get all user groups in your workspace.
    **Note**: - This endpoint is now in Beta, disabled for general availability at this time. - Please note that this endpoint is available only for API keys with Admin permissions. + Get all user groups in your workspace - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api/users_api.py b/fireblocks/api/users_api.py index 43e4567f..a7fd4649 100644 --- a/fireblocks/api/users_api.py +++ b/fireblocks/api/users_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/vaults_api.py b/fireblocks/api/vaults_api.py index 1f0c9fe2..9d984dd8 100644 --- a/fireblocks/api/vaults_api.py +++ b/fireblocks/api/vaults_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,6 +30,7 @@ from fireblocks.models.create_multiple_vault_accounts_job_status import CreateMultipleVaultAccountsJobStatus from fireblocks.models.create_vault_account_request import CreateVaultAccountRequest from fireblocks.models.create_vault_asset_response import CreateVaultAssetResponse +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse from fireblocks.models.get_max_spendable_amount_response import GetMaxSpendableAmountResponse from fireblocks.models.job_created import JobCreated from fireblocks.models.paginated_address_response import PaginatedAddressResponse @@ -46,7 +47,6 @@ from fireblocks.models.vault_accounts_paged_response import VaultAccountsPagedResponse from fireblocks.models.vault_accounts_tag_attachment_operations_request import VaultAccountsTagAttachmentOperationsRequest from fireblocks.models.vault_accounts_tag_attachment_operations_response import VaultAccountsTagAttachmentOperationsResponse -from fireblocks.models.vault_accounts_tag_attachments_request import VaultAccountsTagAttachmentsRequest from fireblocks.models.vault_action_status import VaultActionStatus from fireblocks.models.vault_asset import VaultAsset @@ -90,7 +90,7 @@ def activate_asset_for_vault_account( ) -> Future[ApiResponse[CreateVaultAssetResponse]]: """Activate a wallet in a vault account - Initiates activation for a wallet in a vault account. + Initiates activation for a wallet in a vault account. Activation is required for tokens that need an on-chain transaction for creation (XLM tokens, SOL tokens etc).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The ID of the vault account to return, or 'default' for the default vault account (required) :type vault_account_id: str @@ -231,9 +231,9 @@ def attach_or_detach_tags_from_vault_accounts( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultAccountsTagAttachmentOperationsResponse]]: - """Attach or detach tags from a vault accounts + """Attach or detach tags from vault accounts - Attach or detach one or more tags from the requested vault accounts. + Attach or detach one or more tags from the requested vault accounts. Endpoint Permission: For protected tags: Owner, Admin, Non-Signing Admin. For non protected tags: Owner, Admin, Non-Signing Admin, Signer, Editor, Approver. :param vault_accounts_tag_attachment_operations_request: (required) :type vault_accounts_tag_attachment_operations_request: VaultAccountsTagAttachmentOperationsRequest @@ -362,146 +362,6 @@ def _attach_or_detach_tags_from_vault_accounts_serialize( - @validate_call - def attach_tags_to_vault_accounts( - self, - vault_accounts_tag_attachments_request: VaultAccountsTagAttachmentsRequest, - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[None]]: - """Attach tags to a vault accounts (deprecated) - - Attach one or more tags to the requested vault accounts. This endpoint is deprecated. Please use /vault/accounts/attached_tags instead. - - :param vault_accounts_tag_attachments_request: (required) - :type vault_accounts_tag_attachments_request: VaultAccountsTagAttachmentsRequest - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - - _param = self._attach_tags_to_vault_accounts_serialize( - vault_accounts_tag_attachments_request=vault_accounts_tag_attachments_request, - idempotency_key=idempotency_key, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '204': None, - } - - return self.api_client.call_api( - *_param, - _request_timeout=_request_timeout, - _response_types_map=_response_types_map, - ) - - def _attach_tags_to_vault_accounts_serialize( - self, - vault_accounts_tag_attachments_request, - idempotency_key, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key - # process the form parameters - # process the body parameter - if vault_accounts_tag_attachments_request is not None: - _body_params = vault_accounts_tag_attachments_request - - - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - ] - - return self.api_client.param_serialize( - method='POST', - resource_path='/vault/accounts/attached_tags/attach', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - @validate_call def create_legacy_address( self, @@ -524,7 +384,7 @@ def create_legacy_address( ) -> Future[ApiResponse[CreateAddressResponse]]: """Convert a segwit address to legacy format - Converts an existing segwit address to the legacy format. + Converts an existing segwit address to the legacy format.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The ID of the vault account (required) :type vault_account_id: str @@ -674,7 +534,7 @@ def create_multiple_accounts( ) -> Future[ApiResponse[JobCreated]]: """Bulk creation of new vault accounts - Create multiple vault accounts by running an async job.
    **Note**: - These endpoints are currently in beta and might be subject to changes. - We limit accounts to 10k per operation and 200k per customer during beta testing. Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. + Create multiple vault accounts by running an async job. - The HBAR, TON, SUI, TERRA, ALGO, and DOT blockchains are not supported. - Limited to a maximum of 10,000 accounts per operation. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. :param create_multiple_accounts_request: (required) :type create_multiple_accounts_request: CreateMultipleAccountsRequest @@ -822,7 +682,7 @@ def create_multiple_deposit_addresses( ) -> Future[ApiResponse[JobCreated]]: """Bulk creation of new deposit addresses - Create multiple deposit address by running an async job.
    **Note**: - We limit accounts to 10k per operation. Endpoint Permission: Admin, Non-Signing Admin. + **For UTXO blockchains only.** Create multiple deposit addresses by running an async job. - The target Vault account should already have a UTXO asset wallet with a permanent address. - Limited to a maximum of 10,000 addresses per operation. Use multiple operations for the same Vault account/permanent address if needed. **Endpoint Permissions:** Admin, Non-Signing Admin. :param create_multiple_deposit_addresses_request: (required) :type create_multiple_deposit_addresses_request: CreateMultipleDepositAddressesRequest @@ -970,7 +830,7 @@ def create_vault_account( ) -> Future[ApiResponse[VaultAccount]]: """Create a new vault account - Creates a new vault account with the requested name. + Creates a new vault account with the requested name. **Note: ** Vault account names should consist of ASCII characters only. Learn more about Fireblocks Vault Accounts in the following [guide](https://developers.fireblocks.com/reference/create-vault-account).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param create_vault_account_request: (required) :type create_vault_account_request: CreateVaultAccountRequest @@ -1118,9 +978,9 @@ def create_vault_account_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[CreateVaultAssetResponse]]: - """Create a new wallet + """Create a new vault wallet - Creates a wallet for a specific asset in a vault account. + Creates a wallet for a specific asset in a vault account. Learn more about Fireblocks Vault Wallets in the following [guide](https://developers.fireblocks.com/reference/create-vault-wallet).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The ID of the vault account to return, or 'default' for the default vault account (required) :type vault_account_id: str @@ -1284,7 +1144,7 @@ def create_vault_account_asset_address( ) -> Future[ApiResponse[CreateAddressResponse]]: """Create new asset deposit address - Creates a new deposit address for an asset of a vault account. + Creates a new deposit address for an asset of a vault account. Should be used for UTXO or Tag/Memo based assets ONLY. Requests with account based assets will fail.
    Endpoint Permission: Admin, Non-Signing Admin. :param vault_account_id: The ID of the vault account to return (required) :type vault_account_id: str @@ -1427,10 +1287,14 @@ def _create_vault_account_asset_address_serialize( @validate_call - def detach_tags_from_vault_accounts( + def get_asset_wallets( self, - vault_accounts_tag_attachments_request: VaultAccountsTagAttachmentsRequest, - idempotency_key: Annotated[Optional[StrictStr], Field(description="A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.")] = None, + total_amount_larger_than: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="When specified, only vault wallets with total balance greater than this amount are returned.")] = None, + asset_id: Annotated[Optional[StrictStr], Field(description="When specified, only vault wallets with the specified ID are returned.")] = None, + order_by: Optional[StrictStr] = None, + before: Annotated[Optional[StrictStr], Field(description="Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. ")] = None, + after: Annotated[Optional[StrictStr], Field(description="Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page.")] = None, + limit: Annotated[Optional[Union[Annotated[float, Field(le=1000, strict=True, ge=1)], Annotated[int, Field(le=1000, strict=True, ge=1)]]], Field(description="The maximum number of vault wallets in a single response. The default is 200 and the maximum is 1000. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1443,15 +1307,23 @@ def detach_tags_from_vault_accounts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[None]]: - """Detach tags from a vault accounts (deprecated) + ) -> Future[ApiResponse[PaginatedAssetWalletResponse]]: + """Get vault wallets (Paginated) - Detach one or more tags from the requested vault account. This endpoint is deprecated. Please use /vault/accounts/attached_tags instead. + Get all vault wallets of the vault accounts in your workspace. A vault wallet is an asset in a vault account. This method allows fast traversal of all account balances.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. - :param vault_accounts_tag_attachments_request: (required) - :type vault_accounts_tag_attachments_request: VaultAccountsTagAttachmentsRequest - :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - :type idempotency_key: str + :param total_amount_larger_than: When specified, only vault wallets with total balance greater than this amount are returned. + :type total_amount_larger_than: float + :param asset_id: When specified, only vault wallets with the specified ID are returned. + :type asset_id: str + :param order_by: + :type order_by: str + :param before: Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. + :type before: str + :param after: Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. + :type after: str + :param limit: The maximum number of vault wallets in a single response. The default is 200 and the maximum is 1000. + :type limit: float :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1475,9 +1347,13 @@ def detach_tags_from_vault_accounts( """ # noqa: E501 - _param = self._detach_tags_from_vault_accounts_serialize( - vault_accounts_tag_attachments_request=vault_accounts_tag_attachments_request, - idempotency_key=idempotency_key, + _param = self._get_asset_wallets_serialize( + total_amount_larger_than=total_amount_larger_than, + asset_id=asset_id, + order_by=order_by, + before=before, + after=after, + limit=limit, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1485,7 +1361,7 @@ def detach_tags_from_vault_accounts( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "PaginatedAssetWalletResponse", } return self.api_client.call_api( @@ -1494,10 +1370,14 @@ def detach_tags_from_vault_accounts( _response_types_map=_response_types_map, ) - def _detach_tags_from_vault_accounts_serialize( + def _get_asset_wallets_serialize( self, - vault_accounts_tag_attachments_request, - idempotency_key, + total_amount_larger_than, + asset_id, + order_by, + before, + after, + limit, _request_auth, _content_type, _headers, @@ -1520,37 +1400,51 @@ def _detach_tags_from_vault_accounts_serialize( # process the path parameters # process the query parameters + if total_amount_larger_than is not None: + + _query_params.append(('totalAmountLargerThan', total_amount_larger_than)) + + if asset_id is not None: + + _query_params.append(('assetId', asset_id)) + + if order_by is not None: + + _query_params.append(('orderBy', order_by)) + + if before is not None: + + _query_params.append(('before', before)) + + if after is not None: + + _query_params.append(('after', after)) + + if limit is not None: + + _query_params.append(('limit', limit)) + # process the header parameters - if idempotency_key is not None: - _header_params['Idempotency-Key'] = idempotency_key # process the form parameters # process the body parameter - if vault_accounts_tag_attachments_request is not None: - _body_params = vault_accounts_tag_attachments_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ ] return self.api_client.param_serialize( - method='POST', - resource_path='/vault/accounts/attached_tags/detach', + method='GET', + resource_path='/vault/asset_wallets', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1567,14 +1461,9 @@ def _detach_tags_from_vault_accounts_serialize( @validate_call - def get_asset_wallets( + def get_create_multiple_deposit_addresses_job_status( self, - total_amount_larger_than: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="When specified, only asset wallets with total balance larger than this amount are returned.")] = None, - asset_id: Annotated[Optional[StrictStr], Field(description="When specified, only asset wallets cross vault accounts that have this asset ID are returned.")] = None, - order_by: Optional[StrictStr] = None, - before: Annotated[Optional[StrictStr], Field(description="Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page.")] = None, - after: Annotated[Optional[StrictStr], Field(description="Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page.")] = None, - limit: Annotated[Optional[Union[Annotated[float, Field(le=1000, strict=True, ge=1)], Annotated[int, Field(le=1000, strict=True, ge=1)]]], Field(description="The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000.")] = None, + job_id: Annotated[StrictStr, Field(description="The ID of the job to create addresses")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1587,23 +1476,13 @@ def get_asset_wallets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[PaginatedAssetWalletResponse]]: - """List asset wallets (Paginated) + ) -> Future[ApiResponse[CreateMultipleDepositAddressesJobStatus]]: + """Get the job status of the bulk deposit address creation - Gets all asset wallets at all of the vault accounts in your workspace. An asset wallet is an asset at a vault account. This method allows fast traversal of all account balances. + Returns the current status of (or an error for) the specified deposit addresss bulk creation job. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, and Viewer. - :param total_amount_larger_than: When specified, only asset wallets with total balance larger than this amount are returned. - :type total_amount_larger_than: float - :param asset_id: When specified, only asset wallets cross vault accounts that have this asset ID are returned. - :type asset_id: str - :param order_by: - :type order_by: str - :param before: Fetches the next paginated response before this element. This element is a cursor and is returned at the response of the previous page. - :type before: str - :param after: Fetches the next paginated response after this element. This element is a cursor and is returned at the response of the previous page. - :type after: str - :param limit: The maximum number of asset wallets in a single response. The default is 200 and the maximum is 1000. - :type limit: float + :param job_id: The ID of the job to create addresses (required) + :type job_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1626,14 +1505,10 @@ def get_asset_wallets( :return: Returns the result object. """ # noqa: E501 + validate_not_empty_string(function_name="get_create_multiple_deposit_addresses_job_status", param_name="job_id", param_value=job_id) - _param = self._get_asset_wallets_serialize( - total_amount_larger_than=total_amount_larger_than, - asset_id=asset_id, - order_by=order_by, - before=before, - after=after, - limit=limit, + _param = self._get_create_multiple_deposit_addresses_job_status_serialize( + job_id=job_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1641,7 +1516,8 @@ def get_asset_wallets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PaginatedAssetWalletResponse", + '200': "CreateMultipleDepositAddressesJobStatus", + 'default': "ErrorSchema", } return self.api_client.call_api( @@ -1650,14 +1526,9 @@ def get_asset_wallets( _response_types_map=_response_types_map, ) - def _get_asset_wallets_serialize( + def _get_create_multiple_deposit_addresses_job_status_serialize( self, - total_amount_larger_than, - asset_id, - order_by, - before, - after, - limit, + job_id, _request_auth, _content_type, _headers, @@ -1679,31 +1550,9 @@ def _get_asset_wallets_serialize( _body_params: Optional[bytes] = None # process the path parameters + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters - if total_amount_larger_than is not None: - - _query_params.append(('totalAmountLargerThan', total_amount_larger_than)) - - if asset_id is not None: - - _query_params.append(('assetId', asset_id)) - - if order_by is not None: - - _query_params.append(('orderBy', order_by)) - - if before is not None: - - _query_params.append(('before', before)) - - if after is not None: - - _query_params.append(('after', after)) - - if limit is not None: - - _query_params.append(('limit', limit)) - # process the header parameters # process the form parameters # process the body parameter @@ -1724,7 +1573,7 @@ def _get_asset_wallets_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/vault/asset_wallets', + resource_path='/vault/accounts/addresses/bulk/{jobId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1741,7 +1590,7 @@ def _get_asset_wallets_serialize( @validate_call - def get_create_multiple_deposit_addresses_job_status( + def get_create_multiple_vault_accounts_job_status( self, job_id: Annotated[StrictStr, Field(description="The ID of the job to create addresses")], _request_timeout: Union[ @@ -1756,10 +1605,10 @@ def get_create_multiple_deposit_addresses_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[CreateMultipleDepositAddressesJobStatus]]: - """Get job status of bulk creation of new deposit addresses + ) -> Future[ApiResponse[CreateMultipleVaultAccountsJobStatus]]: + """Get job status of bulk creation of new vault accounts - Returns the status of bulk creation of new deposit addresses job and the result or error Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Returns the current status of (or error for) the specified vault account bulk creation job. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param job_id: The ID of the job to create addresses (required) :type job_id: str @@ -1785,9 +1634,9 @@ def get_create_multiple_deposit_addresses_job_status( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_create_multiple_deposit_addresses_job_status", param_name="job_id", param_value=job_id) + validate_not_empty_string(function_name="get_create_multiple_vault_accounts_job_status", param_name="job_id", param_value=job_id) - _param = self._get_create_multiple_deposit_addresses_job_status_serialize( + _param = self._get_create_multiple_vault_accounts_job_status_serialize( job_id=job_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1796,7 +1645,7 @@ def get_create_multiple_deposit_addresses_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CreateMultipleDepositAddressesJobStatus", + '200': "CreateMultipleVaultAccountsJobStatus", 'default': "ErrorSchema", } @@ -1806,7 +1655,7 @@ def get_create_multiple_deposit_addresses_job_status( _response_types_map=_response_types_map, ) - def _get_create_multiple_deposit_addresses_job_status_serialize( + def _get_create_multiple_vault_accounts_job_status_serialize( self, job_id, _request_auth, @@ -1853,7 +1702,7 @@ def _get_create_multiple_deposit_addresses_job_status_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/vault/accounts/addresses/bulk/{jobId}', + resource_path='/vault/accounts/bulk/{jobId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1870,9 +1719,10 @@ def _get_create_multiple_deposit_addresses_job_status_serialize( @validate_call - def get_create_multiple_vault_accounts_job_status( + def get_max_bip_index_used( self, - job_id: Annotated[StrictStr, Field(description="The ID of the job to create addresses")], + vault_account_id: Annotated[StrictStr, Field(description="The ID of the vault account")], + asset_id: Annotated[StrictStr, Field(description="The ID of the asset")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1885,13 +1735,15 @@ def get_create_multiple_vault_accounts_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> Future[ApiResponse[CreateMultipleVaultAccountsJobStatus]]: - """Get job status of bulk creation of new vault accounts + ) -> Future[ApiResponse[GetMaxBipIndexUsedResponse]]: + """Get maximum BIP44 index used - Returns the status of bulk creation of new vault accounts job and the result or error Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. + Retrieves the maximum BIP44 address index and change address index used for a specific asset in a vault account (BIP44 standard). - :param job_id: The ID of the job to create addresses (required) - :type job_id: str + :param vault_account_id: The ID of the vault account (required) + :type vault_account_id: str + :param asset_id: The ID of the asset (required) + :type asset_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1914,10 +1766,12 @@ def get_create_multiple_vault_accounts_job_status( :return: Returns the result object. """ # noqa: E501 - validate_not_empty_string(function_name="get_create_multiple_vault_accounts_job_status", param_name="job_id", param_value=job_id) + validate_not_empty_string(function_name="get_max_bip_index_used", param_name="vault_account_id", param_value=vault_account_id) + validate_not_empty_string(function_name="get_max_bip_index_used", param_name="asset_id", param_value=asset_id) - _param = self._get_create_multiple_vault_accounts_job_status_serialize( - job_id=job_id, + _param = self._get_max_bip_index_used_serialize( + vault_account_id=vault_account_id, + asset_id=asset_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1925,7 +1779,7 @@ def get_create_multiple_vault_accounts_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CreateMultipleVaultAccountsJobStatus", + '200': "GetMaxBipIndexUsedResponse", 'default': "ErrorSchema", } @@ -1935,9 +1789,10 @@ def get_create_multiple_vault_accounts_job_status( _response_types_map=_response_types_map, ) - def _get_create_multiple_vault_accounts_job_status_serialize( + def _get_max_bip_index_used_serialize( self, - job_id, + vault_account_id, + asset_id, _request_auth, _content_type, _headers, @@ -1959,8 +1814,10 @@ def _get_create_multiple_vault_accounts_job_status_serialize( _body_params: Optional[bytes] = None # process the path parameters - if job_id is not None: - _path_params['jobId'] = job_id + if vault_account_id is not None: + _path_params['vaultAccountId'] = vault_account_id + if asset_id is not None: + _path_params['assetId'] = asset_id # process the query parameters # process the header parameters # process the form parameters @@ -1982,7 +1839,7 @@ def _get_create_multiple_vault_accounts_job_status_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/vault/accounts/bulk/{jobId}', + resource_path='/vault/accounts/{vaultAccountId}/{assetId}/max_bip_index_used', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2017,9 +1874,9 @@ def get_max_spendable_amount( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[GetMaxSpendableAmountResponse]]: - """Get the maximum spendable amount in a single transaction. + """Get max spendable amount in a transaction - Get the maximum amount of a particular asset that can be spent in a single transaction from a specified vault account (UTXO assets only, with a limitation on number of inputs embedded). Send several transactions if you want to spend more than the maximum spendable amount. + **UTXO assets only.** Retrieve the maximum amount of the specified asset that can be spent in a single transaction from the specified vault account. **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param vault_account_id: The ID of the vault account, or 'default' for the default vault account (required) :type vault_account_id: str @@ -2149,13 +2006,15 @@ def get_paged_vault_accounts( self, name_prefix: Optional[StrictStr] = None, name_suffix: Optional[StrictStr] = None, - min_amount_threshold: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts.")] = None, + min_amount_threshold: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. The amount set in this parameter is the native asset amount and not its USD value.")] = None, asset_id: Optional[StrictStr] = None, order_by: Optional[StrictStr] = None, before: Optional[StrictStr] = None, after: Optional[StrictStr] = None, limit: Optional[Union[Annotated[float, Field(le=500, strict=True, ge=1)], Annotated[int, Field(le=500, strict=True, ge=1)]]] = None, - tag_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=100)]], Field(description="List of tag IDs to filter vault accounts.")] = None, + tag_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=50)]], Field(description="DEPRECATED - use includeTagIds instead")] = None, + include_tag_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=50)]], Field(description="List of tag IDs to include. Vault accounts with any of these tags will be included")] = None, + exclude_tag_ids: Annotated[Optional[Annotated[List[StrictStr], Field(max_length=50)]], Field(description="List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2169,15 +2028,15 @@ def get_paged_vault_accounts( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultAccountsPagedResponse]]: - """List vault accounts (Paginated) + """Get vault accounts (Paginated) - Gets all vault accounts in your workspace. This endpoint returns a limited amount of results with a quick response time. + Gets all vault accounts in your workspace. This endpoint returns a limited amount of results with a quick response time.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param name_prefix: :type name_prefix: str :param name_suffix: :type name_suffix: str - :param min_amount_threshold: Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. + :param min_amount_threshold: Specifying minAmountThreshold will filter accounts with balances greater than this value, otherwise, it will return all accounts. The amount set in this parameter is the native asset amount and not its USD value. :type min_amount_threshold: float :param asset_id: :type asset_id: str @@ -2189,8 +2048,12 @@ def get_paged_vault_accounts( :type after: str :param limit: :type limit: float - :param tag_ids: List of tag IDs to filter vault accounts. + :param tag_ids: DEPRECATED - use includeTagIds instead :type tag_ids: List[str] + :param include_tag_ids: List of tag IDs to include. Vault accounts with any of these tags will be included + :type include_tag_ids: List[str] + :param exclude_tag_ids: List of tag IDs to exclude. Vault accounts with any of these tags will be filtered out + :type exclude_tag_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2224,6 +2087,8 @@ def get_paged_vault_accounts( after=after, limit=limit, tag_ids=tag_ids, + include_tag_ids=include_tag_ids, + exclude_tag_ids=exclude_tag_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2251,6 +2116,8 @@ def _get_paged_vault_accounts_serialize( after, limit, tag_ids, + include_tag_ids, + exclude_tag_ids, _request_auth, _content_type, _headers, @@ -2261,6 +2128,8 @@ def _get_paged_vault_accounts_serialize( _collection_formats: Dict[str, str] = { 'tagIds': 'multi', + 'includeTagIds': 'multi', + 'excludeTagIds': 'multi', } _path_params: Dict[str, str] = {} @@ -2310,6 +2179,14 @@ def _get_paged_vault_accounts_serialize( _query_params.append(('tagIds', tag_ids)) + if include_tag_ids is not None: + + _query_params.append(('includeTagIds', include_tag_ids)) + + if exclude_tag_ids is not None: + + _query_params.append(('excludeTagIds', exclude_tag_ids)) + # process the header parameters # process the form parameters # process the body parameter @@ -2365,9 +2242,9 @@ def get_public_key_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[PublicKeyInformation]]: - """Get the public key information + """Get the public key for a derivation path - Gets the public key information based on derivation path and signing algorithm. + Gets the public key information based on derivation path and signing algorithm.
    Endpoint Permission: Admin, Non-Signing Admin. :param derivation_path: (required) :type derivation_path: str @@ -2517,9 +2394,9 @@ def get_public_key_info_for_address( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[PublicKeyInformation]]: - """Get the public key for a vault account + """Get an asset's public key - Gets the public key information for the vault account. + Get the public key information for a specific asset in a vault account.
    Endpoint Permission: Admin, Non-Signing Admin. :param vault_account_id: (required) :type vault_account_id: str @@ -2676,7 +2553,7 @@ def get_unspent_inputs( ) -> Future[ApiResponse[List[UnspentInputsResponse]]]: """Get UTXO unspent inputs information - Returns unspent inputs information of an asset in a vault account. + Returns unspent inputs information of an UTXO asset in a vault account.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param vault_account_id: The ID of the vault account (required) :type vault_account_id: str @@ -2796,7 +2673,7 @@ def _get_unspent_inputs_serialize( @validate_call def get_vault_account( self, - vault_account_id: Annotated[StrictStr, Field(description="The ID of the vault account to return type: string")], + vault_account_id: Annotated[StrictStr, Field(description="The ID of the vault account")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2810,11 +2687,11 @@ def get_vault_account( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultAccount]]: - """Find a vault account by ID + """Get a vault account by ID - Returns the requested vault account. + Get a vault account by its unique ID.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. - :param vault_account_id: The ID of the vault account to return type: string (required) + :param vault_account_id: The ID of the vault account (required) :type vault_account_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -2942,7 +2819,7 @@ def get_vault_account_asset( ) -> Future[ApiResponse[VaultAsset]]: """Get the asset balance for a vault account - Returns a wallet for a specific asset of a vault account. + Returns a specific vault wallet balance information for a specific asset.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param vault_account_id: The ID of the vault account to return (required) :type vault_account_id: str @@ -3080,9 +2957,9 @@ def get_vault_account_asset_addresses_paginated( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[PaginatedAddressResponse]]: - """List addresses (Paginated) + """Get addresses (Paginated) - Returns a paginated response of the addresses for a given vault account and asset. + Returns a paginated response of the addresses for a given vault account and asset.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param vault_account_id: The ID of the vault account to return (required) :type vault_account_id: str @@ -3243,7 +3120,7 @@ def get_vault_assets( ) -> Future[ApiResponse[List[VaultAsset]]]: """Get asset balance for chosen assets - Gets the assets amount summary for all accounts or filtered accounts. + Gets the assets amount summary for all accounts or filtered accounts.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param account_name_prefix: :type account_name_prefix: str @@ -3379,9 +3256,9 @@ def get_vault_balance_by_asset( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultAsset]]: - """Get vault balance by asset + """Get vault balance by an asset - Gets the vault balance summary for an asset. + Get the total balance of an asset across all the vault accounts.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. :param asset_id: (required) :type asset_id: str @@ -3511,7 +3388,7 @@ def hide_vault_account( ) -> Future[ApiResponse[VaultActionStatus]]: """Hide a vault account in the console - Hides the requested vault account from the web console view. + Hides the requested vault account from the web console view. This operation is required when creating thousands of vault accounts to serve your end-users. Used for preventing the web console to be swamped with too much vault accounts. Learn more in the following [guide](https://developers.fireblocks.com/docs/create-direct-custody-wallets#hiding-vault-accounts). NOTE: Hiding the vault account from the web console will also hide all the related transactions to/from this vault.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The vault account to hide (required) :type vault_account_id: str @@ -3650,7 +3527,7 @@ def set_customer_ref_id_for_address( ) -> Future[ApiResponse[VaultActionStatus]]: """Assign AML customer reference ID - Sets an AML/KYT customer reference ID for a specific address. + Sets an AML/KYT customer reference ID for a specific address.
    Endpoint Permission: Admin, Non-Signing Admin. :param vault_account_id: The ID of the vault account (required) :type vault_account_id: str @@ -3818,9 +3695,9 @@ def set_vault_account_auto_fuel( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultActionStatus]]: - """Turn autofueling on or off + """Set auto fueling to on or off - Sets the autofueling property of the vault account to enabled or disabled. + Toggles the auto fueling property of the vault account to enabled or disabled. Vault Accounts with 'autoFuel=true' are monitored and auto fueled by the Fireblocks Gas Station. Learn more about the Fireblocks Gas Station in the following [guide](https://developers.fireblocks.com/docs/work-with-gas-station).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The vault account ID (required) :type vault_account_id: str @@ -3974,9 +3851,9 @@ def set_vault_account_customer_ref_id( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[VaultActionStatus]]: - """Set an AML/KYT customer reference ID for a vault account + """Set an AML/KYT ID for a vault account - Assigns an AML/KYT customer reference ID for the vault account. + Assigns an AML/KYT customer reference ID for the vault account. Learn more about Fireblocks AML management in the following [guide](https://developers.fireblocks.com/docs/define-aml-policies).
    Endpoint Permission: Admin, Non-Signing Admin. :param vault_account_id: The vault account ID (required) :type vault_account_id: str @@ -4131,7 +4008,7 @@ def unhide_vault_account( ) -> Future[ApiResponse[VaultActionStatus]]: """Unhide a vault account in the console - Makes a hidden vault account visible in web console view. + Makes a hidden vault account visible in web console view.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The vault account to unhide (required) :type vault_account_id: str @@ -4268,7 +4145,7 @@ def update_vault_account( ) -> Future[ApiResponse[RenameVaultAccountResponse]]: """Rename a vault account - Renames the requested vault account. + Renames the requested vault account.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver. :param vault_account_id: The ID of the vault account to edit (required) :type vault_account_id: str @@ -4426,7 +4303,7 @@ def update_vault_account_asset_address( ) -> Future[ApiResponse[VaultActionStatus]]: """Update address description - Updates the description of an existing address of an asset in a vault account. + Updates the description of an existing address of an asset in a vault account.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The ID of the vault account (required) :type vault_account_id: str @@ -4596,7 +4473,7 @@ def update_vault_account_asset_balance( ) -> Future[ApiResponse[VaultAsset]]: """Refresh asset balance data - Updates the balance of a specific asset in a vault account. + Updates the balance of a specific asset in a vault account. This API endpoint is subject to a strict rate limit. Should be used by clients in very specific scenarios.
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param vault_account_id: The ID of the vault account to return (required) :type vault_account_id: str diff --git a/fireblocks/api/web3_connections_api.py b/fireblocks/api/web3_connections_api.py index 0aad5edb..fa898738 100644 --- a/fireblocks/api/web3_connections_api.py +++ b/fireblocks/api/web3_connections_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/api/webhooks_api.py b/fireblocks/api/webhooks_api.py index a8a76e86..2bdcb3de 100644 --- a/fireblocks/api/webhooks_api.py +++ b/fireblocks/api/webhooks_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -63,9 +63,9 @@ def resend_transaction_webhooks( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[ResendWebhooksByTransactionIdResponse]]: - """Resend failed webhooks for a transaction by ID + """Resend webhooks for a transaction by ID - Resends failed webhook notifications for a transaction by ID. + Resends webhook notifications for a transaction by its unique identifier. Learn more about Fireblocks Webhooks in the following [guide](https://developers.fireblocks.com/docs/configure-webhooks). **Endpoint Permissions:** Admin, Non-Signing Admin, Signer, Approver, Editor. :param tx_id: The ID of the transaction for webhooks (required) :type tx_id: str @@ -219,7 +219,7 @@ def resend_webhooks( ) -> Future[ApiResponse[ResendWebhooksResponse]]: """Resend failed webhooks - Resends all failed webhook notifications. + Resends all failed webhook notifications. Learn more about Fireblocks Webhooks in the following [guide](https://developers.fireblocks.com/docs/configure-webhooks).
    Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor. :param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. :type idempotency_key: str diff --git a/fireblocks/api/webhooks_v2_api.py b/fireblocks/api/webhooks_v2_api.py index 006880b2..9cf0a5dd 100644 --- a/fireblocks/api/webhooks_v2_api.py +++ b/fireblocks/api/webhooks_v2_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -73,9 +73,9 @@ def create_webhook( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[Webhook]]: - """Create new webhook + """Create a new webhook - Creates a new webhook, which will be triggered on the specified events Endpoint Permission: Owner, Admin, Non-Signing Admin. + Creates a new webhook, which will be triggered on the specified events **Endpoint Permissions:** Owner, Admin, Non-Signing Admin. :param create_webhook_request: (required) :type create_webhook_request: CreateWebhookRequest @@ -1269,7 +1269,7 @@ def get_webhooks( ) -> Future[ApiResponse[WebhookPaginatedResponse]]: """Get all webhooks - Get all webhooks (paginated) + Get all webhooks (paginated). :param order: ASC / DESC ordering (default DESC) :type order: str diff --git a/fireblocks/api/whitelist_ip_addresses_api.py b/fireblocks/api/whitelist_ip_addresses_api.py index 8598175f..170eb592 100644 --- a/fireblocks/api/whitelist_ip_addresses_api.py +++ b/fireblocks/api/whitelist_ip_addresses_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -58,9 +58,9 @@ def get_whitelist_ip_addresses( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Future[ApiResponse[GetWhitelistIpAddressesResponse]]: - """Gets whitelisted ip addresses + """Get whitelisted ip addresses for an API Key - Gets whitelisted ip addresses for given Api user. + Get a list of the whitelisted IP addresses for a specific API Key - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param user_id: The ID of the api user (required) :type user_id: str diff --git a/fireblocks/api/workspace_status_beta_api.py b/fireblocks/api/workspace_status_beta_api.py index f08b47f5..18ff7c96 100644 --- a/fireblocks/api/workspace_status_beta_api.py +++ b/fireblocks/api/workspace_status_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -57,7 +57,7 @@ def get_workspace_status( ) -> Future[ApiResponse[GetWorkspaceStatusResponse]]: """Returns current workspace status - Returns current workspace status + Returns current workspace status (Beta). **Note**: - This endpoint is now in Beta, disabled for general availability at this time. - Please note that this endpoint is available only for API keys with Admin/Non Signing Admin permissions.
    Endpoint Permission: Admin, Non-Signing Admin. :param _request_timeout: timeout setting for this request. If one number provided, it will be total request diff --git a/fireblocks/api_client.py b/fireblocks/api_client.py index 7f73899d..be546119 100644 --- a/fireblocks/api_client.py +++ b/fireblocks/api_client.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/base_path.py b/fireblocks/base_path.py index 40d2cf70..2d0f3b68 100644 --- a/fireblocks/base_path.py +++ b/fireblocks/base_path.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/bearer_token_provider.py b/fireblocks/bearer_token_provider.py index eeb95b0f..1b4adfe9 100644 --- a/fireblocks/bearer_token_provider.py +++ b/fireblocks/bearer_token_provider.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/client.py b/fireblocks/client.py index 02946bd9..3666ef9d 100644 --- a/fireblocks/client.py +++ b/fireblocks/client.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -15,7 +15,6 @@ from fireblocks.client_configuration import ClientConfiguration from fireblocks.api.api_user_api import ApiUserApi -from fireblocks.api.assets_api import AssetsApi from fireblocks.api.audit_logs_api import AuditLogsApi from fireblocks.api.blockchains_assets_api import BlockchainsAssetsApi from fireblocks.api.compliance_api import ComplianceApi @@ -35,19 +34,20 @@ from fireblocks.api.fiat_accounts_api import FiatAccountsApi from fireblocks.api.gas_stations_api import GasStationsApi from fireblocks.api.internal_wallets_api import InternalWalletsApi -from fireblocks.api.job_management_api import JobManagementApi from fireblocks.api.key_link_beta_api import KeyLinkBetaApi from fireblocks.api.keys_beta_api import KeysBetaApi from fireblocks.api.nfts_api import NFTsApi from fireblocks.api.network_connections_api import NetworkConnectionsApi from fireblocks.api.ota_beta_api import OTABetaApi from fireblocks.api.off_exchanges_api import OffExchangesApi +from fireblocks.api.onchain_data_api import OnchainDataApi from fireblocks.api.payments_payout_api import PaymentsPayoutApi from fireblocks.api.policy_editor_v2_beta_api import PolicyEditorV2BetaApi from fireblocks.api.policy_editor_beta_api import PolicyEditorBetaApi from fireblocks.api.reset_device_api import ResetDeviceApi from fireblocks.api.smart_transfer_api import SmartTransferApi from fireblocks.api.staking_api import StakingApi +from fireblocks.api.tr_link_api import TRLinkApi from fireblocks.api.tags_api import TagsApi from fireblocks.api.tokenization_api import TokenizationApi from fireblocks.api.trading_beta_api import TradingBetaApi @@ -73,7 +73,6 @@ def __init__(self, configuration: ClientConfiguration = None): # APIs self._api_user = None - self._assets = None self._audit_logs = None self._blockchains_assets = None self._compliance = None @@ -91,19 +90,20 @@ def __init__(self, configuration: ClientConfiguration = None): self._fiat_accounts = None self._gas_stations = None self._internal_wallets = None - self._job_management = None self._key_link_beta = None self._keys_beta = None self._nfts = None self._network_connections = None self._ota_beta = None self._off_exchanges = None + self._onchain_data = None self._payments_payout = None self._policy_editor_v2_beta = None self._policy_editor_beta = None self._reset_device = None self._smart_transfer = None self._staking = None + self._tr_link = None self._tags = None self._tokenization = None self._trading_beta = None @@ -133,12 +133,6 @@ def api_user(self) -> ApiUserApi: self._api_user = ApiUserApi(self._api_client) return self._api_user - @property - def assets(self) -> AssetsApi: - if self._assets is None: - self._assets = AssetsApi(self._api_client) - return self._assets - @property def audit_logs(self) -> AuditLogsApi: if self._audit_logs is None: @@ -243,12 +237,6 @@ def internal_wallets(self) -> InternalWalletsApi: self._internal_wallets = InternalWalletsApi(self._api_client) return self._internal_wallets - @property - def job_management(self) -> JobManagementApi: - if self._job_management is None: - self._job_management = JobManagementApi(self._api_client) - return self._job_management - @property def key_link_beta(self) -> KeyLinkBetaApi: if self._key_link_beta is None: @@ -285,6 +273,12 @@ def off_exchanges(self) -> OffExchangesApi: self._off_exchanges = OffExchangesApi(self._api_client) return self._off_exchanges + @property + def onchain_data(self) -> OnchainDataApi: + if self._onchain_data is None: + self._onchain_data = OnchainDataApi(self._api_client) + return self._onchain_data + @property def payments_payout(self) -> PaymentsPayoutApi: if self._payments_payout is None: @@ -321,6 +315,12 @@ def staking(self) -> StakingApi: self._staking = StakingApi(self._api_client) return self._staking + @property + def tr_link(self) -> TRLinkApi: + if self._tr_link is None: + self._tr_link = TRLinkApi(self._api_client) + return self._tr_link + @property def tags(self) -> TagsApi: if self._tags is None: diff --git a/fireblocks/client_configuration.py b/fireblocks/client_configuration.py index ca8f897d..79776325 100644 --- a/fireblocks/client_configuration.py +++ b/fireblocks/client_configuration.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/configuration.py b/fireblocks/configuration.py index ae93b6ee..3f2e5962 100644 --- a/fireblocks/configuration.py +++ b/fireblocks/configuration.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -552,7 +552,7 @@ def to_debug_report(self) -> str: "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 1.6.2\n" - "SDK Package Version: 13.0.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 0.0.0".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self) -> List[HostSetting]: @@ -563,8 +563,12 @@ def get_host_settings(self) -> List[HostSetting]: return [ { "url": "https://api.fireblocks.io/v1", - "description": "No description provided", - } + "description": "Fireblocks Production Environment Base URL", + }, + { + "url": "https://sandbox-api.fireblocks.io/v1", + "description": "Fireblocks Sandbox Environment Base URL", + }, ] def get_host_from_settings( diff --git a/fireblocks/exceptions.py b/fireblocks/exceptions.py index a13e502c..a81e6a83 100644 --- a/fireblocks/exceptions.py +++ b/fireblocks/exceptions.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/__init__.py b/fireblocks/models/__init__.py index e15d5bf9..d3fa9fff 100644 --- a/fireblocks/models/__init__.py +++ b/fireblocks/models/__init__.py @@ -4,10 +4,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,6 +18,9 @@ from fireblocks.models.api_user import APIUser from fireblocks.models.aba_payment_info import AbaPaymentInfo from fireblocks.models.abi_function import AbiFunction +from fireblocks.models.access_registry_address_item import AccessRegistryAddressItem +from fireblocks.models.access_registry_current_state_response import AccessRegistryCurrentStateResponse +from fireblocks.models.access_registry_summary_response import AccessRegistrySummaryResponse from fireblocks.models.access_type import AccessType from fireblocks.models.account import Account from fireblocks.models.account_access import AccountAccess @@ -27,7 +30,6 @@ from fireblocks.models.account_config import AccountConfig from fireblocks.models.account_holder_details import AccountHolderDetails from fireblocks.models.account_identifier import AccountIdentifier -from fireblocks.models.account_provider_id import AccountProviderID from fireblocks.models.account_reference import AccountReference from fireblocks.models.account_type import AccountType from fireblocks.models.account_type2 import AccountType2 @@ -47,6 +49,8 @@ from fireblocks.models.additional_info import AdditionalInfo from fireblocks.models.additional_info_request import AdditionalInfoRequest from fireblocks.models.additional_info_request_additional_info import AdditionalInfoRequestAdditionalInfo +from fireblocks.models.address_balance_item_dto import AddressBalanceItemDto +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse from fireblocks.models.address_not_available_error import AddressNotAvailableError from fireblocks.models.alert_exposure_type_enum import AlertExposureTypeEnum from fireblocks.models.alert_level_enum import AlertLevelEnum @@ -69,6 +73,7 @@ from fireblocks.models.amount_range_min_max2 import AmountRangeMinMax2 from fireblocks.models.api_key import ApiKey from fireblocks.models.api_keys_paginated_response import ApiKeysPaginatedResponse +from fireblocks.models.approval_request import ApprovalRequest from fireblocks.models.approvers_config import ApproversConfig from fireblocks.models.approvers_config_approval_groups_inner import ApproversConfigApprovalGroupsInner from fireblocks.models.asset import Asset @@ -97,6 +102,7 @@ from fireblocks.models.asset_price_response import AssetPriceResponse from fireblocks.models.asset_response import AssetResponse from fireblocks.models.asset_scope import AssetScope +from fireblocks.models.asset_type_enum import AssetTypeEnum from fireblocks.models.asset_type_response import AssetTypeResponse from fireblocks.models.asset_types_config_inner import AssetTypesConfigInner from fireblocks.models.asset_wallet import AssetWallet @@ -104,9 +110,14 @@ from fireblocks.models.auditor_data import AuditorData from fireblocks.models.authorization_groups import AuthorizationGroups from fireblocks.models.authorization_info import AuthorizationInfo +from fireblocks.models.balance_history_item_dto import BalanceHistoryItemDto +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse +from fireblocks.models.bank_address import BankAddress from fireblocks.models.base_provider import BaseProvider from fireblocks.models.basic_address_request import BasicAddressRequest from fireblocks.models.block_info import BlockInfo +from fireblocks.models.blockchain_address import BlockchainAddress +from fireblocks.models.blockchain_destination import BlockchainDestination from fireblocks.models.blockchain_explorer import BlockchainExplorer from fireblocks.models.blockchain_media import BlockchainMedia from fireblocks.models.blockchain_metadata import BlockchainMetadata @@ -115,6 +126,7 @@ from fireblocks.models.blockchain_response import BlockchainResponse from fireblocks.models.blockchain_transfer import BlockchainTransfer from fireblocks.models.bps_fee import BpsFee +from fireblocks.models.business_entity_type_enum import BusinessEntityTypeEnum from fireblocks.models.business_identification import BusinessIdentification from fireblocks.models.callback_handler import CallbackHandler from fireblocks.models.callback_handler_request import CallbackHandlerRequest @@ -137,6 +149,7 @@ from fireblocks.models.collection_token_metadata_attribute_dto import CollectionTokenMetadataAttributeDto from fireblocks.models.collection_token_metadata_dto import CollectionTokenMetadataDto from fireblocks.models.collection_type import CollectionType +from fireblocks.models.committed_quote_enum import CommittedQuoteEnum from fireblocks.models.committed_quote_type import CommittedQuoteType from fireblocks.models.compliance_result_full_payload import ComplianceResultFullPayload from fireblocks.models.compliance_result_statuses_enum import ComplianceResultStatusesEnum @@ -156,6 +169,7 @@ from fireblocks.models.connected_account_balances import ConnectedAccountBalances from fireblocks.models.connected_account_balances_response import ConnectedAccountBalancesResponse from fireblocks.models.connected_account_capability import ConnectedAccountCapability +from fireblocks.models.connected_account_error_response import ConnectedAccountErrorResponse from fireblocks.models.connected_account_manifest import ConnectedAccountManifest from fireblocks.models.connected_account_rate_response import ConnectedAccountRateResponse from fireblocks.models.connected_account_total_balance import ConnectedAccountTotalBalance @@ -168,6 +182,7 @@ from fireblocks.models.console_user import ConsoleUser from fireblocks.models.contract_abi_response_dto import ContractAbiResponseDto from fireblocks.models.contract_abi_response_dto_abi_inner import ContractAbiResponseDtoAbiInner +from fireblocks.models.contract_address_response import ContractAddressResponse from fireblocks.models.contract_attributes import ContractAttributes from fireblocks.models.contract_data_decode_data_type import ContractDataDecodeDataType from fireblocks.models.contract_data_decode_error import ContractDataDecodeError @@ -203,7 +218,6 @@ from fireblocks.models.create_api_user import CreateAPIUser from fireblocks.models.create_address_request import CreateAddressRequest from fireblocks.models.create_address_response import CreateAddressResponse -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest from fireblocks.models.create_assets_request import CreateAssetsRequest from fireblocks.models.create_config_operation_request import CreateConfigOperationRequest from fireblocks.models.create_connection_request import CreateConnectionRequest @@ -245,8 +259,11 @@ from fireblocks.models.custom_routing_dest import CustomRoutingDest from fireblocks.models.d_app_address_config import DAppAddressConfig from fireblocks.models.dvp_settlement import DVPSettlement +from fireblocks.models.dvp_settlement_type import DVPSettlementType +from fireblocks.models.decoded_log import DecodedLog from fireblocks.models.default_network_routing_dest import DefaultNetworkRoutingDest from fireblocks.models.delegation import Delegation +from fireblocks.models.delegation_blockchain_position_info import DelegationBlockchainPositionInfo from fireblocks.models.delegation_summary import DelegationSummary from fireblocks.models.delete_network_connection_response import DeleteNetworkConnectionResponse from fireblocks.models.delete_network_id_response import DeleteNetworkIdResponse @@ -304,15 +321,22 @@ from fireblocks.models.embedded_wallet_latest_backup_response import EmbeddedWalletLatestBackupResponse from fireblocks.models.embedded_wallet_paginated_addresses_response import EmbeddedWalletPaginatedAddressesResponse from fireblocks.models.embedded_wallet_paginated_assets_response import EmbeddedWalletPaginatedAssetsResponse +from fireblocks.models.embedded_wallet_paginated_devices_response import EmbeddedWalletPaginatedDevicesResponse from fireblocks.models.embedded_wallet_paginated_wallets_response import EmbeddedWalletPaginatedWalletsResponse +from fireblocks.models.embedded_wallet_required_algorithms import EmbeddedWalletRequiredAlgorithms from fireblocks.models.embedded_wallet_set_up_status import EmbeddedWalletSetUpStatus -from fireblocks.models.error_codes import ErrorCodes +from fireblocks.models.embedded_wallet_setup_status_response import EmbeddedWalletSetupStatusResponse +from fireblocks.models.enable_device import EnableDevice +from fireblocks.models.enable_wallet import EnableWallet from fireblocks.models.error_response import ErrorResponse from fireblocks.models.error_response_error import ErrorResponseError from fireblocks.models.error_schema import ErrorSchema from fireblocks.models.estimated_fee_details import EstimatedFeeDetails from fireblocks.models.estimated_network_fee_response import EstimatedNetworkFeeResponse from fireblocks.models.estimated_transaction_fee_response import EstimatedTransactionFeeResponse +from fireblocks.models.ethereum_blockchain_data import EthereumBlockchainData +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress +from fireblocks.models.european_sepa_destination import EuropeanSEPADestination from fireblocks.models.exchange_account import ExchangeAccount from fireblocks.models.exchange_asset import ExchangeAsset from fireblocks.models.exchange_settlement_transactions_response import ExchangeSettlementTransactionsResponse @@ -326,14 +350,21 @@ from fireblocks.models.execution_response_base_details import ExecutionResponseBaseDetails from fireblocks.models.execution_response_details import ExecutionResponseDetails from fireblocks.models.execution_screening_operation import ExecutionScreeningOperation -from fireblocks.models.execution_step import ExecutionStep -from fireblocks.models.execution_step_details import ExecutionStepDetails from fireblocks.models.execution_step_error import ExecutionStepError from fireblocks.models.execution_step_status_enum import ExecutionStepStatusEnum from fireblocks.models.execution_step_type import ExecutionStepType from fireblocks.models.execution_transfer_operation import ExecutionTransferOperation from fireblocks.models.external_account import ExternalAccount +from fireblocks.models.external_account_local_bank_africa import ExternalAccountLocalBankAfrica +from fireblocks.models.external_account_local_bank_africa_type import ExternalAccountLocalBankAfricaType +from fireblocks.models.external_account_mobile_money import ExternalAccountMobileMoney +from fireblocks.models.external_account_mobile_money_provider import ExternalAccountMobileMoneyProvider +from fireblocks.models.external_account_mobile_money_type import ExternalAccountMobileMoneyType +from fireblocks.models.external_account_sender_information import ExternalAccountSenderInformation +from fireblocks.models.external_account_type import ExternalAccountType from fireblocks.models.external_wallet_asset import ExternalWalletAsset +from fireblocks.models.failure import Failure +from fireblocks.models.failure_reason import FailureReason from fireblocks.models.fee import Fee from fireblocks.models.fee_breakdown import FeeBreakdown from fireblocks.models.fee_breakdown_one_of import FeeBreakdownOneOf @@ -342,12 +373,15 @@ from fireblocks.models.fee_level import FeeLevel from fireblocks.models.fee_payer_info import FeePayerInfo from fireblocks.models.fee_properties_details import FeePropertiesDetails +from fireblocks.models.fee_type_enum import FeeTypeEnum from fireblocks.models.fetch_abi_request_dto import FetchAbiRequestDto from fireblocks.models.fiat_account import FiatAccount from fireblocks.models.fiat_account_type import FiatAccountType from fireblocks.models.fiat_asset import FiatAsset from fireblocks.models.fiat_destination import FiatDestination +from fireblocks.models.fiat_payment_metadata import FiatPaymentMetadata from fireblocks.models.fiat_transfer import FiatTransfer +from fireblocks.models.fixed_amount_type_enum import FixedAmountTypeEnum from fireblocks.models.fixed_fee import FixedFee from fireblocks.models.freeze_transaction_response import FreezeTransactionResponse from fireblocks.models.function_doc import FunctionDoc @@ -367,6 +401,7 @@ from fireblocks.models.get_layer_zero_dvn_config_response import GetLayerZeroDvnConfigResponse from fireblocks.models.get_layer_zero_peers_response import GetLayerZeroPeersResponse from fireblocks.models.get_linked_collections_paginated_response import GetLinkedCollectionsPaginatedResponse +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse from fireblocks.models.get_max_spendable_amount_response import GetMaxSpendableAmountResponse from fireblocks.models.get_mpc_keys_response import GetMpcKeysResponse from fireblocks.models.get_nfts_response import GetNFTsResponse @@ -386,6 +421,7 @@ from fireblocks.models.iban_payment_info import IbanPaymentInfo from fireblocks.models.identification import Identification from fireblocks.models.idl_type import IdlType +from fireblocks.models.indicative_quote_enum import IndicativeQuoteEnum from fireblocks.models.indicative_quote_type import IndicativeQuoteType from fireblocks.models.initiator_config import InitiatorConfig from fireblocks.models.initiator_config_pattern import InitiatorConfigPattern @@ -393,7 +429,6 @@ from fireblocks.models.internal_reference import InternalReference from fireblocks.models.internal_transfer_response import InternalTransferResponse from fireblocks.models.invalid_paramater_value_error import InvalidParamaterValueError -from fireblocks.models.job import Job from fireblocks.models.job_created import JobCreated from fireblocks.models.layer_zero_adapter_create_params import LayerZeroAdapterCreateParams from fireblocks.models.lbt_payment_info import LbtPaymentInfo @@ -428,9 +463,7 @@ from fireblocks.models.legacy_publish_draft_request import LegacyPublishDraftRequest from fireblocks.models.legacy_publish_result import LegacyPublishResult from fireblocks.models.legacy_src_or_dest_attributes_inner import LegacySrcOrDestAttributesInner -from fireblocks.models.limit_execution_request_details import LimitExecutionRequestDetails -from fireblocks.models.limit_execution_response_details import LimitExecutionResponseDetails -from fireblocks.models.limit_type_details import LimitTypeDetails +from fireblocks.models.linked_tokens_count import LinkedTokensCount from fireblocks.models.list_assets_response import ListAssetsResponse from fireblocks.models.list_blockchains_response import ListBlockchainsResponse from fireblocks.models.list_owned_collections_response import ListOwnedCollectionsResponse @@ -441,7 +474,9 @@ from fireblocks.models.market_execution_request_details import MarketExecutionRequestDetails from fireblocks.models.market_execution_response_details import MarketExecutionResponseDetails from fireblocks.models.market_requote_request_details import MarketRequoteRequestDetails +from fireblocks.models.market_requote_type_enum import MarketRequoteTypeEnum from fireblocks.models.market_type_details import MarketTypeDetails +from fireblocks.models.market_type_enum import MarketTypeEnum from fireblocks.models.media_entity_response import MediaEntityResponse from fireblocks.models.merge_stake_accounts_request import MergeStakeAccountsRequest from fireblocks.models.merge_stake_accounts_response import MergeStakeAccountsResponse @@ -472,11 +507,15 @@ from fireblocks.models.notification_paginated_response import NotificationPaginatedResponse from fireblocks.models.notification_status import NotificationStatus from fireblocks.models.notification_with_data import NotificationWithData +from fireblocks.models.onchain_transaction import OnchainTransaction +from fireblocks.models.onchain_transactions_paged_response import OnchainTransactionsPagedResponse from fireblocks.models.one_time_address import OneTimeAddress from fireblocks.models.one_time_address_account import OneTimeAddressAccount +from fireblocks.models.one_time_address_peer_type import OneTimeAddressPeerType from fireblocks.models.one_time_address_reference import OneTimeAddressReference from fireblocks.models.operation_execution_failure import OperationExecutionFailure from fireblocks.models.order_details import OrderDetails +from fireblocks.models.order_execution_step import OrderExecutionStep from fireblocks.models.order_side import OrderSide from fireblocks.models.order_status import OrderStatus from fireblocks.models.order_summary import OrderSummary @@ -499,7 +538,7 @@ from fireblocks.models.payment_account_response import PaymentAccountResponse from fireblocks.models.payment_account_type import PaymentAccountType from fireblocks.models.payment_instructions import PaymentInstructions -from fireblocks.models.payment_instructions_details import PaymentInstructionsDetails +from fireblocks.models.payment_instructions_one_of import PaymentInstructionsOneOf from fireblocks.models.payout_init_method import PayoutInitMethod from fireblocks.models.payout_instruction import PayoutInstruction from fireblocks.models.payout_instruction_response import PayoutInstructionResponse @@ -509,12 +548,14 @@ from fireblocks.models.payout_status import PayoutStatus from fireblocks.models.peer_adapter_info import PeerAdapterInfo from fireblocks.models.peer_type import PeerType +from fireblocks.models.personal_entity_type_enum import PersonalEntityTypeEnum from fireblocks.models.personal_identification import PersonalIdentification from fireblocks.models.personal_identification_full_name import PersonalIdentificationFullName from fireblocks.models.pix_address import PixAddress from fireblocks.models.pix_destination import PixDestination from fireblocks.models.pix_payment_info import PixPaymentInfo from fireblocks.models.platform_account import PlatformAccount +from fireblocks.models.platform_peer_type import PlatformPeerType from fireblocks.models.players import Players from fireblocks.models.policy_and_validation_response import PolicyAndValidationResponse from fireblocks.models.policy_check_result import PolicyCheckResult @@ -531,24 +572,24 @@ from fireblocks.models.policy_validation import PolicyValidation from fireblocks.models.policy_verdict_action_enum import PolicyVerdictActionEnum from fireblocks.models.policy_verdict_action_enum2 import PolicyVerdictActionEnum2 -from fireblocks.models.post_order_settlement import PostOrderSettlement from fireblocks.models.postal_address import PostalAddress from fireblocks.models.pre_screening import PreScreening from fireblocks.models.prefunded_settlement import PrefundedSettlement +from fireblocks.models.prefunded_settlement_type import PrefundedSettlementType from fireblocks.models.program_call_config import ProgramCallConfig from fireblocks.models.provider import Provider -from fireblocks.models.provider_id import ProviderID from fireblocks.models.providers_list_response import ProvidersListResponse from fireblocks.models.public_key_information import PublicKeyInformation from fireblocks.models.publish_draft_request import PublishDraftRequest from fireblocks.models.publish_result import PublishResult from fireblocks.models.quote import Quote from fireblocks.models.quote_execution_request_details import QuoteExecutionRequestDetails -from fireblocks.models.quote_execution_response_details import QuoteExecutionResponseDetails +from fireblocks.models.quote_execution_step import QuoteExecutionStep from fireblocks.models.quote_execution_type_details import QuoteExecutionTypeDetails from fireblocks.models.quote_execution_with_requote_request_details import QuoteExecutionWithRequoteRequestDetails from fireblocks.models.quote_execution_with_requote_response_details import QuoteExecutionWithRequoteResponseDetails from fireblocks.models.quote_properties_details import QuotePropertiesDetails +from fireblocks.models.quote_type_enum import QuoteTypeEnum from fireblocks.models.quotes_response import QuotesResponse from fireblocks.models.re_quote_details import ReQuoteDetails from fireblocks.models.re_quote_details_re_quote import ReQuoteDetailsReQuote @@ -566,9 +607,10 @@ from fireblocks.models.remove_layer_zero_adapters_response import RemoveLayerZeroAdaptersResponse from fireblocks.models.remove_layer_zero_peers_request import RemoveLayerZeroPeersRequest from fireblocks.models.remove_layer_zero_peers_response import RemoveLayerZeroPeersResponse +from fireblocks.models.rename_connected_account_request import RenameConnectedAccountRequest +from fireblocks.models.rename_connected_account_response import RenameConnectedAccountResponse from fireblocks.models.rename_cosigner import RenameCosigner from fireblocks.models.rename_vault_account_response import RenameVaultAccountResponse -from fireblocks.models.rescan_transaction import RescanTransaction from fireblocks.models.resend_failed_notifications_job_status_response import ResendFailedNotificationsJobStatusResponse from fireblocks.models.resend_failed_notifications_request import ResendFailedNotificationsRequest from fireblocks.models.resend_failed_notifications_response import ResendFailedNotificationsResponse @@ -578,12 +620,16 @@ from fireblocks.models.resend_webhooks_response import ResendWebhooksResponse from fireblocks.models.respond_to_connection_request import RespondToConnectionRequest from fireblocks.models.retry_requote_request_details import RetryRequoteRequestDetails +from fireblocks.models.retry_requote_type_enum import RetryRequoteTypeEnum from fireblocks.models.reward_info import RewardInfo from fireblocks.models.rewards_info import RewardsInfo +from fireblocks.models.role_details import RoleDetails +from fireblocks.models.role_grantee import RoleGrantee from fireblocks.models.sepa_address import SEPAAddress from fireblocks.models.sepa_destination import SEPADestination from fireblocks.models.sol_account import SOLAccount from fireblocks.models.sol_account_with_value import SOLAccountWithValue +from fireblocks.models.scope_item import ScopeItem from fireblocks.models.screening_alert_exposure_type_enum import ScreeningAlertExposureTypeEnum from fireblocks.models.screening_aml_alert import ScreeningAmlAlert from fireblocks.models.screening_aml_matched_rule import ScreeningAmlMatchedRule @@ -640,6 +686,7 @@ from fireblocks.models.settlement_request_body import SettlementRequestBody from fireblocks.models.settlement_response import SettlementResponse from fireblocks.models.settlement_source_account import SettlementSourceAccount +from fireblocks.models.side import Side from fireblocks.models.signed_message import SignedMessage from fireblocks.models.signed_message_signature import SignedMessageSignature from fireblocks.models.signing_key_dto import SigningKeyDto @@ -686,26 +733,69 @@ from fireblocks.models.spei_destination import SpeiDestination from fireblocks.models.split_request import SplitRequest from fireblocks.models.split_response import SplitResponse +from fireblocks.models.st_eth_blockchain_data import StEthBlockchainData from fireblocks.models.stake_request import StakeRequest from fireblocks.models.stake_response import StakeResponse from fireblocks.models.staking_provider import StakingProvider from fireblocks.models.status import Status from fireblocks.models.stellar_ripple_create_params_dto import StellarRippleCreateParamsDto +from fireblocks.models.supported_block_chains_response import SupportedBlockChainsResponse +from fireblocks.models.supported_blockchain import SupportedBlockchain from fireblocks.models.swift_address import SwiftAddress from fireblocks.models.swift_destination import SwiftDestination from fireblocks.models.system_message_info import SystemMessageInfo +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse from fireblocks.models.tr_link_amount import TRLinkAmount +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 +from fireblocks.models.tr_link_amount_range import TRLinkAmountRange +from fireblocks.models.tr_link_assess_travel_rule_request import TRLinkAssessTravelRuleRequest +from fireblocks.models.tr_link_assess_travel_rule_response import TRLinkAssessTravelRuleResponse +from fireblocks.models.tr_link_assessment_decision import TRLinkAssessmentDecision +from fireblocks.models.tr_link_asset import TRLinkAsset +from fireblocks.models.tr_link_asset_data import TRLinkAssetData +from fireblocks.models.tr_link_asset_format import TRLinkAssetFormat +from fireblocks.models.tr_link_assets_list_paged_response import TRLinkAssetsListPagedResponse +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest +from fireblocks.models.tr_link_connect_integration_request import TRLinkConnectIntegrationRequest +from fireblocks.models.tr_link_create_customer_request import TRLinkCreateCustomerRequest +from fireblocks.models.tr_link_create_integration_request import TRLinkCreateIntegrationRequest +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest +from fireblocks.models.tr_link_currency import TRLinkCurrency +from fireblocks.models.tr_link_customer_integration_response import TRLinkCustomerIntegrationResponse +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.models.tr_link_destination_transfer_peer_path import TRLinkDestinationTransferPeerPath +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus +from fireblocks.models.tr_link_fiat_value import TRLinkFiatValue +from fireblocks.models.tr_link_geographic_address_request import TRLinkGeographicAddressRequest +from fireblocks.models.tr_link_get_supported_asset_response import TRLinkGetSupportedAssetResponse +from fireblocks.models.tr_link_ivms import TRLinkIvms +from fireblocks.models.tr_link_ivms_response import TRLinkIvmsResponse +from fireblocks.models.tr_link_jwk_public_key import TRLinkJwkPublicKey from fireblocks.models.tr_link_missing_trm_action import TRLinkMissingTrmAction +from fireblocks.models.tr_link_missing_trm_action2 import TRLinkMissingTrmAction2 from fireblocks.models.tr_link_missing_trm_action_enum import TRLinkMissingTrmActionEnum from fireblocks.models.tr_link_missing_trm_decision import TRLinkMissingTrmDecision from fireblocks.models.tr_link_missing_trm_rule import TRLinkMissingTrmRule +from fireblocks.models.tr_link_missing_trm_rule2 import TRLinkMissingTrmRule2 +from fireblocks.models.tr_link_one_time_address import TRLinkOneTimeAddress +from fireblocks.models.tr_link_paging import TRLinkPaging +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse +from fireblocks.models.tr_link_post_screening_action import TRLinkPostScreeningAction from fireblocks.models.tr_link_post_screening_rule import TRLinkPostScreeningRule +from fireblocks.models.tr_link_post_screening_rule2 import TRLinkPostScreeningRule2 from fireblocks.models.tr_link_pre_screening_action import TRLinkPreScreeningAction +from fireblocks.models.tr_link_pre_screening_action2 import TRLinkPreScreeningAction2 from fireblocks.models.tr_link_pre_screening_action_enum import TRLinkPreScreeningActionEnum from fireblocks.models.tr_link_pre_screening_rule import TRLinkPreScreeningRule +from fireblocks.models.tr_link_pre_screening_rule2 import TRLinkPreScreeningRule2 +from fireblocks.models.tr_link_provider_data import TRLinkProviderData from fireblocks.models.tr_link_provider_result import TRLinkProviderResult from fireblocks.models.tr_link_provider_result_with_rule import TRLinkProviderResultWithRule from fireblocks.models.tr_link_provider_result_with_rule2 import TRLinkProviderResultWithRule2 +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest from fireblocks.models.tr_link_registration_result import TRLinkRegistrationResult from fireblocks.models.tr_link_registration_result_full_payload import TRLinkRegistrationResultFullPayload from fireblocks.models.tr_link_registration_status import TRLinkRegistrationStatus @@ -713,22 +803,39 @@ from fireblocks.models.tr_link_result import TRLinkResult from fireblocks.models.tr_link_result_full_payload import TRLinkResultFullPayload from fireblocks.models.tr_link_rule_base import TRLinkRuleBase +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import TRLinkSetDestinationTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import TRLinkSetDestinationTravelRuleMessageIdResponse +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import TRLinkSetTransactionTravelRuleMessageIdRequest +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import TRLinkSetTransactionTravelRuleMessageIdResponse +from fireblocks.models.tr_link_source_transfer_peer_path import TRLinkSourceTransferPeerPath +from fireblocks.models.tr_link_test_connection_response import TRLinkTestConnectionResponse +from fireblocks.models.tr_link_thresholds import TRLinkThresholds +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from fireblocks.models.tr_link_transfer_peer_path import TRLinkTransferPeerPath +from fireblocks.models.tr_link_trm_direction import TRLinkTrmDirection +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse from fireblocks.models.tr_link_trm_screening_status import TRLinkTrmScreeningStatus from fireblocks.models.tr_link_trm_screening_status_enum import TRLinkTrmScreeningStatusEnum +from fireblocks.models.tr_link_trm_status import TRLinkTrmStatus +from fireblocks.models.tr_link_txn_info import TRLinkTxnInfo +from fireblocks.models.tr_link_update_customer_request import TRLinkUpdateCustomerRequest +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto +from fireblocks.models.tr_link_vasp_geographic_address import TRLinkVaspGeographicAddress +from fireblocks.models.tr_link_vasp_list_dto import TRLinkVaspListDto +from fireblocks.models.tr_link_vasp_national_identification import TRLinkVaspNationalIdentification from fireblocks.models.tr_link_verdict import TRLinkVerdict from fireblocks.models.tr_link_verdict_enum import TRLinkVerdictEnum from fireblocks.models.tag import Tag from fireblocks.models.tag_attachment_operation_action import TagAttachmentOperationAction from fireblocks.models.tags_paged_response import TagsPagedResponse -from fireblocks.models.task import Task from fireblocks.models.templates_paginated_response import TemplatesPaginatedResponse from fireblocks.models.third_party_routing import ThirdPartyRouting -from fireblocks.models.time_in_force import TimeInForce from fireblocks.models.time_period_config import TimePeriodConfig from fireblocks.models.time_period_match_type import TimePeriodMatchType from fireblocks.models.to_collateral_transaction import ToCollateralTransaction from fireblocks.models.to_exchange_transaction import ToExchangeTransaction from fireblocks.models.token_collection_response import TokenCollectionResponse +from fireblocks.models.token_contract_summary_response import TokenContractSummaryResponse from fireblocks.models.token_info_not_found_error_response import TokenInfoNotFoundErrorResponse from fireblocks.models.token_link_dto import TokenLinkDto from fireblocks.models.token_link_dto_token_metadata import TokenLinkDtoTokenMetadata @@ -740,9 +847,10 @@ from fireblocks.models.token_ownership_status_update_payload import TokenOwnershipStatusUpdatePayload from fireblocks.models.token_response import TokenResponse from fireblocks.models.tokens_paginated_response import TokensPaginatedResponse +from fireblocks.models.total_supply_item_dto import TotalSupplyItemDto +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse from fireblocks.models.trading_account_type import TradingAccountType -from fireblocks.models.trading_error_response import TradingErrorResponse -from fireblocks.models.trading_error_response_error import TradingErrorResponseError +from fireblocks.models.trading_error_schema import TradingErrorSchema from fireblocks.models.trading_provider import TradingProvider from fireblocks.models.transaction import Transaction from fireblocks.models.transaction_direction import TransactionDirection @@ -821,7 +929,11 @@ from fireblocks.models.travel_rule_validate_transaction_response import TravelRuleValidateTransactionResponse from fireblocks.models.travel_rule_vasp_for_vault import TravelRuleVaspForVault from fireblocks.models.travel_rule_verdict_enum import TravelRuleVerdictEnum +from fireblocks.models.trust_proof_of_address_create_response import TrustProofOfAddressCreateResponse +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest +from fireblocks.models.trust_proof_of_address_response import TrustProofOfAddressResponse from fireblocks.models.tx_log import TxLog +from fireblocks.models.typed_message_transaction_status_enum import TypedMessageTransactionStatusEnum from fireblocks.models.us_wire_address import USWireAddress from fireblocks.models.us_wire_destination import USWireDestination from fireblocks.models.unfreeze_transaction_response import UnfreezeTransactionResponse @@ -849,7 +961,6 @@ from fireblocks.models.user_type import UserType from fireblocks.models.validate_address_response import ValidateAddressResponse from fireblocks.models.validate_layer_zero_channel_response import ValidateLayerZeroChannelResponse -from fireblocks.models.validated_transactions_for_rescan import ValidatedTransactionsForRescan from fireblocks.models.validation_key_dto import ValidationKeyDto from fireblocks.models.validator import Validator from fireblocks.models.vault_account import VaultAccount @@ -860,13 +971,12 @@ from fireblocks.models.vault_accounts_paged_response_paging import VaultAccountsPagedResponsePaging from fireblocks.models.vault_accounts_tag_attachment_operations_request import VaultAccountsTagAttachmentOperationsRequest from fireblocks.models.vault_accounts_tag_attachment_operations_response import VaultAccountsTagAttachmentOperationsResponse -from fireblocks.models.vault_accounts_tag_attachments_request import VaultAccountsTagAttachmentsRequest from fireblocks.models.vault_action_status import VaultActionStatus from fireblocks.models.vault_asset import VaultAsset from fireblocks.models.vault_wallet_address import VaultWalletAddress from fireblocks.models.vendor_dto import VendorDto from fireblocks.models.verdict_config import VerdictConfig -from fireblocks.models.version import Version +from fireblocks.models.version_summary import VersionSummary from fireblocks.models.wallet_asset import WalletAsset from fireblocks.models.wallet_asset_additional_info import WalletAssetAdditionalInfo from fireblocks.models.webhook import Webhook diff --git a/fireblocks/models/aba_payment_info.py b/fireblocks/models/aba_payment_info.py index de316f13..beed947a 100644 --- a/fireblocks/models/aba_payment_info.py +++ b/fireblocks/models/aba_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/abi_function.py b/fireblocks/models/abi_function.py index ab7938fd..ebae3dad 100644 --- a/fireblocks/models/abi_function.py +++ b/fireblocks/models/abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/access_registry_address_item.py b/fireblocks/models/access_registry_address_item.py new file mode 100644 index 00000000..45656283 --- /dev/null +++ b/fireblocks/models/access_registry_address_item.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class AccessRegistryAddressItem(BaseModel): + """ + AccessRegistryAddressItem + """ # noqa: E501 + address: StrictStr = Field(description="The address that was added to the access registry") + date_added: datetime = Field(description="The date when the address was added to the access registry", alias="dateAdded") + __properties: ClassVar[List[str]] = ["address", "dateAdded"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessRegistryAddressItem from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessRegistryAddressItem from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "address": obj.get("address"), + "dateAdded": obj.get("dateAdded") + }) + return _obj + + diff --git a/fireblocks/models/access_registry_current_state_response.py b/fireblocks/models/access_registry_current_state_response.py new file mode 100644 index 00000000..0de344db --- /dev/null +++ b/fireblocks/models/access_registry_current_state_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from fireblocks.models.access_registry_address_item import AccessRegistryAddressItem +from typing import Optional, Set +from typing_extensions import Self + +class AccessRegistryCurrentStateResponse(BaseModel): + """ + AccessRegistryCurrentStateResponse + """ # noqa: E501 + data: List[AccessRegistryAddressItem] = Field(description="Array of active addresses in the access registry") + next: Optional[StrictStr] = Field(default=None, description="Cursor for next page") + prev: Optional[StrictStr] = Field(default=None, description="Cursor for previous page") + total: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total count of active addresses in the access registry") + __properties: ClassVar[List[str]] = ["data", "next", "prev", "total"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessRegistryCurrentStateResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessRegistryCurrentStateResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [AccessRegistryAddressItem.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next"), + "prev": obj.get("prev"), + "total": obj.get("total") + }) + return _obj + + diff --git a/fireblocks/models/access_registry_summary_response.py b/fireblocks/models/access_registry_summary_response.py new file mode 100644 index 00000000..1040dc72 --- /dev/null +++ b/fireblocks/models/access_registry_summary_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Union +from typing import Optional, Set +from typing_extensions import Self + +class AccessRegistrySummaryResponse(BaseModel): + """ + AccessRegistrySummaryResponse + """ # noqa: E501 + total_active_addresses: Union[StrictFloat, StrictInt] = Field(description="The total number of active addresses in the access registry", alias="totalActiveAddresses") + __properties: ClassVar[List[str]] = ["totalActiveAddresses"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessRegistrySummaryResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessRegistrySummaryResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "totalActiveAddresses": obj.get("totalActiveAddresses") + }) + return _obj + + diff --git a/fireblocks/models/access_type.py b/fireblocks/models/access_type.py index 39cdd4c0..415a8eb6 100644 --- a/fireblocks/models/access_type.py +++ b/fireblocks/models/access_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account.py b/fireblocks/models/account.py index d390d283..a8750aac 100644 --- a/fireblocks/models/account.py +++ b/fireblocks/models/account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_access.py b/fireblocks/models/account_access.py index 097812db..8cc0c158 100644 --- a/fireblocks/models/account_access.py +++ b/fireblocks/models/account_access.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_base.py b/fireblocks/models/account_base.py index 8eb2ce3f..5f877ca6 100644 --- a/fireblocks/models/account_base.py +++ b/fireblocks/models/account_base.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_based_access_provider.py b/fireblocks/models/account_based_access_provider.py index 8d1c1390..8f0a9b95 100644 --- a/fireblocks/models/account_based_access_provider.py +++ b/fireblocks/models/account_based_access_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_based_access_provider_details.py b/fireblocks/models/account_based_access_provider_details.py index 00c7d642..9606d907 100644 --- a/fireblocks/models/account_based_access_provider_details.py +++ b/fireblocks/models/account_based_access_provider_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_config.py b/fireblocks/models/account_config.py index 6ce6f7de..1852ca9d 100644 --- a/fireblocks/models/account_config.py +++ b/fireblocks/models/account_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_holder_details.py b/fireblocks/models/account_holder_details.py index 7bc13b78..8105570e 100644 --- a/fireblocks/models/account_holder_details.py +++ b/fireblocks/models/account_holder_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_identifier.py b/fireblocks/models/account_identifier.py index b80cada5..80e98bb1 100644 --- a/fireblocks/models/account_identifier.py +++ b/fireblocks/models/account_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_reference.py b/fireblocks/models/account_reference.py index 6932836e..7d23bb2b 100644 --- a/fireblocks/models/account_reference.py +++ b/fireblocks/models/account_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_type.py b/fireblocks/models/account_type.py index fc63850d..21299de6 100644 --- a/fireblocks/models/account_type.py +++ b/fireblocks/models/account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/account_type2.py b/fireblocks/models/account_type2.py index 392fc20b..1e4e67bc 100644 --- a/fireblocks/models/account_type2.py +++ b/fireblocks/models/account_type2.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/ach_account_type.py b/fireblocks/models/ach_account_type.py index 2cfd7668..f2710f0a 100644 --- a/fireblocks/models/ach_account_type.py +++ b/fireblocks/models/ach_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/ach_address.py b/fireblocks/models/ach_address.py index ca57d5d7..c8bc4c4c 100644 --- a/fireblocks/models/ach_address.py +++ b/fireblocks/models/ach_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/ach_destination.py b/fireblocks/models/ach_destination.py index 3461e8a2..e6b3b7cb 100644 --- a/fireblocks/models/ach_destination.py +++ b/fireblocks/models/ach_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/ach_payment_info.py b/fireblocks/models/ach_payment_info.py index c6a28ef7..66b9ce5e 100644 --- a/fireblocks/models/ach_payment_info.py +++ b/fireblocks/models/ach_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/adapter_processing_result.py b/fireblocks/models/adapter_processing_result.py index c7ff8f5b..9c3422cd 100644 --- a/fireblocks/models/adapter_processing_result.py +++ b/fireblocks/models/adapter_processing_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_abi_request_dto.py b/fireblocks/models/add_abi_request_dto.py index e2459118..f400f481 100644 --- a/fireblocks/models/add_abi_request_dto.py +++ b/fireblocks/models/add_abi_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_asset_to_external_wallet_request.py b/fireblocks/models/add_asset_to_external_wallet_request.py index 57bd92dc..6586e73c 100644 --- a/fireblocks/models/add_asset_to_external_wallet_request.py +++ b/fireblocks/models/add_asset_to_external_wallet_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_collateral_request_body.py b/fireblocks/models/add_collateral_request_body.py index 355105f2..b5377a73 100644 --- a/fireblocks/models/add_collateral_request_body.py +++ b/fireblocks/models/add_collateral_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_contract_asset_request.py b/fireblocks/models/add_contract_asset_request.py index 2d6e397b..0e9ff4b8 100644 --- a/fireblocks/models/add_contract_asset_request.py +++ b/fireblocks/models/add_contract_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_cosigner_request.py b/fireblocks/models/add_cosigner_request.py index 0ea1efa4..820e793b 100644 --- a/fireblocks/models/add_cosigner_request.py +++ b/fireblocks/models/add_cosigner_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_cosigner_response.py b/fireblocks/models/add_cosigner_response.py index 20f3a1b2..bb4a06c4 100644 --- a/fireblocks/models/add_cosigner_response.py +++ b/fireblocks/models/add_cosigner_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_exchange_account_request.py b/fireblocks/models/add_exchange_account_request.py index d642c954..74e527cb 100644 --- a/fireblocks/models/add_exchange_account_request.py +++ b/fireblocks/models/add_exchange_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/add_exchange_account_response.py b/fireblocks/models/add_exchange_account_response.py index 74d3aa73..2bd7938c 100644 --- a/fireblocks/models/add_exchange_account_response.py +++ b/fireblocks/models/add_exchange_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/additional_info.py b/fireblocks/models/additional_info.py index 0cd2bb44..e36d6e27 100644 --- a/fireblocks/models/additional_info.py +++ b/fireblocks/models/additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/additional_info_request.py b/fireblocks/models/additional_info_request.py index d250756b..1b38f35b 100644 --- a/fireblocks/models/additional_info_request.py +++ b/fireblocks/models/additional_info_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/additional_info_request_additional_info.py b/fireblocks/models/additional_info_request_additional_info.py index 9b407925..6c44831b 100644 --- a/fireblocks/models/additional_info_request_additional_info.py +++ b/fireblocks/models/additional_info_request_additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/address_balance_item_dto.py b/fireblocks/models/address_balance_item_dto.py new file mode 100644 index 00000000..5736fd1e --- /dev/null +++ b/fireblocks/models/address_balance_item_dto.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class AddressBalanceItemDto(BaseModel): + """ + AddressBalanceItemDto + """ # noqa: E501 + account_address: StrictStr = Field(description="The account address", alias="accountAddress") + balance: StrictStr = Field(description="The current balance of the account") + last_updated: datetime = Field(description="The timestamp when this balance was last updated", alias="lastUpdated") + __properties: ClassVar[List[str]] = ["accountAddress", "balance", "lastUpdated"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AddressBalanceItemDto from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AddressBalanceItemDto from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accountAddress": obj.get("accountAddress"), + "balance": obj.get("balance"), + "lastUpdated": obj.get("lastUpdated") + }) + return _obj + + diff --git a/fireblocks/models/address_balance_paged_response.py b/fireblocks/models/address_balance_paged_response.py new file mode 100644 index 00000000..90f1f6f1 --- /dev/null +++ b/fireblocks/models/address_balance_paged_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from fireblocks.models.address_balance_item_dto import AddressBalanceItemDto +from typing import Optional, Set +from typing_extensions import Self + +class AddressBalancePagedResponse(BaseModel): + """ + AddressBalancePagedResponse + """ # noqa: E501 + data: List[AddressBalanceItemDto] = Field(description="Array of address balance data") + next: Optional[StrictStr] = Field(default=None, description="Cursor for next page") + prev: Optional[StrictStr] = Field(default=None, description="Cursor for previous page (reserved for future support)") + total: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total count of items") + __properties: ClassVar[List[str]] = ["data", "next", "prev", "total"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AddressBalancePagedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AddressBalancePagedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [AddressBalanceItemDto.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next"), + "prev": obj.get("prev"), + "total": obj.get("total") + }) + return _obj + + diff --git a/fireblocks/models/address_not_available_error.py b/fireblocks/models/address_not_available_error.py index 6345e5b5..393626de 100644 --- a/fireblocks/models/address_not_available_error.py +++ b/fireblocks/models/address_not_available_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/alert_exposure_type_enum.py b/fireblocks/models/alert_exposure_type_enum.py index 56b717d7..8dbb1e99 100644 --- a/fireblocks/models/alert_exposure_type_enum.py +++ b/fireblocks/models/alert_exposure_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/alert_level_enum.py b/fireblocks/models/alert_level_enum.py index 80391575..16bb76d3 100644 --- a/fireblocks/models/alert_level_enum.py +++ b/fireblocks/models/alert_level_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_alert.py b/fireblocks/models/aml_alert.py index 7061bb5f..ad061516 100644 --- a/fireblocks/models/aml_alert.py +++ b/fireblocks/models/aml_alert.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_matched_rule.py b/fireblocks/models/aml_matched_rule.py index 1821fe05..d9c1f696 100644 --- a/fireblocks/models/aml_matched_rule.py +++ b/fireblocks/models/aml_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_registration_result.py b/fireblocks/models/aml_registration_result.py index df303ddb..88f50933 100644 --- a/fireblocks/models/aml_registration_result.py +++ b/fireblocks/models/aml_registration_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_registration_result_full_payload.py b/fireblocks/models/aml_registration_result_full_payload.py index 115000cd..f16a49ac 100644 --- a/fireblocks/models/aml_registration_result_full_payload.py +++ b/fireblocks/models/aml_registration_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_result.py b/fireblocks/models/aml_result.py index b4798252..eef959d7 100644 --- a/fireblocks/models/aml_result.py +++ b/fireblocks/models/aml_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_screening_result.py b/fireblocks/models/aml_screening_result.py index e29c3788..4a7f9903 100644 --- a/fireblocks/models/aml_screening_result.py +++ b/fireblocks/models/aml_screening_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_status_enum.py b/fireblocks/models/aml_status_enum.py index c9e7ad7f..3580f241 100644 --- a/fireblocks/models/aml_status_enum.py +++ b/fireblocks/models/aml_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_verdict_manual_request.py b/fireblocks/models/aml_verdict_manual_request.py index b7e6204a..b599ce25 100644 --- a/fireblocks/models/aml_verdict_manual_request.py +++ b/fireblocks/models/aml_verdict_manual_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/aml_verdict_manual_response.py b/fireblocks/models/aml_verdict_manual_response.py index dbadef39..5335ee26 100644 --- a/fireblocks/models/aml_verdict_manual_response.py +++ b/fireblocks/models/aml_verdict_manual_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_and_chain_descriptor.py b/fireblocks/models/amount_and_chain_descriptor.py index d4abd1a8..ff5a00e1 100644 --- a/fireblocks/models/amount_and_chain_descriptor.py +++ b/fireblocks/models/amount_and_chain_descriptor.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_config.py b/fireblocks/models/amount_config.py index a0fe3e7a..68f6299c 100644 --- a/fireblocks/models/amount_config.py +++ b/fireblocks/models/amount_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_config_currency.py b/fireblocks/models/amount_config_currency.py index 7c4a308a..acdc6e2e 100644 --- a/fireblocks/models/amount_config_currency.py +++ b/fireblocks/models/amount_config_currency.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_info.py b/fireblocks/models/amount_info.py index e4fc1b19..52b0be76 100644 --- a/fireblocks/models/amount_info.py +++ b/fireblocks/models/amount_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_over_time_config.py b/fireblocks/models/amount_over_time_config.py index ca27cfa1..27adcb1f 100644 --- a/fireblocks/models/amount_over_time_config.py +++ b/fireblocks/models/amount_over_time_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_range.py b/fireblocks/models/amount_range.py index b0215496..cf8da491 100644 --- a/fireblocks/models/amount_range.py +++ b/fireblocks/models/amount_range.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_range_min_max.py b/fireblocks/models/amount_range_min_max.py index 9e5a8268..bac8bcc3 100644 --- a/fireblocks/models/amount_range_min_max.py +++ b/fireblocks/models/amount_range_min_max.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/amount_range_min_max2.py b/fireblocks/models/amount_range_min_max2.py index 2e5913f6..35b0cc4b 100644 --- a/fireblocks/models/amount_range_min_max2.py +++ b/fireblocks/models/amount_range_min_max2.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/api_key.py b/fireblocks/models/api_key.py index f439e753..9f5fb56b 100644 --- a/fireblocks/models/api_key.py +++ b/fireblocks/models/api_key.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/api_keys_paginated_response.py b/fireblocks/models/api_keys_paginated_response.py index 12e18c99..6b4fa82d 100644 --- a/fireblocks/models/api_keys_paginated_response.py +++ b/fireblocks/models/api_keys_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/api_user.py b/fireblocks/models/api_user.py index 7a97aa48..aeac5a8c 100644 --- a/fireblocks/models/api_user.py +++ b/fireblocks/models/api_user.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/approval_request.py b/fireblocks/models/approval_request.py new file mode 100644 index 00000000..87047c9a --- /dev/null +++ b/fireblocks/models/approval_request.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class ApprovalRequest(BaseModel): + """ + Approval request details + """ # noqa: E501 + id: StrictStr = Field(description="The approval request identifier") + type: StrictStr = Field(description="The approval request type") + state: StrictStr = Field(description="The approval request state") + __properties: ClassVar[List[str]] = ["id", "type", "state"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['TAG_UPDATE', 'TAG_DELETE', 'TAG_ATTACH_DETACH']): + raise ValueError("must be one of enum values ('TAG_UPDATE', 'TAG_DELETE', 'TAG_ATTACH_DETACH')") + return value + + @field_validator('state') + def state_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['PENDING', 'APPROVED', 'REJECTED', 'FAILED', 'CANCELLED', 'EXPIRED']): + raise ValueError("must be one of enum values ('PENDING', 'APPROVED', 'REJECTED', 'FAILED', 'CANCELLED', 'EXPIRED')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApprovalRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApprovalRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "type": obj.get("type"), + "state": obj.get("state") + }) + return _obj + + diff --git a/fireblocks/models/approvers_config.py b/fireblocks/models/approvers_config.py index 5af0a3cd..c7bd867b 100644 --- a/fireblocks/models/approvers_config.py +++ b/fireblocks/models/approvers_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/approvers_config_approval_groups_inner.py b/fireblocks/models/approvers_config_approval_groups_inner.py index c03ddabe..ac4737a3 100644 --- a/fireblocks/models/approvers_config_approval_groups_inner.py +++ b/fireblocks/models/approvers_config_approval_groups_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset.py b/fireblocks/models/asset.py index 1e394f3a..6cf28206 100644 --- a/fireblocks/models/asset.py +++ b/fireblocks/models/asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,8 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union from fireblocks.models.asset_class import AssetClass from fireblocks.models.asset_details_metadata import AssetDetailsMetadata from fireblocks.models.asset_details_onchain import AssetDetailsOnchain @@ -35,10 +35,14 @@ class Asset(BaseModel): blockchain_id: Optional[StrictStr] = Field(default=None, description="The ID of the asset's blockchain", alias="blockchainId") display_name: StrictStr = Field(description="Asset's display name", alias="displayName") display_symbol: StrictStr = Field(description="Asset's display symbol", alias="displaySymbol") + provider_id: Optional[StrictStr] = Field(default=None, description="The ID of the asset provider", alias="providerId") + pegged_asset_id: Optional[StrictStr] = Field(default=None, description="The ID of the pegged asset", alias="peggedAssetId") + assets: Optional[List[StrictStr]] = Field(default=None, description="List of asset IDs for virtual assets") asset_class: AssetClass = Field(alias="assetClass") + decimals: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Number of decimals for FIAT assets") onchain: Optional[AssetDetailsOnchain] = None metadata: AssetDetailsMetadata - __properties: ClassVar[List[str]] = ["id", "legacyId", "blockchainId", "displayName", "displaySymbol", "assetClass", "onchain", "metadata"] + __properties: ClassVar[List[str]] = ["id", "legacyId", "blockchainId", "displayName", "displaySymbol", "providerId", "peggedAssetId", "assets", "assetClass", "decimals", "onchain", "metadata"] model_config = ConfigDict( populate_by_name=True, @@ -102,7 +106,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "blockchainId": obj.get("blockchainId"), "displayName": obj.get("displayName"), "displaySymbol": obj.get("displaySymbol"), + "providerId": obj.get("providerId"), + "peggedAssetId": obj.get("peggedAssetId"), + "assets": obj.get("assets"), "assetClass": obj.get("assetClass"), + "decimals": obj.get("decimals"), "onchain": AssetDetailsOnchain.from_dict(obj["onchain"]) if obj.get("onchain") is not None else None, "metadata": AssetDetailsMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None }) diff --git a/fireblocks/models/asset_already_exist_http_error.py b/fireblocks/models/asset_already_exist_http_error.py index bd0fa2c6..8941be1c 100644 --- a/fireblocks/models/asset_already_exist_http_error.py +++ b/fireblocks/models/asset_already_exist_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_amount.py b/fireblocks/models/asset_amount.py index e5bb8b77..7114b71d 100644 --- a/fireblocks/models/asset_amount.py +++ b/fireblocks/models/asset_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_bad_request_error_response.py b/fireblocks/models/asset_bad_request_error_response.py index df44391a..3a8bc476 100644 --- a/fireblocks/models/asset_bad_request_error_response.py +++ b/fireblocks/models/asset_bad_request_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_class.py b/fireblocks/models/asset_class.py index 8051d5b0..4c2e2592 100644 --- a/fireblocks/models/asset_class.py +++ b/fireblocks/models/asset_class.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,6 +32,7 @@ class AssetClass(str, Enum): FIAT = 'FIAT' NFT = 'NFT' SFT = 'SFT' + VIRTUAL = 'VIRTUAL' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fireblocks/models/asset_config.py b/fireblocks/models/asset_config.py index b64412a8..8056a0b0 100644 --- a/fireblocks/models/asset_config.py +++ b/fireblocks/models/asset_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_conflict_error_response.py b/fireblocks/models/asset_conflict_error_response.py index 4235a051..23db906b 100644 --- a/fireblocks/models/asset_conflict_error_response.py +++ b/fireblocks/models/asset_conflict_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_details_metadata.py b/fireblocks/models/asset_details_metadata.py index 7b4b10bb..f2027b70 100644 --- a/fireblocks/models/asset_details_metadata.py +++ b/fireblocks/models/asset_details_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_details_onchain.py b/fireblocks/models/asset_details_onchain.py index 88ff4a7a..ca45ab15 100644 --- a/fireblocks/models/asset_details_onchain.py +++ b/fireblocks/models/asset_details_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_feature.py b/fireblocks/models/asset_feature.py index a978b6cb..7979d6be 100644 --- a/fireblocks/models/asset_feature.py +++ b/fireblocks/models/asset_feature.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_forbidden_error_response.py b/fireblocks/models/asset_forbidden_error_response.py index 3ffa5be3..84626e70 100644 --- a/fireblocks/models/asset_forbidden_error_response.py +++ b/fireblocks/models/asset_forbidden_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_internal_server_error_response.py b/fireblocks/models/asset_internal_server_error_response.py index 46187d5d..9212364e 100644 --- a/fireblocks/models/asset_internal_server_error_response.py +++ b/fireblocks/models/asset_internal_server_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_media.py b/fireblocks/models/asset_media.py index df231440..67d6186a 100644 --- a/fireblocks/models/asset_media.py +++ b/fireblocks/models/asset_media.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_media_attributes.py b/fireblocks/models/asset_media_attributes.py index 95483079..74538a0e 100644 --- a/fireblocks/models/asset_media_attributes.py +++ b/fireblocks/models/asset_media_attributes.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_metadata.py b/fireblocks/models/asset_metadata.py index 8b1e442e..d63aa924 100644 --- a/fireblocks/models/asset_metadata.py +++ b/fireblocks/models/asset_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_metadata_dto.py b/fireblocks/models/asset_metadata_dto.py index 47079565..212b41c6 100644 --- a/fireblocks/models/asset_metadata_dto.py +++ b/fireblocks/models/asset_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_metadata_request.py b/fireblocks/models/asset_metadata_request.py index 0b379428..dd02d656 100644 --- a/fireblocks/models/asset_metadata_request.py +++ b/fireblocks/models/asset_metadata_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_not_found_error_response.py b/fireblocks/models/asset_not_found_error_response.py index 59ccf688..002acac9 100644 --- a/fireblocks/models/asset_not_found_error_response.py +++ b/fireblocks/models/asset_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_note.py b/fireblocks/models/asset_note.py index d5061922..4f1828f1 100644 --- a/fireblocks/models/asset_note.py +++ b/fireblocks/models/asset_note.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_note_request.py b/fireblocks/models/asset_note_request.py index d0a6a05d..4f4bffe5 100644 --- a/fireblocks/models/asset_note_request.py +++ b/fireblocks/models/asset_note_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_onchain.py b/fireblocks/models/asset_onchain.py index a3ce1ecc..81d579a7 100644 --- a/fireblocks/models/asset_onchain.py +++ b/fireblocks/models/asset_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_price_forbidden_error_response.py b/fireblocks/models/asset_price_forbidden_error_response.py index 2b4db538..355f2be9 100644 --- a/fireblocks/models/asset_price_forbidden_error_response.py +++ b/fireblocks/models/asset_price_forbidden_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_price_not_found_error_response.py b/fireblocks/models/asset_price_not_found_error_response.py index 8d29ba89..04035bb2 100644 --- a/fireblocks/models/asset_price_not_found_error_response.py +++ b/fireblocks/models/asset_price_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_price_response.py b/fireblocks/models/asset_price_response.py index e6238390..965117af 100644 --- a/fireblocks/models/asset_price_response.py +++ b/fireblocks/models/asset_price_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_response.py b/fireblocks/models/asset_response.py index da7fc58c..aa8e20bb 100644 --- a/fireblocks/models/asset_response.py +++ b/fireblocks/models/asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_scope.py b/fireblocks/models/asset_scope.py index a1e59754..7cd13fad 100644 --- a/fireblocks/models/asset_scope.py +++ b/fireblocks/models/asset_scope.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_type_enum.py b/fireblocks/models/asset_type_enum.py new file mode 100644 index 00000000..a35f0a92 --- /dev/null +++ b/fireblocks/models/asset_type_enum.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class AssetTypeEnum(str, Enum): + """ + AssetTypeEnum + """ + + """ + allowed enum values + """ + DIGITAL = 'DIGITAL' + FIAT = 'FIAT' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of AssetTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/asset_type_response.py b/fireblocks/models/asset_type_response.py index e307ddcc..91965d22 100644 --- a/fireblocks/models/asset_type_response.py +++ b/fireblocks/models/asset_type_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_types_config_inner.py b/fireblocks/models/asset_types_config_inner.py index b0260eec..244053bd 100644 --- a/fireblocks/models/asset_types_config_inner.py +++ b/fireblocks/models/asset_types_config_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/asset_wallet.py b/fireblocks/models/asset_wallet.py index 3cadf40c..b7bdb488 100644 --- a/fireblocks/models/asset_wallet.py +++ b/fireblocks/models/asset_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/audit_log_data.py b/fireblocks/models/audit_log_data.py index 538a2ec8..8a206ea1 100644 --- a/fireblocks/models/audit_log_data.py +++ b/fireblocks/models/audit_log_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/auditor_data.py b/fireblocks/models/auditor_data.py index fce8b1fe..6808687c 100644 --- a/fireblocks/models/auditor_data.py +++ b/fireblocks/models/auditor_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/authorization_groups.py b/fireblocks/models/authorization_groups.py index 1ef5c5c8..5c0a1224 100644 --- a/fireblocks/models/authorization_groups.py +++ b/fireblocks/models/authorization_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/authorization_info.py b/fireblocks/models/authorization_info.py index 8ca23bd6..00e8f5fe 100644 --- a/fireblocks/models/authorization_info.py +++ b/fireblocks/models/authorization_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_accounts_tag_attachments_request.py b/fireblocks/models/balance_history_item_dto.py similarity index 68% rename from fireblocks/models/vault_accounts_tag_attachments_request.py rename to fireblocks/models/balance_history_item_dto.py index 1c3f0695..5fedb7a6 100644 --- a/fireblocks/models/vault_accounts_tag_attachments_request.py +++ b/fireblocks/models/balance_history_item_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,19 +18,19 @@ import re # noqa: F401 import json +from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class VaultAccountsTagAttachmentsRequest(BaseModel): +class BalanceHistoryItemDto(BaseModel): """ - VaultAccountsTagAttachmentsRequest + BalanceHistoryItemDto """ # noqa: E501 - tag_ids: Annotated[List[StrictStr], Field(min_length=1, max_length=200)] = Field(description="The IDs of the tags to attach", alias="tagIds") - vault_account_ids: Annotated[List[StrictStr], Field(min_length=1, max_length=200)] = Field(description="The IDs of the vault accounts to attach tags to", alias="vaultAccountIds") - __properties: ClassVar[List[str]] = ["tagIds", "vaultAccountIds"] + timestamp: datetime = Field(description="Timestamp of the data point") + balance: StrictStr = Field(description="Balance at the given timestamp") + __properties: ClassVar[List[str]] = ["timestamp", "balance"] model_config = ConfigDict( populate_by_name=True, @@ -50,7 +50,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of VaultAccountsTagAttachmentsRequest from a JSON string""" + """Create an instance of BalanceHistoryItemDto from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -75,7 +75,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of VaultAccountsTagAttachmentsRequest from a dict""" + """Create an instance of BalanceHistoryItemDto from a dict""" if obj is None: return None @@ -83,8 +83,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "tagIds": obj.get("tagIds"), - "vaultAccountIds": obj.get("vaultAccountIds") + "timestamp": obj.get("timestamp"), + "balance": obj.get("balance") }) return _obj diff --git a/fireblocks/models/balance_history_paged_response.py b/fireblocks/models/balance_history_paged_response.py new file mode 100644 index 00000000..dad261a9 --- /dev/null +++ b/fireblocks/models/balance_history_paged_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from fireblocks.models.balance_history_item_dto import BalanceHistoryItemDto +from typing import Optional, Set +from typing_extensions import Self + +class BalanceHistoryPagedResponse(BaseModel): + """ + BalanceHistoryPagedResponse + """ # noqa: E501 + data: List[BalanceHistoryItemDto] = Field(description="Array of balance history data points") + next: Optional[StrictStr] = Field(default=None, description="Cursor for next page") + prev: Optional[StrictStr] = Field(default=None, description="Cursor for previous page") + total: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total count of items") + __properties: ClassVar[List[str]] = ["data", "next", "prev", "total"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BalanceHistoryPagedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BalanceHistoryPagedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [BalanceHistoryItemDto.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next"), + "prev": obj.get("prev"), + "total": obj.get("total") + }) + return _obj + + diff --git a/fireblocks/models/bank_address.py b/fireblocks/models/bank_address.py new file mode 100644 index 00000000..bb452717 --- /dev/null +++ b/fireblocks/models/bank_address.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class BankAddress(BaseModel): + """ + Address of the bank. + """ # noqa: E501 + street_name: Optional[StrictStr] = Field(default=None, alias="streetName") + building_number: Optional[StrictStr] = Field(default=None, alias="buildingNumber") + postal_code: Optional[StrictStr] = Field(default=None, alias="postalCode") + city: Optional[StrictStr] = None + subdivision: Optional[StrictStr] = None + district: Optional[StrictStr] = None + country: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["streetName", "buildingNumber", "postalCode", "city", "subdivision", "district", "country"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BankAddress from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BankAddress from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "streetName": obj.get("streetName"), + "buildingNumber": obj.get("buildingNumber"), + "postalCode": obj.get("postalCode"), + "city": obj.get("city"), + "subdivision": obj.get("subdivision"), + "district": obj.get("district"), + "country": obj.get("country") + }) + return _obj + + diff --git a/fireblocks/models/base_provider.py b/fireblocks/models/base_provider.py index 42f21d28..d302dd36 100644 --- a/fireblocks/models/base_provider.py +++ b/fireblocks/models/base_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/basic_address_request.py b/fireblocks/models/basic_address_request.py index d238d059..7849122c 100644 --- a/fireblocks/models/basic_address_request.py +++ b/fireblocks/models/basic_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/block_info.py b/fireblocks/models/block_info.py index 1cbce89c..e1e56963 100644 --- a/fireblocks/models/block_info.py +++ b/fireblocks/models/block_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/validated_transactions_for_rescan.py b/fireblocks/models/blockchain_address.py similarity index 66% rename from fireblocks/models/validated_transactions_for_rescan.py rename to fireblocks/models/blockchain_address.py index 29c7199d..78027aa0 100644 --- a/fireblocks/models/validated_transactions_for_rescan.py +++ b/fireblocks/models/blockchain_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,14 +23,13 @@ from typing import Optional, Set from typing_extensions import Self -class ValidatedTransactionsForRescan(BaseModel): +class BlockchainAddress(BaseModel): """ - ValidatedTransactionsForRescan + The blockchain address information. """ # noqa: E501 - base_asset: Optional[StrictStr] = Field(default=None, description="Base asset symbol BTC_TEST, ETH_TEST5)", alias="baseAsset") - network_protocol: Optional[StrictStr] = Field(default=None, description="Netowrk protocol of the blockchain (BTC, ETH)", alias="networkProtocol") - tx_hashes: Optional[List[StrictStr]] = Field(default=None, description="Blockchain TX hashes", alias="txHashes") - __properties: ClassVar[List[str]] = ["baseAsset", "networkProtocol", "txHashes"] + blockchain_address: StrictStr = Field(description="The blockchain address.", alias="blockchainAddress") + tag: Optional[StrictStr] = Field(default=None, description="The tag of the blockchain address. It is used to identify the address in the blockchain. It is optional.") + __properties: ClassVar[List[str]] = ["blockchainAddress", "tag"] model_config = ConfigDict( populate_by_name=True, @@ -50,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ValidatedTransactionsForRescan from a JSON string""" + """Create an instance of BlockchainAddress from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -75,7 +74,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ValidatedTransactionsForRescan from a dict""" + """Create an instance of BlockchainAddress from a dict""" if obj is None: return None @@ -83,9 +82,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "baseAsset": obj.get("baseAsset"), - "networkProtocol": obj.get("networkProtocol"), - "txHashes": obj.get("txHashes") + "blockchainAddress": obj.get("blockchainAddress"), + "tag": obj.get("tag") }) return _obj diff --git a/fireblocks/models/limit_type_details.py b/fireblocks/models/blockchain_destination.py similarity index 64% rename from fireblocks/models/limit_type_details.py rename to fireblocks/models/blockchain_destination.py index 7855abca..562b9fe2 100644 --- a/fireblocks/models/limit_type_details.py +++ b/fireblocks/models/blockchain_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,24 +20,23 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from fireblocks.models.time_in_force import TimeInForce +from fireblocks.models.blockchain_address import BlockchainAddress from typing import Optional, Set from typing_extensions import Self -class LimitTypeDetails(BaseModel): +class BlockchainDestination(BaseModel): """ - LimitTypeDetails + BlockchainDestination """ # noqa: E501 - type: StrictStr = Field(description="Order type for limit orders") - time_in_force: TimeInForce = Field(alias="timeInForce") - limit_price: StrictStr = Field(description="Price for limit orders", alias="limitPrice") - __properties: ClassVar[List[str]] = ["type", "timeInForce", "limitPrice"] + type: StrictStr = Field(description="The type of destination. Use \"BLOCKCHAIN\" for blockchain address destinations.") + address: BlockchainAddress + __properties: ClassVar[List[str]] = ["type", "address"] @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['LIMIT']): - raise ValueError("must be one of enum values ('LIMIT')") + if value not in set(['BLOCKCHAIN']): + raise ValueError("must be one of enum values ('BLOCKCHAIN')") return value model_config = ConfigDict( @@ -58,7 +57,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of LimitTypeDetails from a JSON string""" + """Create an instance of BlockchainDestination from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,11 +78,14 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of address + if self.address: + _dict['address'] = self.address.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of LimitTypeDetails from a dict""" + """Create an instance of BlockchainDestination from a dict""" if obj is None: return None @@ -92,8 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "type": obj.get("type"), - "timeInForce": obj.get("timeInForce"), - "limitPrice": obj.get("limitPrice") + "address": BlockchainAddress.from_dict(obj["address"]) if obj.get("address") is not None else None }) return _obj diff --git a/fireblocks/models/blockchain_explorer.py b/fireblocks/models/blockchain_explorer.py index 3a67aab4..d97ff9d2 100644 --- a/fireblocks/models/blockchain_explorer.py +++ b/fireblocks/models/blockchain_explorer.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_media.py b/fireblocks/models/blockchain_media.py index 0eece4c8..ee87aa53 100644 --- a/fireblocks/models/blockchain_media.py +++ b/fireblocks/models/blockchain_media.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_metadata.py b/fireblocks/models/blockchain_metadata.py index b38212cb..77981cf8 100644 --- a/fireblocks/models/blockchain_metadata.py +++ b/fireblocks/models/blockchain_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_not_found_error_response.py b/fireblocks/models/blockchain_not_found_error_response.py index 5a81179c..4139f5ec 100644 --- a/fireblocks/models/blockchain_not_found_error_response.py +++ b/fireblocks/models/blockchain_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_onchain.py b/fireblocks/models/blockchain_onchain.py index 6112ef65..4aa468bd 100644 --- a/fireblocks/models/blockchain_onchain.py +++ b/fireblocks/models/blockchain_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_response.py b/fireblocks/models/blockchain_response.py index 1e01bf35..c5067d1c 100644 --- a/fireblocks/models/blockchain_response.py +++ b/fireblocks/models/blockchain_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/blockchain_transfer.py b/fireblocks/models/blockchain_transfer.py index e5ab4d6b..17abe5f7 100644 --- a/fireblocks/models/blockchain_transfer.py +++ b/fireblocks/models/blockchain_transfer.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/bps_fee.py b/fireblocks/models/bps_fee.py index 006f0b52..bbed5604 100644 --- a/fireblocks/models/bps_fee.py +++ b/fireblocks/models/bps_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/business_entity_type_enum.py b/fireblocks/models/business_entity_type_enum.py new file mode 100644 index 00000000..9d61f8ed --- /dev/null +++ b/fireblocks/models/business_entity_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class BusinessEntityTypeEnum(str, Enum): + """ + BusinessEntityTypeEnum + """ + + """ + allowed enum values + """ + BUSINESS = 'BUSINESS' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of BusinessEntityTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/business_identification.py b/fireblocks/models/business_identification.py index 19541e52..ec1ffd08 100644 --- a/fireblocks/models/business_identification.py +++ b/fireblocks/models/business_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,9 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from fireblocks.models.business_entity_type_enum import BusinessEntityTypeEnum from fireblocks.models.participant_relationship_type import ParticipantRelationshipType from fireblocks.models.postal_address import PostalAddress from typing import Optional, Set @@ -30,18 +32,23 @@ class BusinessIdentification(BaseModel): BusinessIdentification """ # noqa: E501 external_reference_id: StrictStr = Field(alias="externalReferenceId") - entity_type: StrictStr = Field(alias="entityType") + entity_type: BusinessEntityTypeEnum = Field(alias="entityType") participant_relationship_type: ParticipantRelationshipType = Field(alias="participantRelationshipType") business_name: StrictStr = Field(alias="businessName") registration_number: StrictStr = Field(alias="registrationNumber") postal_address: PostalAddress = Field(alias="postalAddress") - __properties: ClassVar[List[str]] = ["externalReferenceId", "entityType", "participantRelationshipType", "businessName", "registrationNumber", "postalAddress"] - - @field_validator('entity_type') - def entity_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUSINESS']): - raise ValueError("must be one of enum values ('BUSINESS')") + email: Optional[StrictStr] = None + phone: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Mobile phone number in E.164 format") + __properties: ClassVar[List[str]] = ["externalReferenceId", "entityType", "participantRelationshipType", "businessName", "registrationNumber", "postalAddress", "email", "phone"] + + @field_validator('phone') + def phone_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") return value model_config = ConfigDict( @@ -103,7 +110,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "participantRelationshipType": obj.get("participantRelationshipType"), "businessName": obj.get("businessName"), "registrationNumber": obj.get("registrationNumber"), - "postalAddress": PostalAddress.from_dict(obj["postalAddress"]) if obj.get("postalAddress") is not None else None + "postalAddress": PostalAddress.from_dict(obj["postalAddress"]) if obj.get("postalAddress") is not None else None, + "email": obj.get("email"), + "phone": obj.get("phone") }) return _obj diff --git a/fireblocks/models/callback_handler.py b/fireblocks/models/callback_handler.py index aa611674..370c7515 100644 --- a/fireblocks/models/callback_handler.py +++ b/fireblocks/models/callback_handler.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/callback_handler_request.py b/fireblocks/models/callback_handler_request.py index 99e4eb95..c928bd65 100644 --- a/fireblocks/models/callback_handler_request.py +++ b/fireblocks/models/callback_handler_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/cancel_transaction_response.py b/fireblocks/models/cancel_transaction_response.py index 77da8c76..98ecd9ac 100644 --- a/fireblocks/models/cancel_transaction_response.py +++ b/fireblocks/models/cancel_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/capability.py b/fireblocks/models/capability.py index 7e32ecf3..1308fe94 100644 --- a/fireblocks/models/capability.py +++ b/fireblocks/models/capability.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/chain_descriptor.py b/fireblocks/models/chain_descriptor.py index 32dfcc15..9c100eb3 100644 --- a/fireblocks/models/chain_descriptor.py +++ b/fireblocks/models/chain_descriptor.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,18 +21,29 @@ class ChainDescriptor(str, Enum): """ - ChainDescriptor + Protocol identifier for the staking operation. """ """ allowed enum values """ + ATOM_COS = 'ATOM_COS' + AXL = 'AXL' + AXL_TEST = 'AXL_TEST' + CELESTIA = 'CELESTIA' + DYDX_DYDX = 'DYDX_DYDX' ETH = 'ETH' - SOL = 'SOL' - MATIC = 'MATIC' - ETH_TEST_HOODI = 'ETH_TEST_HOODI' ETH_TEST6 = 'ETH_TEST6' + ETH_TEST_HOODI = 'ETH_TEST_HOODI' + INJ_INJ = 'INJ_INJ' + MANTRA = 'MANTRA' + MATIC = 'MATIC' + OSMO = 'OSMO' + SOL = 'SOL' SOL_TEST = 'SOL_TEST' + STETH_ETH = 'STETH_ETH' + STETH_ETH_TEST6_DZFA = 'STETH_ETH_TEST6_DZFA' + STETH_ETH_TEST_HOODI = 'STETH_ETH_TEST_HOODI' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fireblocks/models/chain_info_response.py b/fireblocks/models/chain_info_response.py index b1939f92..478a3946 100644 --- a/fireblocks/models/chain_info_response.py +++ b/fireblocks/models/chain_info_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -33,7 +33,8 @@ class ChainInfoResponse(BaseModel): epoch_elapsed: Union[StrictFloat, StrictInt] = Field(description="The percentage of time that has elapsed within the current epoch, represented as a decimal value between 0 and 1.", alias="epochElapsed") epoch_duration: Union[StrictFloat, StrictInt] = Field(description="The total duration in milliseconds of a single epoch.", alias="epochDuration") additional_info: AdditionalInfo = Field(alias="additionalInfo") - __properties: ClassVar[List[str]] = ["chainDescriptor", "currentEpoch", "epochElapsed", "epochDuration", "additionalInfo"] + last_updated: Union[StrictFloat, StrictInt] = Field(description="timestamp (in milliseconds) of last update time", alias="lastUpdated") + __properties: ClassVar[List[str]] = ["chainDescriptor", "currentEpoch", "epochElapsed", "epochDuration", "additionalInfo", "lastUpdated"] model_config = ConfigDict( populate_by_name=True, @@ -93,7 +94,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "currentEpoch": obj.get("currentEpoch"), "epochElapsed": obj.get("epochElapsed"), "epochDuration": obj.get("epochDuration"), - "additionalInfo": AdditionalInfo.from_dict(obj["additionalInfo"]) if obj.get("additionalInfo") is not None else None + "additionalInfo": AdditionalInfo.from_dict(obj["additionalInfo"]) if obj.get("additionalInfo") is not None else None, + "lastUpdated": obj.get("lastUpdated") }) return _obj diff --git a/fireblocks/models/channel_dvn_config_with_confirmations.py b/fireblocks/models/channel_dvn_config_with_confirmations.py index a46af01f..da02b5b8 100644 --- a/fireblocks/models/channel_dvn_config_with_confirmations.py +++ b/fireblocks/models/channel_dvn_config_with_confirmations.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/channel_dvn_config_with_confirmations_receive_config.py b/fireblocks/models/channel_dvn_config_with_confirmations_receive_config.py index bf0b24f7..453a8345 100644 --- a/fireblocks/models/channel_dvn_config_with_confirmations_receive_config.py +++ b/fireblocks/models/channel_dvn_config_with_confirmations_receive_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/channel_dvn_config_with_confirmations_send_config.py b/fireblocks/models/channel_dvn_config_with_confirmations_send_config.py index c588dac0..d7fc10a7 100644 --- a/fireblocks/models/channel_dvn_config_with_confirmations_send_config.py +++ b/fireblocks/models/channel_dvn_config_with_confirmations_send_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/claim_rewards_request.py b/fireblocks/models/claim_rewards_request.py index 95670e23..bbf98e25 100644 --- a/fireblocks/models/claim_rewards_request.py +++ b/fireblocks/models/claim_rewards_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_burn_request_dto.py b/fireblocks/models/collection_burn_request_dto.py index 67c3d59c..b02bb962 100644 --- a/fireblocks/models/collection_burn_request_dto.py +++ b/fireblocks/models/collection_burn_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_burn_response_dto.py b/fireblocks/models/collection_burn_response_dto.py index 29ce4ed1..9bf84da1 100644 --- a/fireblocks/models/collection_burn_response_dto.py +++ b/fireblocks/models/collection_burn_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_deploy_request_dto.py b/fireblocks/models/collection_deploy_request_dto.py index aab521e1..32ee929e 100644 --- a/fireblocks/models/collection_deploy_request_dto.py +++ b/fireblocks/models/collection_deploy_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_link_dto.py b/fireblocks/models/collection_link_dto.py index fdd913e9..13b04273 100644 --- a/fireblocks/models/collection_link_dto.py +++ b/fireblocks/models/collection_link_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_metadata_dto.py b/fireblocks/models/collection_metadata_dto.py index a5fee85e..7c5f56eb 100644 --- a/fireblocks/models/collection_metadata_dto.py +++ b/fireblocks/models/collection_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_mint_request_dto.py b/fireblocks/models/collection_mint_request_dto.py index 85f4bba4..27c37bd0 100644 --- a/fireblocks/models/collection_mint_request_dto.py +++ b/fireblocks/models/collection_mint_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_mint_response_dto.py b/fireblocks/models/collection_mint_response_dto.py index 2ea4a20a..39cbcc9d 100644 --- a/fireblocks/models/collection_mint_response_dto.py +++ b/fireblocks/models/collection_mint_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_ownership_response.py b/fireblocks/models/collection_ownership_response.py index d19c4ee7..a35ba658 100644 --- a/fireblocks/models/collection_ownership_response.py +++ b/fireblocks/models/collection_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_token_metadata_attribute_dto.py b/fireblocks/models/collection_token_metadata_attribute_dto.py index 7da2f6d4..d371be41 100644 --- a/fireblocks/models/collection_token_metadata_attribute_dto.py +++ b/fireblocks/models/collection_token_metadata_attribute_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_token_metadata_dto.py b/fireblocks/models/collection_token_metadata_dto.py index 46aaee0f..cf394a79 100644 --- a/fireblocks/models/collection_token_metadata_dto.py +++ b/fireblocks/models/collection_token_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/collection_type.py b/fireblocks/models/collection_type.py index b13c80f6..cbd6e493 100644 --- a/fireblocks/models/collection_type.py +++ b/fireblocks/models/collection_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/committed_quote_enum.py b/fireblocks/models/committed_quote_enum.py new file mode 100644 index 00000000..da77f1cb --- /dev/null +++ b/fireblocks/models/committed_quote_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class CommittedQuoteEnum(str, Enum): + """ + Indicates this is a committed quote + """ + + """ + allowed enum values + """ + COMMITTED = 'COMMITTED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of CommittedQuoteEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/committed_quote_type.py b/fireblocks/models/committed_quote_type.py index 522ba890..f236a980 100644 --- a/fireblocks/models/committed_quote_type.py +++ b/fireblocks/models/committed_quote_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from datetime import datetime -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List +from fireblocks.models.committed_quote_enum import CommittedQuoteEnum from typing import Optional, Set from typing_extensions import Self @@ -28,16 +28,8 @@ class CommittedQuoteType(BaseModel): """ CommittedQuoteType """ # noqa: E501 - type: StrictStr = Field(description="Indicates this is a committed quote") - expires_at: datetime = Field(description="ISO 8601 timestamp of the expiration time of the quote.", alias="expiresAt") - __properties: ClassVar[List[str]] = ["type", "expiresAt"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['COMMITTED']): - raise ValueError("must be one of enum values ('COMMITTED')") - return value + type: CommittedQuoteEnum + __properties: ClassVar[List[str]] = ["type"] model_config = ConfigDict( populate_by_name=True, @@ -90,8 +82,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "type": obj.get("type"), - "expiresAt": obj.get("expiresAt") + "type": obj.get("type") }) return _obj diff --git a/fireblocks/models/compliance_result_full_payload.py b/fireblocks/models/compliance_result_full_payload.py index b5073d3f..20479925 100644 --- a/fireblocks/models/compliance_result_full_payload.py +++ b/fireblocks/models/compliance_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/compliance_result_statuses_enum.py b/fireblocks/models/compliance_result_statuses_enum.py index c56c2608..fc9c8956 100644 --- a/fireblocks/models/compliance_result_statuses_enum.py +++ b/fireblocks/models/compliance_result_statuses_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/compliance_results.py b/fireblocks/models/compliance_results.py index 8a74859c..a06907a8 100644 --- a/fireblocks/models/compliance_results.py +++ b/fireblocks/models/compliance_results.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/compliance_screening_result.py b/fireblocks/models/compliance_screening_result.py index 7001ee5e..dcf3cd2b 100644 --- a/fireblocks/models/compliance_screening_result.py +++ b/fireblocks/models/compliance_screening_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/compliance_screening_result_full_payload.py b/fireblocks/models/compliance_screening_result_full_payload.py index c8af726d..62cad8b8 100644 --- a/fireblocks/models/compliance_screening_result_full_payload.py +++ b/fireblocks/models/compliance_screening_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_change_request_status.py b/fireblocks/models/config_change_request_status.py index 3eaf7e8d..d8e70043 100644 --- a/fireblocks/models/config_change_request_status.py +++ b/fireblocks/models/config_change_request_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_conversion_operation_snapshot.py b/fireblocks/models/config_conversion_operation_snapshot.py index f1288ae2..c5297284 100644 --- a/fireblocks/models/config_conversion_operation_snapshot.py +++ b/fireblocks/models/config_conversion_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_disbursement_operation_snapshot.py b/fireblocks/models/config_disbursement_operation_snapshot.py index 66b5a228..01b4f4e1 100644 --- a/fireblocks/models/config_disbursement_operation_snapshot.py +++ b/fireblocks/models/config_disbursement_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_operation.py b/fireblocks/models/config_operation.py index d645046f..65097d49 100644 --- a/fireblocks/models/config_operation.py +++ b/fireblocks/models/config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_operation_snapshot.py b/fireblocks/models/config_operation_snapshot.py index c9ce443c..314d4c26 100644 --- a/fireblocks/models/config_operation_snapshot.py +++ b/fireblocks/models/config_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_operation_status.py b/fireblocks/models/config_operation_status.py index 4a187cea..77ad0964 100644 --- a/fireblocks/models/config_operation_status.py +++ b/fireblocks/models/config_operation_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/config_transfer_operation_snapshot.py b/fireblocks/models/config_transfer_operation_snapshot.py index 90865a10..7501e032 100644 --- a/fireblocks/models/config_transfer_operation_snapshot.py +++ b/fireblocks/models/config_transfer_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account.py b/fireblocks/models/connected_account.py index 1e80fbb5..9191ff8e 100644 --- a/fireblocks/models/connected_account.py +++ b/fireblocks/models/connected_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_approval_status.py b/fireblocks/models/connected_account_approval_status.py index 31058df1..7877ff22 100644 --- a/fireblocks/models/connected_account_approval_status.py +++ b/fireblocks/models/connected_account_approval_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_asset_type.py b/fireblocks/models/connected_account_asset_type.py index 1984f0a0..c7fffc58 100644 --- a/fireblocks/models/connected_account_asset_type.py +++ b/fireblocks/models/connected_account_asset_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_balances.py b/fireblocks/models/connected_account_balances.py index f03c86be..b4fc282d 100644 --- a/fireblocks/models/connected_account_balances.py +++ b/fireblocks/models/connected_account_balances.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_balances_response.py b/fireblocks/models/connected_account_balances_response.py index 10cca976..f0440f34 100644 --- a/fireblocks/models/connected_account_balances_response.py +++ b/fireblocks/models/connected_account_balances_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_capability.py b/fireblocks/models/connected_account_capability.py index 77436178..5ccc5ae9 100644 --- a/fireblocks/models/connected_account_capability.py +++ b/fireblocks/models/connected_account_capability.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_error_response.py b/fireblocks/models/connected_account_error_response.py new file mode 100644 index 00000000..d1269b2c --- /dev/null +++ b/fireblocks/models/connected_account_error_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class ConnectedAccountErrorResponse(BaseModel): + """ + ConnectedAccountErrorResponse + """ # noqa: E501 + error_message: StrictStr = Field(description="Error message describing what went wrong", alias="errorMessage") + error_code: StrictStr = Field(description="Error code identifying the type of error", alias="errorCode") + __properties: ClassVar[List[str]] = ["errorMessage", "errorCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConnectedAccountErrorResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConnectedAccountErrorResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errorMessage": obj.get("errorMessage"), + "errorCode": obj.get("errorCode") + }) + return _obj + + diff --git a/fireblocks/models/connected_account_manifest.py b/fireblocks/models/connected_account_manifest.py index 9d07b61e..e17f4234 100644 --- a/fireblocks/models/connected_account_manifest.py +++ b/fireblocks/models/connected_account_manifest.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_rate_response.py b/fireblocks/models/connected_account_rate_response.py index 4b068ca9..e459a3de 100644 --- a/fireblocks/models/connected_account_rate_response.py +++ b/fireblocks/models/connected_account_rate_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_total_balance.py b/fireblocks/models/connected_account_total_balance.py index a7843179..b544106e 100644 --- a/fireblocks/models/connected_account_total_balance.py +++ b/fireblocks/models/connected_account_total_balance.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_trading_pair.py b/fireblocks/models/connected_account_trading_pair.py index fdebceee..4a1cae92 100644 --- a/fireblocks/models/connected_account_trading_pair.py +++ b/fireblocks/models/connected_account_trading_pair.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_trading_pair_supported_type.py b/fireblocks/models/connected_account_trading_pair_supported_type.py index a7c9bfdc..bbecadc6 100644 --- a/fireblocks/models/connected_account_trading_pair_supported_type.py +++ b/fireblocks/models/connected_account_trading_pair_supported_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_account_trading_pairs_response.py b/fireblocks/models/connected_account_trading_pairs_response.py index 716a7a0d..fcba42fa 100644 --- a/fireblocks/models/connected_account_trading_pairs_response.py +++ b/fireblocks/models/connected_account_trading_pairs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_accounts_response.py b/fireblocks/models/connected_accounts_response.py index 03766699..f540706c 100644 --- a/fireblocks/models/connected_accounts_response.py +++ b/fireblocks/models/connected_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_single_account.py b/fireblocks/models/connected_single_account.py index a55f22de..ea87f367 100644 --- a/fireblocks/models/connected_single_account.py +++ b/fireblocks/models/connected_single_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/connected_single_account_response.py b/fireblocks/models/connected_single_account_response.py index 02e594fb..dc35dca6 100644 --- a/fireblocks/models/connected_single_account_response.py +++ b/fireblocks/models/connected_single_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/console_user.py b/fireblocks/models/console_user.py index 8f71a092..eeb586ef 100644 --- a/fireblocks/models/console_user.py +++ b/fireblocks/models/console_user.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_abi_response_dto.py b/fireblocks/models/contract_abi_response_dto.py index 9066ff20..de293708 100644 --- a/fireblocks/models/contract_abi_response_dto.py +++ b/fireblocks/models/contract_abi_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_abi_response_dto_abi_inner.py b/fireblocks/models/contract_abi_response_dto_abi_inner.py index 9f306374..4e6ea171 100644 --- a/fireblocks/models/contract_abi_response_dto_abi_inner.py +++ b/fireblocks/models/contract_abi_response_dto_abi_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_address_response.py b/fireblocks/models/contract_address_response.py new file mode 100644 index 00000000..be691781 --- /dev/null +++ b/fireblocks/models/contract_address_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class ContractAddressResponse(BaseModel): + """ + ContractAddressResponse + """ # noqa: E501 + contract_address: StrictStr = Field(description="The contract's onchain address", alias="contractAddress") + __properties: ClassVar[List[str]] = ["contractAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContractAddressResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContractAddressResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "contractAddress": obj.get("contractAddress") + }) + return _obj + + diff --git a/fireblocks/models/contract_attributes.py b/fireblocks/models/contract_attributes.py index 8c04a1a6..5111169f 100644 --- a/fireblocks/models/contract_attributes.py +++ b/fireblocks/models/contract_attributes.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decode_data_type.py b/fireblocks/models/contract_data_decode_data_type.py index e6bb5755..500b4a87 100644 --- a/fireblocks/models/contract_data_decode_data_type.py +++ b/fireblocks/models/contract_data_decode_data_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decode_error.py b/fireblocks/models/contract_data_decode_error.py index 75f2d43e..49606edd 100644 --- a/fireblocks/models/contract_data_decode_error.py +++ b/fireblocks/models/contract_data_decode_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decode_request.py b/fireblocks/models/contract_data_decode_request.py index 5e310691..5483ef23 100644 --- a/fireblocks/models/contract_data_decode_request.py +++ b/fireblocks/models/contract_data_decode_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decode_request_data.py b/fireblocks/models/contract_data_decode_request_data.py index 881c4372..54e08abb 100644 --- a/fireblocks/models/contract_data_decode_request_data.py +++ b/fireblocks/models/contract_data_decode_request_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decode_response_params.py b/fireblocks/models/contract_data_decode_response_params.py index 17baf9ca..aca4c0c2 100644 --- a/fireblocks/models/contract_data_decode_response_params.py +++ b/fireblocks/models/contract_data_decode_response_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_decoded_response.py b/fireblocks/models/contract_data_decoded_response.py index fa268200..8b6fb620 100644 --- a/fireblocks/models/contract_data_decoded_response.py +++ b/fireblocks/models/contract_data_decoded_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_data_log_data_param.py b/fireblocks/models/contract_data_log_data_param.py index d134dc5e..f29d1d71 100644 --- a/fireblocks/models/contract_data_log_data_param.py +++ b/fireblocks/models/contract_data_log_data_param.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_deploy_request.py b/fireblocks/models/contract_deploy_request.py index a0b68b46..767c2c48 100644 --- a/fireblocks/models/contract_deploy_request.py +++ b/fireblocks/models/contract_deploy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_deploy_response.py b/fireblocks/models/contract_deploy_response.py index f36d7028..6fa0b264 100644 --- a/fireblocks/models/contract_deploy_response.py +++ b/fireblocks/models/contract_deploy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_doc.py b/fireblocks/models/contract_doc.py index 888857c3..06e9ef85 100644 --- a/fireblocks/models/contract_doc.py +++ b/fireblocks/models/contract_doc.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_metadata_dto.py b/fireblocks/models/contract_metadata_dto.py index ebeb8f66..96799802 100644 --- a/fireblocks/models/contract_metadata_dto.py +++ b/fireblocks/models/contract_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_method_config.py b/fireblocks/models/contract_method_config.py index df710e23..db094604 100644 --- a/fireblocks/models/contract_method_config.py +++ b/fireblocks/models/contract_method_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_method_pattern.py b/fireblocks/models/contract_method_pattern.py index 4c7bfade..433cce7f 100644 --- a/fireblocks/models/contract_method_pattern.py +++ b/fireblocks/models/contract_method_pattern.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_template_dto.py b/fireblocks/models/contract_template_dto.py index b586ca02..ef2c5f50 100644 --- a/fireblocks/models/contract_template_dto.py +++ b/fireblocks/models/contract_template_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_upload_request.py b/fireblocks/models/contract_upload_request.py index 3eb6dacc..d263b280 100644 --- a/fireblocks/models/contract_upload_request.py +++ b/fireblocks/models/contract_upload_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/contract_with_abi_dto.py b/fireblocks/models/contract_with_abi_dto.py index 530c3089..2630f739 100644 --- a/fireblocks/models/contract_with_abi_dto.py +++ b/fireblocks/models/contract_with_abi_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_config_operation.py b/fireblocks/models/conversion_config_operation.py index 61e9cd71..bb11d798 100644 --- a/fireblocks/models/conversion_config_operation.py +++ b/fireblocks/models/conversion_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_config_params.py b/fireblocks/models/conversion_operation_config_params.py index 7ef0fece..9720d1b8 100644 --- a/fireblocks/models/conversion_operation_config_params.py +++ b/fireblocks/models/conversion_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_execution.py b/fireblocks/models/conversion_operation_execution.py index 0b845258..c92fa0f0 100644 --- a/fireblocks/models/conversion_operation_execution.py +++ b/fireblocks/models/conversion_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_execution_output.py b/fireblocks/models/conversion_operation_execution_output.py index 924ee3c2..0784c9e5 100644 --- a/fireblocks/models/conversion_operation_execution_output.py +++ b/fireblocks/models/conversion_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_execution_params.py b/fireblocks/models/conversion_operation_execution_params.py index f7844453..ed192620 100644 --- a/fireblocks/models/conversion_operation_execution_params.py +++ b/fireblocks/models/conversion_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_execution_params_execution_params.py b/fireblocks/models/conversion_operation_execution_params_execution_params.py index 8760defb..6d3b3ce2 100644 --- a/fireblocks/models/conversion_operation_execution_params_execution_params.py +++ b/fireblocks/models/conversion_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_failure.py b/fireblocks/models/conversion_operation_failure.py index 65c3affe..0794e02e 100644 --- a/fireblocks/models/conversion_operation_failure.py +++ b/fireblocks/models/conversion_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_preview.py b/fireblocks/models/conversion_operation_preview.py index 049bda41..06f2c22a 100644 --- a/fireblocks/models/conversion_operation_preview.py +++ b/fireblocks/models/conversion_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_preview_output.py b/fireblocks/models/conversion_operation_preview_output.py index b2de37ed..29413396 100644 --- a/fireblocks/models/conversion_operation_preview_output.py +++ b/fireblocks/models/conversion_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_operation_type.py b/fireblocks/models/conversion_operation_type.py index 024aee01..64c72c87 100644 --- a/fireblocks/models/conversion_operation_type.py +++ b/fireblocks/models/conversion_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/conversion_validation_failure.py b/fireblocks/models/conversion_validation_failure.py index 15ca7478..bcf094ee 100644 --- a/fireblocks/models/conversion_validation_failure.py +++ b/fireblocks/models/conversion_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/convert_assets_request.py b/fireblocks/models/convert_assets_request.py index a629394a..8988cd26 100644 --- a/fireblocks/models/convert_assets_request.py +++ b/fireblocks/models/convert_assets_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/convert_assets_response.py b/fireblocks/models/convert_assets_response.py index 6a0ccf72..f4e16e0a 100644 --- a/fireblocks/models/convert_assets_response.py +++ b/fireblocks/models/convert_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/cosigner.py b/fireblocks/models/cosigner.py index c4510feb..132398ac 100644 --- a/fireblocks/models/cosigner.py +++ b/fireblocks/models/cosigner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.version import Version +from fireblocks.models.version_summary import VersionSummary from typing import Optional, Set from typing_extensions import Self @@ -32,7 +32,7 @@ class Cosigner(BaseModel): id: StrictStr = Field(description="The unique identifier of the cosigner") name: Optional[StrictStr] = Field(default=None, description="The name of the cosigner") type: Optional[StrictStr] = Field(default=None, description="The type of the cosigner") - version: Optional[Version] = None + version: Optional[VersionSummary] = None __properties: ClassVar[List[str]] = ["archived", "id", "name", "type", "version"] @field_validator('type') @@ -103,7 +103,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "name": obj.get("name"), "type": obj.get("type"), - "version": Version.from_dict(obj["version"]) if obj.get("version") is not None else None + "version": VersionSummary.from_dict(obj["version"]) if obj.get("version") is not None else None }) return _obj diff --git a/fireblocks/models/cosigners_paginated_response.py b/fireblocks/models/cosigners_paginated_response.py index 50c3c633..854623a0 100644 --- a/fireblocks/models/cosigners_paginated_response.py +++ b/fireblocks/models/cosigners_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_address_request.py b/fireblocks/models/create_address_request.py index facb3340..223da891 100644 --- a/fireblocks/models/create_address_request.py +++ b/fireblocks/models/create_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_address_response.py b/fireblocks/models/create_address_response.py index 30448dfc..c2cf3d4d 100644 --- a/fireblocks/models/create_address_response.py +++ b/fireblocks/models/create_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_api_user.py b/fireblocks/models/create_api_user.py index 36584a57..429afc95 100644 --- a/fireblocks/models/create_api_user.py +++ b/fireblocks/models/create_api_user.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_assets_request.py b/fireblocks/models/create_assets_request.py index d9aaf697..1c0d042c 100644 --- a/fireblocks/models/create_assets_request.py +++ b/fireblocks/models/create_assets_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_config_operation_request.py b/fireblocks/models/create_config_operation_request.py index d29f7b99..a36637b3 100644 --- a/fireblocks/models/create_config_operation_request.py +++ b/fireblocks/models/create_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_connection_request.py b/fireblocks/models/create_connection_request.py index 3e1975f4..01aa516e 100644 --- a/fireblocks/models/create_connection_request.py +++ b/fireblocks/models/create_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_connection_response.py b/fireblocks/models/create_connection_response.py index 94f7e168..4d68f3aa 100644 --- a/fireblocks/models/create_connection_response.py +++ b/fireblocks/models/create_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_console_user.py b/fireblocks/models/create_console_user.py index 64d4e966..b6fb8f2d 100644 --- a/fireblocks/models/create_console_user.py +++ b/fireblocks/models/create_console_user.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_contract_request.py b/fireblocks/models/create_contract_request.py index 14a9ae69..8e312c41 100644 --- a/fireblocks/models/create_contract_request.py +++ b/fireblocks/models/create_contract_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_conversion_config_operation_request.py b/fireblocks/models/create_conversion_config_operation_request.py index cecfb177..8ef2d342 100644 --- a/fireblocks/models/create_conversion_config_operation_request.py +++ b/fireblocks/models/create_conversion_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_disbursement_config_operation_request.py b/fireblocks/models/create_disbursement_config_operation_request.py index b813797d..3176eaf7 100644 --- a/fireblocks/models/create_disbursement_config_operation_request.py +++ b/fireblocks/models/create_disbursement_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_internal_transfer_request.py b/fireblocks/models/create_internal_transfer_request.py index 48185c7b..8746f1e2 100644 --- a/fireblocks/models/create_internal_transfer_request.py +++ b/fireblocks/models/create_internal_transfer_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_internal_wallet_asset_request.py b/fireblocks/models/create_internal_wallet_asset_request.py index 39962c23..2ab4498e 100644 --- a/fireblocks/models/create_internal_wallet_asset_request.py +++ b/fireblocks/models/create_internal_wallet_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multichain_token_request.py b/fireblocks/models/create_multichain_token_request.py index 9721b7d7..01414fd9 100644 --- a/fireblocks/models/create_multichain_token_request.py +++ b/fireblocks/models/create_multichain_token_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multichain_token_request_create_params.py b/fireblocks/models/create_multichain_token_request_create_params.py index fc410807..bf5dffd1 100644 --- a/fireblocks/models/create_multichain_token_request_create_params.py +++ b/fireblocks/models/create_multichain_token_request_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multiple_accounts_request.py b/fireblocks/models/create_multiple_accounts_request.py index 63ce8f57..bdfc678a 100644 --- a/fireblocks/models/create_multiple_accounts_request.py +++ b/fireblocks/models/create_multiple_accounts_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multiple_deposit_addresses_job_status.py b/fireblocks/models/create_multiple_deposit_addresses_job_status.py index 87457796..439ca4ae 100644 --- a/fireblocks/models/create_multiple_deposit_addresses_job_status.py +++ b/fireblocks/models/create_multiple_deposit_addresses_job_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multiple_deposit_addresses_request.py b/fireblocks/models/create_multiple_deposit_addresses_request.py index 0310deee..1999af6d 100644 --- a/fireblocks/models/create_multiple_deposit_addresses_request.py +++ b/fireblocks/models/create_multiple_deposit_addresses_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_multiple_vault_accounts_job_status.py b/fireblocks/models/create_multiple_vault_accounts_job_status.py index 777a76cf..88340f5e 100644 --- a/fireblocks/models/create_multiple_vault_accounts_job_status.py +++ b/fireblocks/models/create_multiple_vault_accounts_job_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_ncw_connection_request.py b/fireblocks/models/create_ncw_connection_request.py index f7bedeea..f7e7641c 100644 --- a/fireblocks/models/create_ncw_connection_request.py +++ b/fireblocks/models/create_ncw_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_network_id_request.py b/fireblocks/models/create_network_id_request.py index 1e282018..702bb15e 100644 --- a/fireblocks/models/create_network_id_request.py +++ b/fireblocks/models/create_network_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_order_request.py b/fireblocks/models/create_order_request.py index 045ad511..3abb5d62 100644 --- a/fireblocks/models/create_order_request.py +++ b/fireblocks/models/create_order_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_payout_request.py b/fireblocks/models/create_payout_request.py index 027ecd9b..c95d663a 100644 --- a/fireblocks/models/create_payout_request.py +++ b/fireblocks/models/create_payout_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_quote.py b/fireblocks/models/create_quote.py index 3b541e8a..20e81770 100644 --- a/fireblocks/models/create_quote.py +++ b/fireblocks/models/create_quote.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,7 +23,7 @@ from typing_extensions import Annotated from fireblocks.models.create_quote_scope_inner import CreateQuoteScopeInner from fireblocks.models.dvp_settlement import DVPSettlement -from fireblocks.models.transfer_rail import TransferRail +from fireblocks.models.side import Side from typing import Optional, Set from typing_extensions import Self @@ -33,14 +33,12 @@ class CreateQuote(BaseModel): """ # noqa: E501 scope: List[CreateQuoteScopeInner] base_asset_id: StrictStr = Field(alias="baseAssetId") - base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") quote_asset_id: StrictStr = Field(alias="quoteAssetId") - quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") base_amount: Annotated[str, Field(strict=True)] = Field(description="The amount to convert from", alias="baseAmount") slippage_bps: Optional[Union[Annotated[float, Field(le=10000, strict=True, ge=1)], Annotated[int, Field(le=10000, strict=True, ge=1)]]] = Field(default=50, description="Slippage tolerance in basis points (bps) for defi quotes - 1 is 0.01% and 10000 is 100%", alias="slippageBps") settlement: Optional[DVPSettlement] = None - side: StrictStr = Field(description="Side of the order") - __properties: ClassVar[List[str]] = ["scope", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail", "baseAmount", "slippageBps", "settlement", "side"] + side: Side + __properties: ClassVar[List[str]] = ["scope", "baseAssetId", "quoteAssetId", "baseAmount", "slippageBps", "settlement", "side"] @field_validator('base_amount') def base_amount_validate_regular_expression(cls, value): @@ -49,13 +47,6 @@ def base_amount_validate_regular_expression(cls, value): raise ValueError(r"must validate the regular expression /^\d+(\.\d+)?$/") return value - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -119,9 +110,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "scope": [CreateQuoteScopeInner.from_dict(_item) for _item in obj["scope"]] if obj.get("scope") is not None else None, "baseAssetId": obj.get("baseAssetId"), - "baseAssetRail": obj.get("baseAssetRail"), "quoteAssetId": obj.get("quoteAssetId"), - "quoteAssetRail": obj.get("quoteAssetRail"), "baseAmount": obj.get("baseAmount"), "slippageBps": obj.get("slippageBps") if obj.get("slippageBps") is not None else 50, "settlement": DVPSettlement.from_dict(obj["settlement"]) if obj.get("settlement") is not None else None, diff --git a/fireblocks/models/create_quote_scope_inner.py b/fireblocks/models/create_quote_scope_inner.py index 0db64b24..43641a64 100644 --- a/fireblocks/models/create_quote_scope_inner.py +++ b/fireblocks/models/create_quote_scope_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,24 +18,21 @@ import pprint from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional -from fireblocks.models.account_provider_id import AccountProviderID -from fireblocks.models.provider_id import ProviderID +from fireblocks.models.scope_item import ScopeItem from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -CREATEQUOTESCOPEINNER_ONE_OF_SCHEMAS = ["AccountProviderID", "ProviderID"] +CREATEQUOTESCOPEINNER_ONE_OF_SCHEMAS = ["ScopeItem"] class CreateQuoteScopeInner(BaseModel): """ CreateQuoteScopeInner """ - # data type: AccountProviderID - oneof_schema_1_validator: Optional[AccountProviderID] = None - # data type: ProviderID - oneof_schema_2_validator: Optional[ProviderID] = None - actual_instance: Optional[Union[AccountProviderID, ProviderID]] = None - one_of_schemas: Set[str] = { "AccountProviderID", "ProviderID" } + # data type: ScopeItem + oneof_schema_1_validator: Optional[ScopeItem] = None + actual_instance: Optional[Union[ScopeItem]] = None + one_of_schemas: Set[str] = { "ScopeItem" } model_config = ConfigDict( validate_assignment=True, @@ -58,22 +55,17 @@ def actual_instance_must_validate_oneof(cls, v): instance = CreateQuoteScopeInner.model_construct() error_messages = [] match = 0 - # validate data type: AccountProviderID - if not isinstance(v, AccountProviderID): - error_messages.append(f"Error! Input type `{type(v)}` is not `AccountProviderID`") - else: - match += 1 - # validate data type: ProviderID - if not isinstance(v, ProviderID): - error_messages.append(f"Error! Input type `{type(v)}` is not `ProviderID`") + # validate data type: ScopeItem + if not isinstance(v, ScopeItem): + error_messages.append(f"Error! Input type `{type(v)}` is not `ScopeItem`") else: match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in CreateQuoteScopeInner with oneOf schemas: AccountProviderID, ProviderID. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in CreateQuoteScopeInner with oneOf schemas: ScopeItem. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in CreateQuoteScopeInner with oneOf schemas: AccountProviderID, ProviderID. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in CreateQuoteScopeInner with oneOf schemas: ScopeItem. Details: " + ", ".join(error_messages)) else: return v @@ -88,25 +80,19 @@ def from_json(cls, json_str: str) -> Self: error_messages = [] match = 0 - # deserialize data into AccountProviderID - try: - instance.actual_instance = AccountProviderID.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # deserialize data into ProviderID + # deserialize data into ScopeItem try: - instance.actual_instance = ProviderID.from_json(json_str) + instance.actual_instance = ScopeItem.from_json(json_str) match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into CreateQuoteScopeInner with oneOf schemas: AccountProviderID, ProviderID. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into CreateQuoteScopeInner with oneOf schemas: ScopeItem. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into CreateQuoteScopeInner with oneOf schemas: AccountProviderID, ProviderID. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into CreateQuoteScopeInner with oneOf schemas: ScopeItem. Details: " + ", ".join(error_messages)) else: return instance @@ -120,7 +106,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], AccountProviderID, ProviderID]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], ScopeItem]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/fireblocks/models/create_signing_key_dto.py b/fireblocks/models/create_signing_key_dto.py index 14c950ae..5950d5c9 100644 --- a/fireblocks/models/create_signing_key_dto.py +++ b/fireblocks/models/create_signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_signing_key_dto_proof_of_ownership.py b/fireblocks/models/create_signing_key_dto_proof_of_ownership.py index 086bfc8c..0a68323f 100644 --- a/fireblocks/models/create_signing_key_dto_proof_of_ownership.py +++ b/fireblocks/models/create_signing_key_dto_proof_of_ownership.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_tag_request.py b/fireblocks/models/create_tag_request.py index c7c05f1e..8a7fa223 100644 --- a/fireblocks/models/create_tag_request.py +++ b/fireblocks/models/create_tag_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self @@ -27,9 +28,11 @@ class CreateTagRequest(BaseModel): """ CreateTagRequest """ # noqa: E501 - label: StrictStr = Field(description="The tag label") - description: Optional[StrictStr] = Field(default=None, description="Description for the tag") - __properties: ClassVar[List[str]] = ["label", "description"] + label: Annotated[str, Field(min_length=2, strict=True, max_length=30)] = Field(description="The tag label") + description: Optional[Annotated[str, Field(strict=True, max_length=250)]] = Field(default=None, description="Description for the tag") + color: Optional[StrictStr] = Field(default=None, description="The tag color in hex format") + is_protected: Optional[StrictBool] = Field(default=False, description="Indication if the tag is protected tag", alias="isProtected") + __properties: ClassVar[List[str]] = ["label", "description", "color", "isProtected"] model_config = ConfigDict( populate_by_name=True, @@ -83,7 +86,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "label": obj.get("label"), - "description": obj.get("description") + "description": obj.get("description"), + "color": obj.get("color"), + "isProtected": obj.get("isProtected") if obj.get("isProtected") is not None else False }) return _obj diff --git a/fireblocks/models/create_token_request_dto.py b/fireblocks/models/create_token_request_dto.py index f38f75b1..4febf4df 100644 --- a/fireblocks/models/create_token_request_dto.py +++ b/fireblocks/models/create_token_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_token_request_dto_create_params.py b/fireblocks/models/create_token_request_dto_create_params.py index 02d9ec27..6693c416 100644 --- a/fireblocks/models/create_token_request_dto_create_params.py +++ b/fireblocks/models/create_token_request_dto_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_transaction_response.py b/fireblocks/models/create_transaction_response.py index 3b493d4c..b624c580 100644 --- a/fireblocks/models/create_transaction_response.py +++ b/fireblocks/models/create_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ class CreateTransactionResponse(BaseModel): """ # noqa: E501 id: Optional[StrictStr] = Field(default=None, description="The ID of the transaction.") status: Optional[StrictStr] = Field(default=None, description="The primary status of the transaction. For details, see [Primary transaction statuses.] (https://developers.fireblocks.com/reference/primary-transaction-statuses)") - system_messages: Optional[SystemMessageInfo] = Field(default=None, alias="systemMessages") + system_messages: Optional[List[SystemMessageInfo]] = Field(default=None, alias="systemMessages") __properties: ClassVar[List[str]] = ["id", "status", "systemMessages"] model_config = ConfigDict( @@ -72,9 +72,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of system_messages + # override the default output from pydantic by calling `to_dict()` of each item in system_messages (list) + _items = [] if self.system_messages: - _dict['systemMessages'] = self.system_messages.to_dict() + for _item_system_messages in self.system_messages: + if _item_system_messages: + _items.append(_item_system_messages.to_dict()) + _dict['systemMessages'] = _items return _dict @classmethod @@ -89,7 +93,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "id": obj.get("id"), "status": obj.get("status"), - "systemMessages": SystemMessageInfo.from_dict(obj["systemMessages"]) if obj.get("systemMessages") is not None else None + "systemMessages": [SystemMessageInfo.from_dict(_item) for _item in obj["systemMessages"]] if obj.get("systemMessages") is not None else None }) return _obj diff --git a/fireblocks/models/create_transfer_config_operation_request.py b/fireblocks/models/create_transfer_config_operation_request.py index ad37f96e..f390bebf 100644 --- a/fireblocks/models/create_transfer_config_operation_request.py +++ b/fireblocks/models/create_transfer_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_user_group_response.py b/fireblocks/models/create_user_group_response.py index c12cf9bc..9b664eb8 100644 --- a/fireblocks/models/create_user_group_response.py +++ b/fireblocks/models/create_user_group_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_validation_key_dto.py b/fireblocks/models/create_validation_key_dto.py index 2c350ded..ae1d86ba 100644 --- a/fireblocks/models/create_validation_key_dto.py +++ b/fireblocks/models/create_validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_validation_key_response_dto.py b/fireblocks/models/create_validation_key_response_dto.py index 3e79338e..e5a95fc6 100644 --- a/fireblocks/models/create_validation_key_response_dto.py +++ b/fireblocks/models/create_validation_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_vault_account_connection_request.py b/fireblocks/models/create_vault_account_connection_request.py index b440a094..3df33025 100644 --- a/fireblocks/models/create_vault_account_connection_request.py +++ b/fireblocks/models/create_vault_account_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_vault_account_request.py b/fireblocks/models/create_vault_account_request.py index 3d2ebfbe..915d2ace 100644 --- a/fireblocks/models/create_vault_account_request.py +++ b/fireblocks/models/create_vault_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_vault_asset_response.py b/fireblocks/models/create_vault_asset_response.py index 71743135..46a85e6e 100644 --- a/fireblocks/models/create_vault_asset_response.py +++ b/fireblocks/models/create_vault_asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_wallet_request.py b/fireblocks/models/create_wallet_request.py index 8687a9e2..80280cb7 100644 --- a/fireblocks/models/create_wallet_request.py +++ b/fireblocks/models/create_wallet_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_webhook_request.py b/fireblocks/models/create_webhook_request.py index 879c2f1d..be6964f1 100644 --- a/fireblocks/models/create_webhook_request.py +++ b/fireblocks/models/create_webhook_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/create_workflow_execution_request_params_inner.py b/fireblocks/models/create_workflow_execution_request_params_inner.py index d16c79c4..27cf27bc 100644 --- a/fireblocks/models/create_workflow_execution_request_params_inner.py +++ b/fireblocks/models/create_workflow_execution_request_params_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/custom_routing_dest.py b/fireblocks/models/custom_routing_dest.py index a4e05b2d..323394ab 100644 --- a/fireblocks/models/custom_routing_dest.py +++ b/fireblocks/models/custom_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/d_app_address_config.py b/fireblocks/models/d_app_address_config.py index 035f9464..2159cc7d 100644 --- a/fireblocks/models/d_app_address_config.py +++ b/fireblocks/models/d_app_address_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/decoded_log.py b/fireblocks/models/decoded_log.py new file mode 100644 index 00000000..386ba7a9 --- /dev/null +++ b/fireblocks/models/decoded_log.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class DecodedLog(BaseModel): + """ + Decoded event log from a blockchain transaction. Note - Additional dynamic properties may be present beyond the required ones. + """ # noqa: E501 + address: StrictStr = Field(description="Contract address that emitted the log") + block_hash: StrictStr = Field(description="Hash of the block containing this log", alias="blockHash") + block_number: StrictStr = Field(description="Block number containing this log", alias="blockNumber") + transaction_hash: StrictStr = Field(description="Hash of the transaction that generated this log", alias="transactionHash") + log_index: StrictStr = Field(description="Index of the log in the transaction", alias="logIndex") + __properties: ClassVar[List[str]] = ["address", "blockHash", "blockNumber", "transactionHash", "logIndex"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DecodedLog from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DecodedLog from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "address": obj.get("address"), + "blockHash": obj.get("blockHash"), + "blockNumber": obj.get("blockNumber"), + "transactionHash": obj.get("transactionHash"), + "logIndex": obj.get("logIndex") + }) + return _obj + + diff --git a/fireblocks/models/default_network_routing_dest.py b/fireblocks/models/default_network_routing_dest.py index 216c24f0..ea9e5947 100644 --- a/fireblocks/models/default_network_routing_dest.py +++ b/fireblocks/models/default_network_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/delegation.py b/fireblocks/models/delegation.py index 33b42afa..93ee0e9d 100644 --- a/fireblocks/models/delegation.py +++ b/fireblocks/models/delegation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,9 +21,9 @@ from datetime import datetime from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.delegation_blockchain_position_info import DelegationBlockchainPositionInfo from fireblocks.models.related_request import RelatedRequest from fireblocks.models.related_transaction import RelatedTransaction -from fireblocks.models.solana_blockchain_data import SolanaBlockchainData from fireblocks.models.staking_provider import StakingProvider from typing import Optional, Set from typing_extensions import Self @@ -37,7 +37,7 @@ class Delegation(BaseModel): validator_name: StrictStr = Field(description="The destination validator address name", alias="validatorName") provider_name: StrictStr = Field(description="The destination validator provider name", alias="providerName") chain_descriptor: StrictStr = Field(description="The protocol identifier (e.g. \"ETH\"/ \"SOL\") to use", alias="chainDescriptor") - amount: StrictStr = Field(description="Amount of tokens to stake, measured in the staked asset unit.") + amount: StrictStr = Field(description="Total value of the staking position. For Solana, Lido and Ethereum (compounding validator): includes the original stake plus accumulated rewards. For MATIC, Cosmos and Ethereum (legacy validator): refers to the amount currently staked.") rewards_amount: StrictStr = Field(description="The amount staked in the position, measured in the staked asset unit.", alias="rewardsAmount") date_created: datetime = Field(description="When was the request made (ISO Date).", alias="dateCreated") date_updated: datetime = Field(description="When has the position last changed (ISO Date).", alias="dateUpdated") @@ -46,10 +46,10 @@ class Delegation(BaseModel): validator_address: StrictStr = Field(description="The destination address of the staking transaction.", alias="validatorAddress") provider_id: StakingProvider = Field(alias="providerId") available_actions: List[StrictStr] = Field(description="An array of available actions that can be performed. for example, actions like \"unstake\" or \"withdraw\".", alias="availableActions") - in_progress: StrictBool = Field(description="Indicates whether there is an ongoing action for this position (true if ongoing, false if not).", alias="inProgress") - in_progress_tx_id: Optional[StrictStr] = Field(default=None, description="The transaction ID of the ongoing request", alias="inProgressTxId") - blockchain_position_info: SolanaBlockchainData = Field(alias="blockchainPositionInfo") - related_requests: Optional[List[RelatedRequest]] = Field(default=None, description="An array of partial unstake requests for this position, relevant only for the Lido provider. Each object includes the status of the unstake request, a boolean indicating whether the action is in progress, the amount of tokens to unstake, and the transaction ID of the request. With Lido, a position may have multiple partial unstake requests in different states. This field is optional and not applicable for other providers.", alias="relatedRequests") + in_progress: StrictBool = Field(description="Indicates whether there is an ongoing action for this position related to this request", alias="inProgress") + in_progress_tx_id: Optional[StrictStr] = Field(default=None, description="The transaction ID of the initial stake position request only. Only present when there is an active initial stake transaction.", alias="inProgressTxId") + blockchain_position_info: DelegationBlockchainPositionInfo = Field(alias="blockchainPositionInfo") + related_requests: Optional[List[RelatedRequest]] = Field(default=None, alias="relatedRequests") __properties: ClassVar[List[str]] = ["id", "vaultAccountId", "validatorName", "providerName", "chainDescriptor", "amount", "rewardsAmount", "dateCreated", "dateUpdated", "status", "relatedTransactions", "validatorAddress", "providerId", "availableActions", "inProgress", "inProgressTxId", "blockchainPositionInfo", "relatedRequests"] model_config = ConfigDict( @@ -136,7 +136,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "availableActions": obj.get("availableActions"), "inProgress": obj.get("inProgress"), "inProgressTxId": obj.get("inProgressTxId"), - "blockchainPositionInfo": SolanaBlockchainData.from_dict(obj["blockchainPositionInfo"]) if obj.get("blockchainPositionInfo") is not None else None, + "blockchainPositionInfo": DelegationBlockchainPositionInfo.from_dict(obj["blockchainPositionInfo"]) if obj.get("blockchainPositionInfo") is not None else None, "relatedRequests": [RelatedRequest.from_dict(_item) for _item in obj["relatedRequests"]] if obj.get("relatedRequests") is not None else None }) return _obj diff --git a/fireblocks/models/delegation_blockchain_position_info.py b/fireblocks/models/delegation_blockchain_position_info.py new file mode 100644 index 00000000..944a6807 --- /dev/null +++ b/fireblocks/models/delegation_blockchain_position_info.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +import pprint +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Any, List, Optional +from fireblocks.models.ethereum_blockchain_data import EthereumBlockchainData +from fireblocks.models.solana_blockchain_data import SolanaBlockchainData +from fireblocks.models.st_eth_blockchain_data import StEthBlockchainData +from pydantic import StrictStr, Field +from typing import Union, List, Set, Optional, Dict +from typing_extensions import Literal, Self + +DELEGATIONBLOCKCHAINPOSITIONINFO_ONE_OF_SCHEMAS = ["EthereumBlockchainData", "SolanaBlockchainData", "StEthBlockchainData"] + +class DelegationBlockchainPositionInfo(BaseModel): + """ + Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. + """ + # data type: SolanaBlockchainData + oneof_schema_1_validator: Optional[SolanaBlockchainData] = None + # data type: EthereumBlockchainData + oneof_schema_2_validator: Optional[EthereumBlockchainData] = None + # data type: StEthBlockchainData + oneof_schema_3_validator: Optional[StEthBlockchainData] = None + actual_instance: Optional[Union[EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData]] = None + one_of_schemas: Set[str] = { "EthereumBlockchainData", "SolanaBlockchainData", "StEthBlockchainData" } + + model_config = ConfigDict( + validate_assignment=True, + protected_namespaces=(), + ) + + + discriminator_value_class_map: Dict[str, str] = { + } + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_oneof(cls, v): + instance = DelegationBlockchainPositionInfo.model_construct() + error_messages = [] + match = 0 + # validate data type: SolanaBlockchainData + if not isinstance(v, SolanaBlockchainData): + error_messages.append(f"Error! Input type `{type(v)}` is not `SolanaBlockchainData`") + else: + match += 1 + # validate data type: EthereumBlockchainData + if not isinstance(v, EthereumBlockchainData): + error_messages.append(f"Error! Input type `{type(v)}` is not `EthereumBlockchainData`") + else: + match += 1 + # validate data type: StEthBlockchainData + if not isinstance(v, StEthBlockchainData): + error_messages.append(f"Error! Input type `{type(v)}` is not `StEthBlockchainData`") + else: + match += 1 + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when setting `actual_instance` in DelegationBlockchainPositionInfo with oneOf schemas: EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when setting `actual_instance` in DelegationBlockchainPositionInfo with oneOf schemas: EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + match = 0 + + # deserialize data into SolanaBlockchainData + try: + instance.actual_instance = SolanaBlockchainData.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into EthereumBlockchainData + try: + instance.actual_instance = EthereumBlockchainData.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into StEthBlockchainData + try: + instance.actual_instance = StEthBlockchainData.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when deserializing the JSON string into DelegationBlockchainPositionInfo with oneOf schemas: EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when deserializing the JSON string into DelegationBlockchainPositionInfo with oneOf schemas: EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], EthereumBlockchainData, SolanaBlockchainData, StEthBlockchainData]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + # primitive type + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/fireblocks/models/delegation_summary.py b/fireblocks/models/delegation_summary.py index 484182d9..676b53c5 100644 --- a/fireblocks/models/delegation_summary.py +++ b/fireblocks/models/delegation_summary.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/delete_network_connection_response.py b/fireblocks/models/delete_network_connection_response.py index a35690fa..d53e8f65 100644 --- a/fireblocks/models/delete_network_connection_response.py +++ b/fireblocks/models/delete_network_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/delete_network_id_response.py b/fireblocks/models/delete_network_id_response.py index d9cdcd39..3f300c51 100644 --- a/fireblocks/models/delete_network_id_response.py +++ b/fireblocks/models/delete_network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deploy_layer_zero_adapters_request.py b/fireblocks/models/deploy_layer_zero_adapters_request.py index ad7c7e12..18bf394b 100644 --- a/fireblocks/models/deploy_layer_zero_adapters_request.py +++ b/fireblocks/models/deploy_layer_zero_adapters_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deployable_address_response.py b/fireblocks/models/deployable_address_response.py index 4dcb07a5..6e10cbbd 100644 --- a/fireblocks/models/deployable_address_response.py +++ b/fireblocks/models/deployable_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deployed_contract_not_found_error.py b/fireblocks/models/deployed_contract_not_found_error.py index 4e37bf1a..8d971883 100644 --- a/fireblocks/models/deployed_contract_not_found_error.py +++ b/fireblocks/models/deployed_contract_not_found_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deployed_contract_response_dto.py b/fireblocks/models/deployed_contract_response_dto.py index eaf9a48b..9897da63 100644 --- a/fireblocks/models/deployed_contract_response_dto.py +++ b/fireblocks/models/deployed_contract_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deployed_contracts_paginated_response.py b/fireblocks/models/deployed_contracts_paginated_response.py index 9d6971f9..33cf6bfa 100644 --- a/fireblocks/models/deployed_contracts_paginated_response.py +++ b/fireblocks/models/deployed_contracts_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/deposit_funds_from_linked_dda_response.py b/fireblocks/models/deposit_funds_from_linked_dda_response.py index a1aa5518..2fe7e042 100644 --- a/fireblocks/models/deposit_funds_from_linked_dda_response.py +++ b/fireblocks/models/deposit_funds_from_linked_dda_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/derivation_path_config.py b/fireblocks/models/derivation_path_config.py index 2ef09fc1..bf754a5c 100644 --- a/fireblocks/models/derivation_path_config.py +++ b/fireblocks/models/derivation_path_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/designated_signers_config.py b/fireblocks/models/designated_signers_config.py index d1aeaff3..d5eab3ad 100644 --- a/fireblocks/models/designated_signers_config.py +++ b/fireblocks/models/designated_signers_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/destination.py b/fireblocks/models/destination.py index 9ff5c903..5d545216 100644 --- a/fireblocks/models/destination.py +++ b/fireblocks/models/destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/destination_config.py b/fireblocks/models/destination_config.py index 937409be..3c0db634 100644 --- a/fireblocks/models/destination_config.py +++ b/fireblocks/models/destination_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/destination_transfer_peer_path.py b/fireblocks/models/destination_transfer_peer_path.py index 124f8ed3..ca172874 100644 --- a/fireblocks/models/destination_transfer_peer_path.py +++ b/fireblocks/models/destination_transfer_peer_path.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/destination_transfer_peer_path_response.py b/fireblocks/models/destination_transfer_peer_path_response.py index de391980..28b2f303 100644 --- a/fireblocks/models/destination_transfer_peer_path_response.py +++ b/fireblocks/models/destination_transfer_peer_path_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/direct_access.py b/fireblocks/models/direct_access.py index 147695a7..ef18515f 100644 --- a/fireblocks/models/direct_access.py +++ b/fireblocks/models/direct_access.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/direct_access_provider.py b/fireblocks/models/direct_access_provider.py index d09cde9a..8ef16c8d 100644 --- a/fireblocks/models/direct_access_provider.py +++ b/fireblocks/models/direct_access_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/direct_access_provider_details.py b/fireblocks/models/direct_access_provider_details.py index ff82d55e..5fad7e08 100644 --- a/fireblocks/models/direct_access_provider_details.py +++ b/fireblocks/models/direct_access_provider_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_amount_instruction.py b/fireblocks/models/disbursement_amount_instruction.py index 1cb2ea14..69272edf 100644 --- a/fireblocks/models/disbursement_amount_instruction.py +++ b/fireblocks/models/disbursement_amount_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_config_operation.py b/fireblocks/models/disbursement_config_operation.py index a6c5096c..a2af354c 100644 --- a/fireblocks/models/disbursement_config_operation.py +++ b/fireblocks/models/disbursement_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_instruction.py b/fireblocks/models/disbursement_instruction.py index dac682c7..38b21f02 100644 --- a/fireblocks/models/disbursement_instruction.py +++ b/fireblocks/models/disbursement_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_instruction_output.py b/fireblocks/models/disbursement_instruction_output.py index ffe9db2d..c98f996b 100644 --- a/fireblocks/models/disbursement_instruction_output.py +++ b/fireblocks/models/disbursement_instruction_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_config_params.py b/fireblocks/models/disbursement_operation_config_params.py index 2045e713..d44aabd9 100644 --- a/fireblocks/models/disbursement_operation_config_params.py +++ b/fireblocks/models/disbursement_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_execution.py b/fireblocks/models/disbursement_operation_execution.py index 12707d34..8cc90f8a 100644 --- a/fireblocks/models/disbursement_operation_execution.py +++ b/fireblocks/models/disbursement_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_execution_output.py b/fireblocks/models/disbursement_operation_execution_output.py index e5c7f8f6..9f93bc73 100644 --- a/fireblocks/models/disbursement_operation_execution_output.py +++ b/fireblocks/models/disbursement_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_execution_params.py b/fireblocks/models/disbursement_operation_execution_params.py index 23dfe01f..4d1a2931 100644 --- a/fireblocks/models/disbursement_operation_execution_params.py +++ b/fireblocks/models/disbursement_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_execution_params_execution_params.py b/fireblocks/models/disbursement_operation_execution_params_execution_params.py index 5516934f..6f8e8030 100644 --- a/fireblocks/models/disbursement_operation_execution_params_execution_params.py +++ b/fireblocks/models/disbursement_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_input.py b/fireblocks/models/disbursement_operation_input.py index c857cca6..1dabd648 100644 --- a/fireblocks/models/disbursement_operation_input.py +++ b/fireblocks/models/disbursement_operation_input.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_preview.py b/fireblocks/models/disbursement_operation_preview.py index efccbb1a..c3f41ef8 100644 --- a/fireblocks/models/disbursement_operation_preview.py +++ b/fireblocks/models/disbursement_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_preview_output.py b/fireblocks/models/disbursement_operation_preview_output.py index e37c81fe..5c8234a8 100644 --- a/fireblocks/models/disbursement_operation_preview_output.py +++ b/fireblocks/models/disbursement_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_preview_output_instruction_set_inner.py b/fireblocks/models/disbursement_operation_preview_output_instruction_set_inner.py index 924a7264..37d87e86 100644 --- a/fireblocks/models/disbursement_operation_preview_output_instruction_set_inner.py +++ b/fireblocks/models/disbursement_operation_preview_output_instruction_set_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_operation_type.py b/fireblocks/models/disbursement_operation_type.py index a7a85816..f03703f1 100644 --- a/fireblocks/models/disbursement_operation_type.py +++ b/fireblocks/models/disbursement_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_percentage_instruction.py b/fireblocks/models/disbursement_percentage_instruction.py index ffc427af..40e0ea50 100644 --- a/fireblocks/models/disbursement_percentage_instruction.py +++ b/fireblocks/models/disbursement_percentage_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/disbursement_validation_failure.py b/fireblocks/models/disbursement_validation_failure.py index a35e313c..89aa1f6a 100644 --- a/fireblocks/models/disbursement_validation_failure.py +++ b/fireblocks/models/disbursement_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/dispatch_payout_response.py b/fireblocks/models/dispatch_payout_response.py index c364ff72..f029ff34 100644 --- a/fireblocks/models/dispatch_payout_response.py +++ b/fireblocks/models/dispatch_payout_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/draft_response.py b/fireblocks/models/draft_response.py index 7280adfd..118873f8 100644 --- a/fireblocks/models/draft_response.py +++ b/fireblocks/models/draft_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/draft_review_and_validation_response.py b/fireblocks/models/draft_review_and_validation_response.py index 3508f4e4..533838cb 100644 --- a/fireblocks/models/draft_review_and_validation_response.py +++ b/fireblocks/models/draft_review_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/drop_transaction_request.py b/fireblocks/models/drop_transaction_request.py index dea2e38a..28c48895 100644 --- a/fireblocks/models/drop_transaction_request.py +++ b/fireblocks/models/drop_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/drop_transaction_response.py b/fireblocks/models/drop_transaction_response.py index 9ee83aaa..a4a49bc9 100644 --- a/fireblocks/models/drop_transaction_response.py +++ b/fireblocks/models/drop_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/dvn_config.py b/fireblocks/models/dvn_config.py index b92c8aeb..b4b9cebb 100644 --- a/fireblocks/models/dvn_config.py +++ b/fireblocks/models/dvn_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/dvn_config_with_confirmations.py b/fireblocks/models/dvn_config_with_confirmations.py index f7817f37..bbafd132 100644 --- a/fireblocks/models/dvn_config_with_confirmations.py +++ b/fireblocks/models/dvn_config_with_confirmations.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/dvp_settlement.py b/fireblocks/models/dvp_settlement.py index 35309e68..aa4105d5 100644 --- a/fireblocks/models/dvp_settlement.py +++ b/fireblocks/models/dvp_settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from fireblocks.models.account_reference import AccountReference +from fireblocks.models.dvp_settlement_type import DVPSettlementType from fireblocks.models.settlement_source_account import SettlementSourceAccount from typing import Optional, Set from typing_extensions import Self @@ -29,18 +30,11 @@ class DVPSettlement(BaseModel): """ Source/Destination accounts for the quote (must have for defi quotes) """ # noqa: E501 - type: StrictStr + type: DVPSettlementType source_account: SettlementSourceAccount = Field(alias="sourceAccount") destination_account: AccountReference = Field(alias="destinationAccount") __properties: ClassVar[List[str]] = ["type", "sourceAccount", "destinationAccount"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['DVP']): - raise ValueError("must be one of enum values ('DVP')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/dvp_settlement_type.py b/fireblocks/models/dvp_settlement_type.py new file mode 100644 index 00000000..f56f7f4f --- /dev/null +++ b/fireblocks/models/dvp_settlement_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class DVPSettlementType(str, Enum): + """ + DVPSettlementType + """ + + """ + allowed enum values + """ + DVP = 'DVP' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of DVPSettlementType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/edit_gas_station_configuration_response.py b/fireblocks/models/edit_gas_station_configuration_response.py index f7c46e05..5106373f 100644 --- a/fireblocks/models/edit_gas_station_configuration_response.py +++ b/fireblocks/models/edit_gas_station_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet.py b/fireblocks/models/embedded_wallet.py index ea6f9799..9c4146d9 100644 --- a/fireblocks/models/embedded_wallet.py +++ b/fireblocks/models/embedded_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_account.py b/fireblocks/models/embedded_wallet_account.py index 7506a4b1..ed2328d9 100644 --- a/fireblocks/models/embedded_wallet_account.py +++ b/fireblocks/models/embedded_wallet_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_address_details.py b/fireblocks/models/embedded_wallet_address_details.py index 2a1e027d..09cb7a2b 100644 --- a/fireblocks/models/embedded_wallet_address_details.py +++ b/fireblocks/models/embedded_wallet_address_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_algoritm.py b/fireblocks/models/embedded_wallet_algoritm.py index 200f96dd..83ae876e 100644 --- a/fireblocks/models/embedded_wallet_algoritm.py +++ b/fireblocks/models/embedded_wallet_algoritm.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_asset_balance.py b/fireblocks/models/embedded_wallet_asset_balance.py index 83013f45..2536f9cc 100644 --- a/fireblocks/models/embedded_wallet_asset_balance.py +++ b/fireblocks/models/embedded_wallet_asset_balance.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_asset_response.py b/fireblocks/models/embedded_wallet_asset_response.py index 74dc012e..b4317ee5 100644 --- a/fireblocks/models/embedded_wallet_asset_response.py +++ b/fireblocks/models/embedded_wallet_asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_asset_reward_info.py b/fireblocks/models/embedded_wallet_asset_reward_info.py index 8e360455..69c91354 100644 --- a/fireblocks/models/embedded_wallet_asset_reward_info.py +++ b/fireblocks/models/embedded_wallet_asset_reward_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_device.py b/fireblocks/models/embedded_wallet_device.py index 6809cdf1..884819d5 100644 --- a/fireblocks/models/embedded_wallet_device.py +++ b/fireblocks/models/embedded_wallet_device.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_device_key_setup_response.py b/fireblocks/models/embedded_wallet_device_key_setup_response.py index e0385140..66e04d1c 100644 --- a/fireblocks/models/embedded_wallet_device_key_setup_response.py +++ b/fireblocks/models/embedded_wallet_device_key_setup_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_device_key_setup_response_setup_status_inner.py b/fireblocks/models/embedded_wallet_device_key_setup_response_setup_status_inner.py index eb178a63..a6e61c58 100644 --- a/fireblocks/models/embedded_wallet_device_key_setup_response_setup_status_inner.py +++ b/fireblocks/models/embedded_wallet_device_key_setup_response_setup_status_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_latest_backup_key.py b/fireblocks/models/embedded_wallet_latest_backup_key.py index 2837aa7a..001dd0d9 100644 --- a/fireblocks/models/embedded_wallet_latest_backup_key.py +++ b/fireblocks/models/embedded_wallet_latest_backup_key.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_latest_backup_response.py b/fireblocks/models/embedded_wallet_latest_backup_response.py index 18f23e8f..025b75de 100644 --- a/fireblocks/models/embedded_wallet_latest_backup_response.py +++ b/fireblocks/models/embedded_wallet_latest_backup_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_paginated_addresses_response.py b/fireblocks/models/embedded_wallet_paginated_addresses_response.py index d77030e9..4ae6ac4f 100644 --- a/fireblocks/models/embedded_wallet_paginated_addresses_response.py +++ b/fireblocks/models/embedded_wallet_paginated_addresses_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_paginated_assets_response.py b/fireblocks/models/embedded_wallet_paginated_assets_response.py index 15925c72..aa5a7e76 100644 --- a/fireblocks/models/embedded_wallet_paginated_assets_response.py +++ b/fireblocks/models/embedded_wallet_paginated_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_paginated_devices_response.py b/fireblocks/models/embedded_wallet_paginated_devices_response.py new file mode 100644 index 00000000..14a4e320 --- /dev/null +++ b/fireblocks/models/embedded_wallet_paginated_devices_response.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.embedded_wallet_device import EmbeddedWalletDevice +from typing import Optional, Set +from typing_extensions import Self + +class EmbeddedWalletPaginatedDevicesResponse(BaseModel): + """ + EmbeddedWalletPaginatedDevicesResponse + """ # noqa: E501 + data: List[EmbeddedWalletDevice] = Field(description="The data of the current page") + next: Optional[StrictStr] = Field(default=None, description="The ID of the next page") + __properties: ClassVar[List[str]] = ["data", "next"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EmbeddedWalletPaginatedDevicesResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + # set to None if next (nullable) is None + # and model_fields_set contains the field + if self.next is None and "next" in self.model_fields_set: + _dict['next'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EmbeddedWalletPaginatedDevicesResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [EmbeddedWalletDevice.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next") + }) + return _obj + + diff --git a/fireblocks/models/embedded_wallet_paginated_wallets_response.py b/fireblocks/models/embedded_wallet_paginated_wallets_response.py index b7b652f1..f8a200f9 100644 --- a/fireblocks/models/embedded_wallet_paginated_wallets_response.py +++ b/fireblocks/models/embedded_wallet_paginated_wallets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_required_algorithms.py b/fireblocks/models/embedded_wallet_required_algorithms.py new file mode 100644 index 00000000..c2bd928e --- /dev/null +++ b/fireblocks/models/embedded_wallet_required_algorithms.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class EmbeddedWalletRequiredAlgorithms(str, Enum): + """ + EmbeddedWalletRequiredAlgorithms + """ + + """ + allowed enum values + """ + MPC_ECDSA_SECP256_K1 = 'MPC_ECDSA_SECP256K1' + MPC_EDDSA_ED25519 = 'MPC_EDDSA_ED25519' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of EmbeddedWalletRequiredAlgorithms from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/embedded_wallet_set_up_status.py b/fireblocks/models/embedded_wallet_set_up_status.py index 8c4ed9ac..21768a39 100644 --- a/fireblocks/models/embedded_wallet_set_up_status.py +++ b/fireblocks/models/embedded_wallet_set_up_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/embedded_wallet_setup_status_response.py b/fireblocks/models/embedded_wallet_setup_status_response.py new file mode 100644 index 00000000..346b0295 --- /dev/null +++ b/fireblocks/models/embedded_wallet_setup_status_response.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from fireblocks.models.embedded_wallet_device_key_setup_response import EmbeddedWalletDeviceKeySetupResponse +from fireblocks.models.embedded_wallet_required_algorithms import EmbeddedWalletRequiredAlgorithms +from fireblocks.models.embedded_wallet_set_up_status import EmbeddedWalletSetUpStatus +from typing import Optional, Set +from typing_extensions import Self + +class EmbeddedWalletSetupStatusResponse(BaseModel): + """ + EmbeddedWalletSetupStatusResponse + """ # noqa: E501 + status: EmbeddedWalletSetUpStatus + required_algorithms: List[EmbeddedWalletRequiredAlgorithms] = Field(description="Required algorithms for the wallet", alias="requiredAlgorithms") + device_setup_status: List[EmbeddedWalletDeviceKeySetupResponse] = Field(description="Setup status for each device", alias="deviceSetupStatus") + __properties: ClassVar[List[str]] = ["status", "requiredAlgorithms", "deviceSetupStatus"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EmbeddedWalletSetupStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of status + if self.status: + _dict['status'] = self.status.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in device_setup_status (list) + _items = [] + if self.device_setup_status: + for _item_device_setup_status in self.device_setup_status: + if _item_device_setup_status: + _items.append(_item_device_setup_status.to_dict()) + _dict['deviceSetupStatus'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EmbeddedWalletSetupStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": EmbeddedWalletSetUpStatus.from_dict(obj["status"]) if obj.get("status") is not None else None, + "requiredAlgorithms": obj.get("requiredAlgorithms"), + "deviceSetupStatus": [EmbeddedWalletDeviceKeySetupResponse.from_dict(_item) for _item in obj["deviceSetupStatus"]] if obj.get("deviceSetupStatus") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/post_order_settlement.py b/fireblocks/models/enable_device.py similarity index 71% rename from fireblocks/models/post_order_settlement.py rename to fireblocks/models/enable_device.py index 9c9c3b91..3cbd9356 100644 --- a/fireblocks/models/post_order_settlement.py +++ b/fireblocks/models/enable_device.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,24 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self -class PostOrderSettlement(BaseModel): +class EnableDevice(BaseModel): """ - PostOrderSettlement + EnableDevice """ # noqa: E501 - type: StrictStr - __properties: ClassVar[List[str]] = ["type"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['POST_ORDER']): - raise ValueError("must be one of enum values ('POST_ORDER')") - return value + enabled: StrictBool = Field(description="Whether the device should be enabled or disabled") + __properties: ClassVar[List[str]] = ["enabled"] model_config = ConfigDict( populate_by_name=True, @@ -55,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PostOrderSettlement from a JSON string""" + """Create an instance of EnableDevice from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -80,7 +73,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PostOrderSettlement from a dict""" + """Create an instance of EnableDevice from a dict""" if obj is None: return None @@ -88,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "type": obj.get("type") + "enabled": obj.get("enabled") }) return _obj diff --git a/fireblocks/models/enable_wallet.py b/fireblocks/models/enable_wallet.py new file mode 100644 index 00000000..e8cfa720 --- /dev/null +++ b/fireblocks/models/enable_wallet.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EnableWallet(BaseModel): + """ + EnableWallet + """ # noqa: E501 + enabled: StrictBool = Field(description="Whether the wallet should be enabled or disabled") + __properties: ClassVar[List[str]] = ["enabled"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EnableWallet from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EnableWallet from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "enabled": obj.get("enabled") + }) + return _obj + + diff --git a/fireblocks/models/error_codes.py b/fireblocks/models/error_codes.py deleted file mode 100644 index 96eb13e1..00000000 --- a/fireblocks/models/error_codes.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import json -from enum import Enum -from typing_extensions import Self - - -class ErrorCodes(str, Enum): - """ - ErrorCodes - """ - - """ - allowed enum values - """ - INVALID_TOKEN = 'INVALID_TOKEN' - MISSING_PARAMETER = 'MISSING_PARAMETER' - INVALID_PARAMETER = 'INVALID_PARAMETER' - RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND' - INVALID_TIME_RANGE = 'INVALID_TIME_RANGE' - UNAUTHORIZED = 'UNAUTHORIZED' - ACCOUNT_NOT_ACTIVE = 'ACCOUNT_NOT_ACTIVE' - UNMANAGED_WALLET_NOT_APPROVED = 'UNMANAGED_WALLET_NOT_APPROVED' - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of ErrorCodes from a JSON string""" - return cls(json.loads(json_str)) - - diff --git a/fireblocks/models/error_response.py b/fireblocks/models/error_response.py index bb07e378..a82927a6 100644 --- a/fireblocks/models/error_response.py +++ b/fireblocks/models/error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/error_response_error.py b/fireblocks/models/error_response_error.py index e8e5a07c..c1e09e8d 100644 --- a/fireblocks/models/error_response_error.py +++ b/fireblocks/models/error_response_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/error_schema.py b/fireblocks/models/error_schema.py index 213b1140..5837eb2b 100644 --- a/fireblocks/models/error_schema.py +++ b/fireblocks/models/error_schema.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/estimated_fee_details.py b/fireblocks/models/estimated_fee_details.py index 9ee62348..8be71dd5 100644 --- a/fireblocks/models/estimated_fee_details.py +++ b/fireblocks/models/estimated_fee_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/estimated_network_fee_response.py b/fireblocks/models/estimated_network_fee_response.py index 93f73936..9bc3a99b 100644 --- a/fireblocks/models/estimated_network_fee_response.py +++ b/fireblocks/models/estimated_network_fee_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/estimated_transaction_fee_response.py b/fireblocks/models/estimated_transaction_fee_response.py index 43a808d1..8a57bcea 100644 --- a/fireblocks/models/estimated_transaction_fee_response.py +++ b/fireblocks/models/estimated_transaction_fee_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/ethereum_blockchain_data.py b/fireblocks/models/ethereum_blockchain_data.py new file mode 100644 index 00000000..403b2dd3 --- /dev/null +++ b/fireblocks/models/ethereum_blockchain_data.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class EthereumBlockchainData(BaseModel): + """ + Additional fields per blockchain for Ethereum (ETH) - can be empty or missing if not initialized or no specific data is available. + """ # noqa: E501 + is_compounding_validator: StrictBool = Field(description="Is the validator compounding (i.e it was created with compounding validator type).", alias="isCompoundingValidator") + __properties: ClassVar[List[str]] = ["isCompoundingValidator"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EthereumBlockchainData from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EthereumBlockchainData from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "isCompoundingValidator": obj.get("isCompoundingValidator") + }) + return _obj + + diff --git a/fireblocks/models/european_sepa_address.py b/fireblocks/models/european_sepa_address.py new file mode 100644 index 00000000..7c45bda4 --- /dev/null +++ b/fireblocks/models/european_sepa_address.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from fireblocks.models.account_holder_details import AccountHolderDetails +from typing import Optional, Set +from typing_extensions import Self + +class EuropeanSEPAAddress(BaseModel): + """ + EuropeanSEPAAddress + """ # noqa: E501 + account_holder: AccountHolderDetails = Field(alias="accountHolder") + iban: Annotated[str, Field(strict=True)] + bic: Optional[StrictStr] = None + bank_name: Optional[StrictStr] = Field(default=None, alias="bankName") + bank_branch: Optional[StrictStr] = Field(default=None, alias="bankBranch") + bank_address: Optional[StrictStr] = Field(default=None, alias="bankAddress") + purpose_code: Optional[StrictStr] = Field(default=None, alias="purposeCode") + tax_id: Optional[StrictStr] = Field(default=None, alias="taxId") + __properties: ClassVar[List[str]] = ["accountHolder", "iban", "bic", "bankName", "bankBranch", "bankAddress", "purposeCode", "taxId"] + + @field_validator('iban') + def iban_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[A-Z]{2}\d{2}[a-zA-Z0-9]{1,30}$", value): + raise ValueError(r"must validate the regular expression /^[A-Z]{2}\d{2}[a-zA-Z0-9]{1,30}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EuropeanSEPAAddress from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of account_holder + if self.account_holder: + _dict['accountHolder'] = self.account_holder.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EuropeanSEPAAddress from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accountHolder": AccountHolderDetails.from_dict(obj["accountHolder"]) if obj.get("accountHolder") is not None else None, + "iban": obj.get("iban"), + "bic": obj.get("bic"), + "bankName": obj.get("bankName"), + "bankBranch": obj.get("bankBranch"), + "bankAddress": obj.get("bankAddress"), + "purposeCode": obj.get("purposeCode"), + "taxId": obj.get("taxId") + }) + return _obj + + diff --git a/fireblocks/models/european_sepa_destination.py b/fireblocks/models/european_sepa_destination.py new file mode 100644 index 00000000..4d348aa4 --- /dev/null +++ b/fireblocks/models/european_sepa_destination.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress +from typing import Optional, Set +from typing_extensions import Self + +class EuropeanSEPADestination(BaseModel): + """ + EuropeanSEPADestination + """ # noqa: E501 + type: StrictStr + address: EuropeanSEPAAddress + __properties: ClassVar[List[str]] = ["type", "address"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['EUROPEAN_SEPA']): + raise ValueError("must be one of enum values ('EUROPEAN_SEPA')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EuropeanSEPADestination from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of address + if self.address: + _dict['address'] = self.address.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EuropeanSEPADestination from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "address": EuropeanSEPAAddress.from_dict(obj["address"]) if obj.get("address") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/evm_token_create_params_dto.py b/fireblocks/models/evm_token_create_params_dto.py index 2b5901a7..07815c75 100644 --- a/fireblocks/models/evm_token_create_params_dto.py +++ b/fireblocks/models/evm_token_create_params_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/exchange_account.py b/fireblocks/models/exchange_account.py index 4231dd10..8f15ab3d 100644 --- a/fireblocks/models/exchange_account.py +++ b/fireblocks/models/exchange_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/exchange_asset.py b/fireblocks/models/exchange_asset.py index ceb41933..7fde8ae0 100644 --- a/fireblocks/models/exchange_asset.py +++ b/fireblocks/models/exchange_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/exchange_settlement_transactions_response.py b/fireblocks/models/exchange_settlement_transactions_response.py index 8c81b377..0ce3c8a5 100644 --- a/fireblocks/models/exchange_settlement_transactions_response.py +++ b/fireblocks/models/exchange_settlement_transactions_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/exchange_trading_account.py b/fireblocks/models/exchange_trading_account.py index 3878067a..a70b2543 100644 --- a/fireblocks/models/exchange_trading_account.py +++ b/fireblocks/models/exchange_trading_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/exchange_type.py b/fireblocks/models/exchange_type.py index 0072b669..45fa1cc6 100644 --- a/fireblocks/models/exchange_type.py +++ b/fireblocks/models/exchange_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_conversion_operation.py b/fireblocks/models/execution_conversion_operation.py index 83b4f006..df28dde5 100644 --- a/fireblocks/models/execution_conversion_operation.py +++ b/fireblocks/models/execution_conversion_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_disbursement_operation.py b/fireblocks/models/execution_disbursement_operation.py index 7449f9ca..fc210bc9 100644 --- a/fireblocks/models/execution_disbursement_operation.py +++ b/fireblocks/models/execution_disbursement_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_operation_status.py b/fireblocks/models/execution_operation_status.py index 5bb42b16..a6f90991 100644 --- a/fireblocks/models/execution_operation_status.py +++ b/fireblocks/models/execution_operation_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_request_base_details.py b/fireblocks/models/execution_request_base_details.py index abb73ea9..2ae54fae 100644 --- a/fireblocks/models/execution_request_base_details.py +++ b/fireblocks/models/execution_request_base_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.side import Side from fireblocks.models.transfer_rail import TransferRail from typing import Optional, Set from typing_extensions import Self @@ -28,7 +29,7 @@ class ExecutionRequestBaseDetails(BaseModel): """ ExecutionRequestBaseDetails """ # noqa: E501 - side: StrictStr = Field(description="Side of the order") + side: Side base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") @@ -36,13 +37,6 @@ class ExecutionRequestBaseDetails(BaseModel): quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") __properties: ClassVar[List[str]] = ["side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -94,7 +88,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "side": obj.get("side") if obj.get("side") is not None else 'BUY', + "side": obj.get("side"), "baseAmount": obj.get("baseAmount"), "baseAssetId": obj.get("baseAssetId"), "baseAssetRail": obj.get("baseAssetRail"), diff --git a/fireblocks/models/execution_request_details.py b/fireblocks/models/execution_request_details.py index b951ddbb..0fab0ab9 100644 --- a/fireblocks/models/execution_request_details.py +++ b/fireblocks/models/execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,27 +18,24 @@ import pprint from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional -from fireblocks.models.limit_execution_request_details import LimitExecutionRequestDetails from fireblocks.models.market_execution_request_details import MarketExecutionRequestDetails from fireblocks.models.quote_execution_with_requote_request_details import QuoteExecutionWithRequoteRequestDetails from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -EXECUTIONREQUESTDETAILS_ONE_OF_SCHEMAS = ["LimitExecutionRequestDetails", "MarketExecutionRequestDetails", "QuoteExecutionWithRequoteRequestDetails"] +EXECUTIONREQUESTDETAILS_ONE_OF_SCHEMAS = ["MarketExecutionRequestDetails", "QuoteExecutionWithRequoteRequestDetails"] class ExecutionRequestDetails(BaseModel): """ Order execution details """ - # data type: LimitExecutionRequestDetails - oneof_schema_1_validator: Optional[LimitExecutionRequestDetails] = None # data type: MarketExecutionRequestDetails - oneof_schema_2_validator: Optional[MarketExecutionRequestDetails] = None + oneof_schema_1_validator: Optional[MarketExecutionRequestDetails] = None # data type: QuoteExecutionWithRequoteRequestDetails - oneof_schema_3_validator: Optional[QuoteExecutionWithRequoteRequestDetails] = None - actual_instance: Optional[Union[LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails]] = None - one_of_schemas: Set[str] = { "LimitExecutionRequestDetails", "MarketExecutionRequestDetails", "QuoteExecutionWithRequoteRequestDetails" } + oneof_schema_2_validator: Optional[QuoteExecutionWithRequoteRequestDetails] = None + actual_instance: Optional[Union[MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails]] = None + one_of_schemas: Set[str] = { "MarketExecutionRequestDetails", "QuoteExecutionWithRequoteRequestDetails" } model_config = ConfigDict( validate_assignment=True, @@ -64,11 +61,6 @@ def actual_instance_must_validate_oneof(cls, v): instance = ExecutionRequestDetails.model_construct() error_messages = [] match = 0 - # validate data type: LimitExecutionRequestDetails - if not isinstance(v, LimitExecutionRequestDetails): - error_messages.append(f"Error! Input type `{type(v)}` is not `LimitExecutionRequestDetails`") - else: - match += 1 # validate data type: MarketExecutionRequestDetails if not isinstance(v, MarketExecutionRequestDetails): error_messages.append(f"Error! Input type `{type(v)}` is not `MarketExecutionRequestDetails`") @@ -81,10 +73,10 @@ def actual_instance_must_validate_oneof(cls, v): match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in ExecutionRequestDetails with oneOf schemas: LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in ExecutionRequestDetails with oneOf schemas: MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in ExecutionRequestDetails with oneOf schemas: LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in ExecutionRequestDetails with oneOf schemas: MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) else: return v @@ -99,12 +91,6 @@ def from_json(cls, json_str: str) -> Self: error_messages = [] match = 0 - # deserialize data into LimitExecutionRequestDetails - try: - instance.actual_instance = LimitExecutionRequestDetails.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) # deserialize data into MarketExecutionRequestDetails try: instance.actual_instance = MarketExecutionRequestDetails.from_json(json_str) @@ -120,10 +106,10 @@ def from_json(cls, json_str: str) -> Self: if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into ExecutionRequestDetails with oneOf schemas: LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into ExecutionRequestDetails with oneOf schemas: MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into ExecutionRequestDetails with oneOf schemas: LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into ExecutionRequestDetails with oneOf schemas: MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails. Details: " + ", ".join(error_messages)) else: return instance @@ -137,7 +123,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], LimitExecutionRequestDetails, MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], MarketExecutionRequestDetails, QuoteExecutionWithRequoteRequestDetails]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/fireblocks/models/execution_response_base_details.py b/fireblocks/models/execution_response_base_details.py index f9f914db..480e2524 100644 --- a/fireblocks/models/execution_response_base_details.py +++ b/fireblocks/models/execution_response_base_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.side import Side from fireblocks.models.transfer_rail import TransferRail from typing import Optional, Set from typing_extensions import Self @@ -28,7 +29,7 @@ class ExecutionResponseBaseDetails(BaseModel): """ ExecutionResponseBaseDetails """ # noqa: E501 - side: StrictStr = Field(description="Side of the order") + side: Side base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") @@ -36,13 +37,6 @@ class ExecutionResponseBaseDetails(BaseModel): quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") __properties: ClassVar[List[str]] = ["side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -94,7 +88,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "side": obj.get("side") if obj.get("side") is not None else 'BUY', + "side": obj.get("side"), "baseAmount": obj.get("baseAmount"), "baseAssetId": obj.get("baseAssetId"), "baseAssetRail": obj.get("baseAssetRail"), diff --git a/fireblocks/models/execution_response_details.py b/fireblocks/models/execution_response_details.py index 51338681..ce7cbbbb 100644 --- a/fireblocks/models/execution_response_details.py +++ b/fireblocks/models/execution_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,27 +18,24 @@ import pprint from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional -from fireblocks.models.limit_execution_response_details import LimitExecutionResponseDetails from fireblocks.models.market_execution_response_details import MarketExecutionResponseDetails from fireblocks.models.quote_execution_with_requote_response_details import QuoteExecutionWithRequoteResponseDetails from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -EXECUTIONRESPONSEDETAILS_ONE_OF_SCHEMAS = ["LimitExecutionResponseDetails", "MarketExecutionResponseDetails", "QuoteExecutionWithRequoteResponseDetails"] +EXECUTIONRESPONSEDETAILS_ONE_OF_SCHEMAS = ["MarketExecutionResponseDetails", "QuoteExecutionWithRequoteResponseDetails"] class ExecutionResponseDetails(BaseModel): """ ExecutionResponseDetails """ - # data type: LimitExecutionResponseDetails - oneof_schema_1_validator: Optional[LimitExecutionResponseDetails] = None # data type: MarketExecutionResponseDetails - oneof_schema_2_validator: Optional[MarketExecutionResponseDetails] = None + oneof_schema_1_validator: Optional[MarketExecutionResponseDetails] = None # data type: QuoteExecutionWithRequoteResponseDetails - oneof_schema_3_validator: Optional[QuoteExecutionWithRequoteResponseDetails] = None - actual_instance: Optional[Union[LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails]] = None - one_of_schemas: Set[str] = { "LimitExecutionResponseDetails", "MarketExecutionResponseDetails", "QuoteExecutionWithRequoteResponseDetails" } + oneof_schema_2_validator: Optional[QuoteExecutionWithRequoteResponseDetails] = None + actual_instance: Optional[Union[MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails]] = None + one_of_schemas: Set[str] = { "MarketExecutionResponseDetails", "QuoteExecutionWithRequoteResponseDetails" } model_config = ConfigDict( validate_assignment=True, @@ -64,11 +61,6 @@ def actual_instance_must_validate_oneof(cls, v): instance = ExecutionResponseDetails.model_construct() error_messages = [] match = 0 - # validate data type: LimitExecutionResponseDetails - if not isinstance(v, LimitExecutionResponseDetails): - error_messages.append(f"Error! Input type `{type(v)}` is not `LimitExecutionResponseDetails`") - else: - match += 1 # validate data type: MarketExecutionResponseDetails if not isinstance(v, MarketExecutionResponseDetails): error_messages.append(f"Error! Input type `{type(v)}` is not `MarketExecutionResponseDetails`") @@ -81,10 +73,10 @@ def actual_instance_must_validate_oneof(cls, v): match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in ExecutionResponseDetails with oneOf schemas: LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in ExecutionResponseDetails with oneOf schemas: MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in ExecutionResponseDetails with oneOf schemas: LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in ExecutionResponseDetails with oneOf schemas: MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) else: return v @@ -99,12 +91,6 @@ def from_json(cls, json_str: str) -> Self: error_messages = [] match = 0 - # deserialize data into LimitExecutionResponseDetails - try: - instance.actual_instance = LimitExecutionResponseDetails.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) # deserialize data into MarketExecutionResponseDetails try: instance.actual_instance = MarketExecutionResponseDetails.from_json(json_str) @@ -120,10 +106,10 @@ def from_json(cls, json_str: str) -> Self: if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into ExecutionResponseDetails with oneOf schemas: LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into ExecutionResponseDetails with oneOf schemas: MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into ExecutionResponseDetails with oneOf schemas: LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into ExecutionResponseDetails with oneOf schemas: MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails. Details: " + ", ".join(error_messages)) else: return instance @@ -137,7 +123,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], LimitExecutionResponseDetails, MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], MarketExecutionResponseDetails, QuoteExecutionWithRequoteResponseDetails]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/fireblocks/models/execution_screening_operation.py b/fireblocks/models/execution_screening_operation.py index 3874cc41..49d7280e 100644 --- a/fireblocks/models/execution_screening_operation.py +++ b/fireblocks/models/execution_screening_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_step_error.py b/fireblocks/models/execution_step_error.py index 97c86ee0..b4274b7a 100644 --- a/fireblocks/models/execution_step_error.py +++ b/fireblocks/models/execution_step_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_step_status_enum.py b/fireblocks/models/execution_step_status_enum.py index 30424f52..7ff1ece6 100644 --- a/fireblocks/models/execution_step_status_enum.py +++ b/fireblocks/models/execution_step_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_step_type.py b/fireblocks/models/execution_step_type.py index aaf51b51..cb7fc798 100644 --- a/fireblocks/models/execution_step_type.py +++ b/fireblocks/models/execution_step_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/execution_transfer_operation.py b/fireblocks/models/execution_transfer_operation.py index 08438496..e09c4c64 100644 --- a/fireblocks/models/execution_transfer_operation.py +++ b/fireblocks/models/execution_transfer_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/external_account.py b/fireblocks/models/external_account.py index b81c845c..b66f1513 100644 --- a/fireblocks/models/external_account.py +++ b/fireblocks/models/external_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.external_account_sender_information import ExternalAccountSenderInformation +from fireblocks.models.external_account_type import ExternalAccountType from typing import Optional, Set from typing_extensions import Self @@ -27,15 +29,9 @@ class ExternalAccount(BaseModel): """ ExternalAccount """ # noqa: E501 - type: StrictStr - __properties: ClassVar[List[str]] = ["type"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['EXTERNAL']): - raise ValueError("must be one of enum values ('EXTERNAL')") - return value + type: ExternalAccountType + sender_information: Optional[ExternalAccountSenderInformation] = Field(default=None, alias="senderInformation") + __properties: ClassVar[List[str]] = ["type", "senderInformation"] model_config = ConfigDict( populate_by_name=True, @@ -76,6 +72,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of sender_information + if self.sender_information: + _dict['senderInformation'] = self.sender_information.to_dict() return _dict @classmethod @@ -88,7 +87,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "type": obj.get("type") + "type": obj.get("type"), + "senderInformation": ExternalAccountSenderInformation.from_dict(obj["senderInformation"]) if obj.get("senderInformation") is not None else None }) return _obj diff --git a/fireblocks/models/external_account_local_bank_africa.py b/fireblocks/models/external_account_local_bank_africa.py new file mode 100644 index 00000000..14c488da --- /dev/null +++ b/fireblocks/models/external_account_local_bank_africa.py @@ -0,0 +1,103 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from fireblocks.models.external_account_local_bank_africa_type import ExternalAccountLocalBankAfricaType +from typing import Optional, Set +from typing_extensions import Self + +class ExternalAccountLocalBankAfrica(BaseModel): + """ + ExternalAccountLocalBankAfrica + """ # noqa: E501 + type: ExternalAccountLocalBankAfricaType + account_number: Annotated[str, Field(strict=True)] = Field(alias="accountNumber") + bank_name: StrictStr = Field(description="Name of the bank", alias="bankName") + bank_code: StrictStr = Field(description="Internal bank identifier", alias="bankCode") + __properties: ClassVar[List[str]] = ["type", "accountNumber", "bankName", "bankCode"] + + @field_validator('account_number') + def account_number_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^\d{4,17}$", value): + raise ValueError(r"must validate the regular expression /^\d{4,17}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExternalAccountLocalBankAfrica from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExternalAccountLocalBankAfrica from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "accountNumber": obj.get("accountNumber"), + "bankName": obj.get("bankName"), + "bankCode": obj.get("bankCode") + }) + return _obj + + diff --git a/fireblocks/models/external_account_local_bank_africa_type.py b/fireblocks/models/external_account_local_bank_africa_type.py new file mode 100644 index 00000000..ce437ec1 --- /dev/null +++ b/fireblocks/models/external_account_local_bank_africa_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ExternalAccountLocalBankAfricaType(str, Enum): + """ + ExternalAccountLocalBankAfricaType + """ + + """ + allowed enum values + """ + LOCAL_BANK_AFRICA_RAIL = 'LOCAL_BANK_AFRICA_RAIL' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ExternalAccountLocalBankAfricaType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/external_account_mobile_money.py b/fireblocks/models/external_account_mobile_money.py new file mode 100644 index 00000000..f9b5d8cf --- /dev/null +++ b/fireblocks/models/external_account_mobile_money.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from fireblocks.models.external_account_mobile_money_provider import ExternalAccountMobileMoneyProvider +from fireblocks.models.external_account_mobile_money_type import ExternalAccountMobileMoneyType +from typing import Optional, Set +from typing_extensions import Self + +class ExternalAccountMobileMoney(BaseModel): + """ + ExternalAccountMobileMoney + """ # noqa: E501 + type: ExternalAccountMobileMoneyType + mobile_phone_number: Annotated[str, Field(strict=True)] = Field(description="Mobile phone number in E.164 format", alias="mobilePhoneNumber") + provider: ExternalAccountMobileMoneyProvider + email: StrictStr + __properties: ClassVar[List[str]] = ["type", "mobilePhoneNumber", "provider", "email"] + + @field_validator('mobile_phone_number') + def mobile_phone_number_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExternalAccountMobileMoney from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExternalAccountMobileMoney from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "mobilePhoneNumber": obj.get("mobilePhoneNumber"), + "provider": obj.get("provider"), + "email": obj.get("email") + }) + return _obj + + diff --git a/fireblocks/models/external_account_mobile_money_provider.py b/fireblocks/models/external_account_mobile_money_provider.py new file mode 100644 index 00000000..337c7c89 --- /dev/null +++ b/fireblocks/models/external_account_mobile_money_provider.py @@ -0,0 +1,41 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ExternalAccountMobileMoneyProvider(str, Enum): + """ + ExternalAccountMobileMoneyProvider + """ + + """ + allowed enum values + """ + M_PESA = 'M_PESA' + AIRTEL = 'AIRTEL' + MTN = 'MTN' + TIGO = 'TIGO' + ORANGE = 'ORANGE' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ExternalAccountMobileMoneyProvider from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/external_account_mobile_money_type.py b/fireblocks/models/external_account_mobile_money_type.py new file mode 100644 index 00000000..df4bb1cb --- /dev/null +++ b/fireblocks/models/external_account_mobile_money_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ExternalAccountMobileMoneyType(str, Enum): + """ + ExternalAccountMobileMoneyType + """ + + """ + allowed enum values + """ + MOBILE_MONEY_RAIL = 'MOBILE_MONEY_RAIL' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ExternalAccountMobileMoneyType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/external_account_sender_information.py b/fireblocks/models/external_account_sender_information.py new file mode 100644 index 00000000..3d22e348 --- /dev/null +++ b/fireblocks/models/external_account_sender_information.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +import pprint +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Any, List, Optional +from fireblocks.models.external_account_local_bank_africa import ExternalAccountLocalBankAfrica +from fireblocks.models.external_account_mobile_money import ExternalAccountMobileMoney +from pydantic import StrictStr, Field +from typing import Union, List, Set, Optional, Dict +from typing_extensions import Literal, Self + +EXTERNALACCOUNTSENDERINFORMATION_ONE_OF_SCHEMAS = ["ExternalAccountLocalBankAfrica", "ExternalAccountMobileMoney"] + +class ExternalAccountSenderInformation(BaseModel): + """ + Additional data for the external account, depending on the type used. + """ + # data type: ExternalAccountMobileMoney + oneof_schema_1_validator: Optional[ExternalAccountMobileMoney] = None + # data type: ExternalAccountLocalBankAfrica + oneof_schema_2_validator: Optional[ExternalAccountLocalBankAfrica] = None + actual_instance: Optional[Union[ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney]] = None + one_of_schemas: Set[str] = { "ExternalAccountLocalBankAfrica", "ExternalAccountMobileMoney" } + + model_config = ConfigDict( + validate_assignment=True, + protected_namespaces=(), + ) + + + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_oneof(cls, v): + instance = ExternalAccountSenderInformation.model_construct() + error_messages = [] + match = 0 + # validate data type: ExternalAccountMobileMoney + if not isinstance(v, ExternalAccountMobileMoney): + error_messages.append(f"Error! Input type `{type(v)}` is not `ExternalAccountMobileMoney`") + else: + match += 1 + # validate data type: ExternalAccountLocalBankAfrica + if not isinstance(v, ExternalAccountLocalBankAfrica): + error_messages.append(f"Error! Input type `{type(v)}` is not `ExternalAccountLocalBankAfrica`") + else: + match += 1 + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when setting `actual_instance` in ExternalAccountSenderInformation with oneOf schemas: ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when setting `actual_instance` in ExternalAccountSenderInformation with oneOf schemas: ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney. Details: " + ", ".join(error_messages)) + else: + return v + + @classmethod + def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self: + return cls.from_json(json.dumps(obj)) + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + match = 0 + + # deserialize data into ExternalAccountMobileMoney + try: + instance.actual_instance = ExternalAccountMobileMoney.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into ExternalAccountLocalBankAfrica + try: + instance.actual_instance = ExternalAccountLocalBankAfrica.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when deserializing the JSON string into ExternalAccountSenderInformation with oneOf schemas: ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when deserializing the JSON string into ExternalAccountSenderInformation with oneOf schemas: ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], ExternalAccountLocalBankAfrica, ExternalAccountMobileMoney]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: + return None + + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + # primitive type + return self.actual_instance + + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) + + diff --git a/fireblocks/models/external_account_type.py b/fireblocks/models/external_account_type.py new file mode 100644 index 00000000..5bc8ccd4 --- /dev/null +++ b/fireblocks/models/external_account_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class ExternalAccountType(str, Enum): + """ + ExternalAccountType + """ + + """ + allowed enum values + """ + EXTERNAL = 'EXTERNAL' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of ExternalAccountType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/external_wallet_asset.py b/fireblocks/models/external_wallet_asset.py index b2f4f5b5..9dcdef9b 100644 --- a/fireblocks/models/external_wallet_asset.py +++ b/fireblocks/models/external_wallet_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/version.py b/fireblocks/models/failure.py similarity index 72% rename from fireblocks/models/version.py rename to fireblocks/models/failure.py index fda5a0a3..25b8de14 100644 --- a/fireblocks/models/version.py +++ b/fireblocks/models/failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List +from fireblocks.models.failure_reason import FailureReason from typing import Optional, Set from typing_extensions import Self -class Version(BaseModel): +class Failure(BaseModel): """ - Version + Failure """ # noqa: E501 - hash: StrictStr = Field(description="The version hash of the cosigner") - __properties: ClassVar[List[str]] = ["hash"] + reason: FailureReason + __properties: ClassVar[List[str]] = ["reason"] model_config = ConfigDict( populate_by_name=True, @@ -48,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of Version from a JSON string""" + """Create an instance of Failure from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -73,7 +74,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of Version from a dict""" + """Create an instance of Failure from a dict""" if obj is None: return None @@ -81,7 +82,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "hash": obj.get("hash") + "reason": obj.get("reason") }) return _obj diff --git a/fireblocks/models/failure_reason.py b/fireblocks/models/failure_reason.py new file mode 100644 index 00000000..70506ad3 --- /dev/null +++ b/fireblocks/models/failure_reason.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FailureReason(str, Enum): + """ + FailureReason + """ + + """ + allowed enum values + """ + INSUFFICIENT_FUNDS = 'INSUFFICIENT_FUNDS' + UNKNOWN_REASON = 'UNKNOWN_REASON' + INITIATE_PAYMENT_FAILURE = 'INITIATE_PAYMENT_FAILURE' + POLICY_REJECTION = 'POLICY_REJECTION' + TRANSACTION_FAILED = 'TRANSACTION_FAILED' + ACCOUNT_NOT_ACTIVE = 'ACCOUNT_NOT_ACTIVE' + ACCOUNT_NOT_FOUND = 'ACCOUNT_NOT_FOUND' + BAD_REQUEST = 'BAD_REQUEST' + QUOTE_NOT_READY = 'QUOTE_NOT_READY' + INVALID_DATA = 'INVALID_DATA' + UNSUPPORTED_CONVERSION = 'UNSUPPORTED_CONVERSION' + UNSUPPORTED_RAMP_METHOD = 'UNSUPPORTED_RAMP_METHOD' + REFUNDED = 'REFUNDED' + FAILED_BY_PROVIDER = 'FAILED_BY_PROVIDER' + ORDER_EXPIRED = 'ORDER_EXPIRED' + TRANSACTION_CANCELLED = 'TRANSACTION_CANCELLED' + TRANSACTION_REJECTED = 'TRANSACTION_REJECTED' + TRANSACTION_BLOCKED = 'TRANSACTION_BLOCKED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FailureReason from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/fee.py b/fireblocks/models/fee.py index a419d4c6..dd2e2995 100644 --- a/fireblocks/models/fee.py +++ b/fireblocks/models/fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Union from typing_extensions import Annotated +from fireblocks.models.fee_type_enum import FeeTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -28,19 +29,12 @@ class Fee(BaseModel): """ Fee """ # noqa: E501 - fee_type: StrictStr = Field(description="The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. ", alias="feeType") + fee_type: FeeTypeEnum = Field(alias="feeType") asset_id: StrictStr = Field(description="The asset identifier for the fee.", alias="assetId") amount_type: StrictStr = Field(alias="amountType") amount: Union[Annotated[float, Field(le=10000, strict=True, ge=0)], Annotated[int, Field(le=10000, strict=True, ge=0)]] = Field(description="Fee in basis points (1 = 0.01%, 10000 = 100%)") __properties: ClassVar[List[str]] = ["feeType", "assetId", "amountType", "amount"] - @field_validator('fee_type') - def fee_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['ORDER', 'NETWORK', 'SPREAD']): - raise ValueError("must be one of enum values ('ORDER', 'NETWORK', 'SPREAD')") - return value - @field_validator('amount_type') def amount_type_validate_enum(cls, value): """Validates the enum""" diff --git a/fireblocks/models/fee_breakdown.py b/fireblocks/models/fee_breakdown.py index 4b13e342..55d3d167 100644 --- a/fireblocks/models/fee_breakdown.py +++ b/fireblocks/models/fee_breakdown.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_breakdown_one_of.py b/fireblocks/models/fee_breakdown_one_of.py index 41850a9c..29f0e6d4 100644 --- a/fireblocks/models/fee_breakdown_one_of.py +++ b/fireblocks/models/fee_breakdown_one_of.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_breakdown_one_of1.py b/fireblocks/models/fee_breakdown_one_of1.py index 00282f62..d9bb1193 100644 --- a/fireblocks/models/fee_breakdown_one_of1.py +++ b/fireblocks/models/fee_breakdown_one_of1.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_info.py b/fireblocks/models/fee_info.py index 2dce5f9c..6e52508a 100644 --- a/fireblocks/models/fee_info.py +++ b/fireblocks/models/fee_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_level.py b/fireblocks/models/fee_level.py index ed682386..d1e9db86 100644 --- a/fireblocks/models/fee_level.py +++ b/fireblocks/models/fee_level.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_payer_info.py b/fireblocks/models/fee_payer_info.py index d053940a..215cd766 100644 --- a/fireblocks/models/fee_payer_info.py +++ b/fireblocks/models/fee_payer_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fee_properties_details.py b/fireblocks/models/fee_properties_details.py index 4a7c8df4..dfc135e3 100644 --- a/fireblocks/models/fee_properties_details.py +++ b/fireblocks/models/fee_properties_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from fireblocks.models.fee_type_enum import FeeTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -27,24 +28,9 @@ class FeePropertiesDetails(BaseModel): """ FeePropertiesDetails """ # noqa: E501 - fee_type: StrictStr = Field(description="The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. ", alias="feeType") + fee_type: FeeTypeEnum = Field(alias="feeType") asset_id: StrictStr = Field(description="The asset identifier for the fee.", alias="assetId") - amount_type: StrictStr = Field(description="The type of amount for the fee, either FIXED or BPS (basis points).", alias="amountType") - __properties: ClassVar[List[str]] = ["feeType", "assetId", "amountType"] - - @field_validator('fee_type') - def fee_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['ORDER', 'NETWORK', 'SPREAD']): - raise ValueError("must be one of enum values ('ORDER', 'NETWORK', 'SPREAD')") - return value - - @field_validator('amount_type') - def amount_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['FIXED', 'BPS']): - raise ValueError("must be one of enum values ('FIXED', 'BPS')") - return value + __properties: ClassVar[List[str]] = ["feeType", "assetId"] model_config = ConfigDict( populate_by_name=True, @@ -98,8 +84,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "feeType": obj.get("feeType"), - "assetId": obj.get("assetId"), - "amountType": obj.get("amountType") + "assetId": obj.get("assetId") }) return _obj diff --git a/fireblocks/models/fee_type_enum.py b/fireblocks/models/fee_type_enum.py new file mode 100644 index 00000000..4c9cc634 --- /dev/null +++ b/fireblocks/models/fee_type_enum.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FeeTypeEnum(str, Enum): + """ + The type of fee, such as ORDER, NETWORK, or SPREAD. ORDER - Fee for executing the order. NETWORK - Fee for network transactions. SPREAD - Fee for the difference between buy and sell prices. REBATE - Negative fee returned to the user as a reward or incentive. + """ + + """ + allowed enum values + """ + ORDER = 'ORDER' + NETWORK = 'NETWORK' + SPREAD = 'SPREAD' + REBATE = 'REBATE' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FeeTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/fetch_abi_request_dto.py b/fireblocks/models/fetch_abi_request_dto.py index 8a1c06bc..ea2f828b 100644 --- a/fireblocks/models/fetch_abi_request_dto.py +++ b/fireblocks/models/fetch_abi_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fiat_account.py b/fireblocks/models/fiat_account.py index d4f4fdcc..185ea8d0 100644 --- a/fireblocks/models/fiat_account.py +++ b/fireblocks/models/fiat_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fiat_account_type.py b/fireblocks/models/fiat_account_type.py index bb9006f0..4eeb0b3e 100644 --- a/fireblocks/models/fiat_account_type.py +++ b/fireblocks/models/fiat_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fiat_asset.py b/fireblocks/models/fiat_asset.py index 80889ba0..121fc8ac 100644 --- a/fireblocks/models/fiat_asset.py +++ b/fireblocks/models/fiat_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fiat_destination.py b/fireblocks/models/fiat_destination.py index 9083329a..d4053771 100644 --- a/fireblocks/models/fiat_destination.py +++ b/fireblocks/models/fiat_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,6 +19,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional from fireblocks.models.ach_destination import AchDestination +from fireblocks.models.european_sepa_destination import EuropeanSEPADestination from fireblocks.models.iban_destination import IbanDestination from fireblocks.models.local_bank_transfer_africa_destination import LocalBankTransferAfricaDestination from fireblocks.models.mobile_money_destination import MobileMoneyDestination @@ -31,7 +32,7 @@ from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -FIATDESTINATION_ONE_OF_SCHEMAS = ["AchDestination", "IbanDestination", "LocalBankTransferAfricaDestination", "MobileMoneyDestination", "PixDestination", "SEPADestination", "SpeiDestination", "SwiftDestination", "USWireDestination"] +FIATDESTINATION_ONE_OF_SCHEMAS = ["AchDestination", "EuropeanSEPADestination", "IbanDestination", "LocalBankTransferAfricaDestination", "MobileMoneyDestination", "PixDestination", "SEPADestination", "SpeiDestination", "SwiftDestination", "USWireDestination"] class FiatDestination(BaseModel): """ @@ -55,8 +56,10 @@ class FiatDestination(BaseModel): oneof_schema_8_validator: Optional[LocalBankTransferAfricaDestination] = None # data type: MobileMoneyDestination oneof_schema_9_validator: Optional[MobileMoneyDestination] = None - actual_instance: Optional[Union[AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination]] = None - one_of_schemas: Set[str] = { "AchDestination", "IbanDestination", "LocalBankTransferAfricaDestination", "MobileMoneyDestination", "PixDestination", "SEPADestination", "SpeiDestination", "SwiftDestination", "USWireDestination" } + # data type: EuropeanSEPADestination + oneof_schema_10_validator: Optional[EuropeanSEPADestination] = None + actual_instance: Optional[Union[AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination]] = None + one_of_schemas: Set[str] = { "AchDestination", "EuropeanSEPADestination", "IbanDestination", "LocalBankTransferAfricaDestination", "MobileMoneyDestination", "PixDestination", "SEPADestination", "SpeiDestination", "SwiftDestination", "USWireDestination" } model_config = ConfigDict( validate_assignment=True, @@ -124,12 +127,17 @@ def actual_instance_must_validate_oneof(cls, v): error_messages.append(f"Error! Input type `{type(v)}` is not `MobileMoneyDestination`") else: match += 1 + # validate data type: EuropeanSEPADestination + if not isinstance(v, EuropeanSEPADestination): + error_messages.append(f"Error! Input type `{type(v)}` is not `EuropeanSEPADestination`") + else: + match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in FiatDestination with oneOf schemas: AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in FiatDestination with oneOf schemas: AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in FiatDestination with oneOf schemas: AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in FiatDestination with oneOf schemas: AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) else: return v @@ -198,13 +206,19 @@ def from_json(cls, json_str: str) -> Self: match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) + # deserialize data into EuropeanSEPADestination + try: + instance.actual_instance = EuropeanSEPADestination.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into FiatDestination with oneOf schemas: AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into FiatDestination with oneOf schemas: AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into FiatDestination with oneOf schemas: AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into FiatDestination with oneOf schemas: AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination. Details: " + ", ".join(error_messages)) else: return instance @@ -218,7 +232,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], AchDestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], AchDestination, EuropeanSEPADestination, IbanDestination, LocalBankTransferAfricaDestination, MobileMoneyDestination, PixDestination, SEPADestination, SpeiDestination, SwiftDestination, USWireDestination]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/fireblocks/models/payment_instructions_details.py b/fireblocks/models/fiat_payment_metadata.py similarity index 79% rename from fireblocks/models/payment_instructions_details.py rename to fireblocks/models/fiat_payment_metadata.py index f1b459b5..8428650b 100644 --- a/fireblocks/models/payment_instructions_details.py +++ b/fireblocks/models/fiat_payment_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,9 +23,9 @@ from typing import Optional, Set from typing_extensions import Self -class PaymentInstructionsDetails(BaseModel): +class FiatPaymentMetadata(BaseModel): """ - PaymentInstructionsDetails + FiatPaymentMetadata """ # noqa: E501 reference_id: Optional[StrictStr] = Field(default=None, alias="referenceId") __properties: ClassVar[List[str]] = ["referenceId"] @@ -48,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PaymentInstructionsDetails from a JSON string""" + """Create an instance of FiatPaymentMetadata from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -73,7 +73,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PaymentInstructionsDetails from a dict""" + """Create an instance of FiatPaymentMetadata from a dict""" if obj is None: return None diff --git a/fireblocks/models/fiat_transfer.py b/fireblocks/models/fiat_transfer.py index 63f40c37..29d336ce 100644 --- a/fireblocks/models/fiat_transfer.py +++ b/fireblocks/models/fiat_transfer.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/fixed_amount_type_enum.py b/fireblocks/models/fixed_amount_type_enum.py new file mode 100644 index 00000000..f00fa89f --- /dev/null +++ b/fireblocks/models/fixed_amount_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class FixedAmountTypeEnum(str, Enum): + """ + The type of amount for the fee, indicating a fixed amount. + """ + + """ + allowed enum values + """ + FIXED = 'FIXED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of FixedAmountTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/fixed_fee.py b/fireblocks/models/fixed_fee.py index d4dc2e0f..e804b973 100644 --- a/fireblocks/models/fixed_fee.py +++ b/fireblocks/models/fixed_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated +from fireblocks.models.fixed_amount_type_enum import FixedAmountTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -28,17 +29,10 @@ class FixedFee(BaseModel): """ FixedFee """ # noqa: E501 - amount_type: StrictStr = Field(alias="amountType") + amount_type: FixedAmountTypeEnum = Field(alias="amountType") amount: Annotated[str, Field(strict=True)] = Field(description="The fixed amount of the fee") __properties: ClassVar[List[str]] = ["amountType", "amount"] - @field_validator('amount_type') - def amount_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['FIXED']): - raise ValueError("must be one of enum values ('FIXED')") - return value - @field_validator('amount') def amount_validate_regular_expression(cls, value): """Validates the regular expression""" diff --git a/fireblocks/models/freeze_transaction_response.py b/fireblocks/models/freeze_transaction_response.py index d2728994..4b038ef7 100644 --- a/fireblocks/models/freeze_transaction_response.py +++ b/fireblocks/models/freeze_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/function_doc.py b/fireblocks/models/function_doc.py index 67ea3094..743ee821 100644 --- a/fireblocks/models/function_doc.py +++ b/fireblocks/models/function_doc.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/funds.py b/fireblocks/models/funds.py index c4b2a8d3..b05c3567 100644 --- a/fireblocks/models/funds.py +++ b/fireblocks/models/funds.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/gas_station_configuration.py b/fireblocks/models/gas_station_configuration.py index 7de709a5..f85f953c 100644 --- a/fireblocks/models/gas_station_configuration.py +++ b/fireblocks/models/gas_station_configuration.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/gas_station_configuration_response.py b/fireblocks/models/gas_station_configuration_response.py index 90282b95..653f5713 100644 --- a/fireblocks/models/gas_station_configuration_response.py +++ b/fireblocks/models/gas_station_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/gas_station_properties_response.py b/fireblocks/models/gas_station_properties_response.py index 31028493..4cf56dad 100644 --- a/fireblocks/models/gas_station_properties_response.py +++ b/fireblocks/models/gas_station_properties_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/gassless_standard_configurations.py b/fireblocks/models/gassless_standard_configurations.py index ecd41bc3..69202b1e 100644 --- a/fireblocks/models/gassless_standard_configurations.py +++ b/fireblocks/models/gassless_standard_configurations.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/gassless_standard_configurations_gasless_standard_configurations_value.py b/fireblocks/models/gassless_standard_configurations_gasless_standard_configurations_value.py index 3fc25668..6c0fffbc 100644 --- a/fireblocks/models/gassless_standard_configurations_gasless_standard_configurations_value.py +++ b/fireblocks/models/gassless_standard_configurations_gasless_standard_configurations_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_api_users_response.py b/fireblocks/models/get_api_users_response.py index 7d301875..1be55a99 100644 --- a/fireblocks/models/get_api_users_response.py +++ b/fireblocks/models/get_api_users_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_audit_logs_response.py b/fireblocks/models/get_audit_logs_response.py index 66f6ce2d..257fbc02 100644 --- a/fireblocks/models/get_audit_logs_response.py +++ b/fireblocks/models/get_audit_logs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_connections_response.py b/fireblocks/models/get_connections_response.py index 02fb3053..eb8fa468 100644 --- a/fireblocks/models/get_connections_response.py +++ b/fireblocks/models/get_connections_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_console_users_response.py b/fireblocks/models/get_console_users_response.py index 4336faac..e85d21c3 100644 --- a/fireblocks/models/get_console_users_response.py +++ b/fireblocks/models/get_console_users_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_deployable_address_request.py b/fireblocks/models/get_deployable_address_request.py index ceb892f1..756d0df0 100644 --- a/fireblocks/models/get_deployable_address_request.py +++ b/fireblocks/models/get_deployable_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_exchange_accounts_credentials_public_key_response.py b/fireblocks/models/get_exchange_accounts_credentials_public_key_response.py index 22c21df6..bae9fdd6 100644 --- a/fireblocks/models/get_exchange_accounts_credentials_public_key_response.py +++ b/fireblocks/models/get_exchange_accounts_credentials_public_key_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_filter_parameter.py b/fireblocks/models/get_filter_parameter.py index f5761d31..101fa612 100644 --- a/fireblocks/models/get_filter_parameter.py +++ b/fireblocks/models/get_filter_parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_layer_zero_dvn_config_response.py b/fireblocks/models/get_layer_zero_dvn_config_response.py index 441da97a..7ca0f282 100644 --- a/fireblocks/models/get_layer_zero_dvn_config_response.py +++ b/fireblocks/models/get_layer_zero_dvn_config_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_layer_zero_peers_response.py b/fireblocks/models/get_layer_zero_peers_response.py index 7ee8a228..efc3fd88 100644 --- a/fireblocks/models/get_layer_zero_peers_response.py +++ b/fireblocks/models/get_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_linked_collections_paginated_response.py b/fireblocks/models/get_linked_collections_paginated_response.py index 776b73da..70356c86 100644 --- a/fireblocks/models/get_linked_collections_paginated_response.py +++ b/fireblocks/models/get_linked_collections_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_max_bip_index_used_response.py b/fireblocks/models/get_max_bip_index_used_response.py new file mode 100644 index 00000000..6283e9e4 --- /dev/null +++ b/fireblocks/models/get_max_bip_index_used_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GetMaxBipIndexUsedResponse(BaseModel): + """ + GetMaxBipIndexUsedResponse + """ # noqa: E501 + max_bip44_address_index_used: Optional[StrictInt] = Field(default=None, description="The maximum BIP44 address index used for the vault account and asset", alias="maxBip44AddressIndexUsed") + max_bip44_change_address_index_used: Optional[StrictInt] = Field(default=None, description="The maximum BIP44 change address index used for the vault account and asset", alias="maxBip44ChangeAddressIndexUsed") + __properties: ClassVar[List[str]] = ["maxBip44AddressIndexUsed", "maxBip44ChangeAddressIndexUsed"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetMaxBipIndexUsedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetMaxBipIndexUsedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "maxBip44AddressIndexUsed": obj.get("maxBip44AddressIndexUsed"), + "maxBip44ChangeAddressIndexUsed": obj.get("maxBip44ChangeAddressIndexUsed") + }) + return _obj + + diff --git a/fireblocks/models/get_max_spendable_amount_response.py b/fireblocks/models/get_max_spendable_amount_response.py index c24fa7e4..65c6d84f 100644 --- a/fireblocks/models/get_max_spendable_amount_response.py +++ b/fireblocks/models/get_max_spendable_amount_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_mpc_keys_response.py b/fireblocks/models/get_mpc_keys_response.py index 2e4e12bf..1d4e6d54 100644 --- a/fireblocks/models/get_mpc_keys_response.py +++ b/fireblocks/models/get_mpc_keys_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_nfts_response.py b/fireblocks/models/get_nfts_response.py index b293f5c6..ac607009 100644 --- a/fireblocks/models/get_nfts_response.py +++ b/fireblocks/models/get_nfts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_orders_response.py b/fireblocks/models/get_orders_response.py index a472bfef..74f7a2ed 100644 --- a/fireblocks/models/get_orders_response.py +++ b/fireblocks/models/get_orders_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_ota_status_response.py b/fireblocks/models/get_ota_status_response.py index 82accc88..2e145334 100644 --- a/fireblocks/models/get_ota_status_response.py +++ b/fireblocks/models/get_ota_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_ownership_tokens_response.py b/fireblocks/models/get_ownership_tokens_response.py index ff9e29e4..c9107129 100644 --- a/fireblocks/models/get_ownership_tokens_response.py +++ b/fireblocks/models/get_ownership_tokens_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_paged_exchange_accounts_response.py b/fireblocks/models/get_paged_exchange_accounts_response.py index 0d7860e5..bd7acad5 100644 --- a/fireblocks/models/get_paged_exchange_accounts_response.py +++ b/fireblocks/models/get_paged_exchange_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_paged_exchange_accounts_response_paging.py b/fireblocks/models/get_paged_exchange_accounts_response_paging.py index 114047ad..067cabf6 100644 --- a/fireblocks/models/get_paged_exchange_accounts_response_paging.py +++ b/fireblocks/models/get_paged_exchange_accounts_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_signing_key_response_dto.py b/fireblocks/models/get_signing_key_response_dto.py index 289f3fd2..4adf0df6 100644 --- a/fireblocks/models/get_signing_key_response_dto.py +++ b/fireblocks/models/get_signing_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_transaction_operation.py b/fireblocks/models/get_transaction_operation.py index 4d3cbc4b..089a58eb 100644 --- a/fireblocks/models/get_transaction_operation.py +++ b/fireblocks/models/get_transaction_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_validation_key_response_dto.py b/fireblocks/models/get_validation_key_response_dto.py index c9282504..83e9e756 100644 --- a/fireblocks/models/get_validation_key_response_dto.py +++ b/fireblocks/models/get_validation_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_whitelist_ip_addresses_response.py b/fireblocks/models/get_whitelist_ip_addresses_response.py index fdae762b..92d798ef 100644 --- a/fireblocks/models/get_whitelist_ip_addresses_response.py +++ b/fireblocks/models/get_whitelist_ip_addresses_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/get_workspace_status_response.py b/fireblocks/models/get_workspace_status_response.py index 51a0158f..920904b8 100644 --- a/fireblocks/models/get_workspace_status_response.py +++ b/fireblocks/models/get_workspace_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/http_contract_does_not_exist_error.py b/fireblocks/models/http_contract_does_not_exist_error.py index d4dc3adb..941b08bc 100644 --- a/fireblocks/models/http_contract_does_not_exist_error.py +++ b/fireblocks/models/http_contract_does_not_exist_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/iban_address.py b/fireblocks/models/iban_address.py index 39d47194..ca0cc0a8 100644 --- a/fireblocks/models/iban_address.py +++ b/fireblocks/models/iban_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/iban_destination.py b/fireblocks/models/iban_destination.py index fe3913ad..98b4bb10 100644 --- a/fireblocks/models/iban_destination.py +++ b/fireblocks/models/iban_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/iban_payment_info.py b/fireblocks/models/iban_payment_info.py index f2a6fdf6..202ddcbe 100644 --- a/fireblocks/models/iban_payment_info.py +++ b/fireblocks/models/iban_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/identification.py b/fireblocks/models/identification.py index 14967494..cc15480f 100644 --- a/fireblocks/models/identification.py +++ b/fireblocks/models/identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/idl_type.py b/fireblocks/models/idl_type.py index 00ea39b4..06bbd719 100644 --- a/fireblocks/models/idl_type.py +++ b/fireblocks/models/idl_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/indicative_quote_enum.py b/fireblocks/models/indicative_quote_enum.py new file mode 100644 index 00000000..fd21330f --- /dev/null +++ b/fireblocks/models/indicative_quote_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class IndicativeQuoteEnum(str, Enum): + """ + Indicates this is an indicative quote + """ + + """ + allowed enum values + """ + INDICATIVE = 'INDICATIVE' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of IndicativeQuoteEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/indicative_quote_type.py b/fireblocks/models/indicative_quote_type.py index feb130ad..9b8b3ded 100644 --- a/fireblocks/models/indicative_quote_type.py +++ b/fireblocks/models/indicative_quote_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List +from fireblocks.models.indicative_quote_enum import IndicativeQuoteEnum from typing import Optional, Set from typing_extensions import Self @@ -27,16 +28,9 @@ class IndicativeQuoteType(BaseModel): """ IndicativeQuoteType """ # noqa: E501 - type: StrictStr = Field(description="Indicates this is an indicative quote") + type: IndicativeQuoteEnum __properties: ClassVar[List[str]] = ["type"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['INDICATIVE']): - raise ValueError("must be one of enum values ('INDICATIVE')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/initiator_config.py b/fireblocks/models/initiator_config.py index 70d87bd5..7fb2782f 100644 --- a/fireblocks/models/initiator_config.py +++ b/fireblocks/models/initiator_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/initiator_config_pattern.py b/fireblocks/models/initiator_config_pattern.py index c10199ff..34c42418 100644 --- a/fireblocks/models/initiator_config_pattern.py +++ b/fireblocks/models/initiator_config_pattern.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/instruction_amount.py b/fireblocks/models/instruction_amount.py index 4efddae2..a0f2af41 100644 --- a/fireblocks/models/instruction_amount.py +++ b/fireblocks/models/instruction_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/internal_reference.py b/fireblocks/models/internal_reference.py index d03dba48..f98a6f99 100644 --- a/fireblocks/models/internal_reference.py +++ b/fireblocks/models/internal_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/internal_transfer_response.py b/fireblocks/models/internal_transfer_response.py index 7d16e605..01697361 100644 --- a/fireblocks/models/internal_transfer_response.py +++ b/fireblocks/models/internal_transfer_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/invalid_paramater_value_error.py b/fireblocks/models/invalid_paramater_value_error.py index a44c8b45..cd941db2 100644 --- a/fireblocks/models/invalid_paramater_value_error.py +++ b/fireblocks/models/invalid_paramater_value_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/job_created.py b/fireblocks/models/job_created.py index e82209d8..9dbb741b 100644 --- a/fireblocks/models/job_created.py +++ b/fireblocks/models/job_created.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/layer_zero_adapter_create_params.py b/fireblocks/models/layer_zero_adapter_create_params.py index 666d62a5..20b96c73 100644 --- a/fireblocks/models/layer_zero_adapter_create_params.py +++ b/fireblocks/models/layer_zero_adapter_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/lbt_payment_info.py b/fireblocks/models/lbt_payment_info.py index 630de2e5..9b00d323 100644 --- a/fireblocks/models/lbt_payment_info.py +++ b/fireblocks/models/lbt_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/lean_abi_function.py b/fireblocks/models/lean_abi_function.py index 8d72ada0..192ba812 100644 --- a/fireblocks/models/lean_abi_function.py +++ b/fireblocks/models/lean_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/lean_contract_dto.py b/fireblocks/models/lean_contract_dto.py index d628d09c..6a57b38e 100644 --- a/fireblocks/models/lean_contract_dto.py +++ b/fireblocks/models/lean_contract_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/lean_deployed_contract_response_dto.py b/fireblocks/models/lean_deployed_contract_response_dto.py index 2fb2f5f9..ea333ca8 100644 --- a/fireblocks/models/lean_deployed_contract_response_dto.py +++ b/fireblocks/models/lean_deployed_contract_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_amount_aggregation_time_period_method.py b/fireblocks/models/legacy_amount_aggregation_time_period_method.py index 68faec60..802a61ee 100644 --- a/fireblocks/models/legacy_amount_aggregation_time_period_method.py +++ b/fireblocks/models/legacy_amount_aggregation_time_period_method.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_draft_response.py b/fireblocks/models/legacy_draft_response.py index 0914e872..00b48e29 100644 --- a/fireblocks/models/legacy_draft_response.py +++ b/fireblocks/models/legacy_draft_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_draft_review_and_validation_response.py b/fireblocks/models/legacy_draft_review_and_validation_response.py index 28efbdd0..6228384b 100644 --- a/fireblocks/models/legacy_draft_review_and_validation_response.py +++ b/fireblocks/models/legacy_draft_review_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_and_validation_response.py b/fireblocks/models/legacy_policy_and_validation_response.py index 11d95262..ac8f1fd9 100644 --- a/fireblocks/models/legacy_policy_and_validation_response.py +++ b/fireblocks/models/legacy_policy_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_check_result.py b/fireblocks/models/legacy_policy_check_result.py index c4c8157b..a4f99ca9 100644 --- a/fireblocks/models/legacy_policy_check_result.py +++ b/fireblocks/models/legacy_policy_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_metadata.py b/fireblocks/models/legacy_policy_metadata.py index 4aef7f9b..2a27ae9d 100644 --- a/fireblocks/models/legacy_policy_metadata.py +++ b/fireblocks/models/legacy_policy_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_response.py b/fireblocks/models/legacy_policy_response.py index 26eb171d..973994df 100644 --- a/fireblocks/models/legacy_policy_response.py +++ b/fireblocks/models/legacy_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule.py b/fireblocks/models/legacy_policy_rule.py index 393d6be2..b882572f 100644 --- a/fireblocks/models/legacy_policy_rule.py +++ b/fireblocks/models/legacy_policy_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_amount.py b/fireblocks/models/legacy_policy_rule_amount.py index 9ba6ac1d..b795ad5a 100644 --- a/fireblocks/models/legacy_policy_rule_amount.py +++ b/fireblocks/models/legacy_policy_rule_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_amount_aggregation.py b/fireblocks/models/legacy_policy_rule_amount_aggregation.py index 403746bb..25e0c74f 100644 --- a/fireblocks/models/legacy_policy_rule_amount_aggregation.py +++ b/fireblocks/models/legacy_policy_rule_amount_aggregation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_authorization_groups.py b/fireblocks/models/legacy_policy_rule_authorization_groups.py index 33ceb2b1..2c842494 100644 --- a/fireblocks/models/legacy_policy_rule_authorization_groups.py +++ b/fireblocks/models/legacy_policy_rule_authorization_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_authorization_groups_groups_inner.py b/fireblocks/models/legacy_policy_rule_authorization_groups_groups_inner.py index d59f3dbd..773ba71e 100644 --- a/fireblocks/models/legacy_policy_rule_authorization_groups_groups_inner.py +++ b/fireblocks/models/legacy_policy_rule_authorization_groups_groups_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_check_result.py b/fireblocks/models/legacy_policy_rule_check_result.py index 869e490c..28490874 100644 --- a/fireblocks/models/legacy_policy_rule_check_result.py +++ b/fireblocks/models/legacy_policy_rule_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_designated_signers.py b/fireblocks/models/legacy_policy_rule_designated_signers.py index 0af64233..f689d238 100644 --- a/fireblocks/models/legacy_policy_rule_designated_signers.py +++ b/fireblocks/models/legacy_policy_rule_designated_signers.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_dst.py b/fireblocks/models/legacy_policy_rule_dst.py index cb22e91f..1c6f9102 100644 --- a/fireblocks/models/legacy_policy_rule_dst.py +++ b/fireblocks/models/legacy_policy_rule_dst.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_error.py b/fireblocks/models/legacy_policy_rule_error.py index 3c26ac93..d618b1a5 100644 --- a/fireblocks/models/legacy_policy_rule_error.py +++ b/fireblocks/models/legacy_policy_rule_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_operators.py b/fireblocks/models/legacy_policy_rule_operators.py index cd14a532..e69e9b21 100644 --- a/fireblocks/models/legacy_policy_rule_operators.py +++ b/fireblocks/models/legacy_policy_rule_operators.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_raw_message_signing.py b/fireblocks/models/legacy_policy_rule_raw_message_signing.py index c7863ac2..5b4aabdd 100644 --- a/fireblocks/models/legacy_policy_rule_raw_message_signing.py +++ b/fireblocks/models/legacy_policy_rule_raw_message_signing.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_raw_message_signing_derivation_path.py b/fireblocks/models/legacy_policy_rule_raw_message_signing_derivation_path.py index e35c7562..c72d63d1 100644 --- a/fireblocks/models/legacy_policy_rule_raw_message_signing_derivation_path.py +++ b/fireblocks/models/legacy_policy_rule_raw_message_signing_derivation_path.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rule_src.py b/fireblocks/models/legacy_policy_rule_src.py index fc9f59ec..9013783d 100644 --- a/fireblocks/models/legacy_policy_rule_src.py +++ b/fireblocks/models/legacy_policy_rule_src.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_rules.py b/fireblocks/models/legacy_policy_rules.py index 882801bf..d8a6e84d 100644 --- a/fireblocks/models/legacy_policy_rules.py +++ b/fireblocks/models/legacy_policy_rules.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_src_or_dest_sub_type.py b/fireblocks/models/legacy_policy_src_or_dest_sub_type.py index e8931c9c..cb828e71 100644 --- a/fireblocks/models/legacy_policy_src_or_dest_sub_type.py +++ b/fireblocks/models/legacy_policy_src_or_dest_sub_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_src_or_dest_type.py b/fireblocks/models/legacy_policy_src_or_dest_type.py index 63e3c361..ba3112a4 100644 --- a/fireblocks/models/legacy_policy_src_or_dest_type.py +++ b/fireblocks/models/legacy_policy_src_or_dest_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_status.py b/fireblocks/models/legacy_policy_status.py index fc0cab8b..348daf0f 100644 --- a/fireblocks/models/legacy_policy_status.py +++ b/fireblocks/models/legacy_policy_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_policy_validation.py b/fireblocks/models/legacy_policy_validation.py index 73e8d900..33c636cd 100644 --- a/fireblocks/models/legacy_policy_validation.py +++ b/fireblocks/models/legacy_policy_validation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_publish_draft_request.py b/fireblocks/models/legacy_publish_draft_request.py index 1c25eb47..8c19dcab 100644 --- a/fireblocks/models/legacy_publish_draft_request.py +++ b/fireblocks/models/legacy_publish_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_publish_result.py b/fireblocks/models/legacy_publish_result.py index f028e19a..842b163a 100644 --- a/fireblocks/models/legacy_publish_result.py +++ b/fireblocks/models/legacy_publish_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/legacy_src_or_dest_attributes_inner.py b/fireblocks/models/legacy_src_or_dest_attributes_inner.py index 6a93862e..197de129 100644 --- a/fireblocks/models/legacy_src_or_dest_attributes_inner.py +++ b/fireblocks/models/legacy_src_or_dest_attributes_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/limit_execution_request_details.py b/fireblocks/models/limit_execution_request_details.py deleted file mode 100644 index 173b9106..00000000 --- a/fireblocks/models/limit_execution_request_details.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.time_in_force import TimeInForce -from fireblocks.models.transfer_rail import TransferRail -from typing import Optional, Set -from typing_extensions import Self - -class LimitExecutionRequestDetails(BaseModel): - """ - LimitExecutionRequestDetails - """ # noqa: E501 - type: StrictStr = Field(description="Order type for limit orders") - time_in_force: TimeInForce = Field(alias="timeInForce") - limit_price: StrictStr = Field(description="Price for limit orders", alias="limitPrice") - side: StrictStr = Field(description="Side of the order") - base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") - base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") - base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") - quote_asset_id: StrictStr = Field(description="Target asset identifier", alias="quoteAssetId") - quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") - __properties: ClassVar[List[str]] = ["type", "timeInForce", "limitPrice", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['LIMIT']): - raise ValueError("must be one of enum values ('LIMIT')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of LimitExecutionRequestDetails from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of LimitExecutionRequestDetails from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "type": obj.get("type"), - "timeInForce": obj.get("timeInForce"), - "limitPrice": obj.get("limitPrice"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', - "baseAmount": obj.get("baseAmount"), - "baseAssetId": obj.get("baseAssetId"), - "baseAssetRail": obj.get("baseAssetRail"), - "quoteAssetId": obj.get("quoteAssetId"), - "quoteAssetRail": obj.get("quoteAssetRail") - }) - return _obj - - diff --git a/fireblocks/models/limit_execution_response_details.py b/fireblocks/models/limit_execution_response_details.py deleted file mode 100644 index 5d8e064c..00000000 --- a/fireblocks/models/limit_execution_response_details.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.time_in_force import TimeInForce -from fireblocks.models.transfer_rail import TransferRail -from typing import Optional, Set -from typing_extensions import Self - -class LimitExecutionResponseDetails(BaseModel): - """ - LimitExecutionResponseDetails - """ # noqa: E501 - type: StrictStr = Field(description="Order type for limit orders") - time_in_force: TimeInForce = Field(alias="timeInForce") - limit_price: StrictStr = Field(description="Price for limit orders", alias="limitPrice") - side: StrictStr = Field(description="Side of the order") - base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") - base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") - base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") - quote_asset_id: StrictStr = Field(description="Target asset identifier", alias="quoteAssetId") - quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") - __properties: ClassVar[List[str]] = ["type", "timeInForce", "limitPrice", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['LIMIT']): - raise ValueError("must be one of enum values ('LIMIT')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of LimitExecutionResponseDetails from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of LimitExecutionResponseDetails from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "type": obj.get("type"), - "timeInForce": obj.get("timeInForce"), - "limitPrice": obj.get("limitPrice"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', - "baseAmount": obj.get("baseAmount"), - "baseAssetId": obj.get("baseAssetId"), - "baseAssetRail": obj.get("baseAssetRail"), - "quoteAssetId": obj.get("quoteAssetId"), - "quoteAssetRail": obj.get("quoteAssetRail") - }) - return _obj - - diff --git a/fireblocks/models/linked_tokens_count.py b/fireblocks/models/linked_tokens_count.py new file mode 100644 index 00000000..1225be5f --- /dev/null +++ b/fireblocks/models/linked_tokens_count.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Union +from typing import Optional, Set +from typing_extensions import Self + +class LinkedTokensCount(BaseModel): + """ + LinkedTokensCount + """ # noqa: E501 + count: Union[StrictFloat, StrictInt] = Field(description="The total count of linked tokens") + __properties: ClassVar[List[str]] = ["count"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LinkedTokensCount from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LinkedTokensCount from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "count": obj.get("count") + }) + return _obj + + diff --git a/fireblocks/models/list_assets_response.py b/fireblocks/models/list_assets_response.py index d174879b..4a878e80 100644 --- a/fireblocks/models/list_assets_response.py +++ b/fireblocks/models/list_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/list_blockchains_response.py b/fireblocks/models/list_blockchains_response.py index a4e4f964..e280f46a 100644 --- a/fireblocks/models/list_blockchains_response.py +++ b/fireblocks/models/list_blockchains_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/list_owned_collections_response.py b/fireblocks/models/list_owned_collections_response.py index bec338ae..8b918d8f 100644 --- a/fireblocks/models/list_owned_collections_response.py +++ b/fireblocks/models/list_owned_collections_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/list_owned_tokens_response.py b/fireblocks/models/list_owned_tokens_response.py index 512f0361..02a35d14 100644 --- a/fireblocks/models/list_owned_tokens_response.py +++ b/fireblocks/models/list_owned_tokens_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/local_bank_transfer_africa_address.py b/fireblocks/models/local_bank_transfer_africa_address.py index 60f440ce..9c254cb1 100644 --- a/fireblocks/models/local_bank_transfer_africa_address.py +++ b/fireblocks/models/local_bank_transfer_africa_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/local_bank_transfer_africa_destination.py b/fireblocks/models/local_bank_transfer_africa_destination.py index c1e1f59c..3ef4ae3a 100644 --- a/fireblocks/models/local_bank_transfer_africa_destination.py +++ b/fireblocks/models/local_bank_transfer_africa_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -35,8 +35,8 @@ class LocalBankTransferAfricaDestination(BaseModel): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['LOCAL_BANK_TRANSFER_AFRICA']): - raise ValueError("must be one of enum values ('LOCAL_BANK_TRANSFER_AFRICA')") + if value not in set(['LOCAL_BANK_TRANSFER']): + raise ValueError("must be one of enum values ('LOCAL_BANK_TRANSFER')") return value model_config = ConfigDict( diff --git a/fireblocks/models/manifest.py b/fireblocks/models/manifest.py index c49d9653..46d0a635 100644 --- a/fireblocks/models/manifest.py +++ b/fireblocks/models/manifest.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List +from fireblocks.models.asset_type_enum import AssetTypeEnum from fireblocks.models.capability import Capability from typing import Optional, Set from typing_extensions import Self @@ -28,18 +29,10 @@ class Manifest(BaseModel): """ Manifest """ # noqa: E501 - asset_types: List[StrictStr] = Field(alias="assetTypes") + asset_types: List[AssetTypeEnum] = Field(alias="assetTypes") capabilities: List[Capability] __properties: ClassVar[List[str]] = ["assetTypes", "capabilities"] - @field_validator('asset_types') - def asset_types_validate_enum(cls, value): - """Validates the enum""" - for i in value: - if i not in set(['DIGITAL', 'FIAT']): - raise ValueError("each list item must be one of ('DIGITAL', 'FIAT')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/market_execution_request_details.py b/fireblocks/models/market_execution_request_details.py index 42a43c0b..c38b407a 100644 --- a/fireblocks/models/market_execution_request_details.py +++ b/fireblocks/models/market_execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.market_type_enum import MarketTypeEnum +from fireblocks.models.side import Side from fireblocks.models.transfer_rail import TransferRail from typing import Optional, Set from typing_extensions import Self @@ -28,8 +30,8 @@ class MarketExecutionRequestDetails(BaseModel): """ MarketExecutionRequestDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for market orders") - side: StrictStr = Field(description="Side of the order") + type: MarketTypeEnum + side: Side base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") @@ -37,20 +39,6 @@ class MarketExecutionRequestDetails(BaseModel): quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") __properties: ClassVar[List[str]] = ["type", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['MARKET']): - raise ValueError("must be one of enum values ('MARKET')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -103,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "type": obj.get("type"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', + "side": obj.get("side"), "baseAmount": obj.get("baseAmount"), "baseAssetId": obj.get("baseAssetId"), "baseAssetRail": obj.get("baseAssetRail"), diff --git a/fireblocks/models/market_execution_response_details.py b/fireblocks/models/market_execution_response_details.py index 16eb59b1..450ade7e 100644 --- a/fireblocks/models/market_execution_response_details.py +++ b/fireblocks/models/market_execution_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.market_type_enum import MarketTypeEnum +from fireblocks.models.side import Side from fireblocks.models.transfer_rail import TransferRail from typing import Optional, Set from typing_extensions import Self @@ -28,8 +30,8 @@ class MarketExecutionResponseDetails(BaseModel): """ MarketExecutionResponseDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for market orders") - side: StrictStr = Field(description="Side of the order") + type: MarketTypeEnum + side: Side base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") @@ -37,20 +39,6 @@ class MarketExecutionResponseDetails(BaseModel): quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") __properties: ClassVar[List[str]] = ["type", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['MARKET']): - raise ValueError("must be one of enum values ('MARKET')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -103,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "type": obj.get("type"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', + "side": obj.get("side"), "baseAmount": obj.get("baseAmount"), "baseAssetId": obj.get("baseAssetId"), "baseAssetRail": obj.get("baseAssetRail"), diff --git a/fireblocks/models/market_requote_request_details.py b/fireblocks/models/market_requote_request_details.py index b0385d74..12639465 100644 --- a/fireblocks/models/market_requote_request_details.py +++ b/fireblocks/models/market_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List +from fireblocks.models.market_requote_type_enum import MarketRequoteTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -27,16 +28,9 @@ class MarketRequoteRequestDetails(BaseModel): """ MarketRequoteRequestDetails """ # noqa: E501 - type: StrictStr = Field(description="Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order.") + type: MarketRequoteTypeEnum __properties: ClassVar[List[str]] = ["type"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['MARKET']): - raise ValueError("must be one of enum values ('MARKET')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/market_requote_type_enum.py b/fireblocks/models/market_requote_type_enum.py new file mode 100644 index 00000000..d6e09ada --- /dev/null +++ b/fireblocks/models/market_requote_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class MarketRequoteTypeEnum(str, Enum): + """ + Indicates that the order should be re-quoted if the original quote is expired. This will lead to a market order. + """ + + """ + allowed enum values + """ + MARKET = 'MARKET' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of MarketRequoteTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/market_type_details.py b/fireblocks/models/market_type_details.py index d9f7f58f..6f4d42d5 100644 --- a/fireblocks/models/market_type_details.py +++ b/fireblocks/models/market_type_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict from typing import Any, ClassVar, Dict, List +from fireblocks.models.market_type_enum import MarketTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -27,16 +28,9 @@ class MarketTypeDetails(BaseModel): """ MarketTypeDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for market orders") + type: MarketTypeEnum __properties: ClassVar[List[str]] = ["type"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['MARKET']): - raise ValueError("must be one of enum values ('MARKET')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/market_type_enum.py b/fireblocks/models/market_type_enum.py new file mode 100644 index 00000000..0dba2743 --- /dev/null +++ b/fireblocks/models/market_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class MarketTypeEnum(str, Enum): + """ + Order type for market orders + """ + + """ + allowed enum values + """ + MARKET = 'MARKET' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of MarketTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/media_entity_response.py b/fireblocks/models/media_entity_response.py index 623a658b..5b4d342e 100644 --- a/fireblocks/models/media_entity_response.py +++ b/fireblocks/models/media_entity_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/merge_stake_accounts_request.py b/fireblocks/models/merge_stake_accounts_request.py index d2945ec0..45cb1712 100644 --- a/fireblocks/models/merge_stake_accounts_request.py +++ b/fireblocks/models/merge_stake_accounts_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,7 +32,7 @@ class MergeStakeAccountsRequest(BaseModel): destination_id: StrictStr = Field(description="Id of the destination position to merge into", alias="destinationId") fee: Optional[StrictStr] = Field(default=None, description="Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.") fee_level: Optional[FeeLevel] = Field(default=None, alias="feeLevel") - tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the transactions.", alias="txNote") + tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the merge transaction.", alias="txNote") __properties: ClassVar[List[str]] = ["sourceId", "destinationId", "fee", "feeLevel", "txNote"] model_config = ConfigDict( diff --git a/fireblocks/models/merge_stake_accounts_response.py b/fireblocks/models/merge_stake_accounts_response.py index 01d2d809..0e1caa0f 100644 --- a/fireblocks/models/merge_stake_accounts_response.py +++ b/fireblocks/models/merge_stake_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/mobile_money_address.py b/fireblocks/models/mobile_money_address.py index b28b005f..d3a411fc 100644 --- a/fireblocks/models/mobile_money_address.py +++ b/fireblocks/models/mobile_money_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/mobile_money_destination.py b/fireblocks/models/mobile_money_destination.py index bef8a3a6..c3817283 100644 --- a/fireblocks/models/mobile_money_destination.py +++ b/fireblocks/models/mobile_money_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/modify_signing_key_agent_id_dto.py b/fireblocks/models/modify_signing_key_agent_id_dto.py index 611131f8..bb03508a 100644 --- a/fireblocks/models/modify_signing_key_agent_id_dto.py +++ b/fireblocks/models/modify_signing_key_agent_id_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/modify_signing_key_dto.py b/fireblocks/models/modify_signing_key_dto.py index 0c35af60..f34fe812 100644 --- a/fireblocks/models/modify_signing_key_dto.py +++ b/fireblocks/models/modify_signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/modify_validation_key_dto.py b/fireblocks/models/modify_validation_key_dto.py index 09d11c9b..c60d3b2b 100644 --- a/fireblocks/models/modify_validation_key_dto.py +++ b/fireblocks/models/modify_validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/momo_payment_info.py b/fireblocks/models/momo_payment_info.py index 7ef0e8b8..c4c6f32c 100644 --- a/fireblocks/models/momo_payment_info.py +++ b/fireblocks/models/momo_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/mpc_key.py b/fireblocks/models/mpc_key.py index e7dcf0a2..15dfebd5 100644 --- a/fireblocks/models/mpc_key.py +++ b/fireblocks/models/mpc_key.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/multichain_deployment_metadata.py b/fireblocks/models/multichain_deployment_metadata.py index d40aeb38..d148c4c9 100644 --- a/fireblocks/models/multichain_deployment_metadata.py +++ b/fireblocks/models/multichain_deployment_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_channel.py b/fireblocks/models/network_channel.py index b7e37248..45a5f75a 100644 --- a/fireblocks/models/network_channel.py +++ b/fireblocks/models/network_channel.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_connection.py b/fireblocks/models/network_connection.py index f811633e..bc9c65da 100644 --- a/fireblocks/models/network_connection.py +++ b/fireblocks/models/network_connection.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_connection_response.py b/fireblocks/models/network_connection_response.py index 0f7fe1ca..49b54a94 100644 --- a/fireblocks/models/network_connection_response.py +++ b/fireblocks/models/network_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_connection_routing_policy_value.py b/fireblocks/models/network_connection_routing_policy_value.py index cad6e076..a58608ae 100644 --- a/fireblocks/models/network_connection_routing_policy_value.py +++ b/fireblocks/models/network_connection_routing_policy_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_connection_status.py b/fireblocks/models/network_connection_status.py index 80651817..a55e3b84 100644 --- a/fireblocks/models/network_connection_status.py +++ b/fireblocks/models/network_connection_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_fee.py b/fireblocks/models/network_fee.py index 82aa724c..b3af8e51 100644 --- a/fireblocks/models/network_fee.py +++ b/fireblocks/models/network_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_id.py b/fireblocks/models/network_id.py index 4ee478a7..ea41e423 100644 --- a/fireblocks/models/network_id.py +++ b/fireblocks/models/network_id.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_id_response.py b/fireblocks/models/network_id_response.py index 983b71f3..c1896b1f 100644 --- a/fireblocks/models/network_id_response.py +++ b/fireblocks/models/network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_id_routing_policy_value.py b/fireblocks/models/network_id_routing_policy_value.py index 4659de79..a1d96c5a 100644 --- a/fireblocks/models/network_id_routing_policy_value.py +++ b/fireblocks/models/network_id_routing_policy_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/network_record.py b/fireblocks/models/network_record.py index 66c86078..17a6944c 100644 --- a/fireblocks/models/network_record.py +++ b/fireblocks/models/network_record.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/new_address.py b/fireblocks/models/new_address.py index 4205908f..ca123f34 100644 --- a/fireblocks/models/new_address.py +++ b/fireblocks/models/new_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/none_network_routing_dest.py b/fireblocks/models/none_network_routing_dest.py index 655a92a8..0ba94c44 100644 --- a/fireblocks/models/none_network_routing_dest.py +++ b/fireblocks/models/none_network_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/not_found_exception.py b/fireblocks/models/not_found_exception.py index d93519c9..bea4afb5 100644 --- a/fireblocks/models/not_found_exception.py +++ b/fireblocks/models/not_found_exception.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification.py b/fireblocks/models/notification.py index b98c8b5c..85d3761d 100644 --- a/fireblocks/models/notification.py +++ b/fireblocks/models/notification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification_attempt.py b/fireblocks/models/notification_attempt.py index a7c51595..6848733b 100644 --- a/fireblocks/models/notification_attempt.py +++ b/fireblocks/models/notification_attempt.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification_attempts_paginated_response.py b/fireblocks/models/notification_attempts_paginated_response.py index f5e9e6a7..efe984e5 100644 --- a/fireblocks/models/notification_attempts_paginated_response.py +++ b/fireblocks/models/notification_attempts_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification_paginated_response.py b/fireblocks/models/notification_paginated_response.py index e8feafe0..3585ed09 100644 --- a/fireblocks/models/notification_paginated_response.py +++ b/fireblocks/models/notification_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification_status.py b/fireblocks/models/notification_status.py index 84615e14..1fda028d 100644 --- a/fireblocks/models/notification_status.py +++ b/fireblocks/models/notification_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/notification_with_data.py b/fireblocks/models/notification_with_data.py index 773f16e4..3e06f85b 100644 --- a/fireblocks/models/notification_with_data.py +++ b/fireblocks/models/notification_with_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/onchain_transaction.py b/fireblocks/models/onchain_transaction.py new file mode 100644 index 00000000..b84e9613 --- /dev/null +++ b/fireblocks/models/onchain_transaction.py @@ -0,0 +1,135 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.decoded_log import DecodedLog +from typing import Optional, Set +from typing_extensions import Self + +class OnchainTransaction(BaseModel): + """ + OnchainTransaction + """ # noqa: E501 + id: StrictStr = Field(description="Unique identifier for the transaction") + base_asset_id: StrictStr = Field(description="The blockchain base asset identifier", alias="baseAssetId") + block_hash: StrictStr = Field(description="Hash of the block containing this transaction", alias="blockHash") + block_number: StrictInt = Field(description="Block number containing this transaction", alias="blockNumber") + block_timestamp: datetime = Field(description="Timestamp when the block was mined", alias="blockTimestamp") + chain_id: StrictInt = Field(description="Chain ID of the blockchain", alias="chainId") + contract_address: Optional[StrictStr] = Field(default=None, description="Contract address if this is a contract transaction", alias="contractAddress") + cumulative_gas_used: StrictStr = Field(description="Cumulative gas used in the block up to this transaction", alias="cumulativeGasUsed") + decoded_logs: Optional[DecodedLog] = Field(default=None, alias="decodedLogs") + effective_gas_price: StrictStr = Field(description="Effective gas price paid for the transaction", alias="effectiveGasPrice") + from_address: StrictStr = Field(description="Address that initiated the transaction", alias="fromAddress") + gas_used: StrictStr = Field(description="Amount of gas used by this transaction", alias="gasUsed") + status: StrictStr = Field(description="Transaction status") + to_address: Optional[StrictStr] = Field(default=None, description="Address that received the transaction", alias="toAddress") + transaction_hash: StrictStr = Field(description="Hash of the transaction", alias="transactionHash") + transaction_index: StrictStr = Field(description="Index of the transaction in the block", alias="transactionIndex") + type: StrictStr = Field(description="Transaction type") + __properties: ClassVar[List[str]] = ["id", "baseAssetId", "blockHash", "blockNumber", "blockTimestamp", "chainId", "contractAddress", "cumulativeGasUsed", "decodedLogs", "effectiveGasPrice", "fromAddress", "gasUsed", "status", "toAddress", "transactionHash", "transactionIndex", "type"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OnchainTransaction from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of decoded_logs + if self.decoded_logs: + _dict['decodedLogs'] = self.decoded_logs.to_dict() + # set to None if contract_address (nullable) is None + # and model_fields_set contains the field + if self.contract_address is None and "contract_address" in self.model_fields_set: + _dict['contractAddress'] = None + + # set to None if to_address (nullable) is None + # and model_fields_set contains the field + if self.to_address is None and "to_address" in self.model_fields_set: + _dict['toAddress'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OnchainTransaction from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "baseAssetId": obj.get("baseAssetId"), + "blockHash": obj.get("blockHash"), + "blockNumber": obj.get("blockNumber"), + "blockTimestamp": obj.get("blockTimestamp"), + "chainId": obj.get("chainId"), + "contractAddress": obj.get("contractAddress"), + "cumulativeGasUsed": obj.get("cumulativeGasUsed"), + "decodedLogs": DecodedLog.from_dict(obj["decodedLogs"]) if obj.get("decodedLogs") is not None else None, + "effectiveGasPrice": obj.get("effectiveGasPrice"), + "fromAddress": obj.get("fromAddress"), + "gasUsed": obj.get("gasUsed"), + "status": obj.get("status"), + "toAddress": obj.get("toAddress"), + "transactionHash": obj.get("transactionHash"), + "transactionIndex": obj.get("transactionIndex"), + "type": obj.get("type") + }) + return _obj + + diff --git a/fireblocks/models/onchain_transactions_paged_response.py b/fireblocks/models/onchain_transactions_paged_response.py new file mode 100644 index 00000000..971d1ac4 --- /dev/null +++ b/fireblocks/models/onchain_transactions_paged_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from fireblocks.models.onchain_transaction import OnchainTransaction +from typing import Optional, Set +from typing_extensions import Self + +class OnchainTransactionsPagedResponse(BaseModel): + """ + OnchainTransactionsPagedResponse + """ # noqa: E501 + data: List[OnchainTransaction] = Field(description="Array of onchain transactions") + next: Optional[StrictStr] = Field(default=None, description="Cursor for next page") + prev: Optional[StrictStr] = Field(default=None, description="Cursor for previous page") + total: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total count of items") + __properties: ClassVar[List[str]] = ["data", "next", "prev", "total"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OnchainTransactionsPagedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OnchainTransactionsPagedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [OnchainTransaction.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next"), + "prev": obj.get("prev"), + "total": obj.get("total") + }) + return _obj + + diff --git a/fireblocks/models/one_time_address.py b/fireblocks/models/one_time_address.py index a537fce9..f0dcbe81 100644 --- a/fireblocks/models/one_time_address.py +++ b/fireblocks/models/one_time_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/one_time_address_account.py b/fireblocks/models/one_time_address_account.py index b080005a..26514d7c 100644 --- a/fireblocks/models/one_time_address_account.py +++ b/fireblocks/models/one_time_address_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/one_time_address_peer_type.py b/fireblocks/models/one_time_address_peer_type.py new file mode 100644 index 00000000..f998b45e --- /dev/null +++ b/fireblocks/models/one_time_address_peer_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class OneTimeAddressPeerType(str, Enum): + """ + OneTimeAddressPeerType + """ + + """ + allowed enum values + """ + ONE_TIME_ADDRESS = 'ONE_TIME_ADDRESS' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of OneTimeAddressPeerType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/one_time_address_reference.py b/fireblocks/models/one_time_address_reference.py index 47f12b74..3d7fa578 100644 --- a/fireblocks/models/one_time_address_reference.py +++ b/fireblocks/models/one_time_address_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.one_time_address_peer_type import OneTimeAddressPeerType from typing import Optional, Set from typing_extensions import Self @@ -27,18 +28,11 @@ class OneTimeAddressReference(BaseModel): """ OneTimeAddressReference """ # noqa: E501 - type: StrictStr + type: OneTimeAddressPeerType address: StrictStr tag: Optional[StrictStr] = None __properties: ClassVar[List[str]] = ["type", "address", "tag"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['ONE_TIME_ADDRESS']): - raise ValueError("must be one of enum values ('ONE_TIME_ADDRESS')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/operation_execution_failure.py b/fireblocks/models/operation_execution_failure.py index 635b2260..387ef427 100644 --- a/fireblocks/models/operation_execution_failure.py +++ b/fireblocks/models/operation_execution_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/order_details.py b/fireblocks/models/order_details.py index b50dc9b9..bc991dd8 100644 --- a/fireblocks/models/order_details.py +++ b/fireblocks/models/order_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -24,8 +24,9 @@ from typing_extensions import Annotated from fireblocks.models.access_type import AccessType from fireblocks.models.execution_response_details import ExecutionResponseDetails -from fireblocks.models.execution_step import ExecutionStep +from fireblocks.models.failure import Failure from fireblocks.models.fee import Fee +from fireblocks.models.order_execution_step import OrderExecutionStep from fireblocks.models.order_status import OrderStatus from fireblocks.models.participants_identification import ParticipantsIdentification from fireblocks.models.payment_instructions import PaymentInstructions @@ -45,7 +46,7 @@ class OrderDetails(BaseModel): updated_at: Optional[datetime] = Field(default=None, alias="updatedAt") receipt: Optional[TransferReceipt] = None general_fees: Optional[List[Fee]] = Field(default=None, alias="generalFees") - execution_steps: List[ExecutionStep] = Field(alias="executionSteps") + execution_steps: List[OrderExecutionStep] = Field(alias="executionSteps") execution_response_details: ExecutionResponseDetails = Field(alias="executionResponseDetails") settlement: Settlement participants_identification: Optional[ParticipantsIdentification] = Field(default=None, alias="participantsIdentification") @@ -54,7 +55,8 @@ class OrderDetails(BaseModel): customer_internal_reference_id: Optional[StrictStr] = Field(default=None, description="Internal reference ID for the customer", alias="customerInternalReferenceId") note: Optional[Annotated[str, Field(strict=True, max_length=512)]] = Field(default=None, description="Optional note for the Order") expires_at: Optional[datetime] = Field(default=None, alias="expiresAt") - __properties: ClassVar[List[str]] = ["id", "via", "status", "createdAt", "updatedAt", "receipt", "generalFees", "executionSteps", "executionResponseDetails", "settlement", "participantsIdentification", "paymentInstructions", "createdBy", "customerInternalReferenceId", "note", "expiresAt"] + failure: Optional[Failure] = None + __properties: ClassVar[List[str]] = ["id", "via", "status", "createdAt", "updatedAt", "receipt", "generalFees", "executionSteps", "executionResponseDetails", "settlement", "participantsIdentification", "paymentInstructions", "createdBy", "customerInternalReferenceId", "note", "expiresAt", "failure"] model_config = ConfigDict( populate_by_name=True, @@ -131,6 +133,9 @@ def to_dict(self) -> Dict[str, Any]: if _item_payment_instructions: _items.append(_item_payment_instructions.to_dict()) _dict['paymentInstructions'] = _items + # override the default output from pydantic by calling `to_dict()` of failure + if self.failure: + _dict['failure'] = self.failure.to_dict() return _dict @classmethod @@ -150,7 +155,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "updatedAt": obj.get("updatedAt"), "receipt": TransferReceipt.from_dict(obj["receipt"]) if obj.get("receipt") is not None else None, "generalFees": [Fee.from_dict(_item) for _item in obj["generalFees"]] if obj.get("generalFees") is not None else None, - "executionSteps": [ExecutionStep.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, + "executionSteps": [OrderExecutionStep.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, "executionResponseDetails": ExecutionResponseDetails.from_dict(obj["executionResponseDetails"]) if obj.get("executionResponseDetails") is not None else None, "settlement": Settlement.from_dict(obj["settlement"]) if obj.get("settlement") is not None else None, "participantsIdentification": ParticipantsIdentification.from_dict(obj["participantsIdentification"]) if obj.get("participantsIdentification") is not None else None, @@ -158,7 +163,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "createdBy": obj.get("createdBy"), "customerInternalReferenceId": obj.get("customerInternalReferenceId"), "note": obj.get("note"), - "expiresAt": obj.get("expiresAt") + "expiresAt": obj.get("expiresAt"), + "failure": Failure.from_dict(obj["failure"]) if obj.get("failure") is not None else None }) return _obj diff --git a/fireblocks/models/execution_step.py b/fireblocks/models/order_execution_step.py similarity index 84% rename from fireblocks/models/execution_step.py rename to fireblocks/models/order_execution_step.py index 3c10825c..9c785de0 100644 --- a/fireblocks/models/execution_step.py +++ b/fireblocks/models/order_execution_step.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,9 +27,9 @@ from typing import Optional, Set from typing_extensions import Self -class ExecutionStep(BaseModel): +class OrderExecutionStep(BaseModel): """ - ExecutionStep + OrderExecutionStep """ # noqa: E501 type: ExecutionStepType status: ExecutionStepStatusEnum @@ -57,7 +57,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ExecutionStep from a JSON string""" + """Create an instance of OrderExecutionStep from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -85,7 +85,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ExecutionStep from a dict""" + """Create an instance of OrderExecutionStep from a dict""" if obj is None: return None diff --git a/fireblocks/models/order_side.py b/fireblocks/models/order_side.py index be0cd3ac..5d110e4a 100644 --- a/fireblocks/models/order_side.py +++ b/fireblocks/models/order_side.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/order_status.py b/fireblocks/models/order_status.py index 143517e4..b188296e 100644 --- a/fireblocks/models/order_status.py +++ b/fireblocks/models/order_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/order_summary.py b/fireblocks/models/order_summary.py index 975babd5..e1072ce8 100644 --- a/fireblocks/models/order_summary.py +++ b/fireblocks/models/order_summary.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,12 +19,13 @@ import json from datetime import datetime -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from fireblocks.models.access_type import AccessType from fireblocks.models.account_reference import AccountReference from fireblocks.models.order_status import OrderStatus from fireblocks.models.settlement_source_account import SettlementSourceAccount +from fireblocks.models.side import Side from typing import Optional, Set from typing_extensions import Self @@ -34,7 +35,7 @@ class OrderSummary(BaseModel): """ # noqa: E501 id: StrictStr via: AccessType - side: StrictStr = Field(description="Side of the order") + side: Side base_amount: StrictStr = Field(alias="baseAmount") quote_amount: Optional[StrictStr] = Field(default=None, alias="quoteAmount") base_asset_id: StrictStr = Field(alias="baseAssetId") @@ -45,13 +46,6 @@ class OrderSummary(BaseModel): created_at: datetime = Field(alias="createdAt") __properties: ClassVar[List[str]] = ["id", "via", "side", "baseAmount", "quoteAmount", "baseAssetId", "quoteAssetId", "status", "destination", "source", "createdAt"] - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/paginated_address_response.py b/fireblocks/models/paginated_address_response.py index d51a2f19..2813457f 100644 --- a/fireblocks/models/paginated_address_response.py +++ b/fireblocks/models/paginated_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/paginated_address_response_paging.py b/fireblocks/models/paginated_address_response_paging.py index 44fdff7d..b1d79e9e 100644 --- a/fireblocks/models/paginated_address_response_paging.py +++ b/fireblocks/models/paginated_address_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/paginated_asset_wallet_response.py b/fireblocks/models/paginated_asset_wallet_response.py index 25029f8c..5e32505a 100644 --- a/fireblocks/models/paginated_asset_wallet_response.py +++ b/fireblocks/models/paginated_asset_wallet_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/paginated_asset_wallet_response_paging.py b/fireblocks/models/paginated_asset_wallet_response_paging.py index 75382bce..6bb101da 100644 --- a/fireblocks/models/paginated_asset_wallet_response_paging.py +++ b/fireblocks/models/paginated_asset_wallet_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/paginated_assets_response.py b/fireblocks/models/paginated_assets_response.py index 5c76e48d..73eefeb0 100644 --- a/fireblocks/models/paginated_assets_response.py +++ b/fireblocks/models/paginated_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/paging.py b/fireblocks/models/paging.py index c901c1b8..d2b383da 100644 --- a/fireblocks/models/paging.py +++ b/fireblocks/models/paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pair_api_key_request.py b/fireblocks/models/pair_api_key_request.py index d9fe6be9..c0262a63 100644 --- a/fireblocks/models/pair_api_key_request.py +++ b/fireblocks/models/pair_api_key_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pair_api_key_response.py b/fireblocks/models/pair_api_key_response.py index 08ea4809..4fcd4ff4 100644 --- a/fireblocks/models/pair_api_key_response.py +++ b/fireblocks/models/pair_api_key_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/parameter.py b/fireblocks/models/parameter.py index 6753d236..6f7b0324 100644 --- a/fireblocks/models/parameter.py +++ b/fireblocks/models/parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/parameter_with_value.py b/fireblocks/models/parameter_with_value.py index 60950ef6..a8e1b06f 100644 --- a/fireblocks/models/parameter_with_value.py +++ b/fireblocks/models/parameter_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/participant_relationship_type.py b/fireblocks/models/participant_relationship_type.py index f26ab072..18bde37e 100644 --- a/fireblocks/models/participant_relationship_type.py +++ b/fireblocks/models/participant_relationship_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/participants_identification.py b/fireblocks/models/participants_identification.py index f315e634..9a752d1f 100644 --- a/fireblocks/models/participants_identification.py +++ b/fireblocks/models/participants_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payee_account.py b/fireblocks/models/payee_account.py index 2bf758d7..b437b1c2 100644 --- a/fireblocks/models/payee_account.py +++ b/fireblocks/models/payee_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payee_account_response.py b/fireblocks/models/payee_account_response.py index 4deb4bd0..72732a26 100644 --- a/fireblocks/models/payee_account_response.py +++ b/fireblocks/models/payee_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payee_account_type.py b/fireblocks/models/payee_account_type.py index 05281c45..c4cc62c6 100644 --- a/fireblocks/models/payee_account_type.py +++ b/fireblocks/models/payee_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payment_account.py b/fireblocks/models/payment_account.py index 08519666..66feca0d 100644 --- a/fireblocks/models/payment_account.py +++ b/fireblocks/models/payment_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payment_account_response.py b/fireblocks/models/payment_account_response.py index 2329dae9..06f007e1 100644 --- a/fireblocks/models/payment_account_response.py +++ b/fireblocks/models/payment_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payment_account_type.py b/fireblocks/models/payment_account_type.py index 8ce408e0..68caf422 100644 --- a/fireblocks/models/payment_account_type.py +++ b/fireblocks/models/payment_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payment_instructions.py b/fireblocks/models/payment_instructions.py index 82b2cb59..7701e083 100644 --- a/fireblocks/models/payment_instructions.py +++ b/fireblocks/models/payment_instructions.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -14,90 +14,125 @@ from __future__ import annotations -import pprint -import re # noqa: F401 import json +import pprint +from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator +from typing import Any, List, Optional +from fireblocks.models.blockchain_destination import BlockchainDestination +from fireblocks.models.payment_instructions_one_of import PaymentInstructionsOneOf +from pydantic import StrictStr, Field +from typing import Union, List, Set, Optional, Dict +from typing_extensions import Literal, Self -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.mobile_money_address import MobileMoneyAddress -from typing import Optional, Set -from typing_extensions import Self +PAYMENTINSTRUCTIONS_ONE_OF_SCHEMAS = ["BlockchainDestination", "PaymentInstructionsOneOf"] class PaymentInstructions(BaseModel): """ PaymentInstructions - """ # noqa: E501 - type: StrictStr - address: MobileMoneyAddress - reference_id: Optional[StrictStr] = Field(default=None, alias="referenceId") - __properties: ClassVar[List[str]] = ["type", "address", "referenceId"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['MOBILE_MONEY']): - raise ValueError("must be one of enum values ('MOBILE_MONEY')") - return value + """ + # data type: BlockchainDestination + oneof_schema_1_validator: Optional[BlockchainDestination] = None + # data type: PaymentInstructionsOneOf + oneof_schema_2_validator: Optional[PaymentInstructionsOneOf] = None + actual_instance: Optional[Union[BlockchainDestination, PaymentInstructionsOneOf]] = None + one_of_schemas: Set[str] = { "BlockchainDestination", "PaymentInstructionsOneOf" } model_config = ConfigDict( - populate_by_name=True, validate_assignment=True, protected_namespaces=(), ) - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) + def __init__(self, *args, **kwargs) -> None: + if args: + if len(args) > 1: + raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") + if kwargs: + raise ValueError("If a position argument is used, keyword arguments cannot be used.") + super().__init__(actual_instance=args[0]) + else: + super().__init__(**kwargs) + + @field_validator('actual_instance') + def actual_instance_must_validate_oneof(cls, v): + instance = PaymentInstructions.model_construct() + error_messages = [] + match = 0 + # validate data type: BlockchainDestination + if not isinstance(v, BlockchainDestination): + error_messages.append(f"Error! Input type `{type(v)}` is not `BlockchainDestination`") + else: + match += 1 + # validate data type: PaymentInstructionsOneOf + if not isinstance(v, PaymentInstructionsOneOf): + error_messages.append(f"Error! Input type `{type(v)}` is not `PaymentInstructionsOneOf`") + else: + match += 1 + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when setting `actual_instance` in PaymentInstructions with oneOf schemas: BlockchainDestination, PaymentInstructionsOneOf. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when setting `actual_instance` in PaymentInstructions with oneOf schemas: BlockchainDestination, PaymentInstructionsOneOf. Details: " + ", ".join(error_messages)) + else: + return v @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PaymentInstructions from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of address - if self.address: - _dict['address'] = self.address.to_dict() - return _dict + def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self: + return cls.from_json(json.dumps(obj)) @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PaymentInstructions from a dict""" - if obj is None: + def from_json(cls, json_str: str) -> Self: + """Returns the object represented by the json string""" + instance = cls.model_construct() + error_messages = [] + match = 0 + + # deserialize data into BlockchainDestination + try: + instance.actual_instance = BlockchainDestination.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into PaymentInstructionsOneOf + try: + instance.actual_instance = PaymentInstructionsOneOf.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + + if match > 1: + # more than 1 match + raise ValueError("Multiple matches found when deserializing the JSON string into PaymentInstructions with oneOf schemas: BlockchainDestination, PaymentInstructionsOneOf. Details: " + ", ".join(error_messages)) + elif match == 0: + # no match + raise ValueError("No match found when deserializing the JSON string into PaymentInstructions with oneOf schemas: BlockchainDestination, PaymentInstructionsOneOf. Details: " + ", ".join(error_messages)) + else: + return instance + + def to_json(self) -> str: + """Returns the JSON representation of the actual instance""" + if self.actual_instance is None: + return "null" + + if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): + return self.actual_instance.to_json() + else: + return json.dumps(self.actual_instance) + + def to_dict(self) -> Optional[Union[Dict[str, Any], BlockchainDestination, PaymentInstructionsOneOf]]: + """Returns the dict representation of the actual instance""" + if self.actual_instance is None: return None - if not isinstance(obj, dict): - return cls.model_validate(obj) + if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): + return self.actual_instance.to_dict() + else: + # primitive type + return self.actual_instance - _obj = cls.model_validate({ - "type": obj.get("type"), - "address": MobileMoneyAddress.from_dict(obj["address"]) if obj.get("address") is not None else None, - "referenceId": obj.get("referenceId") - }) - return _obj + def to_str(self) -> str: + """Returns the string representation of the actual instance""" + return pprint.pformat(self.model_dump()) diff --git a/fireblocks/models/trading_error_response_error.py b/fireblocks/models/payment_instructions_one_of.py similarity index 63% rename from fireblocks/models/trading_error_response_error.py rename to fireblocks/models/payment_instructions_one_of.py index 4851eea4..713284a6 100644 --- a/fireblocks/models/trading_error_response_error.py +++ b/fireblocks/models/payment_instructions_one_of.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,24 +20,24 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.error_codes import ErrorCodes +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress from typing import Optional, Set from typing_extensions import Self -class TradingErrorResponseError(BaseModel): +class PaymentInstructionsOneOf(BaseModel): """ - TradingErrorResponseError + PaymentInstructionsOneOf """ # noqa: E501 type: StrictStr - message: StrictStr - error_code: Optional[ErrorCodes] = Field(default=None, alias="errorCode") - __properties: ClassVar[List[str]] = ["type", "message", "errorCode"] + address: EuropeanSEPAAddress + reference_id: Optional[StrictStr] = Field(default=None, alias="referenceId") + __properties: ClassVar[List[str]] = ["type", "address", "referenceId"] @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['INTERNAL', 'AUTHENTICATION', 'AUTHORIZATION', 'VALIDATION', 'NOT_FOUND', 'UNPROCESSABLE_ENTITY', 'FORBIDDEN']): - raise ValueError("must be one of enum values ('INTERNAL', 'AUTHENTICATION', 'AUTHORIZATION', 'VALIDATION', 'NOT_FOUND', 'UNPROCESSABLE_ENTITY', 'FORBIDDEN')") + if value not in set(['EUROPEAN_SEPA']): + raise ValueError("must be one of enum values ('EUROPEAN_SEPA')") return value model_config = ConfigDict( @@ -58,7 +58,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of TradingErrorResponseError from a JSON string""" + """Create an instance of PaymentInstructionsOneOf from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,11 +79,14 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of address + if self.address: + _dict['address'] = self.address.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of TradingErrorResponseError from a dict""" + """Create an instance of PaymentInstructionsOneOf from a dict""" if obj is None: return None @@ -92,8 +95,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "type": obj.get("type"), - "message": obj.get("message"), - "errorCode": obj.get("errorCode") + "address": EuropeanSEPAAddress.from_dict(obj["address"]) if obj.get("address") is not None else None, + "referenceId": obj.get("referenceId") }) return _obj diff --git a/fireblocks/models/payout_init_method.py b/fireblocks/models/payout_init_method.py index 8104065d..74feb08f 100644 --- a/fireblocks/models/payout_init_method.py +++ b/fireblocks/models/payout_init_method.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_instruction.py b/fireblocks/models/payout_instruction.py index d3a45d30..a78e6f90 100644 --- a/fireblocks/models/payout_instruction.py +++ b/fireblocks/models/payout_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_instruction_response.py b/fireblocks/models/payout_instruction_response.py index 1ed2bf06..e3ae1a29 100644 --- a/fireblocks/models/payout_instruction_response.py +++ b/fireblocks/models/payout_instruction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_instruction_state.py b/fireblocks/models/payout_instruction_state.py index 2083bf6d..ba7e3218 100644 --- a/fireblocks/models/payout_instruction_state.py +++ b/fireblocks/models/payout_instruction_state.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_response.py b/fireblocks/models/payout_response.py index 9bd438cc..7c9c8bf9 100644 --- a/fireblocks/models/payout_response.py +++ b/fireblocks/models/payout_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_state.py b/fireblocks/models/payout_state.py index 8a177ef2..0acde3b0 100644 --- a/fireblocks/models/payout_state.py +++ b/fireblocks/models/payout_state.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/payout_status.py b/fireblocks/models/payout_status.py index 0cb028cf..7a4e0561 100644 --- a/fireblocks/models/payout_status.py +++ b/fireblocks/models/payout_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/peer_adapter_info.py b/fireblocks/models/peer_adapter_info.py index 63d1ee0e..b2188a57 100644 --- a/fireblocks/models/peer_adapter_info.py +++ b/fireblocks/models/peer_adapter_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/peer_type.py b/fireblocks/models/peer_type.py index 43ebeb7e..227cd346 100644 --- a/fireblocks/models/peer_type.py +++ b/fireblocks/models/peer_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -29,9 +29,9 @@ class PeerType(str, Enum): """ VAULT_ACCOUNT = 'VAULT_ACCOUNT' EXCHANGE_ACCOUNT = 'EXCHANGE_ACCOUNT' - INTERNAL_WALLET = 'INTERNAL_WALLET' - EXTERNAL_WALLET = 'EXTERNAL_WALLET' + UNMANAGED_WALLET = 'UNMANAGED_WALLET' FIAT_ACCOUNT = 'FIAT_ACCOUNT' + CONNECTED_ACCOUNT = 'CONNECTED_ACCOUNT' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fireblocks/models/personal_entity_type_enum.py b/fireblocks/models/personal_entity_type_enum.py new file mode 100644 index 00000000..4de6e3b2 --- /dev/null +++ b/fireblocks/models/personal_entity_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class PersonalEntityTypeEnum(str, Enum): + """ + PersonalEntityTypeEnum + """ + + """ + allowed enum values + """ + INDIVIDUAL = 'INDIVIDUAL' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of PersonalEntityTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/personal_identification.py b/fireblocks/models/personal_identification.py index 48377488..8149a6b7 100644 --- a/fireblocks/models/personal_identification.py +++ b/fireblocks/models/personal_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,8 +20,10 @@ from datetime import date from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from fireblocks.models.participant_relationship_type import ParticipantRelationshipType +from fireblocks.models.personal_entity_type_enum import PersonalEntityTypeEnum from fireblocks.models.personal_identification_full_name import PersonalIdentificationFullName from fireblocks.models.postal_address import PostalAddress from typing import Optional, Set @@ -32,18 +34,23 @@ class PersonalIdentification(BaseModel): PersonalIdentification """ # noqa: E501 external_reference_id: StrictStr = Field(alias="externalReferenceId") - entity_type: StrictStr = Field(alias="entityType") + entity_type: PersonalEntityTypeEnum = Field(alias="entityType") participant_relationship_type: ParticipantRelationshipType = Field(alias="participantRelationshipType") full_name: PersonalIdentificationFullName = Field(alias="fullName") date_of_birth: date = Field(alias="dateOfBirth") postal_address: PostalAddress = Field(alias="postalAddress") - __properties: ClassVar[List[str]] = ["externalReferenceId", "entityType", "participantRelationshipType", "fullName", "dateOfBirth", "postalAddress"] - - @field_validator('entity_type') - def entity_type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['INDIVIDUAL']): - raise ValueError("must be one of enum values ('INDIVIDUAL')") + email: Optional[StrictStr] = None + phone: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Mobile phone number in E.164 format") + __properties: ClassVar[List[str]] = ["externalReferenceId", "entityType", "participantRelationshipType", "fullName", "dateOfBirth", "postalAddress", "email", "phone"] + + @field_validator('phone') + def phone_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") return value model_config = ConfigDict( @@ -108,7 +115,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "participantRelationshipType": obj.get("participantRelationshipType"), "fullName": PersonalIdentificationFullName.from_dict(obj["fullName"]) if obj.get("fullName") is not None else None, "dateOfBirth": obj.get("dateOfBirth"), - "postalAddress": PostalAddress.from_dict(obj["postalAddress"]) if obj.get("postalAddress") is not None else None + "postalAddress": PostalAddress.from_dict(obj["postalAddress"]) if obj.get("postalAddress") is not None else None, + "email": obj.get("email"), + "phone": obj.get("phone") }) return _obj diff --git a/fireblocks/models/personal_identification_full_name.py b/fireblocks/models/personal_identification_full_name.py index 64c557e7..7f7962e0 100644 --- a/fireblocks/models/personal_identification_full_name.py +++ b/fireblocks/models/personal_identification_full_name.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pix_address.py b/fireblocks/models/pix_address.py index 8ff551aa..3d1fa215 100644 --- a/fireblocks/models/pix_address.py +++ b/fireblocks/models/pix_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pix_destination.py b/fireblocks/models/pix_destination.py index c824eebe..e300d0cf 100644 --- a/fireblocks/models/pix_destination.py +++ b/fireblocks/models/pix_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pix_payment_info.py b/fireblocks/models/pix_payment_info.py index 96285b5b..992ab483 100644 --- a/fireblocks/models/pix_payment_info.py +++ b/fireblocks/models/pix_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/platform_account.py b/fireblocks/models/platform_account.py index 715fabf9..7f38be3a 100644 --- a/fireblocks/models/platform_account.py +++ b/fireblocks/models/platform_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from fireblocks.models.platform_peer_type import PlatformPeerType from typing import Optional, Set from typing_extensions import Self @@ -27,17 +28,10 @@ class PlatformAccount(BaseModel): """ PlatformAccount """ # noqa: E501 - type: StrictStr + type: PlatformPeerType account_id: StrictStr = Field(alias="accountId") __properties: ClassVar[List[str]] = ["type", "accountId"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['VAULT_ACCOUNT', 'CONNECTED_ACCOUNT', 'FIAT_ACCOUNT']): - raise ValueError("must be one of enum values ('VAULT_ACCOUNT', 'CONNECTED_ACCOUNT', 'FIAT_ACCOUNT')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/platform_peer_type.py b/fireblocks/models/platform_peer_type.py new file mode 100644 index 00000000..2ff8861e --- /dev/null +++ b/fireblocks/models/platform_peer_type.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class PlatformPeerType(str, Enum): + """ + PlatformPeerType + """ + + """ + allowed enum values + """ + VAULT_ACCOUNT = 'VAULT_ACCOUNT' + CONNECTED_ACCOUNT = 'CONNECTED_ACCOUNT' + FIAT_ACCOUNT = 'FIAT_ACCOUNT' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of PlatformPeerType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/players.py b/fireblocks/models/players.py index 9efb897c..86e665c3 100644 --- a/fireblocks/models/players.py +++ b/fireblocks/models/players.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_and_validation_response.py b/fireblocks/models/policy_and_validation_response.py index 82421fed..36c250df 100644 --- a/fireblocks/models/policy_and_validation_response.py +++ b/fireblocks/models/policy_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_check_result.py b/fireblocks/models/policy_check_result.py index 25631826..2f776a33 100644 --- a/fireblocks/models/policy_check_result.py +++ b/fireblocks/models/policy_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_currency.py b/fireblocks/models/policy_currency.py index aa1b9e0e..038c4678 100644 --- a/fireblocks/models/policy_currency.py +++ b/fireblocks/models/policy_currency.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_metadata.py b/fireblocks/models/policy_metadata.py index 74fac117..f20288a9 100644 --- a/fireblocks/models/policy_metadata.py +++ b/fireblocks/models/policy_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_operator.py b/fireblocks/models/policy_operator.py index e056dfa3..fe8d047d 100644 --- a/fireblocks/models/policy_operator.py +++ b/fireblocks/models/policy_operator.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_response.py b/fireblocks/models/policy_response.py index 160d9a7c..8bdaf204 100644 --- a/fireblocks/models/policy_response.py +++ b/fireblocks/models/policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_rule.py b/fireblocks/models/policy_rule.py index c7243e70..b459d7f8 100644 --- a/fireblocks/models/policy_rule.py +++ b/fireblocks/models/policy_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_rule_check_result.py b/fireblocks/models/policy_rule_check_result.py index 1cbac05e..ef5c9b00 100644 --- a/fireblocks/models/policy_rule_check_result.py +++ b/fireblocks/models/policy_rule_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_rule_error.py b/fireblocks/models/policy_rule_error.py index 06740966..f2f72b79 100644 --- a/fireblocks/models/policy_rule_error.py +++ b/fireblocks/models/policy_rule_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_status.py b/fireblocks/models/policy_status.py index 61bae192..b7d9524e 100644 --- a/fireblocks/models/policy_status.py +++ b/fireblocks/models/policy_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_tag.py b/fireblocks/models/policy_tag.py index b6283795..ff8dbfa1 100644 --- a/fireblocks/models/policy_tag.py +++ b/fireblocks/models/policy_tag.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_type.py b/fireblocks/models/policy_type.py index 59622c81..2dd45487 100644 --- a/fireblocks/models/policy_type.py +++ b/fireblocks/models/policy_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_validation.py b/fireblocks/models/policy_validation.py index 6cfa966b..5a1b8b23 100644 --- a/fireblocks/models/policy_validation.py +++ b/fireblocks/models/policy_validation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_verdict_action_enum.py b/fireblocks/models/policy_verdict_action_enum.py index c2c4b5dc..3e50f543 100644 --- a/fireblocks/models/policy_verdict_action_enum.py +++ b/fireblocks/models/policy_verdict_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/policy_verdict_action_enum2.py b/fireblocks/models/policy_verdict_action_enum2.py index ca7d5a99..ce4084ee 100644 --- a/fireblocks/models/policy_verdict_action_enum2.py +++ b/fireblocks/models/policy_verdict_action_enum2.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/postal_address.py b/fireblocks/models/postal_address.py index e29058e1..20e25d3d 100644 --- a/fireblocks/models/postal_address.py +++ b/fireblocks/models/postal_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/pre_screening.py b/fireblocks/models/pre_screening.py index f8c1adbd..47aa1e92 100644 --- a/fireblocks/models/pre_screening.py +++ b/fireblocks/models/pre_screening.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/prefunded_settlement.py b/fireblocks/models/prefunded_settlement.py index e066be37..c73dac0d 100644 --- a/fireblocks/models/prefunded_settlement.py +++ b/fireblocks/models/prefunded_settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from fireblocks.models.account_reference import AccountReference +from fireblocks.models.prefunded_settlement_type import PrefundedSettlementType from typing import Optional, Set from typing_extensions import Self @@ -28,17 +29,10 @@ class PrefundedSettlement(BaseModel): """ PrefundedSettlement """ # noqa: E501 - type: StrictStr + type: PrefundedSettlementType destination_account: AccountReference = Field(alias="destinationAccount") __properties: ClassVar[List[str]] = ["type", "destinationAccount"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['PREFUNDED']): - raise ValueError("must be one of enum values ('PREFUNDED')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/prefunded_settlement_type.py b/fireblocks/models/prefunded_settlement_type.py new file mode 100644 index 00000000..41209b4c --- /dev/null +++ b/fireblocks/models/prefunded_settlement_type.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class PrefundedSettlementType(str, Enum): + """ + PrefundedSettlementType + """ + + """ + allowed enum values + """ + PREFUNDED = 'PREFUNDED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of PrefundedSettlementType from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/program_call_config.py b/fireblocks/models/program_call_config.py index 98191fa1..c3f5aff5 100644 --- a/fireblocks/models/program_call_config.py +++ b/fireblocks/models/program_call_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/provider.py b/fireblocks/models/provider.py index 97837e8b..c495dba0 100644 --- a/fireblocks/models/provider.py +++ b/fireblocks/models/provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/providers_list_response.py b/fireblocks/models/providers_list_response.py index ab9d1e91..0f7db398 100644 --- a/fireblocks/models/providers_list_response.py +++ b/fireblocks/models/providers_list_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/public_key_information.py b/fireblocks/models/public_key_information.py index 67a6f2da..bdff2230 100644 --- a/fireblocks/models/public_key_information.py +++ b/fireblocks/models/public_key_information.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/publish_draft_request.py b/fireblocks/models/publish_draft_request.py index ec3a0c4b..60893c1a 100644 --- a/fireblocks/models/publish_draft_request.py +++ b/fireblocks/models/publish_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/publish_result.py b/fireblocks/models/publish_result.py index d99260f5..78ff439b 100644 --- a/fireblocks/models/publish_result.py +++ b/fireblocks/models/publish_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/quote.py b/fireblocks/models/quote.py index 37bdd828..32094464 100644 --- a/fireblocks/models/quote.py +++ b/fireblocks/models/quote.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,12 +18,13 @@ import re # noqa: F401 import json -from datetime import datetime -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from fireblocks.models.access_type import AccessType -from fireblocks.models.execution_step_details import ExecutionStepDetails from fireblocks.models.fee import Fee +from fireblocks.models.indicative_quote_enum import IndicativeQuoteEnum +from fireblocks.models.quote_execution_step import QuoteExecutionStep +from fireblocks.models.side import Side from typing import Optional, Set from typing_extensions import Self @@ -33,32 +34,18 @@ class Quote(BaseModel): """ # noqa: E501 via: AccessType id: StrictStr - type: StrictStr = Field(description="Indicates this is an indicative quote") quote_asset_id: StrictStr = Field(alias="quoteAssetId") base_asset_id: StrictStr = Field(alias="baseAssetId") base_amount: StrictStr = Field(alias="baseAmount") quote_amount: StrictStr = Field(alias="quoteAmount") price_impact: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="priceImpact") quote_min_amount: Optional[StrictStr] = Field(default=None, alias="quoteMinAmount") - execution_steps: Optional[List[ExecutionStepDetails]] = Field(default=None, alias="executionSteps") + execution_steps: Optional[List[QuoteExecutionStep]] = Field(default=None, alias="executionSteps") general_fees: Optional[List[Fee]] = Field(default=None, alias="generalFees") - side: StrictStr = Field(description="Side of the order") - expires_at: datetime = Field(description="ISO 8601 timestamp of the expiration time of the quote.", alias="expiresAt") - __properties: ClassVar[List[str]] = ["via", "id", "type", "quoteAssetId", "baseAssetId", "baseAmount", "quoteAmount", "priceImpact", "quoteMinAmount", "executionSteps", "generalFees", "side", "expiresAt"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['INDICATIVE']): - raise ValueError("must be one of enum values ('INDICATIVE')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value + side: Side + expires_at: StrictStr = Field(description="The expiration time of the quote in ISO format.", alias="expiresAt") + type: IndicativeQuoteEnum + __properties: ClassVar[List[str]] = ["via", "id", "quoteAssetId", "baseAssetId", "baseAmount", "quoteAmount", "priceImpact", "quoteMinAmount", "executionSteps", "generalFees", "side", "expiresAt", "type"] model_config = ConfigDict( populate_by_name=True, @@ -130,17 +117,17 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "via": AccessType.from_dict(obj["via"]) if obj.get("via") is not None else None, "id": obj.get("id"), - "type": obj.get("type"), "quoteAssetId": obj.get("quoteAssetId"), "baseAssetId": obj.get("baseAssetId"), "baseAmount": obj.get("baseAmount"), "quoteAmount": obj.get("quoteAmount"), "priceImpact": obj.get("priceImpact"), "quoteMinAmount": obj.get("quoteMinAmount"), - "executionSteps": [ExecutionStepDetails.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, + "executionSteps": [QuoteExecutionStep.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, "generalFees": [Fee.from_dict(_item) for _item in obj["generalFees"]] if obj.get("generalFees") is not None else None, "side": obj.get("side"), - "expiresAt": obj.get("expiresAt") + "expiresAt": obj.get("expiresAt"), + "type": obj.get("type") }) return _obj diff --git a/fireblocks/models/quote_execution_request_details.py b/fireblocks/models/quote_execution_request_details.py index 852ea9e4..1f8e9e7e 100644 --- a/fireblocks/models/quote_execution_request_details.py +++ b/fireblocks/models/quote_execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from fireblocks.models.quote_type_enum import QuoteTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -27,17 +28,10 @@ class QuoteExecutionRequestDetails(BaseModel): """ QuoteExecutionRequestDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for quote orders") + type: QuoteTypeEnum quote_id: StrictStr = Field(description="Quote ID for quote orders", alias="quoteId") __properties: ClassVar[List[str]] = ["type", "quoteId"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['QUOTE']): - raise ValueError("must be one of enum values ('QUOTE')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/quote_execution_response_details.py b/fireblocks/models/quote_execution_response_details.py deleted file mode 100644 index 086c126e..00000000 --- a/fireblocks/models/quote_execution_response_details.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from fireblocks.models.transfer_rail import TransferRail -from typing import Optional, Set -from typing_extensions import Self - -class QuoteExecutionResponseDetails(BaseModel): - """ - QuoteExecutionResponseDetails - """ # noqa: E501 - type: StrictStr = Field(description="Order type for quote orders") - quote_id: StrictStr = Field(description="Quote ID for quote orders", alias="quoteId") - quote_amount: StrictStr = Field(description="Quote amount for quote orders", alias="quoteAmount") - side: StrictStr = Field(description="Side of the order") - base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") - base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") - base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") - quote_asset_id: StrictStr = Field(description="Target asset identifier", alias="quoteAssetId") - quote_asset_rail: Optional[TransferRail] = Field(default=None, alias="quoteAssetRail") - __properties: ClassVar[List[str]] = ["type", "quoteId", "quoteAmount", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['QUOTE']): - raise ValueError("must be one of enum values ('QUOTE')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of QuoteExecutionResponseDetails from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of QuoteExecutionResponseDetails from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "type": obj.get("type"), - "quoteId": obj.get("quoteId"), - "quoteAmount": obj.get("quoteAmount"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', - "baseAmount": obj.get("baseAmount"), - "baseAssetId": obj.get("baseAssetId"), - "baseAssetRail": obj.get("baseAssetRail"), - "quoteAssetId": obj.get("quoteAssetId"), - "quoteAssetRail": obj.get("quoteAssetRail") - }) - return _obj - - diff --git a/fireblocks/models/execution_step_details.py b/fireblocks/models/quote_execution_step.py similarity index 81% rename from fireblocks/models/execution_step_details.py rename to fireblocks/models/quote_execution_step.py index 7c5e814a..3a13af7f 100644 --- a/fireblocks/models/execution_step_details.py +++ b/fireblocks/models/quote_execution_step.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -25,9 +25,9 @@ from typing import Optional, Set from typing_extensions import Self -class ExecutionStepDetails(BaseModel): +class QuoteExecutionStep(BaseModel): """ - ExecutionStepDetails + QuoteExecutionStep """ # noqa: E501 type: ExecutionStepType fee: Optional[Fee] = None @@ -51,7 +51,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ExecutionStepDetails from a JSON string""" + """Create an instance of QuoteExecutionStep from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,7 +79,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ExecutionStepDetails from a dict""" + """Create an instance of QuoteExecutionStep from a dict""" if obj is None: return None diff --git a/fireblocks/models/quote_execution_type_details.py b/fireblocks/models/quote_execution_type_details.py index ac295f0d..b7f23fdc 100644 --- a/fireblocks/models/quote_execution_type_details.py +++ b/fireblocks/models/quote_execution_type_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from fireblocks.models.quote_type_enum import QuoteTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -27,18 +28,11 @@ class QuoteExecutionTypeDetails(BaseModel): """ QuoteExecutionTypeDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for quote orders") + type: QuoteTypeEnum quote_id: StrictStr = Field(description="Quote ID for quote orders", alias="quoteId") quote_amount: StrictStr = Field(description="Quote amount for quote orders", alias="quoteAmount") __properties: ClassVar[List[str]] = ["type", "quoteId", "quoteAmount"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['QUOTE']): - raise ValueError("must be one of enum values ('QUOTE')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/quote_execution_with_requote_request_details.py b/fireblocks/models/quote_execution_with_requote_request_details.py index f580ca92..95ae7c0e 100644 --- a/fireblocks/models/quote_execution_with_requote_request_details.py +++ b/fireblocks/models/quote_execution_with_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.quote_type_enum import QuoteTypeEnum from fireblocks.models.re_quote_details_re_quote import ReQuoteDetailsReQuote from typing import Optional, Set from typing_extensions import Self @@ -28,18 +29,11 @@ class QuoteExecutionWithRequoteRequestDetails(BaseModel): """ QuoteExecutionWithRequoteRequestDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for quote orders") + type: QuoteTypeEnum quote_id: StrictStr = Field(description="Quote ID for quote orders", alias="quoteId") re_quote: Optional[ReQuoteDetailsReQuote] = Field(default=None, alias="reQuote") __properties: ClassVar[List[str]] = ["type", "quoteId", "reQuote"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['QUOTE']): - raise ValueError("must be one of enum values ('QUOTE')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/quote_execution_with_requote_response_details.py b/fireblocks/models/quote_execution_with_requote_response_details.py index 29f016ab..d79a0bf8 100644 --- a/fireblocks/models/quote_execution_with_requote_response_details.py +++ b/fireblocks/models/quote_execution_with_requote_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.quote_type_enum import QuoteTypeEnum from fireblocks.models.re_quote_details_re_quote import ReQuoteDetailsReQuote +from fireblocks.models.side import Side from fireblocks.models.transfer_rail import TransferRail from typing import Optional, Set from typing_extensions import Self @@ -29,10 +31,10 @@ class QuoteExecutionWithRequoteResponseDetails(BaseModel): """ QuoteExecutionWithRequoteResponseDetails """ # noqa: E501 - type: StrictStr = Field(description="Order type for quote orders") + type: QuoteTypeEnum quote_id: StrictStr = Field(description="Quote ID for quote orders", alias="quoteId") quote_amount: StrictStr = Field(description="Quote amount for quote orders", alias="quoteAmount") - side: StrictStr = Field(description="Side of the order") + side: Side base_amount: StrictStr = Field(description="Amount to convert", alias="baseAmount") base_asset_id: StrictStr = Field(description="Source asset identifier", alias="baseAssetId") base_asset_rail: Optional[TransferRail] = Field(default=None, alias="baseAssetRail") @@ -41,20 +43,6 @@ class QuoteExecutionWithRequoteResponseDetails(BaseModel): re_quote: Optional[ReQuoteDetailsReQuote] = Field(default=None, alias="reQuote") __properties: ClassVar[List[str]] = ["type", "quoteId", "quoteAmount", "side", "baseAmount", "baseAssetId", "baseAssetRail", "quoteAssetId", "quoteAssetRail", "reQuote"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['QUOTE']): - raise ValueError("must be one of enum values ('QUOTE')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -112,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "type": obj.get("type"), "quoteId": obj.get("quoteId"), "quoteAmount": obj.get("quoteAmount"), - "side": obj.get("side") if obj.get("side") is not None else 'BUY', + "side": obj.get("side"), "baseAmount": obj.get("baseAmount"), "baseAssetId": obj.get("baseAssetId"), "baseAssetRail": obj.get("baseAssetRail"), diff --git a/fireblocks/models/quote_properties_details.py b/fireblocks/models/quote_properties_details.py index b1e5a446..c86624be 100644 --- a/fireblocks/models/quote_properties_details.py +++ b/fireblocks/models/quote_properties_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,11 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union from fireblocks.models.access_type import AccessType -from fireblocks.models.execution_step_details import ExecutionStepDetails from fireblocks.models.fee import Fee +from fireblocks.models.quote_execution_step import QuoteExecutionStep +from fireblocks.models.side import Side from typing import Optional, Set from typing_extensions import Self @@ -32,31 +33,17 @@ class QuotePropertiesDetails(BaseModel): """ # noqa: E501 via: AccessType id: StrictStr - type: StrictStr quote_asset_id: StrictStr = Field(alias="quoteAssetId") base_asset_id: StrictStr = Field(alias="baseAssetId") base_amount: StrictStr = Field(alias="baseAmount") quote_amount: StrictStr = Field(alias="quoteAmount") price_impact: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="priceImpact") quote_min_amount: Optional[StrictStr] = Field(default=None, alias="quoteMinAmount") - execution_steps: Optional[List[ExecutionStepDetails]] = Field(default=None, alias="executionSteps") + execution_steps: Optional[List[QuoteExecutionStep]] = Field(default=None, alias="executionSteps") general_fees: Optional[List[Fee]] = Field(default=None, alias="generalFees") - side: StrictStr = Field(description="Side of the order") - __properties: ClassVar[List[str]] = ["via", "id", "type", "quoteAssetId", "baseAssetId", "baseAmount", "quoteAmount", "priceImpact", "quoteMinAmount", "executionSteps", "generalFees", "side"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['COMMITTED', 'INDICATIVE']): - raise ValueError("must be one of enum values ('COMMITTED', 'INDICATIVE')") - return value - - @field_validator('side') - def side_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['BUY', 'SELL']): - raise ValueError("must be one of enum values ('BUY', 'SELL')") - return value + side: Side + expires_at: StrictStr = Field(description="The expiration time of the quote in ISO format.", alias="expiresAt") + __properties: ClassVar[List[str]] = ["via", "id", "quoteAssetId", "baseAssetId", "baseAmount", "quoteAmount", "priceImpact", "quoteMinAmount", "executionSteps", "generalFees", "side", "expiresAt"] model_config = ConfigDict( populate_by_name=True, @@ -128,16 +115,16 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "via": AccessType.from_dict(obj["via"]) if obj.get("via") is not None else None, "id": obj.get("id"), - "type": obj.get("type"), "quoteAssetId": obj.get("quoteAssetId"), "baseAssetId": obj.get("baseAssetId"), "baseAmount": obj.get("baseAmount"), "quoteAmount": obj.get("quoteAmount"), "priceImpact": obj.get("priceImpact"), "quoteMinAmount": obj.get("quoteMinAmount"), - "executionSteps": [ExecutionStepDetails.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, + "executionSteps": [QuoteExecutionStep.from_dict(_item) for _item in obj["executionSteps"]] if obj.get("executionSteps") is not None else None, "generalFees": [Fee.from_dict(_item) for _item in obj["generalFees"]] if obj.get("generalFees") is not None else None, - "side": obj.get("side") + "side": obj.get("side"), + "expiresAt": obj.get("expiresAt") }) return _obj diff --git a/fireblocks/models/quote_type_enum.py b/fireblocks/models/quote_type_enum.py new file mode 100644 index 00000000..6822d5a1 --- /dev/null +++ b/fireblocks/models/quote_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class QuoteTypeEnum(str, Enum): + """ + Order type for quote orders + """ + + """ + allowed enum values + """ + QUOTE = 'QUOTE' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of QuoteTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/quotes_response.py b/fireblocks/models/quotes_response.py index a9e78e3f..bb25c339 100644 --- a/fireblocks/models/quotes_response.py +++ b/fireblocks/models/quotes_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/re_quote_details.py b/fireblocks/models/re_quote_details.py index dfb2a835..857160ba 100644 --- a/fireblocks/models/re_quote_details.py +++ b/fireblocks/models/re_quote_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/re_quote_details_re_quote.py b/fireblocks/models/re_quote_details_re_quote.py index 1fb57666..ba2d09bc 100644 --- a/fireblocks/models/re_quote_details_re_quote.py +++ b/fireblocks/models/re_quote_details_re_quote.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/read_abi_function.py b/fireblocks/models/read_abi_function.py index ae8e88a4..dba0319b 100644 --- a/fireblocks/models/read_abi_function.py +++ b/fireblocks/models/read_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/read_call_function_dto.py b/fireblocks/models/read_call_function_dto.py index 82b39b47..d0b968e8 100644 --- a/fireblocks/models/read_call_function_dto.py +++ b/fireblocks/models/read_call_function_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/read_call_function_dto_abi_function.py b/fireblocks/models/read_call_function_dto_abi_function.py index fd80a520..17142db5 100644 --- a/fireblocks/models/read_call_function_dto_abi_function.py +++ b/fireblocks/models/read_call_function_dto_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/redeem_funds_to_linked_dda_response.py b/fireblocks/models/redeem_funds_to_linked_dda_response.py index 15c7ab65..63f46b3a 100644 --- a/fireblocks/models/redeem_funds_to_linked_dda_response.py +++ b/fireblocks/models/redeem_funds_to_linked_dda_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/register_new_asset_request.py b/fireblocks/models/register_new_asset_request.py index 62ebd1cc..6ff04775 100644 --- a/fireblocks/models/register_new_asset_request.py +++ b/fireblocks/models/register_new_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -28,7 +28,7 @@ class RegisterNewAssetRequest(BaseModel): RegisterNewAssetRequest """ # noqa: E501 blockchain_id: StrictStr = Field(description="Native asset ID of the blockchain", alias="blockchainId") - address: StrictStr = Field(description="Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address - Sui: token's type ") + address: StrictStr = Field(description="Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address - Sui: token's type - TON: token's address ") symbol: Optional[StrictStr] = Field(default=None, description="Required for Stellar only, asset code is expected.") __properties: ClassVar[List[str]] = ["blockchainId", "address", "symbol"] diff --git a/fireblocks/models/reissue_multichain_token_request.py b/fireblocks/models/reissue_multichain_token_request.py index ab73884c..0c113c56 100644 --- a/fireblocks/models/reissue_multichain_token_request.py +++ b/fireblocks/models/reissue_multichain_token_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/related_request.py b/fireblocks/models/related_request.py index cfb200e6..76d5f9b8 100644 --- a/fireblocks/models/related_request.py +++ b/fireblocks/models/related_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,7 +19,7 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from typing import Any, ClassVar, Dict, List from typing import Optional, Set from typing_extensions import Self @@ -29,8 +29,8 @@ class RelatedRequest(BaseModel): """ # noqa: E501 status: StrictStr = Field(description="The status of the request") in_progress: StrictBool = Field(description="Indicates whether there is an ongoing action for this position related to this request", alias="inProgress") - amount: StrictStr = Field(description="Amount of tokens to Unstake") - tx_id: Optional[StrictStr] = Field(default=None, description="The transaction ID of the ongoing request", alias="txId") + amount: StrictStr = Field(description="Amount of tokens") + tx_id: StrictStr = Field(description="The transaction ID of the ongoing request", alias="txId") __properties: ClassVar[List[str]] = ["status", "inProgress", "amount", "txId"] @field_validator('status') diff --git a/fireblocks/models/related_transaction.py b/fireblocks/models/related_transaction.py index 48cfa242..475dce10 100644 --- a/fireblocks/models/related_transaction.py +++ b/fireblocks/models/related_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_collateral_request_body.py b/fireblocks/models/remove_collateral_request_body.py index 16d03d53..dfdcfba8 100644 --- a/fireblocks/models/remove_collateral_request_body.py +++ b/fireblocks/models/remove_collateral_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_layer_zero_adapter_failed_result.py b/fireblocks/models/remove_layer_zero_adapter_failed_result.py index 721ad7af..503fa7d9 100644 --- a/fireblocks/models/remove_layer_zero_adapter_failed_result.py +++ b/fireblocks/models/remove_layer_zero_adapter_failed_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_layer_zero_adapters_request.py b/fireblocks/models/remove_layer_zero_adapters_request.py index cbfa1c92..715cf593 100644 --- a/fireblocks/models/remove_layer_zero_adapters_request.py +++ b/fireblocks/models/remove_layer_zero_adapters_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_layer_zero_adapters_response.py b/fireblocks/models/remove_layer_zero_adapters_response.py index c04c6228..ad7e9ee8 100644 --- a/fireblocks/models/remove_layer_zero_adapters_response.py +++ b/fireblocks/models/remove_layer_zero_adapters_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_layer_zero_peers_request.py b/fireblocks/models/remove_layer_zero_peers_request.py index a82d6515..908c28a6 100644 --- a/fireblocks/models/remove_layer_zero_peers_request.py +++ b/fireblocks/models/remove_layer_zero_peers_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/remove_layer_zero_peers_response.py b/fireblocks/models/remove_layer_zero_peers_response.py index 33517c13..32690954 100644 --- a/fireblocks/models/remove_layer_zero_peers_response.py +++ b/fireblocks/models/remove_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/rename_connected_account_request.py b/fireblocks/models/rename_connected_account_request.py new file mode 100644 index 00000000..464b06e1 --- /dev/null +++ b/fireblocks/models/rename_connected_account_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class RenameConnectedAccountRequest(BaseModel): + """ + RenameConnectedAccountRequest + """ # noqa: E501 + account_name: StrictStr = Field(description="The new name for the connected account", alias="accountName") + __properties: ClassVar[List[str]] = ["accountName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RenameConnectedAccountRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RenameConnectedAccountRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accountName": obj.get("accountName") + }) + return _obj + + diff --git a/fireblocks/models/rename_connected_account_response.py b/fireblocks/models/rename_connected_account_response.py new file mode 100644 index 00000000..a470b8c9 --- /dev/null +++ b/fireblocks/models/rename_connected_account_response.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class RenameConnectedAccountResponse(str, Enum): + """ + Status of the rename operation + """ + + """ + allowed enum values + """ + SUCCESS = 'SUCCESS' + UNAUTHORISED__USER = 'UNAUTHORISED__USER' + UNAUTHORISED__DEVICE = 'UNAUTHORISED__DEVICE' + INVALID_UNMANAGED_WALLET = 'INVALID_UNMANAGED_WALLET' + INVALID_EXCHANGE_ACCOUNT = 'INVALID_EXCHANGE_ACCOUNT' + NO_ACTIVE_ADMINS = 'NO_ACTIVE_ADMINS' + TIMEOUT = 'TIMEOUT' + INVALID_PARAMETERS = 'INVALID_PARAMETERS' + INTERNAL_ERROR = 'INTERNAL_ERROR' + INVALID_CREDENTIALS = 'INVALID_CREDENTIALS' + INVALID_OTP = 'INVALID_OTP' + INVALID_OTP_METHOD = 'INVALID_OTP_METHOD' + INVALID_NETWORK_CONNECTION = 'INVALID_NETWORK_CONNECTION' + NETWORK_CONNECTION_EXISTS = 'NETWORK_CONNECTION_EXISTS' + INVALID_CREDENTIALS__UNSUPPORTED_PROVIDER = 'INVALID_CREDENTIALS__UNSUPPORTED_PROVIDER' + UNSUPPORTED_ALGORITHM = 'UNSUPPORTED_ALGORITHM' + INVALID_CREDENTIALS__IP_WHITELISTING = 'INVALID_CREDENTIALS__IP_WHITELISTING' + INVALID_CREDENTIALS__OTP_FAILED = 'INVALID_CREDENTIALS__OTP_FAILED' + UNSUPPORTED_ASSET = 'UNSUPPORTED_ASSET' + ASSET_ALREADY_EXISTS = 'ASSET_ALREADY_EXISTS' + ENV_UNSUPPORTED_ASSET = 'ENV_UNSUPPORTED_ASSET' + NO_CONFIG_CHANGE_NEEDED = 'NO_CONFIG_CHANGE_NEEDED' + SIMILAR_REQUEST_ALREADY_PENDING = 'SIMILAR_REQUEST_ALREADY_PENDING' + CLOUD_COSIGNER_ALREADY_EXISTS = 'CLOUD_COSIGNER_ALREADY_EXISTS' + ILLEGAL_OPERATION = 'ILLEGAL_OPERATION' + OVERRIDING_PENDING_REQUEST = 'OVERRIDING_PENDING_REQUEST' + OWNER_NOT_IN_GROUP = 'OWNER_NOT_IN_GROUP' + INVALID_THIRD_PARTY_ACCOUNT_HIERARCHY = 'INVALID_THIRD_PARTY_ACCOUNT_HIERARCHY' + EXTERNAL_KEY_VALIDATION_FAILED = 'EXTERNAL_KEY_VALIDATION_FAILED' + NO_AVAILABLE_EXTERNAL_KEYS = 'NO_AVAILABLE_EXTERNAL_KEYS' + INVALID_PROOF_OF_OWNERSHIP_SIGNATURE = 'INVALID_PROOF_OF_OWNERSHIP_SIGNATURE' + USER_HAS_EXTERNAL_KEYS = 'USER_HAS_EXTERNAL_KEYS' + SCHEMA_ALREADY_EXISTS = 'SCHEMA_ALREADY_EXISTS' + SCHEMA_ID_OUT_OF_RANGE = 'SCHEMA_ID_OUT_OF_RANGE' + FORBIDDEN_SSO_IDP_DOMAIN = 'FORBIDDEN_SSO_IDP_DOMAIN' + UNKNOWN_ERROR = 'UNKNOWN_ERROR' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of RenameConnectedAccountResponse from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/rename_cosigner.py b/fireblocks/models/rename_cosigner.py index 3a3bb88f..6d05a043 100644 --- a/fireblocks/models/rename_cosigner.py +++ b/fireblocks/models/rename_cosigner.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/rename_vault_account_response.py b/fireblocks/models/rename_vault_account_response.py index 1fd454bf..c6ceb87d 100644 --- a/fireblocks/models/rename_vault_account_response.py +++ b/fireblocks/models/rename_vault_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_failed_notifications_job_status_response.py b/fireblocks/models/resend_failed_notifications_job_status_response.py index 695b5d34..b0737d4c 100644 --- a/fireblocks/models/resend_failed_notifications_job_status_response.py +++ b/fireblocks/models/resend_failed_notifications_job_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_failed_notifications_request.py b/fireblocks/models/resend_failed_notifications_request.py index e8c4303e..387a3699 100644 --- a/fireblocks/models/resend_failed_notifications_request.py +++ b/fireblocks/models/resend_failed_notifications_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_failed_notifications_response.py b/fireblocks/models/resend_failed_notifications_response.py index de6ef1b6..a5312866 100644 --- a/fireblocks/models/resend_failed_notifications_response.py +++ b/fireblocks/models/resend_failed_notifications_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_notifications_by_resource_id_request.py b/fireblocks/models/resend_notifications_by_resource_id_request.py index 2c032921..e136f712 100644 --- a/fireblocks/models/resend_notifications_by_resource_id_request.py +++ b/fireblocks/models/resend_notifications_by_resource_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_transaction_webhooks_request.py b/fireblocks/models/resend_transaction_webhooks_request.py index 02324d98..dacd04cc 100644 --- a/fireblocks/models/resend_transaction_webhooks_request.py +++ b/fireblocks/models/resend_transaction_webhooks_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_webhooks_by_transaction_id_response.py b/fireblocks/models/resend_webhooks_by_transaction_id_response.py index f07162d0..5023176d 100644 --- a/fireblocks/models/resend_webhooks_by_transaction_id_response.py +++ b/fireblocks/models/resend_webhooks_by_transaction_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/resend_webhooks_response.py b/fireblocks/models/resend_webhooks_response.py index 0960a432..71e81a2c 100644 --- a/fireblocks/models/resend_webhooks_response.py +++ b/fireblocks/models/resend_webhooks_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/respond_to_connection_request.py b/fireblocks/models/respond_to_connection_request.py index 685a11bf..c3ebcea9 100644 --- a/fireblocks/models/respond_to_connection_request.py +++ b/fireblocks/models/respond_to_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/retry_requote_request_details.py b/fireblocks/models/retry_requote_request_details.py index f8313b30..4fcc5ac4 100644 --- a/fireblocks/models/retry_requote_request_details.py +++ b/fireblocks/models/retry_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional, Union +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from fireblocks.models.retry_requote_type_enum import RetryRequoteTypeEnum from typing import Optional, Set from typing_extensions import Self @@ -28,18 +29,11 @@ class RetryRequoteRequestDetails(BaseModel): """ RetryRequoteRequestDetails """ # noqa: E501 - type: StrictStr = Field(description="Indicates that the order should be re-quoted if the original quote is expired, trying to match the original quote.") - count: Union[Annotated[float, Field(le=10, strict=True, ge=1)], Annotated[int, Field(le=10, strict=True, ge=1)]] = Field(description="If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote.") - slippage_bps: Optional[Union[Annotated[float, Field(le=10000, strict=True, ge=1)], Annotated[int, Field(le=10000, strict=True, ge=1)]]] = Field(default=None, description="Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100%", alias="slippageBps") + type: RetryRequoteTypeEnum + count: Annotated[int, Field(le=10, strict=True, ge=1)] = Field(description="If quote is expired, how many times to re-generate new quotes to try having the order executed as in the original quote.") + slippage_bps: Optional[Annotated[int, Field(le=10000, strict=True, ge=1)]] = Field(default=None, description="Slippage tolerance in basis points (bps) for quote orders - 1 is 0.01% and 10000 is 100%", alias="slippageBps") __properties: ClassVar[List[str]] = ["type", "count", "slippageBps"] - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value not in set(['RETRY']): - raise ValueError("must be one of enum values ('RETRY')") - return value - model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/fireblocks/models/retry_requote_type_enum.py b/fireblocks/models/retry_requote_type_enum.py new file mode 100644 index 00000000..54b977f7 --- /dev/null +++ b/fireblocks/models/retry_requote_type_enum.py @@ -0,0 +1,37 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class RetryRequoteTypeEnum(str, Enum): + """ + Indicates that the order should be re-quoted if the original quote is expired, trying to match the original quote. + """ + + """ + allowed enum values + """ + RETRY = 'RETRY' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of RetryRequoteTypeEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/reward_info.py b/fireblocks/models/reward_info.py index 7d8a1654..0261a84c 100644 --- a/fireblocks/models/reward_info.py +++ b/fireblocks/models/reward_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/rewards_info.py b/fireblocks/models/rewards_info.py index 0832651f..2cf83e61 100644 --- a/fireblocks/models/rewards_info.py +++ b/fireblocks/models/rewards_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/role_details.py b/fireblocks/models/role_details.py new file mode 100644 index 00000000..4e698ccb --- /dev/null +++ b/fireblocks/models/role_details.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from fireblocks.models.role_grantee import RoleGrantee +from typing import Optional, Set +from typing_extensions import Self + +class RoleDetails(BaseModel): + """ + RoleDetails + """ # noqa: E501 + role_hash: StrictStr = Field(description="The role hash identifier", alias="roleHash") + description: StrictStr = Field(description="Human-readable description of the role") + accounts: List[RoleGrantee] = Field(description="List of accounts that have been granted this role") + __properties: ClassVar[List[str]] = ["roleHash", "description", "accounts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RoleDetails from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in accounts (list) + _items = [] + if self.accounts: + for _item_accounts in self.accounts: + if _item_accounts: + _items.append(_item_accounts.to_dict()) + _dict['accounts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RoleDetails from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "roleHash": obj.get("roleHash"), + "description": obj.get("description"), + "accounts": [RoleGrantee.from_dict(_item) for _item in obj["accounts"]] if obj.get("accounts") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/role_grantee.py b/fireblocks/models/role_grantee.py new file mode 100644 index 00000000..f2f8890d --- /dev/null +++ b/fireblocks/models/role_grantee.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class RoleGrantee(BaseModel): + """ + RoleGrantee + """ # noqa: E501 + account_address: StrictStr = Field(description="The address of the account that has been granted the role", alias="accountAddress") + date_of_grant: datetime = Field(description="The date when the role was granted to this account", alias="dateOfGrant") + __properties: ClassVar[List[str]] = ["accountAddress", "dateOfGrant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RoleGrantee from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RoleGrantee from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accountAddress": obj.get("accountAddress"), + "dateOfGrant": obj.get("dateOfGrant") + }) + return _obj + + diff --git a/fireblocks/models/account_provider_id.py b/fireblocks/models/scope_item.py similarity index 75% rename from fireblocks/models/account_provider_id.py rename to fireblocks/models/scope_item.py index fb1ac507..325770f9 100644 --- a/fireblocks/models/account_provider_id.py +++ b/fireblocks/models/scope_item.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,16 +19,16 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self -class AccountProviderID(BaseModel): +class ScopeItem(BaseModel): """ - AccountProviderID + ScopeItem """ # noqa: E501 provider_id: StrictStr = Field(description="The ID of the provider associated with the account.", alias="providerId") - account_id: StrictStr = Field(description="The ID of the account associated with the provider.", alias="accountId") + account_id: Optional[StrictStr] = Field(default=None, description="The ID of the account associated with the provider.", alias="accountId") __properties: ClassVar[List[str]] = ["providerId", "accountId"] model_config = ConfigDict( @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AccountProviderID from a JSON string""" + """Create an instance of ScopeItem from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -74,7 +74,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AccountProviderID from a dict""" + """Create an instance of ScopeItem from a dict""" if obj is None: return None diff --git a/fireblocks/models/screening_alert_exposure_type_enum.py b/fireblocks/models/screening_alert_exposure_type_enum.py index 7f226049..81d69408 100644 --- a/fireblocks/models/screening_alert_exposure_type_enum.py +++ b/fireblocks/models/screening_alert_exposure_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_aml_alert.py b/fireblocks/models/screening_aml_alert.py index 292d0819..30c6efcc 100644 --- a/fireblocks/models/screening_aml_alert.py +++ b/fireblocks/models/screening_aml_alert.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_aml_matched_rule.py b/fireblocks/models/screening_aml_matched_rule.py index 1940d37d..d8da8093 100644 --- a/fireblocks/models/screening_aml_matched_rule.py +++ b/fireblocks/models/screening_aml_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_aml_result.py b/fireblocks/models/screening_aml_result.py index 2f876340..fe32ca10 100644 --- a/fireblocks/models/screening_aml_result.py +++ b/fireblocks/models/screening_aml_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_configurations_request.py b/fireblocks/models/screening_configurations_request.py index df62a4c8..df68286a 100644 --- a/fireblocks/models/screening_configurations_request.py +++ b/fireblocks/models/screening_configurations_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_metadata_config.py b/fireblocks/models/screening_metadata_config.py index 49f857dd..bdacf786 100644 --- a/fireblocks/models/screening_metadata_config.py +++ b/fireblocks/models/screening_metadata_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_operation_execution.py b/fireblocks/models/screening_operation_execution.py index 3f8d9d21..6ef7e357 100644 --- a/fireblocks/models/screening_operation_execution.py +++ b/fireblocks/models/screening_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_operation_execution_output.py b/fireblocks/models/screening_operation_execution_output.py index b71ce59c..778b4294 100644 --- a/fireblocks/models/screening_operation_execution_output.py +++ b/fireblocks/models/screening_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_operation_failure.py b/fireblocks/models/screening_operation_failure.py index cd1be564..60a41b21 100644 --- a/fireblocks/models/screening_operation_failure.py +++ b/fireblocks/models/screening_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_operation_type.py b/fireblocks/models/screening_operation_type.py index 6fd6c083..f2e05d94 100644 --- a/fireblocks/models/screening_operation_type.py +++ b/fireblocks/models/screening_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_policy_response.py b/fireblocks/models/screening_policy_response.py index 4e2e01aa..1d2defa0 100644 --- a/fireblocks/models/screening_policy_response.py +++ b/fireblocks/models/screening_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_provider_rules_configuration_response.py b/fireblocks/models/screening_provider_rules_configuration_response.py index 88d96311..f2ad8232 100644 --- a/fireblocks/models/screening_provider_rules_configuration_response.py +++ b/fireblocks/models/screening_provider_rules_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_risk_level_enum.py b/fireblocks/models/screening_risk_level_enum.py index 4e23c281..24510d4f 100644 --- a/fireblocks/models/screening_risk_level_enum.py +++ b/fireblocks/models/screening_risk_level_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_tr_link_amount.py b/fireblocks/models/screening_tr_link_amount.py index edf70910..545ff666 100644 --- a/fireblocks/models/screening_tr_link_amount.py +++ b/fireblocks/models/screening_tr_link_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_tr_link_missing_trm_decision.py b/fireblocks/models/screening_tr_link_missing_trm_decision.py index c980ceac..63f114f0 100644 --- a/fireblocks/models/screening_tr_link_missing_trm_decision.py +++ b/fireblocks/models/screening_tr_link_missing_trm_decision.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,7 +34,7 @@ class ScreeningTRLinkMissingTrmDecision(BaseModel): """ Interface for reporting missing TRM screening decisions in ITRLinkResult """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TrlinkCustomer.id", alias="customerId") + customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TRLinkCustomer.id", alias="customerId") direction: Optional[TravelRuleDirectionEnum] = None source_type: Optional[TransferPeerTypeEnum] = Field(default=None, alias="sourceType") source_sub_type: Optional[TransferPeerSubTypeEnum] = Field(default=None, alias="sourceSubType") diff --git a/fireblocks/models/screening_tr_link_missing_trm_rule.py b/fireblocks/models/screening_tr_link_missing_trm_rule.py index 14237b5d..81428458 100644 --- a/fireblocks/models/screening_tr_link_missing_trm_rule.py +++ b/fireblocks/models/screening_tr_link_missing_trm_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -33,7 +33,7 @@ class ScreeningTRLinkMissingTrmRule(BaseModel): """ TRLink missing TRM rule definition """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TrlinkCustomer.id", alias="customerId") + customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TRLinkCustomer.id", alias="customerId") direction: Optional[TravelRuleDirectionEnum] = None source_type: Optional[TransferPeerTypeEnum] = Field(default=None, alias="sourceType") source_sub_type: Optional[TransferPeerSubTypeEnum] = Field(default=None, alias="sourceSubType") diff --git a/fireblocks/models/screening_tr_link_post_screening_rule.py b/fireblocks/models/screening_tr_link_post_screening_rule.py index c6b1e1fe..9aabb5c1 100644 --- a/fireblocks/models/screening_tr_link_post_screening_rule.py +++ b/fireblocks/models/screening_tr_link_post_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,7 +34,7 @@ class ScreeningTRLinkPostScreeningRule(BaseModel): """ TRLink post-screening rule definition """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TrlinkCustomer.id", alias="customerId") + customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TRLinkCustomer.id", alias="customerId") direction: Optional[TravelRuleDirectionEnum] = None source_type: Optional[TransferPeerTypeEnum] = Field(default=None, alias="sourceType") source_sub_type: Optional[TransferPeerSubTypeEnum] = Field(default=None, alias="sourceSubType") diff --git a/fireblocks/models/screening_tr_link_prescreening_rule.py b/fireblocks/models/screening_tr_link_prescreening_rule.py index 6c4ebde6..2828edd1 100644 --- a/fireblocks/models/screening_tr_link_prescreening_rule.py +++ b/fireblocks/models/screening_tr_link_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -33,7 +33,7 @@ class ScreeningTRLinkPrescreeningRule(BaseModel): """ TRLink pre-screening rule definition """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TrlinkCustomer.id", alias="customerId") + customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TRLinkCustomer.id", alias="customerId") direction: Optional[TravelRuleDirectionEnum] = None source_type: Optional[TransferPeerTypeEnum] = Field(default=None, alias="sourceType") source_sub_type: Optional[TransferPeerSubTypeEnum] = Field(default=None, alias="sourceSubType") diff --git a/fireblocks/models/screening_tr_link_rule_base.py b/fireblocks/models/screening_tr_link_rule_base.py index fb7a45b0..bc5b6025 100644 --- a/fireblocks/models/screening_tr_link_rule_base.py +++ b/fireblocks/models/screening_tr_link_rule_base.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,7 +32,7 @@ class ScreeningTRLinkRuleBase(BaseModel): """ Base interface for TRLink policy rules """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TrlinkCustomer.id", alias="customerId") + customer_id: Optional[StrictStr] = Field(default=None, description="Reference to TRLinkCustomer.id", alias="customerId") direction: Optional[TravelRuleDirectionEnum] = None source_type: Optional[TransferPeerTypeEnum] = Field(default=None, alias="sourceType") source_sub_type: Optional[TransferPeerSubTypeEnum] = Field(default=None, alias="sourceSubType") diff --git a/fireblocks/models/screening_travel_rule_matched_rule.py b/fireblocks/models/screening_travel_rule_matched_rule.py index 989c6422..fe8ad97e 100644 --- a/fireblocks/models/screening_travel_rule_matched_rule.py +++ b/fireblocks/models/screening_travel_rule_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_travel_rule_prescreening_rule.py b/fireblocks/models/screening_travel_rule_prescreening_rule.py index aab46c22..b1814154 100644 --- a/fireblocks/models/screening_travel_rule_prescreening_rule.py +++ b/fireblocks/models/screening_travel_rule_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_travel_rule_result.py b/fireblocks/models/screening_travel_rule_result.py index eb027b7c..8f6543e8 100644 --- a/fireblocks/models/screening_travel_rule_result.py +++ b/fireblocks/models/screening_travel_rule_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_update_configurations.py b/fireblocks/models/screening_update_configurations.py index 926b38f6..2cbf0fca 100644 --- a/fireblocks/models/screening_update_configurations.py +++ b/fireblocks/models/screening_update_configurations.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_validation_failure.py b/fireblocks/models/screening_validation_failure.py index e54513c8..bd22dbec 100644 --- a/fireblocks/models/screening_validation_failure.py +++ b/fireblocks/models/screening_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_verdict.py b/fireblocks/models/screening_verdict.py index da641b8f..2931ebeb 100644 --- a/fireblocks/models/screening_verdict.py +++ b/fireblocks/models/screening_verdict.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_verdict_enum.py b/fireblocks/models/screening_verdict_enum.py index fe75c455..02023cf9 100644 --- a/fireblocks/models/screening_verdict_enum.py +++ b/fireblocks/models/screening_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/screening_verdict_matched_rule.py b/fireblocks/models/screening_verdict_matched_rule.py index 6b8e7a88..9af88a52 100644 --- a/fireblocks/models/screening_verdict_matched_rule.py +++ b/fireblocks/models/screening_verdict_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/search_network_ids_response.py b/fireblocks/models/search_network_ids_response.py index 652fc956..afd58084 100644 --- a/fireblocks/models/search_network_ids_response.py +++ b/fireblocks/models/search_network_ids_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sepa_address.py b/fireblocks/models/sepa_address.py index 3dc907be..71e5310a 100644 --- a/fireblocks/models/sepa_address.py +++ b/fireblocks/models/sepa_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sepa_destination.py b/fireblocks/models/sepa_destination.py index c200c675..fa6e5011 100644 --- a/fireblocks/models/sepa_destination.py +++ b/fireblocks/models/sepa_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sepa_payment_info.py b/fireblocks/models/sepa_payment_info.py index 66eec41e..9437235a 100644 --- a/fireblocks/models/sepa_payment_info.py +++ b/fireblocks/models/sepa_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/session_dto.py b/fireblocks/models/session_dto.py index cebf0a7d..8b1d524e 100644 --- a/fireblocks/models/session_dto.py +++ b/fireblocks/models/session_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/session_metadata.py b/fireblocks/models/session_metadata.py index 8cc774e7..3abafad5 100644 --- a/fireblocks/models/session_metadata.py +++ b/fireblocks/models/session_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_admin_quorum_threshold_request.py b/fireblocks/models/set_admin_quorum_threshold_request.py index 9714ca05..4c43d2da 100644 --- a/fireblocks/models/set_admin_quorum_threshold_request.py +++ b/fireblocks/models/set_admin_quorum_threshold_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_admin_quorum_threshold_response.py b/fireblocks/models/set_admin_quorum_threshold_response.py index 1abeda88..3df2b067 100644 --- a/fireblocks/models/set_admin_quorum_threshold_response.py +++ b/fireblocks/models/set_admin_quorum_threshold_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_asset_price_request.py b/fireblocks/models/set_asset_price_request.py index a320584d..9ecda194 100644 --- a/fireblocks/models/set_asset_price_request.py +++ b/fireblocks/models/set_asset_price_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_auto_fuel_request.py b/fireblocks/models/set_auto_fuel_request.py index c8ec37f7..51278785 100644 --- a/fireblocks/models/set_auto_fuel_request.py +++ b/fireblocks/models/set_auto_fuel_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_confirmations_threshold_request.py b/fireblocks/models/set_confirmations_threshold_request.py index ba1d3775..cda53708 100644 --- a/fireblocks/models/set_confirmations_threshold_request.py +++ b/fireblocks/models/set_confirmations_threshold_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_confirmations_threshold_response.py b/fireblocks/models/set_confirmations_threshold_response.py index 0cdcea93..64537d65 100644 --- a/fireblocks/models/set_confirmations_threshold_response.py +++ b/fireblocks/models/set_confirmations_threshold_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_customer_ref_id_for_address_request.py b/fireblocks/models/set_customer_ref_id_for_address_request.py index de2d7af3..b5b22376 100644 --- a/fireblocks/models/set_customer_ref_id_for_address_request.py +++ b/fireblocks/models/set_customer_ref_id_for_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_customer_ref_id_request.py b/fireblocks/models/set_customer_ref_id_request.py index 04cf8dc8..483f6518 100644 --- a/fireblocks/models/set_customer_ref_id_request.py +++ b/fireblocks/models/set_customer_ref_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_layer_zero_dvn_config_request.py b/fireblocks/models/set_layer_zero_dvn_config_request.py index f32104dd..b9799d48 100644 --- a/fireblocks/models/set_layer_zero_dvn_config_request.py +++ b/fireblocks/models/set_layer_zero_dvn_config_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_layer_zero_dvn_config_response.py b/fireblocks/models/set_layer_zero_dvn_config_response.py index cc7ab150..98b524f8 100644 --- a/fireblocks/models/set_layer_zero_dvn_config_response.py +++ b/fireblocks/models/set_layer_zero_dvn_config_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_layer_zero_peers_request.py b/fireblocks/models/set_layer_zero_peers_request.py index 8cbd5cd6..d53a3424 100644 --- a/fireblocks/models/set_layer_zero_peers_request.py +++ b/fireblocks/models/set_layer_zero_peers_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_layer_zero_peers_response.py b/fireblocks/models/set_layer_zero_peers_response.py index 9287fd8a..5b13a39e 100644 --- a/fireblocks/models/set_layer_zero_peers_response.py +++ b/fireblocks/models/set_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_network_id_discoverability_request.py b/fireblocks/models/set_network_id_discoverability_request.py index bd91e069..1a80df45 100644 --- a/fireblocks/models/set_network_id_discoverability_request.py +++ b/fireblocks/models/set_network_id_discoverability_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_network_id_name_request.py b/fireblocks/models/set_network_id_name_request.py index 4ac024b9..4b211965 100644 --- a/fireblocks/models/set_network_id_name_request.py +++ b/fireblocks/models/set_network_id_name_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_network_id_response.py b/fireblocks/models/set_network_id_response.py index 8110a3c2..9769e163 100644 --- a/fireblocks/models/set_network_id_response.py +++ b/fireblocks/models/set_network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_network_id_routing_policy_request.py b/fireblocks/models/set_network_id_routing_policy_request.py index 7397f0e3..358cda9e 100644 --- a/fireblocks/models/set_network_id_routing_policy_request.py +++ b/fireblocks/models/set_network_id_routing_policy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_ota_status_request.py b/fireblocks/models/set_ota_status_request.py index 1409561e..3b27502e 100644 --- a/fireblocks/models/set_ota_status_request.py +++ b/fireblocks/models/set_ota_status_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_ota_status_response.py b/fireblocks/models/set_ota_status_response.py index dade51c1..6ce53fae 100644 --- a/fireblocks/models/set_ota_status_response.py +++ b/fireblocks/models/set_ota_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_ota_status_response_one_of.py b/fireblocks/models/set_ota_status_response_one_of.py index ff62ea01..af44573e 100644 --- a/fireblocks/models/set_ota_status_response_one_of.py +++ b/fireblocks/models/set_ota_status_response_one_of.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_routing_policy_request.py b/fireblocks/models/set_routing_policy_request.py index 237e8310..0e2f65d2 100644 --- a/fireblocks/models/set_routing_policy_request.py +++ b/fireblocks/models/set_routing_policy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/set_routing_policy_response.py b/fireblocks/models/set_routing_policy_response.py index 6655bc71..32bfdf9b 100644 --- a/fireblocks/models/set_routing_policy_response.py +++ b/fireblocks/models/set_routing_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/settlement.py b/fireblocks/models/settlement.py index db46297a..7bf7f208 100644 --- a/fireblocks/models/settlement.py +++ b/fireblocks/models/settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,13 +19,12 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional from fireblocks.models.dvp_settlement import DVPSettlement -from fireblocks.models.post_order_settlement import PostOrderSettlement from fireblocks.models.prefunded_settlement import PrefundedSettlement from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -SETTLEMENT_ONE_OF_SCHEMAS = ["DVPSettlement", "PostOrderSettlement", "PrefundedSettlement"] +SETTLEMENT_ONE_OF_SCHEMAS = ["DVPSettlement", "PrefundedSettlement"] class Settlement(BaseModel): """ @@ -35,10 +34,8 @@ class Settlement(BaseModel): oneof_schema_1_validator: Optional[PrefundedSettlement] = None # data type: DVPSettlement oneof_schema_2_validator: Optional[DVPSettlement] = None - # data type: PostOrderSettlement - oneof_schema_3_validator: Optional[PostOrderSettlement] = None - actual_instance: Optional[Union[DVPSettlement, PostOrderSettlement, PrefundedSettlement]] = None - one_of_schemas: Set[str] = { "DVPSettlement", "PostOrderSettlement", "PrefundedSettlement" } + actual_instance: Optional[Union[DVPSettlement, PrefundedSettlement]] = None + one_of_schemas: Set[str] = { "DVPSettlement", "PrefundedSettlement" } model_config = ConfigDict( validate_assignment=True, @@ -74,17 +71,12 @@ def actual_instance_must_validate_oneof(cls, v): error_messages.append(f"Error! Input type `{type(v)}` is not `DVPSettlement`") else: match += 1 - # validate data type: PostOrderSettlement - if not isinstance(v, PostOrderSettlement): - error_messages.append(f"Error! Input type `{type(v)}` is not `PostOrderSettlement`") - else: - match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in Settlement with oneOf schemas: DVPSettlement, PostOrderSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in Settlement with oneOf schemas: DVPSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in Settlement with oneOf schemas: DVPSettlement, PostOrderSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in Settlement with oneOf schemas: DVPSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) else: return v @@ -111,19 +103,13 @@ def from_json(cls, json_str: str) -> Self: match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) - # deserialize data into PostOrderSettlement - try: - instance.actual_instance = PostOrderSettlement.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into Settlement with oneOf schemas: DVPSettlement, PostOrderSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into Settlement with oneOf schemas: DVPSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into Settlement with oneOf schemas: DVPSettlement, PostOrderSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into Settlement with oneOf schemas: DVPSettlement, PrefundedSettlement. Details: " + ", ".join(error_messages)) else: return instance @@ -137,7 +123,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], DVPSettlement, PostOrderSettlement, PrefundedSettlement]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], DVPSettlement, PrefundedSettlement]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/fireblocks/models/settlement_request_body.py b/fireblocks/models/settlement_request_body.py index 6cfb261b..6615f3e7 100644 --- a/fireblocks/models/settlement_request_body.py +++ b/fireblocks/models/settlement_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/settlement_response.py b/fireblocks/models/settlement_response.py index 7d72835a..eb6d4b56 100644 --- a/fireblocks/models/settlement_response.py +++ b/fireblocks/models/settlement_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/settlement_source_account.py b/fireblocks/models/settlement_source_account.py index e73c2988..b4211b8f 100644 --- a/fireblocks/models/settlement_source_account.py +++ b/fireblocks/models/settlement_source_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/side.py b/fireblocks/models/side.py new file mode 100644 index 00000000..68712f1f --- /dev/null +++ b/fireblocks/models/side.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class Side(str, Enum): + """ + Side of the order + """ + + """ + allowed enum values + """ + BUY = 'BUY' + SELL = 'SELL' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of Side from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/signed_message.py b/fireblocks/models/signed_message.py index d61a75b8..b83b7ced 100644 --- a/fireblocks/models/signed_message.py +++ b/fireblocks/models/signed_message.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/signed_message_signature.py b/fireblocks/models/signed_message_signature.py index 205c0a12..f3d3d11f 100644 --- a/fireblocks/models/signed_message_signature.py +++ b/fireblocks/models/signed_message_signature.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/signing_key_dto.py b/fireblocks/models/signing_key_dto.py index 5c0cbc78..3402b782 100644 --- a/fireblocks/models/signing_key_dto.py +++ b/fireblocks/models/signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_approve_term.py b/fireblocks/models/smart_transfer_approve_term.py index 2872b292..a05eb6b4 100644 --- a/fireblocks/models/smart_transfer_approve_term.py +++ b/fireblocks/models/smart_transfer_approve_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_bad_request_response.py b/fireblocks/models/smart_transfer_bad_request_response.py index 6e88137a..d69345e7 100644 --- a/fireblocks/models/smart_transfer_bad_request_response.py +++ b/fireblocks/models/smart_transfer_bad_request_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_coin_statistic.py b/fireblocks/models/smart_transfer_coin_statistic.py index 497d0b82..0d2a6fe0 100644 --- a/fireblocks/models/smart_transfer_coin_statistic.py +++ b/fireblocks/models/smart_transfer_coin_statistic.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_create_ticket.py b/fireblocks/models/smart_transfer_create_ticket.py index e8302cf2..44e9484c 100644 --- a/fireblocks/models/smart_transfer_create_ticket.py +++ b/fireblocks/models/smart_transfer_create_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_create_ticket_term.py b/fireblocks/models/smart_transfer_create_ticket_term.py index 7ff45029..e33ec330 100644 --- a/fireblocks/models/smart_transfer_create_ticket_term.py +++ b/fireblocks/models/smart_transfer_create_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_forbidden_response.py b/fireblocks/models/smart_transfer_forbidden_response.py index 9306f98c..023fde28 100644 --- a/fireblocks/models/smart_transfer_forbidden_response.py +++ b/fireblocks/models/smart_transfer_forbidden_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_fund_dvp_ticket.py b/fireblocks/models/smart_transfer_fund_dvp_ticket.py index 4c0610cb..af76c1d5 100644 --- a/fireblocks/models/smart_transfer_fund_dvp_ticket.py +++ b/fireblocks/models/smart_transfer_fund_dvp_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_fund_term.py b/fireblocks/models/smart_transfer_fund_term.py index 2f8a45cc..ca491d68 100644 --- a/fireblocks/models/smart_transfer_fund_term.py +++ b/fireblocks/models/smart_transfer_fund_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_manually_fund_term.py b/fireblocks/models/smart_transfer_manually_fund_term.py index a2a3ed9b..e5fa2eec 100644 --- a/fireblocks/models/smart_transfer_manually_fund_term.py +++ b/fireblocks/models/smart_transfer_manually_fund_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_not_found_response.py b/fireblocks/models/smart_transfer_not_found_response.py index 7a02e888..7f2165a5 100644 --- a/fireblocks/models/smart_transfer_not_found_response.py +++ b/fireblocks/models/smart_transfer_not_found_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_set_ticket_expiration.py b/fireblocks/models/smart_transfer_set_ticket_expiration.py index 1207f903..61022814 100644 --- a/fireblocks/models/smart_transfer_set_ticket_expiration.py +++ b/fireblocks/models/smart_transfer_set_ticket_expiration.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_set_ticket_external_id.py b/fireblocks/models/smart_transfer_set_ticket_external_id.py index 9131da90..e7d549e0 100644 --- a/fireblocks/models/smart_transfer_set_ticket_external_id.py +++ b/fireblocks/models/smart_transfer_set_ticket_external_id.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_set_user_groups.py b/fireblocks/models/smart_transfer_set_user_groups.py index b4308a03..7dbe6d6a 100644 --- a/fireblocks/models/smart_transfer_set_user_groups.py +++ b/fireblocks/models/smart_transfer_set_user_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_statistic.py b/fireblocks/models/smart_transfer_statistic.py index e92a0111..b1a44de9 100644 --- a/fireblocks/models/smart_transfer_statistic.py +++ b/fireblocks/models/smart_transfer_statistic.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_statistic_inflow.py b/fireblocks/models/smart_transfer_statistic_inflow.py index ec40bf19..f85d3ec6 100644 --- a/fireblocks/models/smart_transfer_statistic_inflow.py +++ b/fireblocks/models/smart_transfer_statistic_inflow.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_statistic_outflow.py b/fireblocks/models/smart_transfer_statistic_outflow.py index 5c038673..3c4a9304 100644 --- a/fireblocks/models/smart_transfer_statistic_outflow.py +++ b/fireblocks/models/smart_transfer_statistic_outflow.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_submit_ticket.py b/fireblocks/models/smart_transfer_submit_ticket.py index a7af592d..996de954 100644 --- a/fireblocks/models/smart_transfer_submit_ticket.py +++ b/fireblocks/models/smart_transfer_submit_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_ticket.py b/fireblocks/models/smart_transfer_ticket.py index dd767361..90c44b4b 100644 --- a/fireblocks/models/smart_transfer_ticket.py +++ b/fireblocks/models/smart_transfer_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_ticket_filtered_response.py b/fireblocks/models/smart_transfer_ticket_filtered_response.py index 237b2245..c60be0e3 100644 --- a/fireblocks/models/smart_transfer_ticket_filtered_response.py +++ b/fireblocks/models/smart_transfer_ticket_filtered_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_ticket_response.py b/fireblocks/models/smart_transfer_ticket_response.py index df3374ed..f4f123a8 100644 --- a/fireblocks/models/smart_transfer_ticket_response.py +++ b/fireblocks/models/smart_transfer_ticket_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_ticket_term.py b/fireblocks/models/smart_transfer_ticket_term.py index 817a51c4..a3f39e2c 100644 --- a/fireblocks/models/smart_transfer_ticket_term.py +++ b/fireblocks/models/smart_transfer_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_ticket_term_response.py b/fireblocks/models/smart_transfer_ticket_term_response.py index 0117b718..6a1a6f63 100644 --- a/fireblocks/models/smart_transfer_ticket_term_response.py +++ b/fireblocks/models/smart_transfer_ticket_term_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_update_ticket_term.py b/fireblocks/models/smart_transfer_update_ticket_term.py index 556587a4..9f4601c1 100644 --- a/fireblocks/models/smart_transfer_update_ticket_term.py +++ b/fireblocks/models/smart_transfer_update_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_user_groups.py b/fireblocks/models/smart_transfer_user_groups.py index 21f052b0..722ee421 100644 --- a/fireblocks/models/smart_transfer_user_groups.py +++ b/fireblocks/models/smart_transfer_user_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/smart_transfer_user_groups_response.py b/fireblocks/models/smart_transfer_user_groups_response.py index c61fe304..cbca6a09 100644 --- a/fireblocks/models/smart_transfer_user_groups_response.py +++ b/fireblocks/models/smart_transfer_user_groups_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sol_account.py b/fireblocks/models/sol_account.py index db00de28..036d0c65 100644 --- a/fireblocks/models/sol_account.py +++ b/fireblocks/models/sol_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sol_account_with_value.py b/fireblocks/models/sol_account_with_value.py index 76d6fece..ad71e2cb 100644 --- a/fireblocks/models/sol_account_with_value.py +++ b/fireblocks/models/sol_account_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sol_parameter.py b/fireblocks/models/sol_parameter.py index c6aeaecc..e40f64e9 100644 --- a/fireblocks/models/sol_parameter.py +++ b/fireblocks/models/sol_parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/sol_parameter_with_value.py b/fireblocks/models/sol_parameter_with_value.py index 0981fd9b..20ac7f9e 100644 --- a/fireblocks/models/sol_parameter_with_value.py +++ b/fireblocks/models/sol_parameter_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/solana_blockchain_data.py b/fireblocks/models/solana_blockchain_data.py index 704a9a25..0e8cb242 100644 --- a/fireblocks/models/solana_blockchain_data.py +++ b/fireblocks/models/solana_blockchain_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -28,7 +28,7 @@ class SolanaBlockchainData(BaseModel): Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available. """ # noqa: E501 stake_account_address: StrictStr = Field(description="The stake account address matching the stakeAccountId.", alias="stakeAccountAddress") - stake_account_derivation_change_value: Union[StrictFloat, StrictInt] = Field(description="The value of the change level in the BIP44 path which was used to derive the stake account address", alias="stakeAccountDerivationChangeValue") + stake_account_derivation_change_value: Union[StrictFloat, StrictInt] = Field(description="The value of the change level in the BIP32 path which was used to derive the stake account address.", alias="stakeAccountDerivationChangeValue") __properties: ClassVar[List[str]] = ["stakeAccountAddress", "stakeAccountDerivationChangeValue"] model_config = ConfigDict( diff --git a/fireblocks/models/solana_config.py b/fireblocks/models/solana_config.py index a75287cd..0afc563e 100644 --- a/fireblocks/models/solana_config.py +++ b/fireblocks/models/solana_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/solana_instruction.py b/fireblocks/models/solana_instruction.py index 73ed4382..e499c144 100644 --- a/fireblocks/models/solana_instruction.py +++ b/fireblocks/models/solana_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/solana_instruction_with_value.py b/fireblocks/models/solana_instruction_with_value.py index f360cc67..85713729 100644 --- a/fireblocks/models/solana_instruction_with_value.py +++ b/fireblocks/models/solana_instruction_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/solana_simple_create_params.py b/fireblocks/models/solana_simple_create_params.py index 13b4e04d..7e99d547 100644 --- a/fireblocks/models/solana_simple_create_params.py +++ b/fireblocks/models/solana_simple_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/source_config.py b/fireblocks/models/source_config.py index e763f6b7..14c91434 100644 --- a/fireblocks/models/source_config.py +++ b/fireblocks/models/source_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/source_transfer_peer_path.py b/fireblocks/models/source_transfer_peer_path.py index e20d0906..03a7881b 100644 --- a/fireblocks/models/source_transfer_peer_path.py +++ b/fireblocks/models/source_transfer_peer_path.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/source_transfer_peer_path_response.py b/fireblocks/models/source_transfer_peer_path_response.py index 8c6da852..c7618a12 100644 --- a/fireblocks/models/source_transfer_peer_path_response.py +++ b/fireblocks/models/source_transfer_peer_path_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spam_ownership_response.py b/fireblocks/models/spam_ownership_response.py index 670c8d0c..e9c94ce4 100644 --- a/fireblocks/models/spam_ownership_response.py +++ b/fireblocks/models/spam_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spam_token_response.py b/fireblocks/models/spam_token_response.py index 835bfff3..746de3c8 100644 --- a/fireblocks/models/spam_token_response.py +++ b/fireblocks/models/spam_token_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spei_address.py b/fireblocks/models/spei_address.py index 48c566f3..51e049b1 100644 --- a/fireblocks/models/spei_address.py +++ b/fireblocks/models/spei_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spei_advanced_payment_info.py b/fireblocks/models/spei_advanced_payment_info.py index 0226b3dd..ce4ea847 100644 --- a/fireblocks/models/spei_advanced_payment_info.py +++ b/fireblocks/models/spei_advanced_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spei_basic_payment_info.py b/fireblocks/models/spei_basic_payment_info.py index ceba0abc..d71d0418 100644 --- a/fireblocks/models/spei_basic_payment_info.py +++ b/fireblocks/models/spei_basic_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/spei_destination.py b/fireblocks/models/spei_destination.py index 8958f859..f18f1141 100644 --- a/fireblocks/models/spei_destination.py +++ b/fireblocks/models/spei_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/split_request.py b/fireblocks/models/split_request.py index 46fb3910..0050124b 100644 --- a/fireblocks/models/split_request.py +++ b/fireblocks/models/split_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,7 +32,7 @@ class SplitRequest(BaseModel): amount: StrictStr = Field(description="Amount of tokens to be transferred to the new stake account.") fee: Optional[StrictStr] = Field(default=None, description="Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.") fee_level: Optional[FeeLevel] = Field(default=None, alias="feeLevel") - tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the transactions.", alias="txNote") + tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the split transactions.", alias="txNote") __properties: ClassVar[List[str]] = ["id", "amount", "fee", "feeLevel", "txNote"] model_config = ConfigDict( diff --git a/fireblocks/models/split_response.py b/fireblocks/models/split_response.py index 34f7d5e9..d943f610 100644 --- a/fireblocks/models/split_response.py +++ b/fireblocks/models/split_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/st_eth_blockchain_data.py b/fireblocks/models/st_eth_blockchain_data.py new file mode 100644 index 00000000..81913e36 --- /dev/null +++ b/fireblocks/models/st_eth_blockchain_data.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class StEthBlockchainData(BaseModel): + """ + Additional fields per blockchain for Staked Ethereum (STETH_ETH) - can be empty or missing if not initialized or no additional info exists. + """ # noqa: E501 + total_withdrawable_amount: StrictStr = Field(description="The total amount available for withdrawal.", alias="totalWithdrawableAmount") + total_inactive_amount: StrictStr = Field(description="The total inactive amount.", alias="totalInactiveAmount") + __properties: ClassVar[List[str]] = ["totalWithdrawableAmount", "totalInactiveAmount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StEthBlockchainData from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StEthBlockchainData from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "totalWithdrawableAmount": obj.get("totalWithdrawableAmount"), + "totalInactiveAmount": obj.get("totalInactiveAmount") + }) + return _obj + + diff --git a/fireblocks/models/stake_request.py b/fireblocks/models/stake_request.py index ffcd895a..e9e23579 100644 --- a/fireblocks/models/stake_request.py +++ b/fireblocks/models/stake_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from fireblocks.models.fee_level import FeeLevel from fireblocks.models.staking_provider import StakingProvider @@ -29,13 +29,16 @@ class StakeRequest(BaseModel): """ StakeRequest """ # noqa: E501 - vault_account_id: StrictStr = Field(description="The source vault account to stake from", alias="vaultAccountId") + vault_account_id: StrictStr = Field(description="The Fireblocks vault account ID that will source the funds for staking.", alias="vaultAccountId") provider_id: StakingProvider = Field(alias="providerId") - stake_amount: StrictStr = Field(description="Amount of tokens to stake", alias="stakeAmount") - tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the stake transactions.", alias="txNote") - fee: Optional[StrictStr] = Field(default=None, description="Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.") + stake_amount: StrictStr = Field(description="The amount of tokens to stake. The amount may be truncated to match the chain's decimal precision requirements.", alias="stakeAmount") + tx_note: Optional[StrictStr] = Field(default=None, description="Optional note or comment to associate with the stake transaction. This note will be included in transaction records and can be used for tracking or audit purposes.", alias="txNote") + fee: Optional[StrictStr] = Field(default=None, description="Optional transaction fee. Controls the priority and cost of the blockchain transaction. Only one of 'fee' or 'feeLevel' should be provided; if both are specified, 'feeLevel' takes precedence.") fee_level: Optional[FeeLevel] = Field(default=None, alias="feeLevel") - __properties: ClassVar[List[str]] = ["vaultAccountId", "providerId", "stakeAmount", "txNote", "fee", "feeLevel"] + chain_descriptor: Optional[StrictStr] = Field(default=None, description="Protocol identifier for the staking operation", alias="chainDescriptor") + id: Optional[StrictStr] = Field(default=None, description="Applies only to Ethereum compounding validator staking (Pectra/EIP-7251). The ID of an existing staking position to add additional stake to. When provided, adds stake to the specified position instead of creating a new one. Requires 'isCompoundingValidator' to be true.") + is_compounding_validator: Optional[StrictBool] = Field(default=None, description="Applies only to Ethereum staking. Indicates whether to use a compounding validator (see Pectra/EIP-7251). When true, creates a position that supports adding additional stake via the 'id' parameter. If not provided, defaults to false and a legacy (non-compounding) validator will be used.", alias="isCompoundingValidator") + __properties: ClassVar[List[str]] = ["vaultAccountId", "providerId", "stakeAmount", "txNote", "fee", "feeLevel", "chainDescriptor", "id", "isCompoundingValidator"] model_config = ConfigDict( populate_by_name=True, @@ -93,7 +96,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "stakeAmount": obj.get("stakeAmount"), "txNote": obj.get("txNote"), "fee": obj.get("fee"), - "feeLevel": obj.get("feeLevel") + "feeLevel": obj.get("feeLevel"), + "chainDescriptor": obj.get("chainDescriptor"), + "id": obj.get("id"), + "isCompoundingValidator": obj.get("isCompoundingValidator") }) return _obj diff --git a/fireblocks/models/stake_response.py b/fireblocks/models/stake_response.py index a5269e92..f1ae59fb 100644 --- a/fireblocks/models/stake_response.py +++ b/fireblocks/models/stake_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/staking_provider.py b/fireblocks/models/staking_provider.py index 25106a9c..9c036141 100644 --- a/fireblocks/models/staking_provider.py +++ b/fireblocks/models/staking_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -31,6 +31,10 @@ class StakingProvider(str, Enum): FIGMENT = 'figment' LIDO = 'lido' P2P = 'p2p' + BLOCKDAEMON = 'blockdaemon' + GALAXY = 'galaxy' + PIERTWO = 'pierTwo' + KRAKEN = 'kraken' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fireblocks/models/status.py b/fireblocks/models/status.py index f2056be4..cd7e4a90 100644 --- a/fireblocks/models/status.py +++ b/fireblocks/models/status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/stellar_ripple_create_params_dto.py b/fireblocks/models/stellar_ripple_create_params_dto.py index e7ea75ee..6dfd2fdd 100644 --- a/fireblocks/models/stellar_ripple_create_params_dto.py +++ b/fireblocks/models/stellar_ripple_create_params_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/supported_block_chains_response.py b/fireblocks/models/supported_block_chains_response.py new file mode 100644 index 00000000..bd6e618a --- /dev/null +++ b/fireblocks/models/supported_block_chains_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.supported_blockchain import SupportedBlockchain +from typing import Optional, Set +from typing_extensions import Self + +class SupportedBlockChainsResponse(BaseModel): + """ + SupportedBlockChainsResponse + """ # noqa: E501 + supports_all_blockchains: StrictBool = Field(description="Boolean representing if all blockchains are supported", alias="supportsAllBlockchains") + supported_blockchains: Optional[List[SupportedBlockchain]] = Field(default=None, description="List of supported blockchains", alias="supportedBlockchains") + __properties: ClassVar[List[str]] = ["supportsAllBlockchains", "supportedBlockchains"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupportedBlockChainsResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in supported_blockchains (list) + _items = [] + if self.supported_blockchains: + for _item_supported_blockchains in self.supported_blockchains: + if _item_supported_blockchains: + _items.append(_item_supported_blockchains.to_dict()) + _dict['supportedBlockchains'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupportedBlockChainsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "supportsAllBlockchains": obj.get("supportsAllBlockchains"), + "supportedBlockchains": [SupportedBlockchain.from_dict(_item) for _item in obj["supportedBlockchains"]] if obj.get("supportedBlockchains") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/supported_blockchain.py b/fireblocks/models/supported_blockchain.py new file mode 100644 index 00000000..33e23c2b --- /dev/null +++ b/fireblocks/models/supported_blockchain.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class SupportedBlockchain(BaseModel): + """ + SupportedBlockchain + """ # noqa: E501 + id: StrictStr = Field(description="The ID of the blockchain") + legacy_id: StrictStr = Field(description="The old blockchain ID representation of the blockchain", alias="legacyId") + display_name: StrictStr = Field(description="The name of the blockchain", alias="displayName") + native_asset_id: StrictStr = Field(description="Native asset ID of this blockchain", alias="nativeAssetId") + __properties: ClassVar[List[str]] = ["id", "legacyId", "displayName", "nativeAssetId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SupportedBlockchain from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SupportedBlockchain from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "legacyId": obj.get("legacyId"), + "displayName": obj.get("displayName"), + "nativeAssetId": obj.get("nativeAssetId") + }) + return _obj + + diff --git a/fireblocks/models/swift_address.py b/fireblocks/models/swift_address.py index 7561dd3a..f4799169 100644 --- a/fireblocks/models/swift_address.py +++ b/fireblocks/models/swift_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/swift_destination.py b/fireblocks/models/swift_destination.py index 1fbca0ca..546b18df 100644 --- a/fireblocks/models/swift_destination.py +++ b/fireblocks/models/swift_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/system_message_info.py b/fireblocks/models/system_message_info.py index 16c06e1c..8fb1b588 100644 --- a/fireblocks/models/system_message_info.py +++ b/fireblocks/models/system_message_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tag.py b/fireblocks/models/tag.py index bd7b9afc..3692e23c 100644 --- a/fireblocks/models/tag.py +++ b/fireblocks/models/tag.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,8 +18,9 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from fireblocks.models.approval_request import ApprovalRequest from typing import Optional, Set from typing_extensions import Self @@ -30,10 +31,11 @@ class Tag(BaseModel): id: StrictStr = Field(description="The unique identifier of the tag") label: StrictStr = Field(description="The tag label") description: Optional[StrictStr] = Field(default=None, description="Description for the tag") - is_protected: Optional[StrictBool] = Field(default=None, description="Whether the tag is protected", alias="isProtected") - color: Optional[StrictStr] = Field(default=None, description="The color of the tag in hex format") - updated_at: Optional[StrictStr] = Field(default=None, description="The date and time the tag was last updated", alias="updatedAt") - __properties: ClassVar[List[str]] = ["id", "label", "description", "isProtected", "color", "updatedAt"] + color: Optional[StrictStr] = Field(default=None, description="The tag color in hex format") + is_protected: StrictBool = Field(description="Indication if the tag is a protected tag", alias="isProtected") + updated_at: Union[StrictFloat, StrictInt] = Field(description="The date and time the tag was last updated", alias="updatedAt") + pending_approval_request: Optional[ApprovalRequest] = Field(default=None, alias="pendingApprovalRequest") + __properties: ClassVar[List[str]] = ["id", "label", "description", "color", "isProtected", "updatedAt", "pendingApprovalRequest"] model_config = ConfigDict( populate_by_name=True, @@ -74,6 +76,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of pending_approval_request + if self.pending_approval_request: + _dict['pendingApprovalRequest'] = self.pending_approval_request.to_dict() return _dict @classmethod @@ -89,9 +94,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "label": obj.get("label"), "description": obj.get("description"), - "isProtected": obj.get("isProtected"), "color": obj.get("color"), - "updatedAt": obj.get("updatedAt") + "isProtected": obj.get("isProtected") if obj.get("isProtected") is not None else False, + "updatedAt": obj.get("updatedAt"), + "pendingApprovalRequest": ApprovalRequest.from_dict(obj["pendingApprovalRequest"]) if obj.get("pendingApprovalRequest") is not None else None }) return _obj diff --git a/fireblocks/models/tag_attachment_operation_action.py b/fireblocks/models/tag_attachment_operation_action.py index 3cf47404..ef6bbc71 100644 --- a/fireblocks/models/tag_attachment_operation_action.py +++ b/fireblocks/models/tag_attachment_operation_action.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tags_paged_response.py b/fireblocks/models/tags_paged_response.py index 380b44bb..96ea906f 100644 --- a/fireblocks/models/tags_paged_response.py +++ b/fireblocks/models/tags_paged_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/templates_paginated_response.py b/fireblocks/models/templates_paginated_response.py index c5c1c987..0366d672 100644 --- a/fireblocks/models/templates_paginated_response.py +++ b/fireblocks/models/templates_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/third_party_routing.py b/fireblocks/models/third_party_routing.py index cc8b2063..ec49ee51 100644 --- a/fireblocks/models/third_party_routing.py +++ b/fireblocks/models/third_party_routing.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/time_in_force.py b/fireblocks/models/time_in_force.py deleted file mode 100644 index 2973802b..00000000 --- a/fireblocks/models/time_in_force.py +++ /dev/null @@ -1,37 +0,0 @@ -# coding: utf-8 - -""" - Fireblocks API - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - - The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import json -from enum import Enum -from typing_extensions import Self - - -class TimeInForce(str, Enum): - """ - Time in force for limit orders - """ - - """ - allowed enum values - """ - FOK = 'FOK' - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Create an instance of TimeInForce from a JSON string""" - return cls(json.loads(json_str)) - - diff --git a/fireblocks/models/time_period_config.py b/fireblocks/models/time_period_config.py index bd6ee5c1..bc72b832 100644 --- a/fireblocks/models/time_period_config.py +++ b/fireblocks/models/time_period_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/time_period_match_type.py b/fireblocks/models/time_period_match_type.py index aea7eeae..b0e1d665 100644 --- a/fireblocks/models/time_period_match_type.py +++ b/fireblocks/models/time_period_match_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/to_collateral_transaction.py b/fireblocks/models/to_collateral_transaction.py index bb6b5e24..50a6e939 100644 --- a/fireblocks/models/to_collateral_transaction.py +++ b/fireblocks/models/to_collateral_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/to_exchange_transaction.py b/fireblocks/models/to_exchange_transaction.py index 06a3562c..ca0e7e09 100644 --- a/fireblocks/models/to_exchange_transaction.py +++ b/fireblocks/models/to_exchange_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_collection_response.py b/fireblocks/models/token_collection_response.py index 638f7bd1..0fa8084d 100644 --- a/fireblocks/models/token_collection_response.py +++ b/fireblocks/models/token_collection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/task.py b/fireblocks/models/token_contract_summary_response.py similarity index 59% rename from fireblocks/models/task.py rename to fireblocks/models/token_contract_summary_response.py index f550acee..6e1621dd 100644 --- a/fireblocks/models/task.py +++ b/fireblocks/models/token_contract_summary_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -19,22 +19,19 @@ import json from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Any, ClassVar, Dict, List, Union from typing import Optional, Set from typing_extensions import Self -class Task(BaseModel): +class TokenContractSummaryResponse(BaseModel): """ - Task + TokenContractSummaryResponse """ # noqa: E501 - id: Optional[StrictStr] = None - job_id: Optional[StrictStr] = Field(default=None, alias="jobId") - type: Optional[StrictStr] = None - tenant_id: Optional[StrictStr] = Field(default=None, alias="tenantId") - created: Optional[Union[StrictFloat, StrictInt]] = None - updated: Optional[Union[StrictFloat, StrictInt]] = None - state: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["id", "jobId", "type", "tenantId", "created", "updated", "state"] + base_asset_id: StrictStr = Field(description="The base asset ID", alias="baseAssetId") + contract_address: StrictStr = Field(description="The contract address", alias="contractAddress") + total_addresses: Union[StrictFloat, StrictInt] = Field(description="Total number of addresses with balances", alias="totalAddresses") + total_supply: StrictStr = Field(description="The total supply of the token", alias="totalSupply") + __properties: ClassVar[List[str]] = ["baseAssetId", "contractAddress", "totalAddresses", "totalSupply"] model_config = ConfigDict( populate_by_name=True, @@ -54,7 +51,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of Task from a JSON string""" + """Create an instance of TokenContractSummaryResponse from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,7 +76,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of Task from a dict""" + """Create an instance of TokenContractSummaryResponse from a dict""" if obj is None: return None @@ -87,13 +84,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "id": obj.get("id"), - "jobId": obj.get("jobId"), - "type": obj.get("type"), - "tenantId": obj.get("tenantId"), - "created": obj.get("created"), - "updated": obj.get("updated"), - "state": obj.get("state") + "baseAssetId": obj.get("baseAssetId"), + "contractAddress": obj.get("contractAddress"), + "totalAddresses": obj.get("totalAddresses"), + "totalSupply": obj.get("totalSupply") }) return _obj diff --git a/fireblocks/models/token_info_not_found_error_response.py b/fireblocks/models/token_info_not_found_error_response.py index 27570a89..dca30c09 100644 --- a/fireblocks/models/token_info_not_found_error_response.py +++ b/fireblocks/models/token_info_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_link_dto.py b/fireblocks/models/token_link_dto.py index 41e03fc3..130d3378 100644 --- a/fireblocks/models/token_link_dto.py +++ b/fireblocks/models/token_link_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_link_dto_token_metadata.py b/fireblocks/models/token_link_dto_token_metadata.py index 4575a475..0e39176c 100644 --- a/fireblocks/models/token_link_dto_token_metadata.py +++ b/fireblocks/models/token_link_dto_token_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_link_exists_http_error.py b/fireblocks/models/token_link_exists_http_error.py index ccdce6e9..81c8e097 100644 --- a/fireblocks/models/token_link_exists_http_error.py +++ b/fireblocks/models/token_link_exists_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_link_not_multichain_compatible_http_error.py b/fireblocks/models/token_link_not_multichain_compatible_http_error.py index 8e4c284e..f1097ed9 100644 --- a/fireblocks/models/token_link_not_multichain_compatible_http_error.py +++ b/fireblocks/models/token_link_not_multichain_compatible_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_link_request_dto.py b/fireblocks/models/token_link_request_dto.py index 14729875..4e0fc010 100644 --- a/fireblocks/models/token_link_request_dto.py +++ b/fireblocks/models/token_link_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_ownership_response.py b/fireblocks/models/token_ownership_response.py index 3d16a15c..ded17fd1 100644 --- a/fireblocks/models/token_ownership_response.py +++ b/fireblocks/models/token_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_ownership_spam_update_payload.py b/fireblocks/models/token_ownership_spam_update_payload.py index 52e090ac..0d9e3eda 100644 --- a/fireblocks/models/token_ownership_spam_update_payload.py +++ b/fireblocks/models/token_ownership_spam_update_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_ownership_status_update_payload.py b/fireblocks/models/token_ownership_status_update_payload.py index 546d279a..77051b47 100644 --- a/fireblocks/models/token_ownership_status_update_payload.py +++ b/fireblocks/models/token_ownership_status_update_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/token_response.py b/fireblocks/models/token_response.py index 27013778..72c2e0e2 100644 --- a/fireblocks/models/token_response.py +++ b/fireblocks/models/token_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tokens_paginated_response.py b/fireblocks/models/tokens_paginated_response.py index 52ab385a..15d46b9f 100644 --- a/fireblocks/models/tokens_paginated_response.py +++ b/fireblocks/models/tokens_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/total_supply_item_dto.py b/fireblocks/models/total_supply_item_dto.py new file mode 100644 index 00000000..35834caf --- /dev/null +++ b/fireblocks/models/total_supply_item_dto.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TotalSupplyItemDto(BaseModel): + """ + TotalSupplyItemDto + """ # noqa: E501 + timestamp: datetime = Field(description="Timestamp of the data point") + total_supply: StrictStr = Field(description="Total supply at the given timestamp", alias="totalSupply") + __properties: ClassVar[List[str]] = ["timestamp", "totalSupply"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TotalSupplyItemDto from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TotalSupplyItemDto from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "timestamp": obj.get("timestamp"), + "totalSupply": obj.get("totalSupply") + }) + return _obj + + diff --git a/fireblocks/models/job.py b/fireblocks/models/total_supply_paged_response.py similarity index 58% rename from fireblocks/models/job.py rename to fireblocks/models/total_supply_paged_response.py index de55bed2..647cff31 100644 --- a/fireblocks/models/job.py +++ b/fireblocks/models/total_supply_paged_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -20,23 +20,19 @@ from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional, Union -from fireblocks.models.task import Task +from fireblocks.models.total_supply_item_dto import TotalSupplyItemDto from typing import Optional, Set from typing_extensions import Self -class Job(BaseModel): +class TotalSupplyPagedResponse(BaseModel): """ - Job + TotalSupplyPagedResponse """ # noqa: E501 - id: Optional[StrictStr] = None - tenant_id: Optional[StrictStr] = Field(default=None, alias="tenantId") - type: Optional[StrictStr] = None - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - created: Optional[Union[StrictFloat, StrictInt]] = None - updated: Optional[Union[StrictFloat, StrictInt]] = None - state: Optional[StrictStr] = None - tasks: Optional[List[Task]] = None - __properties: ClassVar[List[str]] = ["id", "tenantId", "type", "userId", "created", "updated", "state", "tasks"] + data: List[TotalSupplyItemDto] = Field(description="Array of total supply data points") + next: Optional[StrictStr] = Field(default=None, description="Cursor for next page") + prev: Optional[StrictStr] = Field(default=None, description="Cursor for previous page") + total: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Total count of items") + __properties: ClassVar[List[str]] = ["data", "next", "prev", "total"] model_config = ConfigDict( populate_by_name=True, @@ -56,7 +52,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of Job from a JSON string""" + """Create an instance of TotalSupplyPagedResponse from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -77,18 +73,18 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in tasks (list) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) _items = [] - if self.tasks: - for _item_tasks in self.tasks: - if _item_tasks: - _items.append(_item_tasks.to_dict()) - _dict['tasks'] = _items + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of Job from a dict""" + """Create an instance of TotalSupplyPagedResponse from a dict""" if obj is None: return None @@ -96,14 +92,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "id": obj.get("id"), - "tenantId": obj.get("tenantId"), - "type": obj.get("type"), - "userId": obj.get("userId"), - "created": obj.get("created"), - "updated": obj.get("updated"), - "state": obj.get("state"), - "tasks": [Task.from_dict(_item) for _item in obj["tasks"]] if obj.get("tasks") is not None else None + "data": [TotalSupplyItemDto.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "next": obj.get("next"), + "prev": obj.get("prev"), + "total": obj.get("total") }) return _obj diff --git a/fireblocks/models/tr_link_amount.py b/fireblocks/models/tr_link_amount.py index 01fe1fd1..da8ce0e6 100644 --- a/fireblocks/models/tr_link_amount.py +++ b/fireblocks/models/tr_link_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_amount2.py b/fireblocks/models/tr_link_amount2.py new file mode 100644 index 00000000..e80586d9 --- /dev/null +++ b/fireblocks/models/tr_link_amount2.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List +from fireblocks.models.tr_link_amount_range import TRLinkAmountRange +from fireblocks.models.tr_link_currency import TRLinkCurrency +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAmount2(BaseModel): + """ + Amount specification with range and currency type + """ # noqa: E501 + range: TRLinkAmountRange + currency: TRLinkCurrency + __properties: ClassVar[List[str]] = ["range", "currency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAmount2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of range + if self.range: + _dict['range'] = self.range.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAmount2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "range": TRLinkAmountRange.from_dict(obj["range"]) if obj.get("range") is not None else None, + "currency": obj.get("currency") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_amount_range.py b/fireblocks/models/tr_link_amount_range.py new file mode 100644 index 00000000..3ffab9b6 --- /dev/null +++ b/fireblocks/models/tr_link_amount_range.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAmountRange(BaseModel): + """ + Minimum and maximum amount range specification + """ # noqa: E501 + min: Optional[StrictStr] = Field(default=None, description="Minimum amount (inclusive)") + max: Optional[StrictStr] = Field(default=None, description="Maximum amount (inclusive)") + __properties: ClassVar[List[str]] = ["min", "max"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAmountRange from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if min (nullable) is None + # and model_fields_set contains the field + if self.min is None and "min" in self.model_fields_set: + _dict['min'] = None + + # set to None if max (nullable) is None + # and model_fields_set contains the field + if self.max is None and "max" in self.model_fields_set: + _dict['max'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAmountRange from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "min": obj.get("min"), + "max": obj.get("max") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_api_paged_response.py b/fireblocks/models/tr_link_api_paged_response.py new file mode 100644 index 00000000..21d4252b --- /dev/null +++ b/fireblocks/models/tr_link_api_paged_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_paging import TRLinkPaging +from fireblocks.models.tr_link_vasp_list_dto import TRLinkVaspListDto +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAPIPagedResponse(BaseModel): + """ + Generic paginated response wrapper with cursor-based pagination + """ # noqa: E501 + data: List[TRLinkVaspListDto] = Field(description="Array of result items") + paging: Optional[TRLinkPaging] = None + __properties: ClassVar[List[str]] = ["data", "paging"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAPIPagedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + # override the default output from pydantic by calling `to_dict()` of paging + if self.paging: + _dict['paging'] = self.paging.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAPIPagedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [TRLinkVaspListDto.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "paging": TRLinkPaging.from_dict(obj["paging"]) if obj.get("paging") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_assess_travel_rule_request.py b/fireblocks/models/tr_link_assess_travel_rule_request.py new file mode 100644 index 00000000..a5bc953b --- /dev/null +++ b/fireblocks/models/tr_link_assess_travel_rule_request.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_destination_transfer_peer_path import TRLinkDestinationTransferPeerPath +from fireblocks.models.tr_link_source_transfer_peer_path import TRLinkSourceTransferPeerPath +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAssessTravelRuleRequest(BaseModel): + """ + Request to assess whether Travel Rule compliance is required for a transaction + """ # noqa: E501 + tx_id: Optional[StrictStr] = Field(default=None, description="Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions", alias="txId") + amount: Optional[StrictStr] = Field(default=None, description="Transaction amount (required when txId not provided)") + amount_usd: Optional[StrictStr] = Field(default=None, description="Transaction amount in USD (optional)", alias="amountUSD") + destination: Optional[TRLinkDestinationTransferPeerPath] = None + dest_address: Optional[StrictStr] = Field(default=None, description="Destination address (optional)", alias="destAddress") + dest_tag: Optional[StrictStr] = Field(default=None, description="Destination tag (optional)", alias="destTag") + source: Optional[TRLinkSourceTransferPeerPath] = None + src_address: Optional[StrictStr] = Field(default=None, description="Source address (optional)", alias="srcAddress") + asset_id: Optional[StrictStr] = Field(default=None, description="Asset identifier (e.g., ETH, BTC, USDC)", alias="assetId") + direction: Optional[TRLinkTransactionDirection] = None + tx_hash: Optional[StrictStr] = Field(default=None, description="Transaction hash (optional)", alias="txHash") + originator_vasp_id: Optional[StrictStr] = Field(default=None, description="Originator VASP identifier - required for inbound transactions", alias="originatorVaspId") + beneficiary_vasp_id: Optional[StrictStr] = Field(default=None, description="Beneficiary VASP identifier - required for outbound transactions", alias="beneficiaryVaspId") + __properties: ClassVar[List[str]] = ["txId", "amount", "amountUSD", "destination", "destAddress", "destTag", "source", "srcAddress", "assetId", "direction", "txHash", "originatorVaspId", "beneficiaryVaspId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAssessTravelRuleRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of destination + if self.destination: + _dict['destination'] = self.destination.to_dict() + # override the default output from pydantic by calling `to_dict()` of source + if self.source: + _dict['source'] = self.source.to_dict() + # set to None if tx_id (nullable) is None + # and model_fields_set contains the field + if self.tx_id is None and "tx_id" in self.model_fields_set: + _dict['txId'] = None + + # set to None if amount (nullable) is None + # and model_fields_set contains the field + if self.amount is None and "amount" in self.model_fields_set: + _dict['amount'] = None + + # set to None if amount_usd (nullable) is None + # and model_fields_set contains the field + if self.amount_usd is None and "amount_usd" in self.model_fields_set: + _dict['amountUSD'] = None + + # set to None if dest_address (nullable) is None + # and model_fields_set contains the field + if self.dest_address is None and "dest_address" in self.model_fields_set: + _dict['destAddress'] = None + + # set to None if dest_tag (nullable) is None + # and model_fields_set contains the field + if self.dest_tag is None and "dest_tag" in self.model_fields_set: + _dict['destTag'] = None + + # set to None if src_address (nullable) is None + # and model_fields_set contains the field + if self.src_address is None and "src_address" in self.model_fields_set: + _dict['srcAddress'] = None + + # set to None if asset_id (nullable) is None + # and model_fields_set contains the field + if self.asset_id is None and "asset_id" in self.model_fields_set: + _dict['assetId'] = None + + # set to None if tx_hash (nullable) is None + # and model_fields_set contains the field + if self.tx_hash is None and "tx_hash" in self.model_fields_set: + _dict['txHash'] = None + + # set to None if originator_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.originator_vasp_id is None and "originator_vasp_id" in self.model_fields_set: + _dict['originatorVaspId'] = None + + # set to None if beneficiary_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.beneficiary_vasp_id is None and "beneficiary_vasp_id" in self.model_fields_set: + _dict['beneficiaryVaspId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAssessTravelRuleRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "txId": obj.get("txId"), + "amount": obj.get("amount"), + "amountUSD": obj.get("amountUSD"), + "destination": TRLinkDestinationTransferPeerPath.from_dict(obj["destination"]) if obj.get("destination") is not None else None, + "destAddress": obj.get("destAddress"), + "destTag": obj.get("destTag"), + "source": TRLinkSourceTransferPeerPath.from_dict(obj["source"]) if obj.get("source") is not None else None, + "srcAddress": obj.get("srcAddress"), + "assetId": obj.get("assetId"), + "direction": obj.get("direction"), + "txHash": obj.get("txHash"), + "originatorVaspId": obj.get("originatorVaspId"), + "beneficiaryVaspId": obj.get("beneficiaryVaspId") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_assess_travel_rule_response.py b/fireblocks/models/tr_link_assess_travel_rule_response.py new file mode 100644 index 00000000..f152345b --- /dev/null +++ b/fireblocks/models/tr_link_assess_travel_rule_response.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_assessment_decision import TRLinkAssessmentDecision +from fireblocks.models.tr_link_thresholds import TRLinkThresholds +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAssessTravelRuleResponse(BaseModel): + """ + Response indicating whether Travel Rule compliance is required + """ # noqa: E501 + decision: TRLinkAssessmentDecision + reason: StrictStr = Field(description="Explanation of the decision") + required_fields: Optional[List[StrictStr]] = Field(default=None, description="List of required fields if Travel Rule is required", alias="requiredFields") + missing_info: Optional[List[StrictStr]] = Field(default=None, description="List of missing fields if more information is needed", alias="missingInfo") + thresholds: Optional[TRLinkThresholds] = None + __properties: ClassVar[List[str]] = ["decision", "reason", "requiredFields", "missingInfo", "thresholds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAssessTravelRuleResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of thresholds + if self.thresholds: + _dict['thresholds'] = self.thresholds.to_dict() + # set to None if required_fields (nullable) is None + # and model_fields_set contains the field + if self.required_fields is None and "required_fields" in self.model_fields_set: + _dict['requiredFields'] = None + + # set to None if missing_info (nullable) is None + # and model_fields_set contains the field + if self.missing_info is None and "missing_info" in self.model_fields_set: + _dict['missingInfo'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAssessTravelRuleResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "decision": obj.get("decision"), + "reason": obj.get("reason"), + "requiredFields": obj.get("requiredFields"), + "missingInfo": obj.get("missingInfo"), + "thresholds": TRLinkThresholds.from_dict(obj["thresholds"]) if obj.get("thresholds") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_assessment_decision.py b/fireblocks/models/tr_link_assessment_decision.py new file mode 100644 index 00000000..c245f38f --- /dev/null +++ b/fireblocks/models/tr_link_assessment_decision.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkAssessmentDecision(str, Enum): + """ + Decision about Travel Rule applicability + """ + + """ + allowed enum values + """ + REQUIRED = 'REQUIRED' + NOT_REQUIRED = 'NOT_REQUIRED' + NEED_MORE_INFO = 'NEED_MORE_INFO' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkAssessmentDecision from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_asset.py b/fireblocks/models/tr_link_asset.py new file mode 100644 index 00000000..fd70edc2 --- /dev/null +++ b/fireblocks/models/tr_link_asset.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List +from fireblocks.models.tr_link_asset_data import TRLinkAssetData +from fireblocks.models.tr_link_asset_format import TRLinkAssetFormat +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAsset(BaseModel): + """ + TRLinkAsset + """ # noqa: E501 + format: TRLinkAssetFormat + data: TRLinkAssetData + __properties: ClassVar[List[str]] = ["format", "data"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAsset from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of data + if self.data: + _dict['data'] = self.data.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAsset from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "format": obj.get("format"), + "data": TRLinkAssetData.from_dict(obj["data"]) if obj.get("data") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_asset_data.py b/fireblocks/models/tr_link_asset_data.py new file mode 100644 index 00000000..2028dfa6 --- /dev/null +++ b/fireblocks/models/tr_link_asset_data.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAssetData(BaseModel): + """ + TRLinkAssetData + """ # noqa: E501 + ticker: Optional[StrictStr] = Field(default=None, description="Asset ticker symbol (e.g., BTC, ETH, USDT)") + network: StrictStr = Field(description="Network identifier from Fireblocks (e.g., ETH, BTC)") + ucid: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="CoinMarketCap unique coin ID") + contract_address: Optional[StrictStr] = Field(default=None, description="Contract address for tokens", alias="contractAddress") + id: Optional[StrictStr] = Field(default=None, description="Fireblocks asset ID") + __properties: ClassVar[List[str]] = ["ticker", "network", "ucid", "contractAddress", "id"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAssetData from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if ticker (nullable) is None + # and model_fields_set contains the field + if self.ticker is None and "ticker" in self.model_fields_set: + _dict['ticker'] = None + + # set to None if ucid (nullable) is None + # and model_fields_set contains the field + if self.ucid is None and "ucid" in self.model_fields_set: + _dict['ucid'] = None + + # set to None if contract_address (nullable) is None + # and model_fields_set contains the field + if self.contract_address is None and "contract_address" in self.model_fields_set: + _dict['contractAddress'] = None + + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAssetData from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ticker": obj.get("ticker"), + "network": obj.get("network"), + "ucid": obj.get("ucid"), + "contractAddress": obj.get("contractAddress"), + "id": obj.get("id") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_asset_format.py b/fireblocks/models/tr_link_asset_format.py new file mode 100644 index 00000000..dbdc98bc --- /dev/null +++ b/fireblocks/models/tr_link_asset_format.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkAssetFormat(str, Enum): + """ + Asset format type + """ + + """ + allowed enum values + """ + FIREBLOCKS = 'fireblocks' + COINMARKETCAP = 'coinmarketcap' + SLIP44 = 'slip44' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkAssetFormat from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_assets_list_paged_response.py b/fireblocks/models/tr_link_assets_list_paged_response.py new file mode 100644 index 00000000..a98929a7 --- /dev/null +++ b/fireblocks/models/tr_link_assets_list_paged_response.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_paging import TRLinkPaging +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkAssetsListPagedResponse(BaseModel): + """ + Paginated list of supported assets with partner capability flag + """ # noqa: E501 + data: List[TRLinkPublicAssetInfo] = Field(description="List of supported assets") + paging: Optional[TRLinkPaging] = None + partner_can_handle_any_asset: StrictBool = Field(description="Whether partner can handle any asset (not just explicitly listed ones)", alias="partnerCanHandleAnyAsset") + note: StrictStr = Field(description="Note about asset support capabilities") + __properties: ClassVar[List[str]] = ["data", "paging", "partnerCanHandleAnyAsset", "note"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkAssetsListPagedResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data (list) + _items = [] + if self.data: + for _item_data in self.data: + if _item_data: + _items.append(_item_data.to_dict()) + _dict['data'] = _items + # override the default output from pydantic by calling `to_dict()` of paging + if self.paging: + _dict['paging'] = self.paging.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkAssetsListPagedResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "data": [TRLinkPublicAssetInfo.from_dict(_item) for _item in obj["data"]] if obj.get("data") is not None else None, + "paging": TRLinkPaging.from_dict(obj["paging"]) if obj.get("paging") is not None else None, + "partnerCanHandleAnyAsset": obj.get("partnerCanHandleAnyAsset"), + "note": obj.get("note") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_cancel_trm_request.py b/fireblocks/models/tr_link_cancel_trm_request.py new file mode 100644 index 00000000..8f6de32e --- /dev/null +++ b/fireblocks/models/tr_link_cancel_trm_request.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCancelTrmRequest(BaseModel): + """ + TRLinkCancelTrmRequest + """ # noqa: E501 + reason: Optional[StrictStr] = Field(default=None, description="Reason for cancellation") + cancelled_by: Optional[StrictStr] = Field(default=None, description="User ID who cancelled the TRM", alias="cancelledBy") + __properties: ClassVar[List[str]] = ["reason", "cancelledBy"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCancelTrmRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if reason (nullable) is None + # and model_fields_set contains the field + if self.reason is None and "reason" in self.model_fields_set: + _dict['reason'] = None + + # set to None if cancelled_by (nullable) is None + # and model_fields_set contains the field + if self.cancelled_by is None and "cancelled_by" in self.model_fields_set: + _dict['cancelledBy'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCancelTrmRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "reason": obj.get("reason"), + "cancelledBy": obj.get("cancelledBy") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_connect_integration_request.py b/fireblocks/models/tr_link_connect_integration_request.py new file mode 100644 index 00000000..76527684 --- /dev/null +++ b/fireblocks/models/tr_link_connect_integration_request.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkConnectIntegrationRequest(BaseModel): + """ + TRLinkConnectIntegrationRequest + """ # noqa: E501 + api_key: StrictStr = Field(description="API key provided by the Travel Rule partner", alias="apiKey") + secret: Optional[StrictStr] = Field(default=None, description="Secret/password provided by the Travel Rule partner (optional)") + __properties: ClassVar[List[str]] = ["apiKey", "secret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkConnectIntegrationRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if secret (nullable) is None + # and model_fields_set contains the field + if self.secret is None and "secret" in self.model_fields_set: + _dict['secret'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkConnectIntegrationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiKey": obj.get("apiKey"), + "secret": obj.get("secret") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_create_customer_request.py b/fireblocks/models/tr_link_create_customer_request.py new file mode 100644 index 00000000..f77b2de2 --- /dev/null +++ b/fireblocks/models/tr_link_create_customer_request.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import date +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus +from fireblocks.models.tr_link_geographic_address_request import TRLinkGeographicAddressRequest +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCreateCustomerRequest(BaseModel): + """ + TRLinkCreateCustomerRequest + """ # noqa: E501 + discoverable: Optional[TRLinkDiscoverableStatus] = None + short_name: StrictStr = Field(description="Short display name (required)", alias="shortName") + full_legal_name: Optional[StrictStr] = Field(default=None, description="Full legal entity name", alias="fullLegalName") + geographic_address: Optional[TRLinkGeographicAddressRequest] = Field(default=None, alias="geographicAddress") + country_of_registration: Optional[StrictStr] = Field(default=None, description="ISO 3166-1 alpha-2 country code where the entity is registered", alias="countryOfRegistration") + national_identification: Optional[StrictStr] = Field(default=None, description="National identification as JSON string", alias="nationalIdentification") + date_of_incorporation: Optional[date] = Field(default=None, description="Date of entity incorporation (ISO 8601 format: YYYY-MM-DD)", alias="dateOfIncorporation") + vaults: Optional[List[StrictInt]] = Field(default=None, description="Associated Fireblocks vault account IDs") + tr_primary_purpose: Optional[StrictStr] = Field(default=None, description="Primary purpose for Travel Rule compliance (enum value)", alias="trPrimaryPurpose") + __properties: ClassVar[List[str]] = ["discoverable", "shortName", "fullLegalName", "geographicAddress", "countryOfRegistration", "nationalIdentification", "dateOfIncorporation", "vaults", "trPrimaryPurpose"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCreateCustomerRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of geographic_address + if self.geographic_address: + _dict['geographicAddress'] = self.geographic_address.to_dict() + # set to None if discoverable (nullable) is None + # and model_fields_set contains the field + if self.discoverable is None and "discoverable" in self.model_fields_set: + _dict['discoverable'] = None + + # set to None if full_legal_name (nullable) is None + # and model_fields_set contains the field + if self.full_legal_name is None and "full_legal_name" in self.model_fields_set: + _dict['fullLegalName'] = None + + # set to None if geographic_address (nullable) is None + # and model_fields_set contains the field + if self.geographic_address is None and "geographic_address" in self.model_fields_set: + _dict['geographicAddress'] = None + + # set to None if country_of_registration (nullable) is None + # and model_fields_set contains the field + if self.country_of_registration is None and "country_of_registration" in self.model_fields_set: + _dict['countryOfRegistration'] = None + + # set to None if national_identification (nullable) is None + # and model_fields_set contains the field + if self.national_identification is None and "national_identification" in self.model_fields_set: + _dict['nationalIdentification'] = None + + # set to None if date_of_incorporation (nullable) is None + # and model_fields_set contains the field + if self.date_of_incorporation is None and "date_of_incorporation" in self.model_fields_set: + _dict['dateOfIncorporation'] = None + + # set to None if vaults (nullable) is None + # and model_fields_set contains the field + if self.vaults is None and "vaults" in self.model_fields_set: + _dict['vaults'] = None + + # set to None if tr_primary_purpose (nullable) is None + # and model_fields_set contains the field + if self.tr_primary_purpose is None and "tr_primary_purpose" in self.model_fields_set: + _dict['trPrimaryPurpose'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCreateCustomerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "discoverable": obj.get("discoverable"), + "shortName": obj.get("shortName"), + "fullLegalName": obj.get("fullLegalName"), + "geographicAddress": TRLinkGeographicAddressRequest.from_dict(obj["geographicAddress"]) if obj.get("geographicAddress") is not None else None, + "countryOfRegistration": obj.get("countryOfRegistration"), + "nationalIdentification": obj.get("nationalIdentification"), + "dateOfIncorporation": obj.get("dateOfIncorporation"), + "vaults": obj.get("vaults"), + "trPrimaryPurpose": obj.get("trPrimaryPurpose") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_create_integration_request.py b/fireblocks/models/tr_link_create_integration_request.py new file mode 100644 index 00000000..ddaf69ee --- /dev/null +++ b/fireblocks/models/tr_link_create_integration_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCreateIntegrationRequest(BaseModel): + """ + TRLinkCreateIntegrationRequest + """ # noqa: E501 + customer_id: StrictStr = Field(description="Customer unique identifier", alias="customerId") + partner_ident: StrictStr = Field(description="Partner identification code (e.g., \"sumsub\", \"notabene\")", alias="partnerIdent") + __properties: ClassVar[List[str]] = ["customerId", "partnerIdent"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCreateIntegrationRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCreateIntegrationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "partnerIdent": obj.get("partnerIdent") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_create_trm_request.py b/fireblocks/models/tr_link_create_trm_request.py new file mode 100644 index 00000000..4aa3db4d --- /dev/null +++ b/fireblocks/models/tr_link_create_trm_request.py @@ -0,0 +1,177 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_destination_transfer_peer_path import TRLinkDestinationTransferPeerPath +from fireblocks.models.tr_link_ivms import TRLinkIvms +from fireblocks.models.tr_link_source_transfer_peer_path import TRLinkSourceTransferPeerPath +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCreateTrmRequest(BaseModel): + """ + Request to create a Travel Rule Message with IVMS101 PII data + """ # noqa: E501 + asset_id: Optional[StrictStr] = Field(default=None, description="Asset identifier (required when txId not provided)", alias="assetId") + amount: Optional[StrictStr] = Field(default=None, description="Transaction amount (required when txId not provided)") + amount_usd: Optional[StrictStr] = Field(default=None, description="Amount in USD (optional)", alias="amountUSD") + source: Optional[TRLinkSourceTransferPeerPath] = None + src_address: Optional[StrictStr] = Field(default=None, description="Source address (optional)", alias="srcAddress") + destination: Optional[TRLinkDestinationTransferPeerPath] = None + dest_address: Optional[StrictStr] = Field(default=None, description="Destination address (optional)", alias="destAddress") + dest_tag: Optional[StrictStr] = Field(default=None, description="Destination tag (optional)", alias="destTag") + tx_id: Optional[StrictStr] = Field(default=None, description="Fireblocks transaction ID (optional) - RECOMMENDED for inbound transactions", alias="txId") + tx_hash: Optional[StrictStr] = Field(default=None, description="Transaction hash (optional)", alias="txHash") + direction: Optional[TRLinkTransactionDirection] = None + originator_vasp_id: Optional[StrictStr] = Field(default=None, description="Originator VASP identifier - required for inbound transactions", alias="originatorVaspId") + beneficiary_vasp_id: Optional[StrictStr] = Field(default=None, description="Beneficiary VASP identifier - required for outbound transactions", alias="beneficiaryVaspId") + ivms101: TRLinkIvms + __properties: ClassVar[List[str]] = ["assetId", "amount", "amountUSD", "source", "srcAddress", "destination", "destAddress", "destTag", "txId", "txHash", "direction", "originatorVaspId", "beneficiaryVaspId", "ivms101"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCreateTrmRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of source + if self.source: + _dict['source'] = self.source.to_dict() + # override the default output from pydantic by calling `to_dict()` of destination + if self.destination: + _dict['destination'] = self.destination.to_dict() + # override the default output from pydantic by calling `to_dict()` of ivms101 + if self.ivms101: + _dict['ivms101'] = self.ivms101.to_dict() + # set to None if asset_id (nullable) is None + # and model_fields_set contains the field + if self.asset_id is None and "asset_id" in self.model_fields_set: + _dict['assetId'] = None + + # set to None if amount (nullable) is None + # and model_fields_set contains the field + if self.amount is None and "amount" in self.model_fields_set: + _dict['amount'] = None + + # set to None if amount_usd (nullable) is None + # and model_fields_set contains the field + if self.amount_usd is None and "amount_usd" in self.model_fields_set: + _dict['amountUSD'] = None + + # set to None if src_address (nullable) is None + # and model_fields_set contains the field + if self.src_address is None and "src_address" in self.model_fields_set: + _dict['srcAddress'] = None + + # set to None if dest_address (nullable) is None + # and model_fields_set contains the field + if self.dest_address is None and "dest_address" in self.model_fields_set: + _dict['destAddress'] = None + + # set to None if dest_tag (nullable) is None + # and model_fields_set contains the field + if self.dest_tag is None and "dest_tag" in self.model_fields_set: + _dict['destTag'] = None + + # set to None if tx_id (nullable) is None + # and model_fields_set contains the field + if self.tx_id is None and "tx_id" in self.model_fields_set: + _dict['txId'] = None + + # set to None if tx_hash (nullable) is None + # and model_fields_set contains the field + if self.tx_hash is None and "tx_hash" in self.model_fields_set: + _dict['txHash'] = None + + # set to None if originator_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.originator_vasp_id is None and "originator_vasp_id" in self.model_fields_set: + _dict['originatorVaspId'] = None + + # set to None if beneficiary_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.beneficiary_vasp_id is None and "beneficiary_vasp_id" in self.model_fields_set: + _dict['beneficiaryVaspId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCreateTrmRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "assetId": obj.get("assetId"), + "amount": obj.get("amount"), + "amountUSD": obj.get("amountUSD"), + "source": TRLinkSourceTransferPeerPath.from_dict(obj["source"]) if obj.get("source") is not None else None, + "srcAddress": obj.get("srcAddress"), + "destination": TRLinkDestinationTransferPeerPath.from_dict(obj["destination"]) if obj.get("destination") is not None else None, + "destAddress": obj.get("destAddress"), + "destTag": obj.get("destTag"), + "txId": obj.get("txId"), + "txHash": obj.get("txHash"), + "direction": obj.get("direction"), + "originatorVaspId": obj.get("originatorVaspId"), + "beneficiaryVaspId": obj.get("beneficiaryVaspId"), + "ivms101": TRLinkIvms.from_dict(obj["ivms101"]) if obj.get("ivms101") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_currency.py b/fireblocks/models/tr_link_currency.py new file mode 100644 index 00000000..30c05f45 --- /dev/null +++ b/fireblocks/models/tr_link_currency.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkCurrency(str, Enum): + """ + TRLinkCurrency + """ + + """ + allowed enum values + """ + USD = 'USD' + NATIVE = 'NATIVE' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkCurrency from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_customer_integration_response.py b/fireblocks/models/tr_link_customer_integration_response.py new file mode 100644 index 00000000..32e4e58b --- /dev/null +++ b/fireblocks/models/tr_link_customer_integration_response.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCustomerIntegrationResponse(BaseModel): + """ + TRLinkCustomerIntegrationResponse + """ # noqa: E501 + customer_integration_id: StrictStr = Field(description="Customer integration unique identifier", alias="customerIntegrationId") + api_key: Optional[StrictStr] = Field(default=None, description="API key for partner integration (censored for security)", alias="apiKey") + secret: Optional[StrictStr] = Field(default=None, description="Secret for partner integration (censored for security)") + create_date: datetime = Field(description="Timestamp when the integration was created (ISO 8601 format)", alias="createDate") + last_update: datetime = Field(description="Timestamp when the integration was last updated (ISO 8601 format)", alias="lastUpdate") + partner: TRLinkPartnerResponse + customer: TRLinkCustomerResponse + __properties: ClassVar[List[str]] = ["customerIntegrationId", "apiKey", "secret", "createDate", "lastUpdate", "partner", "customer"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCustomerIntegrationResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of partner + if self.partner: + _dict['partner'] = self.partner.to_dict() + # override the default output from pydantic by calling `to_dict()` of customer + if self.customer: + _dict['customer'] = self.customer.to_dict() + # set to None if api_key (nullable) is None + # and model_fields_set contains the field + if self.api_key is None and "api_key" in self.model_fields_set: + _dict['apiKey'] = None + + # set to None if secret (nullable) is None + # and model_fields_set contains the field + if self.secret is None and "secret" in self.model_fields_set: + _dict['secret'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCustomerIntegrationResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerIntegrationId": obj.get("customerIntegrationId"), + "apiKey": obj.get("apiKey"), + "secret": obj.get("secret"), + "createDate": obj.get("createDate"), + "lastUpdate": obj.get("lastUpdate"), + "partner": TRLinkPartnerResponse.from_dict(obj["partner"]) if obj.get("partner") is not None else None, + "customer": TRLinkCustomerResponse.from_dict(obj["customer"]) if obj.get("customer") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_customer_response.py b/fireblocks/models/tr_link_customer_response.py new file mode 100644 index 00000000..7d00a290 --- /dev/null +++ b/fireblocks/models/tr_link_customer_response.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import date, datetime +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus +from fireblocks.models.tr_link_geographic_address_request import TRLinkGeographicAddressRequest +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkCustomerResponse(BaseModel): + """ + TRLinkCustomerResponse + """ # noqa: E501 + id: StrictStr = Field(description="Customer unique identifier") + tenant_id: StrictStr = Field(description="Fireblocks tenant ID", alias="tenantId") + discoverable: Optional[TRLinkDiscoverableStatus] + short_name: StrictStr = Field(description="Short display name", alias="shortName") + full_legal_name: StrictStr = Field(description="Full legal entity name", alias="fullLegalName") + geographic_address: Optional[TRLinkGeographicAddressRequest] = Field(default=None, alias="geographicAddress") + country_of_registration: StrictStr = Field(description="ISO 3166-1 alpha-2 country code where the entity is registered", alias="countryOfRegistration") + national_identification: Optional[StrictStr] = Field(default=None, description="National identification (serialized as string)", alias="nationalIdentification") + date_of_incorporation: Optional[date] = Field(default=None, description="Date of entity incorporation (ISO 8601 format)", alias="dateOfIncorporation") + vaults: Optional[List[StrictInt]] = Field(default=None, description="Associated Fireblocks vault account IDs") + tr_primary_purpose: Optional[StrictStr] = Field(default=None, description="Primary purpose for Travel Rule compliance", alias="trPrimaryPurpose") + create_date: datetime = Field(description="Timestamp when the customer was created (ISO 8601 format)", alias="createDate") + last_update: datetime = Field(description="Timestamp when the customer was last updated (ISO 8601 format)", alias="lastUpdate") + __properties: ClassVar[List[str]] = ["id", "tenantId", "discoverable", "shortName", "fullLegalName", "geographicAddress", "countryOfRegistration", "nationalIdentification", "dateOfIncorporation", "vaults", "trPrimaryPurpose", "createDate", "lastUpdate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkCustomerResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of geographic_address + if self.geographic_address: + _dict['geographicAddress'] = self.geographic_address.to_dict() + # set to None if discoverable (nullable) is None + # and model_fields_set contains the field + if self.discoverable is None and "discoverable" in self.model_fields_set: + _dict['discoverable'] = None + + # set to None if geographic_address (nullable) is None + # and model_fields_set contains the field + if self.geographic_address is None and "geographic_address" in self.model_fields_set: + _dict['geographicAddress'] = None + + # set to None if national_identification (nullable) is None + # and model_fields_set contains the field + if self.national_identification is None and "national_identification" in self.model_fields_set: + _dict['nationalIdentification'] = None + + # set to None if date_of_incorporation (nullable) is None + # and model_fields_set contains the field + if self.date_of_incorporation is None and "date_of_incorporation" in self.model_fields_set: + _dict['dateOfIncorporation'] = None + + # set to None if vaults (nullable) is None + # and model_fields_set contains the field + if self.vaults is None and "vaults" in self.model_fields_set: + _dict['vaults'] = None + + # set to None if tr_primary_purpose (nullable) is None + # and model_fields_set contains the field + if self.tr_primary_purpose is None and "tr_primary_purpose" in self.model_fields_set: + _dict['trPrimaryPurpose'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkCustomerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "tenantId": obj.get("tenantId"), + "discoverable": obj.get("discoverable"), + "shortName": obj.get("shortName"), + "fullLegalName": obj.get("fullLegalName"), + "geographicAddress": TRLinkGeographicAddressRequest.from_dict(obj["geographicAddress"]) if obj.get("geographicAddress") is not None else None, + "countryOfRegistration": obj.get("countryOfRegistration"), + "nationalIdentification": obj.get("nationalIdentification"), + "dateOfIncorporation": obj.get("dateOfIncorporation"), + "vaults": obj.get("vaults"), + "trPrimaryPurpose": obj.get("trPrimaryPurpose"), + "createDate": obj.get("createDate"), + "lastUpdate": obj.get("lastUpdate") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_destination_transfer_peer_path.py b/fireblocks/models/tr_link_destination_transfer_peer_path.py new file mode 100644 index 00000000..75375432 --- /dev/null +++ b/fireblocks/models/tr_link_destination_transfer_peer_path.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_one_time_address import TRLinkOneTimeAddress +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkDestinationTransferPeerPath(BaseModel): + """ + Destination peer path for transaction + """ # noqa: E501 + type: StrictStr = Field(description="Destination peer type (e.g., ONE_TIME_ADDRESS, VAULT_ACCOUNT)") + id: Optional[StrictStr] = Field(default=None, description="Destination peer ID") + wallet_id: Optional[StrictStr] = Field(default=None, description="Destination wallet ID", alias="walletId") + one_time_address: Optional[TRLinkOneTimeAddress] = Field(default=None, alias="oneTimeAddress") + __properties: ClassVar[List[str]] = ["type", "id", "walletId", "oneTimeAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkDestinationTransferPeerPath from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of one_time_address + if self.one_time_address: + _dict['oneTimeAddress'] = self.one_time_address.to_dict() + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if wallet_id (nullable) is None + # and model_fields_set contains the field + if self.wallet_id is None and "wallet_id" in self.model_fields_set: + _dict['walletId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkDestinationTransferPeerPath from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "id": obj.get("id"), + "walletId": obj.get("walletId"), + "oneTimeAddress": TRLinkOneTimeAddress.from_dict(obj["oneTimeAddress"]) if obj.get("oneTimeAddress") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_discoverable_status.py b/fireblocks/models/tr_link_discoverable_status.py new file mode 100644 index 00000000..e89717ab --- /dev/null +++ b/fireblocks/models/tr_link_discoverable_status.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkDiscoverableStatus(str, Enum): + """ + Customer discoverability status in the Travel Rule network + """ + + """ + allowed enum values + """ + ANONYMOUS = 'anonymous' + HIDDEN = 'hidden' + DISCOVERABLE = 'discoverable' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkDiscoverableStatus from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_fiat_value.py b/fireblocks/models/tr_link_fiat_value.py new file mode 100644 index 00000000..01d4fa0a --- /dev/null +++ b/fireblocks/models/tr_link_fiat_value.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkFiatValue(BaseModel): + """ + TRLinkFiatValue + """ # noqa: E501 + amount: StrictStr = Field(description="Fiat amount") + currency: StrictStr = Field(description="Fiat currency code") + __properties: ClassVar[List[str]] = ["amount", "currency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkFiatValue from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkFiatValue from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "amount": obj.get("amount"), + "currency": obj.get("currency") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_geographic_address_request.py b/fireblocks/models/tr_link_geographic_address_request.py new file mode 100644 index 00000000..b9569d30 --- /dev/null +++ b/fireblocks/models/tr_link_geographic_address_request.py @@ -0,0 +1,157 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkGeographicAddressRequest(BaseModel): + """ + Geographic address following IVMS101 standard + """ # noqa: E501 + address_line: Optional[Annotated[List[Annotated[str, Field(strict=True, max_length=70)]], Field(max_length=3)]] = Field(default=None, description="Address lines (max 3, each up to 70 characters)", alias="addressLine") + street_name: Optional[Annotated[str, Field(strict=True, max_length=70)]] = Field(default=None, description="Street name (required if buildingNumber is provided)", alias="streetName") + building_number: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(default=None, description="Building number", alias="buildingNumber") + floor: Optional[Annotated[str, Field(strict=True, max_length=70)]] = Field(default=None, description="Floor number") + post_box: Optional[Annotated[str, Field(strict=True, max_length=16)]] = Field(default=None, description="Post box number", alias="postBox") + post_code: Optional[Annotated[str, Field(strict=True, max_length=16)]] = Field(default=None, description="Postal code (required if townName is provided)", alias="postCode") + town_name: Optional[Annotated[str, Field(strict=True, max_length=35)]] = Field(default=None, description="City or town name (required if postCode is provided)", alias="townName") + district_name: Optional[Annotated[str, Field(strict=True, max_length=35)]] = Field(default=None, description="District name", alias="districtName") + country_sub_division: Optional[Annotated[str, Field(strict=True, max_length=35)]] = Field(default=None, description="State or province (validated against country)", alias="countrySubDivision") + country: Optional[StrictStr] = Field(default=None, description="ISO 3166-1 alpha-2 country code (required if town, district, or sub-division provided)") + __properties: ClassVar[List[str]] = ["addressLine", "streetName", "buildingNumber", "floor", "postBox", "postCode", "townName", "districtName", "countrySubDivision", "country"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkGeographicAddressRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if address_line (nullable) is None + # and model_fields_set contains the field + if self.address_line is None and "address_line" in self.model_fields_set: + _dict['addressLine'] = None + + # set to None if street_name (nullable) is None + # and model_fields_set contains the field + if self.street_name is None and "street_name" in self.model_fields_set: + _dict['streetName'] = None + + # set to None if building_number (nullable) is None + # and model_fields_set contains the field + if self.building_number is None and "building_number" in self.model_fields_set: + _dict['buildingNumber'] = None + + # set to None if floor (nullable) is None + # and model_fields_set contains the field + if self.floor is None and "floor" in self.model_fields_set: + _dict['floor'] = None + + # set to None if post_box (nullable) is None + # and model_fields_set contains the field + if self.post_box is None and "post_box" in self.model_fields_set: + _dict['postBox'] = None + + # set to None if post_code (nullable) is None + # and model_fields_set contains the field + if self.post_code is None and "post_code" in self.model_fields_set: + _dict['postCode'] = None + + # set to None if town_name (nullable) is None + # and model_fields_set contains the field + if self.town_name is None and "town_name" in self.model_fields_set: + _dict['townName'] = None + + # set to None if district_name (nullable) is None + # and model_fields_set contains the field + if self.district_name is None and "district_name" in self.model_fields_set: + _dict['districtName'] = None + + # set to None if country_sub_division (nullable) is None + # and model_fields_set contains the field + if self.country_sub_division is None and "country_sub_division" in self.model_fields_set: + _dict['countrySubDivision'] = None + + # set to None if country (nullable) is None + # and model_fields_set contains the field + if self.country is None and "country" in self.model_fields_set: + _dict['country'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkGeographicAddressRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "addressLine": obj.get("addressLine"), + "streetName": obj.get("streetName"), + "buildingNumber": obj.get("buildingNumber"), + "floor": obj.get("floor"), + "postBox": obj.get("postBox"), + "postCode": obj.get("postCode"), + "townName": obj.get("townName"), + "districtName": obj.get("districtName"), + "countrySubDivision": obj.get("countrySubDivision"), + "country": obj.get("country") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_get_supported_asset_response.py b/fireblocks/models/tr_link_get_supported_asset_response.py new file mode 100644 index 00000000..a531829b --- /dev/null +++ b/fireblocks/models/tr_link_get_supported_asset_response.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkGetSupportedAssetResponse(BaseModel): + """ + Response for getting a single supported asset by ID + """ # noqa: E501 + fireblocks_asset: TRLinkPublicAssetInfo = Field(alias="fireblocksAsset") + partner_response: Optional[Dict[str, Any]] = Field(description="Raw partner response data", alias="partnerResponse") + partner_can_handle_any_asset: StrictBool = Field(description="Whether partner can handle any asset (not just explicitly listed ones)", alias="partnerCanHandleAnyAsset") + note: StrictStr = Field(description="Note about asset support capabilities") + supported: StrictBool = Field(description="Whether the asset is supported by the partner") + __properties: ClassVar[List[str]] = ["fireblocksAsset", "partnerResponse", "partnerCanHandleAnyAsset", "note", "supported"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkGetSupportedAssetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of fireblocks_asset + if self.fireblocks_asset: + _dict['fireblocksAsset'] = self.fireblocks_asset.to_dict() + # set to None if partner_response (nullable) is None + # and model_fields_set contains the field + if self.partner_response is None and "partner_response" in self.model_fields_set: + _dict['partnerResponse'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkGetSupportedAssetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fireblocksAsset": TRLinkPublicAssetInfo.from_dict(obj["fireblocksAsset"]) if obj.get("fireblocksAsset") is not None else None, + "partnerResponse": obj.get("partnerResponse"), + "partnerCanHandleAnyAsset": obj.get("partnerCanHandleAnyAsset"), + "note": obj.get("note"), + "supported": obj.get("supported") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_ivms.py b/fireblocks/models/tr_link_ivms.py new file mode 100644 index 00000000..a95963a9 --- /dev/null +++ b/fireblocks/models/tr_link_ivms.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkIvms(BaseModel): + """ + IVMS101 data structure containing encrypted PII + """ # noqa: E501 + version: StrictStr = Field(description="IVMS version") + data: StrictStr = Field(description="Encrypted IVMS101 data containing originator and beneficiary information") + filled_fields: List[StrictStr] = Field(description="List of fields that are filled in the IVMS data", alias="filledFields") + __properties: ClassVar[List[str]] = ["version", "data", "filledFields"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkIvms from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkIvms from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "version": obj.get("version"), + "data": obj.get("data"), + "filledFields": obj.get("filledFields") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_ivms_response.py b/fireblocks/models/tr_link_ivms_response.py new file mode 100644 index 00000000..24e278d0 --- /dev/null +++ b/fireblocks/models/tr_link_ivms_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkIvmsResponse(BaseModel): + """ + IVMS101 data in response format + """ # noqa: E501 + version: StrictStr = Field(description="IVMS101 version") + data: StrictStr = Field(description="Base64 encoded IVMS101 data containing originator and beneficiary information") + filled_fields: List[StrictStr] = Field(description="List of fields that are filled in the IVMS101 data", alias="filledFields") + __properties: ClassVar[List[str]] = ["version", "data", "filledFields"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkIvmsResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkIvmsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "version": obj.get("version"), + "data": obj.get("data"), + "filledFields": obj.get("filledFields") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_jwk_public_key.py b/fireblocks/models/tr_link_jwk_public_key.py new file mode 100644 index 00000000..7985e4e7 --- /dev/null +++ b/fireblocks/models/tr_link_jwk_public_key.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkJwkPublicKey(BaseModel): + """ + JSON Web Key (JWK) format public key + """ # noqa: E501 + kty: StrictStr = Field(description="Key type") + e: StrictStr = Field(description="RSA public exponent") + use: StrictStr = Field(description="Public key use (encryption)") + kid: StrictStr = Field(description="Key ID") + n: StrictStr = Field(description="RSA modulus") + __properties: ClassVar[List[str]] = ["kty", "e", "use", "kid", "n"] + + @field_validator('kty') + def kty_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['RSA']): + raise ValueError("must be one of enum values ('RSA')") + return value + + @field_validator('use') + def use_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['enc']): + raise ValueError("must be one of enum values ('enc')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkJwkPublicKey from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkJwkPublicKey from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "kty": obj.get("kty"), + "e": obj.get("e"), + "use": obj.get("use"), + "kid": obj.get("kid"), + "n": obj.get("n") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_missing_trm_action.py b/fireblocks/models/tr_link_missing_trm_action.py index b4081537..7434f503 100644 --- a/fireblocks/models/tr_link_missing_trm_action.py +++ b/fireblocks/models/tr_link_missing_trm_action.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_missing_trm_action2.py b/fireblocks/models/tr_link_missing_trm_action2.py new file mode 100644 index 00000000..b42331da --- /dev/null +++ b/fireblocks/models/tr_link_missing_trm_action2.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkMissingTrmAction2(str, Enum): + """ + TRLinkMissingTrmAction2 + """ + + """ + allowed enum values + """ + WAIT = 'WAIT' + REJECT = 'REJECT' + ACCEPT = 'ACCEPT' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkMissingTrmAction2 from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_missing_trm_action_enum.py b/fireblocks/models/tr_link_missing_trm_action_enum.py index 9a1d8a55..f8fa77c7 100644 --- a/fireblocks/models/tr_link_missing_trm_action_enum.py +++ b/fireblocks/models/tr_link_missing_trm_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_missing_trm_decision.py b/fireblocks/models/tr_link_missing_trm_decision.py index 6b8b52bf..190d954e 100644 --- a/fireblocks/models/tr_link_missing_trm_decision.py +++ b/fireblocks/models/tr_link_missing_trm_decision.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_missing_trm_rule.py b/fireblocks/models/tr_link_missing_trm_rule.py index 8ac8bcb7..4b7da0b1 100644 --- a/fireblocks/models/tr_link_missing_trm_rule.py +++ b/fireblocks/models/tr_link_missing_trm_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_missing_trm_rule2.py b/fireblocks/models/tr_link_missing_trm_rule2.py new file mode 100644 index 00000000..98320a5e --- /dev/null +++ b/fireblocks/models/tr_link_missing_trm_rule2.py @@ -0,0 +1,217 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 +from fireblocks.models.tr_link_missing_trm_action2 import TRLinkMissingTrmAction2 +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkMissingTrmRule2(BaseModel): + """ + Rule for handling transactions when TRM screening data is missing or unavailable + """ # noqa: E501 + customer_id: Optional[StrictStr] = Field(default=None, description="Customer identifier", alias="customerId") + direction: Optional[TRLinkTransactionDirection] = None + source_type: Optional[StrictStr] = Field(default=None, description="Source entity type", alias="sourceType") + source_sub_type: Optional[StrictStr] = Field(default=None, description="Source entity subtype", alias="sourceSubType") + source_address: Optional[StrictStr] = Field(default=None, description="Source blockchain address", alias="sourceAddress") + dest_type: Optional[StrictStr] = Field(default=None, description="Destination entity type", alias="destType") + dest_sub_type: Optional[StrictStr] = Field(default=None, description="Destination entity subtype", alias="destSubType") + dest_address: Optional[StrictStr] = Field(default=None, description="Destination blockchain address", alias="destAddress") + source_id: Optional[StrictStr] = Field(default=None, description="Source identifier", alias="sourceId") + dest_id: Optional[StrictStr] = Field(default=None, description="Destination identifier", alias="destId") + asset: Optional[StrictStr] = Field(default=None, description="Asset or cryptocurrency type") + base_asset: Optional[StrictStr] = Field(default=None, description="Base asset for derivatives", alias="baseAsset") + amount: Optional[TRLinkAmount2] = None + network_protocol: Optional[StrictStr] = Field(default=None, description="Network protocol identifier", alias="networkProtocol") + operation: Optional[StrictStr] = Field(default=None, description="Operation type") + description: Optional[StrictStr] = Field(default=None, description="Rule description") + is_default: Optional[StrictBool] = Field(default=None, description="Whether this is a default rule", alias="isDefault") + valid_before: Optional[StrictInt] = Field(default=None, description="Rule is valid before this timestamp (milliseconds)", alias="validBefore") + valid_after: Optional[StrictInt] = Field(default=None, description="Rule is valid after this timestamp (milliseconds)", alias="validAfter") + action: TRLinkMissingTrmAction2 + __properties: ClassVar[List[str]] = ["customerId", "direction", "sourceType", "sourceSubType", "sourceAddress", "destType", "destSubType", "destAddress", "sourceId", "destId", "asset", "baseAsset", "amount", "networkProtocol", "operation", "description", "isDefault", "validBefore", "validAfter", "action"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkMissingTrmRule2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of amount + if self.amount: + _dict['amount'] = self.amount.to_dict() + # set to None if customer_id (nullable) is None + # and model_fields_set contains the field + if self.customer_id is None and "customer_id" in self.model_fields_set: + _dict['customerId'] = None + + # set to None if source_type (nullable) is None + # and model_fields_set contains the field + if self.source_type is None and "source_type" in self.model_fields_set: + _dict['sourceType'] = None + + # set to None if source_sub_type (nullable) is None + # and model_fields_set contains the field + if self.source_sub_type is None and "source_sub_type" in self.model_fields_set: + _dict['sourceSubType'] = None + + # set to None if source_address (nullable) is None + # and model_fields_set contains the field + if self.source_address is None and "source_address" in self.model_fields_set: + _dict['sourceAddress'] = None + + # set to None if dest_type (nullable) is None + # and model_fields_set contains the field + if self.dest_type is None and "dest_type" in self.model_fields_set: + _dict['destType'] = None + + # set to None if dest_sub_type (nullable) is None + # and model_fields_set contains the field + if self.dest_sub_type is None and "dest_sub_type" in self.model_fields_set: + _dict['destSubType'] = None + + # set to None if dest_address (nullable) is None + # and model_fields_set contains the field + if self.dest_address is None and "dest_address" in self.model_fields_set: + _dict['destAddress'] = None + + # set to None if source_id (nullable) is None + # and model_fields_set contains the field + if self.source_id is None and "source_id" in self.model_fields_set: + _dict['sourceId'] = None + + # set to None if dest_id (nullable) is None + # and model_fields_set contains the field + if self.dest_id is None and "dest_id" in self.model_fields_set: + _dict['destId'] = None + + # set to None if asset (nullable) is None + # and model_fields_set contains the field + if self.asset is None and "asset" in self.model_fields_set: + _dict['asset'] = None + + # set to None if base_asset (nullable) is None + # and model_fields_set contains the field + if self.base_asset is None and "base_asset" in self.model_fields_set: + _dict['baseAsset'] = None + + # set to None if network_protocol (nullable) is None + # and model_fields_set contains the field + if self.network_protocol is None and "network_protocol" in self.model_fields_set: + _dict['networkProtocol'] = None + + # set to None if operation (nullable) is None + # and model_fields_set contains the field + if self.operation is None and "operation" in self.model_fields_set: + _dict['operation'] = None + + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if is_default (nullable) is None + # and model_fields_set contains the field + if self.is_default is None and "is_default" in self.model_fields_set: + _dict['isDefault'] = None + + # set to None if valid_before (nullable) is None + # and model_fields_set contains the field + if self.valid_before is None and "valid_before" in self.model_fields_set: + _dict['validBefore'] = None + + # set to None if valid_after (nullable) is None + # and model_fields_set contains the field + if self.valid_after is None and "valid_after" in self.model_fields_set: + _dict['validAfter'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkMissingTrmRule2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "direction": obj.get("direction"), + "sourceType": obj.get("sourceType"), + "sourceSubType": obj.get("sourceSubType"), + "sourceAddress": obj.get("sourceAddress"), + "destType": obj.get("destType"), + "destSubType": obj.get("destSubType"), + "destAddress": obj.get("destAddress"), + "sourceId": obj.get("sourceId"), + "destId": obj.get("destId"), + "asset": obj.get("asset"), + "baseAsset": obj.get("baseAsset"), + "amount": TRLinkAmount2.from_dict(obj["amount"]) if obj.get("amount") is not None else None, + "networkProtocol": obj.get("networkProtocol"), + "operation": obj.get("operation"), + "description": obj.get("description"), + "isDefault": obj.get("isDefault"), + "validBefore": obj.get("validBefore"), + "validAfter": obj.get("validAfter"), + "action": obj.get("action") + }) + return _obj + + diff --git a/fireblocks/models/create_assets_bulk_request.py b/fireblocks/models/tr_link_one_time_address.py similarity index 65% rename from fireblocks/models/create_assets_bulk_request.py rename to fireblocks/models/tr_link_one_time_address.py index 681dab6d..fce65394 100644 --- a/fireblocks/models/create_assets_bulk_request.py +++ b/fireblocks/models/tr_link_one_time_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,14 +23,13 @@ from typing import Optional, Set from typing_extensions import Self -class CreateAssetsBulkRequest(BaseModel): +class TRLinkOneTimeAddress(BaseModel): """ - CreateAssetsBulkRequest + TRLinkOneTimeAddress """ # noqa: E501 - asset_id: Optional[StrictStr] = Field(default=None, description="The ID of the new asset", alias="assetId") - vault_account_id_from: Optional[StrictStr] = Field(default=None, description="The smallest vault account ID in the range", alias="vaultAccountIdFrom") - vault_account_id_to: Optional[StrictStr] = Field(default=None, description="The largest vault account ID in the range", alias="vaultAccountIdTo") - __properties: ClassVar[List[str]] = ["assetId", "vaultAccountIdFrom", "vaultAccountIdTo"] + address: StrictStr = Field(description="Blockchain address") + tag: Optional[StrictStr] = Field(default=None, description="Destination tag (memo, memo ID, etc.)") + __properties: ClassVar[List[str]] = ["address", "tag"] model_config = ConfigDict( populate_by_name=True, @@ -50,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of CreateAssetsBulkRequest from a JSON string""" + """Create an instance of TRLinkOneTimeAddress from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -71,11 +70,16 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # set to None if tag (nullable) is None + # and model_fields_set contains the field + if self.tag is None and "tag" in self.model_fields_set: + _dict['tag'] = None + return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of CreateAssetsBulkRequest from a dict""" + """Create an instance of TRLinkOneTimeAddress from a dict""" if obj is None: return None @@ -83,9 +87,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "assetId": obj.get("assetId"), - "vaultAccountIdFrom": obj.get("vaultAccountIdFrom"), - "vaultAccountIdTo": obj.get("vaultAccountIdTo") + "address": obj.get("address"), + "tag": obj.get("tag") }) return _obj diff --git a/fireblocks/models/provider_id.py b/fireblocks/models/tr_link_paging.py similarity index 74% rename from fireblocks/models/provider_id.py rename to fireblocks/models/tr_link_paging.py index 0cf1c090..2f3bc76a 100644 --- a/fireblocks/models/provider_id.py +++ b/fireblocks/models/tr_link_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,12 +23,12 @@ from typing import Optional, Set from typing_extensions import Self -class ProviderID(BaseModel): +class TRLinkPaging(BaseModel): """ - ProviderID + TRLinkPaging """ # noqa: E501 - provider_id: StrictStr = Field(description="The ID of the provider associated with the account.", alias="providerId") - __properties: ClassVar[List[str]] = ["providerId"] + next: StrictStr = Field(description="Cursor for next page") + __properties: ClassVar[List[str]] = ["next"] model_config = ConfigDict( populate_by_name=True, @@ -48,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ProviderID from a JSON string""" + """Create an instance of TRLinkPaging from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -73,7 +73,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ProviderID from a dict""" + """Create an instance of TRLinkPaging from a dict""" if obj is None: return None @@ -81,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "providerId": obj.get("providerId") + "next": obj.get("next") }) return _obj diff --git a/fireblocks/models/tr_link_partner_response.py b/fireblocks/models/tr_link_partner_response.py new file mode 100644 index 00000000..f7be030e --- /dev/null +++ b/fireblocks/models/tr_link_partner_response.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPartnerResponse(BaseModel): + """ + TRLinkPartnerResponse + """ # noqa: E501 + id: StrictStr = Field(description="Partner unique identifier") + ident: StrictStr = Field(description="Partner identification code") + name: StrictStr = Field(description="Partner display name") + description: Optional[StrictStr] = Field(default=None, description="Partner description") + base_url: StrictStr = Field(description="Partner API base URL", alias="baseUrl") + active: StrictBool = Field(description="Whether the partner is active") + is_test: StrictBool = Field(description="Whether this is a test/sandbox partner", alias="isTest") + __properties: ClassVar[List[str]] = ["id", "ident", "name", "description", "baseUrl", "active", "isTest"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPartnerResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPartnerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "ident": obj.get("ident"), + "name": obj.get("name"), + "description": obj.get("description"), + "baseUrl": obj.get("baseUrl"), + "active": obj.get("active"), + "isTest": obj.get("isTest") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_policy_response.py b/fireblocks/models/tr_link_policy_response.py new file mode 100644 index 00000000..100de47c --- /dev/null +++ b/fireblocks/models/tr_link_policy_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from fireblocks.models.tr_link_missing_trm_rule2 import TRLinkMissingTrmRule2 +from fireblocks.models.tr_link_post_screening_rule2 import TRLinkPostScreeningRule2 +from fireblocks.models.tr_link_pre_screening_rule2 import TRLinkPreScreeningRule2 +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPolicyResponse(BaseModel): + """ + TRLink policy response containing pre-screening, post-screening, and missing TRM rules + """ # noqa: E501 + pre_screening_rules: List[TRLinkPreScreeningRule2] = Field(description="Pre-screening rules that determine whether transactions should be screened", alias="preScreeningRules") + post_screening_rules: List[TRLinkPostScreeningRule2] = Field(description="Post-screening rules that determine actions based on screening results", alias="postScreeningRules") + missing_trm_rules: List[TRLinkMissingTrmRule2] = Field(description="Rules for handling transactions when TRM screening data is unavailable", alias="missingTrmRules") + __properties: ClassVar[List[str]] = ["preScreeningRules", "postScreeningRules", "missingTrmRules"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPolicyResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in pre_screening_rules (list) + _items = [] + if self.pre_screening_rules: + for _item_pre_screening_rules in self.pre_screening_rules: + if _item_pre_screening_rules: + _items.append(_item_pre_screening_rules.to_dict()) + _dict['preScreeningRules'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in post_screening_rules (list) + _items = [] + if self.post_screening_rules: + for _item_post_screening_rules in self.post_screening_rules: + if _item_post_screening_rules: + _items.append(_item_post_screening_rules.to_dict()) + _dict['postScreeningRules'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in missing_trm_rules (list) + _items = [] + if self.missing_trm_rules: + for _item_missing_trm_rules in self.missing_trm_rules: + if _item_missing_trm_rules: + _items.append(_item_missing_trm_rules.to_dict()) + _dict['missingTrmRules'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPolicyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "preScreeningRules": [TRLinkPreScreeningRule2.from_dict(_item) for _item in obj["preScreeningRules"]] if obj.get("preScreeningRules") is not None else None, + "postScreeningRules": [TRLinkPostScreeningRule2.from_dict(_item) for _item in obj["postScreeningRules"]] if obj.get("postScreeningRules") is not None else None, + "missingTrmRules": [TRLinkMissingTrmRule2.from_dict(_item) for _item in obj["missingTrmRules"]] if obj.get("missingTrmRules") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_post_screening_action.py b/fireblocks/models/tr_link_post_screening_action.py new file mode 100644 index 00000000..84eefdc7 --- /dev/null +++ b/fireblocks/models/tr_link_post_screening_action.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkPostScreeningAction(str, Enum): + """ + TRLinkPostScreeningAction + """ + + """ + allowed enum values + """ + ACCEPT = 'ACCEPT' + ALERT = 'ALERT' + REJECT = 'REJECT' + WAIT = 'WAIT' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkPostScreeningAction from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_post_screening_rule.py b/fireblocks/models/tr_link_post_screening_rule.py index 51ef6e15..c711d14d 100644 --- a/fireblocks/models/tr_link_post_screening_rule.py +++ b/fireblocks/models/tr_link_post_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_post_screening_rule2.py b/fireblocks/models/tr_link_post_screening_rule2.py new file mode 100644 index 00000000..23dc2f36 --- /dev/null +++ b/fireblocks/models/tr_link_post_screening_rule2.py @@ -0,0 +1,232 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 +from fireblocks.models.tr_link_post_screening_action import TRLinkPostScreeningAction +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from fireblocks.models.tr_link_trm_status import TRLinkTrmStatus +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPostScreeningRule2(BaseModel): + """ + Post-screening rule that determines the verdict based on screening results + """ # noqa: E501 + customer_id: Optional[StrictStr] = Field(default=None, description="Customer identifier", alias="customerId") + direction: Optional[TRLinkTransactionDirection] = None + source_type: Optional[StrictStr] = Field(default=None, description="Source entity type", alias="sourceType") + source_sub_type: Optional[StrictStr] = Field(default=None, description="Source entity subtype", alias="sourceSubType") + source_address: Optional[StrictStr] = Field(default=None, description="Source blockchain address", alias="sourceAddress") + dest_type: Optional[StrictStr] = Field(default=None, description="Destination entity type", alias="destType") + dest_sub_type: Optional[StrictStr] = Field(default=None, description="Destination entity subtype", alias="destSubType") + dest_address: Optional[StrictStr] = Field(default=None, description="Destination blockchain address", alias="destAddress") + source_id: Optional[StrictStr] = Field(default=None, description="Source identifier", alias="sourceId") + dest_id: Optional[StrictStr] = Field(default=None, description="Destination identifier", alias="destId") + asset: Optional[StrictStr] = Field(default=None, description="Asset or cryptocurrency type") + base_asset: Optional[StrictStr] = Field(default=None, description="Base asset for derivatives", alias="baseAsset") + amount: Optional[TRLinkAmount2] = None + network_protocol: Optional[StrictStr] = Field(default=None, description="Network protocol identifier", alias="networkProtocol") + operation: Optional[StrictStr] = Field(default=None, description="Operation type") + description: Optional[StrictStr] = Field(default=None, description="Rule description") + is_default: Optional[StrictBool] = Field(default=None, description="Whether this is a default rule", alias="isDefault") + provider_ident: Optional[StrictStr] = Field(default=None, description="TRP provider identifier", alias="providerIdent") + trm_status: Optional[TRLinkTrmStatus] = Field(default=None, alias="trmStatus") + valid_before: Optional[StrictInt] = Field(default=None, description="Rule is valid before this timestamp (milliseconds)", alias="validBefore") + valid_after: Optional[StrictInt] = Field(default=None, description="Rule is valid after this timestamp (milliseconds)", alias="validAfter") + action: TRLinkPostScreeningAction + __properties: ClassVar[List[str]] = ["customerId", "direction", "sourceType", "sourceSubType", "sourceAddress", "destType", "destSubType", "destAddress", "sourceId", "destId", "asset", "baseAsset", "amount", "networkProtocol", "operation", "description", "isDefault", "providerIdent", "trmStatus", "validBefore", "validAfter", "action"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPostScreeningRule2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of amount + if self.amount: + _dict['amount'] = self.amount.to_dict() + # set to None if customer_id (nullable) is None + # and model_fields_set contains the field + if self.customer_id is None and "customer_id" in self.model_fields_set: + _dict['customerId'] = None + + # set to None if source_type (nullable) is None + # and model_fields_set contains the field + if self.source_type is None and "source_type" in self.model_fields_set: + _dict['sourceType'] = None + + # set to None if source_sub_type (nullable) is None + # and model_fields_set contains the field + if self.source_sub_type is None and "source_sub_type" in self.model_fields_set: + _dict['sourceSubType'] = None + + # set to None if source_address (nullable) is None + # and model_fields_set contains the field + if self.source_address is None and "source_address" in self.model_fields_set: + _dict['sourceAddress'] = None + + # set to None if dest_type (nullable) is None + # and model_fields_set contains the field + if self.dest_type is None and "dest_type" in self.model_fields_set: + _dict['destType'] = None + + # set to None if dest_sub_type (nullable) is None + # and model_fields_set contains the field + if self.dest_sub_type is None and "dest_sub_type" in self.model_fields_set: + _dict['destSubType'] = None + + # set to None if dest_address (nullable) is None + # and model_fields_set contains the field + if self.dest_address is None and "dest_address" in self.model_fields_set: + _dict['destAddress'] = None + + # set to None if source_id (nullable) is None + # and model_fields_set contains the field + if self.source_id is None and "source_id" in self.model_fields_set: + _dict['sourceId'] = None + + # set to None if dest_id (nullable) is None + # and model_fields_set contains the field + if self.dest_id is None and "dest_id" in self.model_fields_set: + _dict['destId'] = None + + # set to None if asset (nullable) is None + # and model_fields_set contains the field + if self.asset is None and "asset" in self.model_fields_set: + _dict['asset'] = None + + # set to None if base_asset (nullable) is None + # and model_fields_set contains the field + if self.base_asset is None and "base_asset" in self.model_fields_set: + _dict['baseAsset'] = None + + # set to None if network_protocol (nullable) is None + # and model_fields_set contains the field + if self.network_protocol is None and "network_protocol" in self.model_fields_set: + _dict['networkProtocol'] = None + + # set to None if operation (nullable) is None + # and model_fields_set contains the field + if self.operation is None and "operation" in self.model_fields_set: + _dict['operation'] = None + + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if is_default (nullable) is None + # and model_fields_set contains the field + if self.is_default is None and "is_default" in self.model_fields_set: + _dict['isDefault'] = None + + # set to None if provider_ident (nullable) is None + # and model_fields_set contains the field + if self.provider_ident is None and "provider_ident" in self.model_fields_set: + _dict['providerIdent'] = None + + # set to None if trm_status (nullable) is None + # and model_fields_set contains the field + if self.trm_status is None and "trm_status" in self.model_fields_set: + _dict['trmStatus'] = None + + # set to None if valid_before (nullable) is None + # and model_fields_set contains the field + if self.valid_before is None and "valid_before" in self.model_fields_set: + _dict['validBefore'] = None + + # set to None if valid_after (nullable) is None + # and model_fields_set contains the field + if self.valid_after is None and "valid_after" in self.model_fields_set: + _dict['validAfter'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPostScreeningRule2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "direction": obj.get("direction"), + "sourceType": obj.get("sourceType"), + "sourceSubType": obj.get("sourceSubType"), + "sourceAddress": obj.get("sourceAddress"), + "destType": obj.get("destType"), + "destSubType": obj.get("destSubType"), + "destAddress": obj.get("destAddress"), + "sourceId": obj.get("sourceId"), + "destId": obj.get("destId"), + "asset": obj.get("asset"), + "baseAsset": obj.get("baseAsset"), + "amount": TRLinkAmount2.from_dict(obj["amount"]) if obj.get("amount") is not None else None, + "networkProtocol": obj.get("networkProtocol"), + "operation": obj.get("operation"), + "description": obj.get("description"), + "isDefault": obj.get("isDefault"), + "providerIdent": obj.get("providerIdent"), + "trmStatus": obj.get("trmStatus"), + "validBefore": obj.get("validBefore"), + "validAfter": obj.get("validAfter"), + "action": obj.get("action") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_pre_screening_action.py b/fireblocks/models/tr_link_pre_screening_action.py index 5d066b0e..d21bce9d 100644 --- a/fireblocks/models/tr_link_pre_screening_action.py +++ b/fireblocks/models/tr_link_pre_screening_action.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_pre_screening_action2.py b/fireblocks/models/tr_link_pre_screening_action2.py new file mode 100644 index 00000000..2cc051c0 --- /dev/null +++ b/fireblocks/models/tr_link_pre_screening_action2.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkPreScreeningAction2(str, Enum): + """ + TRLinkPreScreeningAction2 + """ + + """ + allowed enum values + """ + SCREEN = 'SCREEN' + PASS = 'PASS' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkPreScreeningAction2 from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_pre_screening_action_enum.py b/fireblocks/models/tr_link_pre_screening_action_enum.py index bebb684a..7dd99109 100644 --- a/fireblocks/models/tr_link_pre_screening_action_enum.py +++ b/fireblocks/models/tr_link_pre_screening_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_pre_screening_rule.py b/fireblocks/models/tr_link_pre_screening_rule.py index 262b7b6a..9294ef0d 100644 --- a/fireblocks/models/tr_link_pre_screening_rule.py +++ b/fireblocks/models/tr_link_pre_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_pre_screening_rule2.py b/fireblocks/models/tr_link_pre_screening_rule2.py new file mode 100644 index 00000000..affb21e2 --- /dev/null +++ b/fireblocks/models/tr_link_pre_screening_rule2.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 +from fireblocks.models.tr_link_pre_screening_action2 import TRLinkPreScreeningAction2 +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPreScreeningRule2(BaseModel): + """ + Pre-screening rule that determines if a transaction should be screened + """ # noqa: E501 + customer_id: Optional[StrictStr] = Field(default=None, description="Customer identifier", alias="customerId") + direction: Optional[TRLinkTransactionDirection] = None + source_type: Optional[StrictStr] = Field(default=None, description="Source entity type", alias="sourceType") + source_sub_type: Optional[StrictStr] = Field(default=None, description="Source entity subtype", alias="sourceSubType") + source_address: Optional[StrictStr] = Field(default=None, description="Source blockchain address", alias="sourceAddress") + dest_type: Optional[StrictStr] = Field(default=None, description="Destination entity type", alias="destType") + dest_sub_type: Optional[StrictStr] = Field(default=None, description="Destination entity subtype", alias="destSubType") + dest_address: Optional[StrictStr] = Field(default=None, description="Destination blockchain address", alias="destAddress") + source_id: Optional[StrictStr] = Field(default=None, description="Source identifier", alias="sourceId") + dest_id: Optional[StrictStr] = Field(default=None, description="Destination identifier", alias="destId") + asset: Optional[StrictStr] = Field(default=None, description="Asset or cryptocurrency type") + base_asset: Optional[StrictStr] = Field(default=None, description="Base asset for derivatives", alias="baseAsset") + amount: Optional[TRLinkAmount2] = None + network_protocol: Optional[StrictStr] = Field(default=None, description="Network protocol identifier", alias="networkProtocol") + operation: Optional[StrictStr] = Field(default=None, description="Operation type") + description: Optional[StrictStr] = Field(default=None, description="Rule description") + is_default: Optional[StrictBool] = Field(default=None, description="Whether this is a default rule", alias="isDefault") + action: TRLinkPreScreeningAction2 + __properties: ClassVar[List[str]] = ["customerId", "direction", "sourceType", "sourceSubType", "sourceAddress", "destType", "destSubType", "destAddress", "sourceId", "destId", "asset", "baseAsset", "amount", "networkProtocol", "operation", "description", "isDefault", "action"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPreScreeningRule2 from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of amount + if self.amount: + _dict['amount'] = self.amount.to_dict() + # set to None if customer_id (nullable) is None + # and model_fields_set contains the field + if self.customer_id is None and "customer_id" in self.model_fields_set: + _dict['customerId'] = None + + # set to None if source_type (nullable) is None + # and model_fields_set contains the field + if self.source_type is None and "source_type" in self.model_fields_set: + _dict['sourceType'] = None + + # set to None if source_sub_type (nullable) is None + # and model_fields_set contains the field + if self.source_sub_type is None and "source_sub_type" in self.model_fields_set: + _dict['sourceSubType'] = None + + # set to None if source_address (nullable) is None + # and model_fields_set contains the field + if self.source_address is None and "source_address" in self.model_fields_set: + _dict['sourceAddress'] = None + + # set to None if dest_type (nullable) is None + # and model_fields_set contains the field + if self.dest_type is None and "dest_type" in self.model_fields_set: + _dict['destType'] = None + + # set to None if dest_sub_type (nullable) is None + # and model_fields_set contains the field + if self.dest_sub_type is None and "dest_sub_type" in self.model_fields_set: + _dict['destSubType'] = None + + # set to None if dest_address (nullable) is None + # and model_fields_set contains the field + if self.dest_address is None and "dest_address" in self.model_fields_set: + _dict['destAddress'] = None + + # set to None if source_id (nullable) is None + # and model_fields_set contains the field + if self.source_id is None and "source_id" in self.model_fields_set: + _dict['sourceId'] = None + + # set to None if dest_id (nullable) is None + # and model_fields_set contains the field + if self.dest_id is None and "dest_id" in self.model_fields_set: + _dict['destId'] = None + + # set to None if asset (nullable) is None + # and model_fields_set contains the field + if self.asset is None and "asset" in self.model_fields_set: + _dict['asset'] = None + + # set to None if base_asset (nullable) is None + # and model_fields_set contains the field + if self.base_asset is None and "base_asset" in self.model_fields_set: + _dict['baseAsset'] = None + + # set to None if network_protocol (nullable) is None + # and model_fields_set contains the field + if self.network_protocol is None and "network_protocol" in self.model_fields_set: + _dict['networkProtocol'] = None + + # set to None if operation (nullable) is None + # and model_fields_set contains the field + if self.operation is None and "operation" in self.model_fields_set: + _dict['operation'] = None + + # set to None if description (nullable) is None + # and model_fields_set contains the field + if self.description is None and "description" in self.model_fields_set: + _dict['description'] = None + + # set to None if is_default (nullable) is None + # and model_fields_set contains the field + if self.is_default is None and "is_default" in self.model_fields_set: + _dict['isDefault'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPreScreeningRule2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "direction": obj.get("direction"), + "sourceType": obj.get("sourceType"), + "sourceSubType": obj.get("sourceSubType"), + "sourceAddress": obj.get("sourceAddress"), + "destType": obj.get("destType"), + "destSubType": obj.get("destSubType"), + "destAddress": obj.get("destAddress"), + "sourceId": obj.get("sourceId"), + "destId": obj.get("destId"), + "asset": obj.get("asset"), + "baseAsset": obj.get("baseAsset"), + "amount": TRLinkAmount2.from_dict(obj["amount"]) if obj.get("amount") is not None else None, + "networkProtocol": obj.get("networkProtocol"), + "operation": obj.get("operation"), + "description": obj.get("description"), + "isDefault": obj.get("isDefault"), + "action": obj.get("action") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_provider_data.py b/fireblocks/models/tr_link_provider_data.py new file mode 100644 index 00000000..6777cef7 --- /dev/null +++ b/fireblocks/models/tr_link_provider_data.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkProviderData(BaseModel): + """ + TRLinkProviderData + """ # noqa: E501 + provider: Optional[StrictStr] = Field(default=None, description="Provider name") + data: Optional[Dict[str, Any]] = Field(default=None, description="Provider-specific data") + __properties: ClassVar[List[str]] = ["provider", "data"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkProviderData from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if provider (nullable) is None + # and model_fields_set contains the field + if self.provider is None and "provider" in self.model_fields_set: + _dict['provider'] = None + + # set to None if data (nullable) is None + # and model_fields_set contains the field + if self.data is None and "data" in self.model_fields_set: + _dict['data'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkProviderData from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "provider": obj.get("provider"), + "data": obj.get("data") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_provider_result.py b/fireblocks/models/tr_link_provider_result.py index 04407c88..b7855282 100644 --- a/fireblocks/models/tr_link_provider_result.py +++ b/fireblocks/models/tr_link_provider_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_provider_result_with_rule.py b/fireblocks/models/tr_link_provider_result_with_rule.py index edf4254e..7dcdb0ee 100644 --- a/fireblocks/models/tr_link_provider_result_with_rule.py +++ b/fireblocks/models/tr_link_provider_result_with_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_provider_result_with_rule2.py b/fireblocks/models/tr_link_provider_result_with_rule2.py index 9cca7948..2ff2059c 100644 --- a/fireblocks/models/tr_link_provider_result_with_rule2.py +++ b/fireblocks/models/tr_link_provider_result_with_rule2.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_public_asset_info.py b/fireblocks/models/tr_link_public_asset_info.py new file mode 100644 index 00000000..a58aaa17 --- /dev/null +++ b/fireblocks/models/tr_link_public_asset_info.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPublicAssetInfo(BaseModel): + """ + Public asset information with limited properties for API consumption + """ # noqa: E501 + id: StrictStr = Field(description="The unique ID of the asset (e.g., Fireblocks asset ID)") + name: StrictStr = Field(description="The name of the asset") + type: StrictStr = Field(description="The type of the asset (e.g., BASE_ASSET, ERC20)") + contract_address: StrictStr = Field(description="The contract address of the asset (for tokenized assets)", alias="contractAddress") + native_asset: StrictStr = Field(description="The native asset of the network (e.g., ETH for ERC20 tokens)", alias="nativeAsset") + decimals: Union[StrictFloat, StrictInt] = Field(description="The number of decimal places for the asset") + issuer_address: Optional[StrictStr] = Field(default=None, description="The issuer address of the asset (optional)", alias="issuerAddress") + __properties: ClassVar[List[str]] = ["id", "name", "type", "contractAddress", "nativeAsset", "decimals", "issuerAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPublicAssetInfo from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if issuer_address (nullable) is None + # and model_fields_set contains the field + if self.issuer_address is None and "issuer_address" in self.model_fields_set: + _dict['issuerAddress'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPublicAssetInfo from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "type": obj.get("type"), + "contractAddress": obj.get("contractAddress"), + "nativeAsset": obj.get("nativeAsset"), + "decimals": obj.get("decimals"), + "issuerAddress": obj.get("issuerAddress") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_public_key_response.py b/fireblocks/models/tr_link_public_key_response.py new file mode 100644 index 00000000..f0e89982 --- /dev/null +++ b/fireblocks/models/tr_link_public_key_response.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from fireblocks.models.tr_link_jwk_public_key import TRLinkJwkPublicKey +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkPublicKeyResponse(BaseModel): + """ + TRLinkPublicKeyResponse + """ # noqa: E501 + issuer: StrictStr = Field(description="Partner issuer identifier") + public_key: TRLinkJwkPublicKey = Field(alias="publicKey") + __properties: ClassVar[List[str]] = ["issuer", "publicKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkPublicKeyResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of public_key + if self.public_key: + _dict['publicKey'] = self.public_key.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkPublicKeyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "issuer": obj.get("issuer"), + "publicKey": TRLinkJwkPublicKey.from_dict(obj["publicKey"]) if obj.get("publicKey") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_redirect_trm_request.py b/fireblocks/models/tr_link_redirect_trm_request.py new file mode 100644 index 00000000..d95c6bab --- /dev/null +++ b/fireblocks/models/tr_link_redirect_trm_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkRedirectTrmRequest(BaseModel): + """ + TRLinkRedirectTrmRequest + """ # noqa: E501 + subsidiary_vasp_id: StrictStr = Field(description="ID of the subsidiary VASP to redirect the TRM to", alias="subsidiaryVaspId") + __properties: ClassVar[List[str]] = ["subsidiaryVaspId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkRedirectTrmRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkRedirectTrmRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "subsidiaryVaspId": obj.get("subsidiaryVaspId") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_registration_result.py b/fireblocks/models/tr_link_registration_result.py index a132dccb..fdc605cb 100644 --- a/fireblocks/models/tr_link_registration_result.py +++ b/fireblocks/models/tr_link_registration_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_registration_result_full_payload.py b/fireblocks/models/tr_link_registration_result_full_payload.py index 5e3e229d..705ef27e 100644 --- a/fireblocks/models/tr_link_registration_result_full_payload.py +++ b/fireblocks/models/tr_link_registration_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_registration_status.py b/fireblocks/models/tr_link_registration_status.py index ebb76f5e..708d7a83 100644 --- a/fireblocks/models/tr_link_registration_status.py +++ b/fireblocks/models/tr_link_registration_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_registration_status_enum.py b/fireblocks/models/tr_link_registration_status_enum.py index 3a8dbc13..9c04be17 100644 --- a/fireblocks/models/tr_link_registration_status_enum.py +++ b/fireblocks/models/tr_link_registration_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_result.py b/fireblocks/models/tr_link_result.py index 9ad583d8..9ef2988f 100644 --- a/fireblocks/models/tr_link_result.py +++ b/fireblocks/models/tr_link_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_result_full_payload.py b/fireblocks/models/tr_link_result_full_payload.py index 23db03b1..94d21aec 100644 --- a/fireblocks/models/tr_link_result_full_payload.py +++ b/fireblocks/models/tr_link_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_rule_base.py b/fireblocks/models/tr_link_rule_base.py index 15ef376b..78ba89f6 100644 --- a/fireblocks/models/tr_link_rule_base.py +++ b/fireblocks/models/tr_link_rule_base.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_set_destination_travel_rule_message_id_request.py b/fireblocks/models/tr_link_set_destination_travel_rule_message_id_request.py new file mode 100644 index 00000000..80c89c02 --- /dev/null +++ b/fireblocks/models/tr_link_set_destination_travel_rule_message_id_request.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_transfer_peer_path import TRLinkTransferPeerPath +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkSetDestinationTravelRuleMessageIdRequest(BaseModel): + """ + Request to set TRM ID for specific transaction destination + """ # noqa: E501 + amount: StrictStr = Field(description="Destination amount for matching") + destination: TRLinkTransferPeerPath + travel_rule_message_id: Optional[StrictStr] = Field(description="Travel Rule Message ID to associate with destination (null to unset)", alias="travelRuleMessageId") + __properties: ClassVar[List[str]] = ["amount", "destination", "travelRuleMessageId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkSetDestinationTravelRuleMessageIdRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of destination + if self.destination: + _dict['destination'] = self.destination.to_dict() + # set to None if travel_rule_message_id (nullable) is None + # and model_fields_set contains the field + if self.travel_rule_message_id is None and "travel_rule_message_id" in self.model_fields_set: + _dict['travelRuleMessageId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkSetDestinationTravelRuleMessageIdRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "amount": obj.get("amount"), + "destination": TRLinkTransferPeerPath.from_dict(obj["destination"]) if obj.get("destination") is not None else None, + "travelRuleMessageId": obj.get("travelRuleMessageId") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_set_destination_travel_rule_message_id_response.py b/fireblocks/models/tr_link_set_destination_travel_rule_message_id_response.py new file mode 100644 index 00000000..58b7ddb0 --- /dev/null +++ b/fireblocks/models/tr_link_set_destination_travel_rule_message_id_response.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkSetDestinationTravelRuleMessageIdResponse(BaseModel): + """ + TRLinkSetDestinationTravelRuleMessageIdResponse + """ # noqa: E501 + success: StrictBool = Field(description="Whether the operation was successful") + updated_destinations: Union[StrictFloat, StrictInt] = Field(description="Number of destinations updated", alias="updatedDestinations") + failed_destinations: Union[StrictFloat, StrictInt] = Field(description="Number of destinations that failed to update", alias="failedDestinations") + errors: Optional[List[StrictStr]] = Field(default=None, description="List of errors (if any)") + __properties: ClassVar[List[str]] = ["success", "updatedDestinations", "failedDestinations", "errors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkSetDestinationTravelRuleMessageIdResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if errors (nullable) is None + # and model_fields_set contains the field + if self.errors is None and "errors" in self.model_fields_set: + _dict['errors'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkSetDestinationTravelRuleMessageIdResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "success": obj.get("success"), + "updatedDestinations": obj.get("updatedDestinations"), + "failedDestinations": obj.get("failedDestinations"), + "errors": obj.get("errors") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_set_transaction_travel_rule_message_id_request.py b/fireblocks/models/tr_link_set_transaction_travel_rule_message_id_request.py new file mode 100644 index 00000000..7feeb5de --- /dev/null +++ b/fireblocks/models/tr_link_set_transaction_travel_rule_message_id_request.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkSetTransactionTravelRuleMessageIdRequest(BaseModel): + """ + TRLinkSetTransactionTravelRuleMessageIdRequest + """ # noqa: E501 + travel_rule_message_id: Optional[StrictStr] = Field(description="Travel Rule Message ID to associate with transaction (null to unset)", alias="travelRuleMessageId") + __properties: ClassVar[List[str]] = ["travelRuleMessageId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkSetTransactionTravelRuleMessageIdRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if travel_rule_message_id (nullable) is None + # and model_fields_set contains the field + if self.travel_rule_message_id is None and "travel_rule_message_id" in self.model_fields_set: + _dict['travelRuleMessageId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkSetTransactionTravelRuleMessageIdRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "travelRuleMessageId": obj.get("travelRuleMessageId") + }) + return _obj + + diff --git a/fireblocks/models/trading_error_response.py b/fireblocks/models/tr_link_set_transaction_travel_rule_message_id_response.py similarity index 68% rename from fireblocks/models/trading_error_response.py rename to fireblocks/models/tr_link_set_transaction_travel_rule_message_id_response.py index 026af414..ed272b96 100644 --- a/fireblocks/models/trading_error_response.py +++ b/fireblocks/models/tr_link_set_transaction_travel_rule_message_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List -from fireblocks.models.trading_error_response_error import TradingErrorResponseError from typing import Optional, Set from typing_extensions import Self -class TradingErrorResponse(BaseModel): +class TRLinkSetTransactionTravelRuleMessageIdResponse(BaseModel): """ - TradingErrorResponse + TRLinkSetTransactionTravelRuleMessageIdResponse """ # noqa: E501 - error: TradingErrorResponseError - __properties: ClassVar[List[str]] = ["error"] + success: StrictBool = Field(description="Whether the operation was successful") + __properties: ClassVar[List[str]] = ["success"] model_config = ConfigDict( populate_by_name=True, @@ -49,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of TradingErrorResponse from a JSON string""" + """Create an instance of TRLinkSetTransactionTravelRuleMessageIdResponse from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -70,14 +69,11 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of TradingErrorResponse from a dict""" + """Create an instance of TRLinkSetTransactionTravelRuleMessageIdResponse from a dict""" if obj is None: return None @@ -85,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "error": TradingErrorResponseError.from_dict(obj["error"]) if obj.get("error") is not None else None + "success": obj.get("success") }) return _obj diff --git a/fireblocks/models/tr_link_source_transfer_peer_path.py b/fireblocks/models/tr_link_source_transfer_peer_path.py new file mode 100644 index 00000000..46b7c02c --- /dev/null +++ b/fireblocks/models/tr_link_source_transfer_peer_path.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkSourceTransferPeerPath(BaseModel): + """ + Source peer path for transaction + """ # noqa: E501 + type: StrictStr = Field(description="Source peer type (e.g., VAULT_ACCOUNT, UNKNOWN)") + id: Optional[StrictStr] = Field(default=None, description="Source peer ID") + wallet_id: Optional[StrictStr] = Field(default=None, description="Source wallet ID", alias="walletId") + __properties: ClassVar[List[str]] = ["type", "id", "walletId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkSourceTransferPeerPath from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if wallet_id (nullable) is None + # and model_fields_set contains the field + if self.wallet_id is None and "wallet_id" in self.model_fields_set: + _dict['walletId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkSourceTransferPeerPath from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "id": obj.get("id"), + "walletId": obj.get("walletId") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_test_connection_response.py b/fireblocks/models/tr_link_test_connection_response.py new file mode 100644 index 00000000..28f6d374 --- /dev/null +++ b/fireblocks/models/tr_link_test_connection_response.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import datetime +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkTestConnectionResponse(BaseModel): + """ + TRLinkTestConnectionResponse + """ # noqa: E501 + success: StrictBool = Field(description="Whether the connection test was successful") + message: Optional[StrictStr] = Field(default=None, description="Additional message about the connection test (present when success is false)") + timestamp: datetime = Field(description="Timestamp when the test was performed (ISO 8601 format)") + partner_ident: Optional[StrictStr] = Field(default=None, description="Partner identification code", alias="partnerIdent") + partner_name: Optional[StrictStr] = Field(default=None, description="Partner display name", alias="partnerName") + __properties: ClassVar[List[str]] = ["success", "message", "timestamp", "partnerIdent", "partnerName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkTestConnectionResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if message (nullable) is None + # and model_fields_set contains the field + if self.message is None and "message" in self.model_fields_set: + _dict['message'] = None + + # set to None if partner_ident (nullable) is None + # and model_fields_set contains the field + if self.partner_ident is None and "partner_ident" in self.model_fields_set: + _dict['partnerIdent'] = None + + # set to None if partner_name (nullable) is None + # and model_fields_set contains the field + if self.partner_name is None and "partner_name" in self.model_fields_set: + _dict['partnerName'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkTestConnectionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "success": obj.get("success"), + "message": obj.get("message"), + "timestamp": obj.get("timestamp"), + "partnerIdent": obj.get("partnerIdent"), + "partnerName": obj.get("partnerName") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_thresholds.py b/fireblocks/models/tr_link_thresholds.py new file mode 100644 index 00000000..5803cdfc --- /dev/null +++ b/fireblocks/models/tr_link_thresholds.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkThresholds(BaseModel): + """ + TRLinkThresholds + """ # noqa: E501 + amount: Optional[StrictStr] = Field(default=None, description="Threshold amount") + currency: Optional[StrictStr] = Field(default=None, description="Currency code") + __properties: ClassVar[List[str]] = ["amount", "currency"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkThresholds from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkThresholds from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "amount": obj.get("amount"), + "currency": obj.get("currency") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_transaction_direction.py b/fireblocks/models/tr_link_transaction_direction.py new file mode 100644 index 00000000..6c235e51 --- /dev/null +++ b/fireblocks/models/tr_link_transaction_direction.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkTransactionDirection(str, Enum): + """ + Transaction direction from workspace perspective + """ + + """ + allowed enum values + """ + INBOUND = 'INBOUND' + OUTBOUND = 'OUTBOUND' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkTransactionDirection from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_transfer_peer_path.py b/fireblocks/models/tr_link_transfer_peer_path.py new file mode 100644 index 00000000..936b39a1 --- /dev/null +++ b/fireblocks/models/tr_link_transfer_peer_path.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkTransferPeerPath(BaseModel): + """ + Transfer peer path for destination matching + """ # noqa: E501 + type: Optional[StrictStr] = Field(default=None, description="Peer type") + id: Optional[StrictStr] = Field(default=None, description="Peer ID") + sub_type: Optional[StrictStr] = Field(default=None, description="Peer subtype", alias="subType") + address: Optional[StrictStr] = Field(default=None, description="Peer address") + __properties: ClassVar[List[str]] = ["type", "id", "subType", "address"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkTransferPeerPath from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if type (nullable) is None + # and model_fields_set contains the field + if self.type is None and "type" in self.model_fields_set: + _dict['type'] = None + + # set to None if id (nullable) is None + # and model_fields_set contains the field + if self.id is None and "id" in self.model_fields_set: + _dict['id'] = None + + # set to None if sub_type (nullable) is None + # and model_fields_set contains the field + if self.sub_type is None and "sub_type" in self.model_fields_set: + _dict['subType'] = None + + # set to None if address (nullable) is None + # and model_fields_set contains the field + if self.address is None and "address" in self.model_fields_set: + _dict['address'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkTransferPeerPath from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "type": obj.get("type"), + "id": obj.get("id"), + "subType": obj.get("subType"), + "address": obj.get("address") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_trm_direction.py b/fireblocks/models/tr_link_trm_direction.py new file mode 100644 index 00000000..a60678c9 --- /dev/null +++ b/fireblocks/models/tr_link_trm_direction.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkTrmDirection(str, Enum): + """ + Transaction direction for TRM (in = inbound, out = outbound) + """ + + """ + allowed enum values + """ + IN = 'in' + OUT = 'out' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkTrmDirection from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_trm_info_response.py b/fireblocks/models/tr_link_trm_info_response.py new file mode 100644 index 00000000..5a71ac8c --- /dev/null +++ b/fireblocks/models/tr_link_trm_info_response.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_asset import TRLinkAsset +from fireblocks.models.tr_link_fiat_value import TRLinkFiatValue +from fireblocks.models.tr_link_ivms_response import TRLinkIvmsResponse +from fireblocks.models.tr_link_provider_data import TRLinkProviderData +from fireblocks.models.tr_link_trm_direction import TRLinkTrmDirection +from fireblocks.models.tr_link_trm_status import TRLinkTrmStatus +from fireblocks.models.tr_link_txn_info import TRLinkTxnInfo +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkTrmInfoResponse(BaseModel): + """ + Travel Rule Message information + """ # noqa: E501 + id: StrictStr = Field(description="TRM message ID") + version: Optional[StrictStr] = Field(default=None, description="TRM version") + status: Optional[TRLinkTrmStatus] = None + reason: Optional[StrictStr] = Field(default=None, description="Human readable reason for the current status") + external_id: StrictStr = Field(description="External ID (e.g., Fireblocks ID)", alias="externalId") + asset: TRLinkAsset + amount: StrictStr = Field(description="Transaction amount in asset units") + fiat_value: Optional[TRLinkFiatValue] = Field(default=None, alias="fiatValue") + direction: TRLinkTrmDirection + originator_vasp_id: Optional[StrictStr] = Field(default=None, description="ID of the originator VASP", alias="originatorVaspId") + beneficiary_vasp_id: Optional[StrictStr] = Field(default=None, description="ID of the beneficiary VASP", alias="beneficiaryVaspId") + txn_info: TRLinkTxnInfo = Field(alias="txnInfo") + ivms101: TRLinkIvmsResponse + provider_data: Optional[TRLinkProviderData] = Field(default=None, alias="providerData") + __properties: ClassVar[List[str]] = ["id", "version", "status", "reason", "externalId", "asset", "amount", "fiatValue", "direction", "originatorVaspId", "beneficiaryVaspId", "txnInfo", "ivms101", "providerData"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkTrmInfoResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of asset + if self.asset: + _dict['asset'] = self.asset.to_dict() + # override the default output from pydantic by calling `to_dict()` of fiat_value + if self.fiat_value: + _dict['fiatValue'] = self.fiat_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of txn_info + if self.txn_info: + _dict['txnInfo'] = self.txn_info.to_dict() + # override the default output from pydantic by calling `to_dict()` of ivms101 + if self.ivms101: + _dict['ivms101'] = self.ivms101.to_dict() + # override the default output from pydantic by calling `to_dict()` of provider_data + if self.provider_data: + _dict['providerData'] = self.provider_data.to_dict() + # set to None if version (nullable) is None + # and model_fields_set contains the field + if self.version is None and "version" in self.model_fields_set: + _dict['version'] = None + + # set to None if status (nullable) is None + # and model_fields_set contains the field + if self.status is None and "status" in self.model_fields_set: + _dict['status'] = None + + # set to None if reason (nullable) is None + # and model_fields_set contains the field + if self.reason is None and "reason" in self.model_fields_set: + _dict['reason'] = None + + # set to None if originator_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.originator_vasp_id is None and "originator_vasp_id" in self.model_fields_set: + _dict['originatorVaspId'] = None + + # set to None if beneficiary_vasp_id (nullable) is None + # and model_fields_set contains the field + if self.beneficiary_vasp_id is None and "beneficiary_vasp_id" in self.model_fields_set: + _dict['beneficiaryVaspId'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkTrmInfoResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "version": obj.get("version"), + "status": obj.get("status"), + "reason": obj.get("reason"), + "externalId": obj.get("externalId"), + "asset": TRLinkAsset.from_dict(obj["asset"]) if obj.get("asset") is not None else None, + "amount": obj.get("amount"), + "fiatValue": TRLinkFiatValue.from_dict(obj["fiatValue"]) if obj.get("fiatValue") is not None else None, + "direction": obj.get("direction"), + "originatorVaspId": obj.get("originatorVaspId"), + "beneficiaryVaspId": obj.get("beneficiaryVaspId"), + "txnInfo": TRLinkTxnInfo.from_dict(obj["txnInfo"]) if obj.get("txnInfo") is not None else None, + "ivms101": TRLinkIvmsResponse.from_dict(obj["ivms101"]) if obj.get("ivms101") is not None else None, + "providerData": TRLinkProviderData.from_dict(obj["providerData"]) if obj.get("providerData") is not None else None + }) + return _obj + + diff --git a/fireblocks/models/tr_link_trm_screening_status.py b/fireblocks/models/tr_link_trm_screening_status.py index 7a2fabe5..035d8cfe 100644 --- a/fireblocks/models/tr_link_trm_screening_status.py +++ b/fireblocks/models/tr_link_trm_screening_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_trm_screening_status_enum.py b/fireblocks/models/tr_link_trm_screening_status_enum.py index 4180cd52..f861feab 100644 --- a/fireblocks/models/tr_link_trm_screening_status_enum.py +++ b/fireblocks/models/tr_link_trm_screening_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_trm_status.py b/fireblocks/models/tr_link_trm_status.py new file mode 100644 index 00000000..d935ad17 --- /dev/null +++ b/fireblocks/models/tr_link_trm_status.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TRLinkTrmStatus(str, Enum): + """ + Current status of the Travel Rule Message + """ + + """ + allowed enum values + """ + PENDING = 'PENDING' + ACCEPTED = 'ACCEPTED' + REJECTED = 'REJECTED' + FAILED = 'FAILED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TRLinkTrmStatus from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/tr_link_txn_info.py b/fireblocks/models/tr_link_txn_info.py new file mode 100644 index 00000000..804d535f --- /dev/null +++ b/fireblocks/models/tr_link_txn_info.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkTxnInfo(BaseModel): + """ + TRLinkTxnInfo + """ # noqa: E501 + originator_wallet_address: StrictStr = Field(description="Originator's blockchain wallet address", alias="originatorWalletAddress") + beneficiary_wallet_address: StrictStr = Field(description="Beneficiary's blockchain wallet address", alias="beneficiaryWalletAddress") + tx_hash: StrictStr = Field(description="Blockchain transaction hash", alias="txHash") + __properties: ClassVar[List[str]] = ["originatorWalletAddress", "beneficiaryWalletAddress", "txHash"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkTxnInfo from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkTxnInfo from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "originatorWalletAddress": obj.get("originatorWalletAddress"), + "beneficiaryWalletAddress": obj.get("beneficiaryWalletAddress"), + "txHash": obj.get("txHash") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_update_customer_request.py b/fireblocks/models/tr_link_update_customer_request.py new file mode 100644 index 00000000..ca96725c --- /dev/null +++ b/fireblocks/models/tr_link_update_customer_request.py @@ -0,0 +1,155 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from datetime import date +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus +from fireblocks.models.tr_link_geographic_address_request import TRLinkGeographicAddressRequest +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkUpdateCustomerRequest(BaseModel): + """ + TRLinkUpdateCustomerRequest + """ # noqa: E501 + discoverable: Optional[TRLinkDiscoverableStatus] = None + short_name: Optional[StrictStr] = Field(default=None, description="Short display name", alias="shortName") + full_legal_name: Optional[StrictStr] = Field(default=None, description="Full legal entity name", alias="fullLegalName") + geographic_address: Optional[TRLinkGeographicAddressRequest] = Field(default=None, alias="geographicAddress") + country_of_registration: Optional[StrictStr] = Field(default=None, description="ISO 3166-1 alpha-2 country code where the entity is registered", alias="countryOfRegistration") + national_identification: Optional[StrictStr] = Field(default=None, description="National identification as JSON string", alias="nationalIdentification") + date_of_incorporation: Optional[date] = Field(default=None, description="Date of entity incorporation (ISO 8601 format: YYYY-MM-DD)", alias="dateOfIncorporation") + vaults: Optional[List[StrictInt]] = Field(default=None, description="Associated Fireblocks vault account IDs") + tr_primary_purpose: Optional[StrictStr] = Field(default=None, description="Primary purpose for Travel Rule compliance", alias="trPrimaryPurpose") + __properties: ClassVar[List[str]] = ["discoverable", "shortName", "fullLegalName", "geographicAddress", "countryOfRegistration", "nationalIdentification", "dateOfIncorporation", "vaults", "trPrimaryPurpose"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkUpdateCustomerRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of geographic_address + if self.geographic_address: + _dict['geographicAddress'] = self.geographic_address.to_dict() + # set to None if discoverable (nullable) is None + # and model_fields_set contains the field + if self.discoverable is None and "discoverable" in self.model_fields_set: + _dict['discoverable'] = None + + # set to None if short_name (nullable) is None + # and model_fields_set contains the field + if self.short_name is None and "short_name" in self.model_fields_set: + _dict['shortName'] = None + + # set to None if full_legal_name (nullable) is None + # and model_fields_set contains the field + if self.full_legal_name is None and "full_legal_name" in self.model_fields_set: + _dict['fullLegalName'] = None + + # set to None if geographic_address (nullable) is None + # and model_fields_set contains the field + if self.geographic_address is None and "geographic_address" in self.model_fields_set: + _dict['geographicAddress'] = None + + # set to None if country_of_registration (nullable) is None + # and model_fields_set contains the field + if self.country_of_registration is None and "country_of_registration" in self.model_fields_set: + _dict['countryOfRegistration'] = None + + # set to None if national_identification (nullable) is None + # and model_fields_set contains the field + if self.national_identification is None and "national_identification" in self.model_fields_set: + _dict['nationalIdentification'] = None + + # set to None if date_of_incorporation (nullable) is None + # and model_fields_set contains the field + if self.date_of_incorporation is None and "date_of_incorporation" in self.model_fields_set: + _dict['dateOfIncorporation'] = None + + # set to None if vaults (nullable) is None + # and model_fields_set contains the field + if self.vaults is None and "vaults" in self.model_fields_set: + _dict['vaults'] = None + + # set to None if tr_primary_purpose (nullable) is None + # and model_fields_set contains the field + if self.tr_primary_purpose is None and "tr_primary_purpose" in self.model_fields_set: + _dict['trPrimaryPurpose'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkUpdateCustomerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "discoverable": obj.get("discoverable"), + "shortName": obj.get("shortName"), + "fullLegalName": obj.get("fullLegalName"), + "geographicAddress": TRLinkGeographicAddressRequest.from_dict(obj["geographicAddress"]) if obj.get("geographicAddress") is not None else None, + "countryOfRegistration": obj.get("countryOfRegistration"), + "nationalIdentification": obj.get("nationalIdentification"), + "dateOfIncorporation": obj.get("dateOfIncorporation"), + "vaults": obj.get("vaults"), + "trPrimaryPurpose": obj.get("trPrimaryPurpose") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_vasp_dto.py b/fireblocks/models/tr_link_vasp_dto.py new file mode 100644 index 00000000..2a88537b --- /dev/null +++ b/fireblocks/models/tr_link_vasp_dto.py @@ -0,0 +1,129 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_vasp_geographic_address import TRLinkVaspGeographicAddress +from fireblocks.models.tr_link_vasp_national_identification import TRLinkVaspNationalIdentification +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkVaspDto(BaseModel): + """ + TRLinkVaspDto + """ # noqa: E501 + id: StrictStr = Field(description="VASP unique identifier (DID format)") + name: StrictStr = Field(description="VASP display name") + legal_name: Optional[StrictStr] = Field(default=None, description="Legal entity name", alias="legalName") + national_identification: Optional[TRLinkVaspNationalIdentification] = Field(default=None, alias="nationalIdentification") + geographic_address: Optional[TRLinkVaspGeographicAddress] = Field(default=None, alias="geographicAddress") + public_key: Optional[StrictStr] = Field(default=None, description="VASP public key for encryption", alias="publicKey") + additional_properties: Dict[str, Any] = {} + __properties: ClassVar[List[str]] = ["id", "name", "legalName", "nationalIdentification", "geographicAddress", "publicKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkVaspDto from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of national_identification + if self.national_identification: + _dict['nationalIdentification'] = self.national_identification.to_dict() + # override the default output from pydantic by calling `to_dict()` of geographic_address + if self.geographic_address: + _dict['geographicAddress'] = self.geographic_address.to_dict() + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + # set to None if legal_name (nullable) is None + # and model_fields_set contains the field + if self.legal_name is None and "legal_name" in self.model_fields_set: + _dict['legalName'] = None + + # set to None if public_key (nullable) is None + # and model_fields_set contains the field + if self.public_key is None and "public_key" in self.model_fields_set: + _dict['publicKey'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkVaspDto from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "legalName": obj.get("legalName"), + "nationalIdentification": TRLinkVaspNationalIdentification.from_dict(obj["nationalIdentification"]) if obj.get("nationalIdentification") is not None else None, + "geographicAddress": TRLinkVaspGeographicAddress.from_dict(obj["geographicAddress"]) if obj.get("geographicAddress") is not None else None, + "publicKey": obj.get("publicKey") + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/fireblocks/models/tr_link_vasp_geographic_address.py b/fireblocks/models/tr_link_vasp_geographic_address.py new file mode 100644 index 00000000..3044ec54 --- /dev/null +++ b/fireblocks/models/tr_link_vasp_geographic_address.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkVaspGeographicAddress(BaseModel): + """ + TRLinkVaspGeographicAddress + """ # noqa: E501 + formatted_address: Optional[StrictStr] = Field(default=None, description="Complete formatted address", alias="formattedAddress") + country: Optional[StrictStr] = Field(default=None, description="Country code or name") + street_name: Optional[StrictStr] = Field(default=None, description="Street name", alias="streetName") + building_number: Optional[StrictStr] = Field(default=None, description="Building number", alias="buildingNumber") + city: Optional[StrictStr] = Field(default=None, description="City name") + postal_code: Optional[StrictStr] = Field(default=None, description="Postal/ZIP code", alias="postalCode") + __properties: ClassVar[List[str]] = ["formattedAddress", "country", "streetName", "buildingNumber", "city", "postalCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkVaspGeographicAddress from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if formatted_address (nullable) is None + # and model_fields_set contains the field + if self.formatted_address is None and "formatted_address" in self.model_fields_set: + _dict['formattedAddress'] = None + + # set to None if country (nullable) is None + # and model_fields_set contains the field + if self.country is None and "country" in self.model_fields_set: + _dict['country'] = None + + # set to None if street_name (nullable) is None + # and model_fields_set contains the field + if self.street_name is None and "street_name" in self.model_fields_set: + _dict['streetName'] = None + + # set to None if building_number (nullable) is None + # and model_fields_set contains the field + if self.building_number is None and "building_number" in self.model_fields_set: + _dict['buildingNumber'] = None + + # set to None if city (nullable) is None + # and model_fields_set contains the field + if self.city is None and "city" in self.model_fields_set: + _dict['city'] = None + + # set to None if postal_code (nullable) is None + # and model_fields_set contains the field + if self.postal_code is None and "postal_code" in self.model_fields_set: + _dict['postalCode'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkVaspGeographicAddress from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formattedAddress": obj.get("formattedAddress"), + "country": obj.get("country"), + "streetName": obj.get("streetName"), + "buildingNumber": obj.get("buildingNumber"), + "city": obj.get("city"), + "postalCode": obj.get("postalCode") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_vasp_list_dto.py b/fireblocks/models/tr_link_vasp_list_dto.py new file mode 100644 index 00000000..da71dc75 --- /dev/null +++ b/fireblocks/models/tr_link_vasp_list_dto.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from fireblocks.models.tr_link_vasp_geographic_address import TRLinkVaspGeographicAddress +from fireblocks.models.tr_link_vasp_national_identification import TRLinkVaspNationalIdentification +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkVaspListDto(BaseModel): + """ + TRLinkVaspListDto + """ # noqa: E501 + id: StrictStr = Field(description="VASP unique identifier (DID format)") + name: StrictStr = Field(description="VASP display name") + legal_name: Optional[StrictStr] = Field(default=None, description="Legal entity name", alias="legalName") + national_identification: Optional[TRLinkVaspNationalIdentification] = Field(default=None, alias="nationalIdentification") + geographic_address: Optional[TRLinkVaspGeographicAddress] = Field(default=None, alias="geographicAddress") + additional_properties: Dict[str, Any] = {} + __properties: ClassVar[List[str]] = ["id", "name", "legalName", "nationalIdentification", "geographicAddress"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkVaspListDto from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of national_identification + if self.national_identification: + _dict['nationalIdentification'] = self.national_identification.to_dict() + # override the default output from pydantic by calling `to_dict()` of geographic_address + if self.geographic_address: + _dict['geographicAddress'] = self.geographic_address.to_dict() + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + # set to None if legal_name (nullable) is None + # and model_fields_set contains the field + if self.legal_name is None and "legal_name" in self.model_fields_set: + _dict['legalName'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkVaspListDto from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "legalName": obj.get("legalName"), + "nationalIdentification": TRLinkVaspNationalIdentification.from_dict(obj["nationalIdentification"]) if obj.get("nationalIdentification") is not None else None, + "geographicAddress": TRLinkVaspGeographicAddress.from_dict(obj["geographicAddress"]) if obj.get("geographicAddress") is not None else None + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/fireblocks/models/tr_link_vasp_national_identification.py b/fireblocks/models/tr_link_vasp_national_identification.py new file mode 100644 index 00000000..267b8b76 --- /dev/null +++ b/fireblocks/models/tr_link_vasp_national_identification.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TRLinkVaspNationalIdentification(BaseModel): + """ + TRLinkVaspNationalIdentification + """ # noqa: E501 + identifier: StrictStr = Field(description="National identification number") + type: Optional[StrictStr] = Field(default=None, description="Type of national identification") + authority: Optional[StrictStr] = Field(default=None, description="Issuing authority") + __properties: ClassVar[List[str]] = ["identifier", "type", "authority"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TRLinkVaspNationalIdentification from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # set to None if type (nullable) is None + # and model_fields_set contains the field + if self.type is None and "type" in self.model_fields_set: + _dict['type'] = None + + # set to None if authority (nullable) is None + # and model_fields_set contains the field + if self.authority is None and "authority" in self.model_fields_set: + _dict['authority'] = None + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TRLinkVaspNationalIdentification from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "identifier": obj.get("identifier"), + "type": obj.get("type"), + "authority": obj.get("authority") + }) + return _obj + + diff --git a/fireblocks/models/tr_link_verdict.py b/fireblocks/models/tr_link_verdict.py index 72db9531..76c5c34b 100644 --- a/fireblocks/models/tr_link_verdict.py +++ b/fireblocks/models/tr_link_verdict.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/tr_link_verdict_enum.py b/fireblocks/models/tr_link_verdict_enum.py index 93885e5f..dd290d56 100644 --- a/fireblocks/models/tr_link_verdict_enum.py +++ b/fireblocks/models/tr_link_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/trading_account_type.py b/fireblocks/models/trading_account_type.py index d0478c24..7f396926 100644 --- a/fireblocks/models/trading_account_type.py +++ b/fireblocks/models/trading_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,6 +41,17 @@ class TradingAccountType(str, Enum): USDT_MARGINED_SWAP_CROSS = 'USDT_MARGINED_SWAP_CROSS' USDT_FUTURES = 'USDT_FUTURES' UNIFIED = 'UNIFIED' + INTERNAL_BALANCE_1 = 'INTERNAL_BALANCE_1' + INTERNAL_BALANCE_2 = 'INTERNAL_BALANCE_2' + INTERNAL_BALANCE_3 = 'INTERNAL_BALANCE_3' + INTERNAL_BALANCE_4 = 'INTERNAL_BALANCE_4' + INTERNAL_BALANCE_5 = 'INTERNAL_BALANCE_5' + INTERNAL_BALANCE_6 = 'INTERNAL_BALANCE_6' + INTERNAL_BALANCE_7 = 'INTERNAL_BALANCE_7' + INTERNAL_BALANCE_8 = 'INTERNAL_BALANCE_8' + INTERNAL_BALANCE_9 = 'INTERNAL_BALANCE_9' + INTERNAL_BALANCE_10 = 'INTERNAL_BALANCE_10' + INTERNAL_BALANCE_11 = 'INTERNAL_BALANCE_11' @classmethod def from_json(cls, json_str: str) -> Self: diff --git a/fireblocks/models/trading_error_schema.py b/fireblocks/models/trading_error_schema.py new file mode 100644 index 00000000..c7f350fc --- /dev/null +++ b/fireblocks/models/trading_error_schema.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TradingErrorSchema(BaseModel): + """ + TradingErrorSchema + """ # noqa: E501 + message: StrictStr + code: Union[StrictFloat, StrictInt] + descriptor: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["message", "code", "descriptor"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TradingErrorSchema from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TradingErrorSchema from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "code": obj.get("code"), + "descriptor": obj.get("descriptor") + }) + return _obj + + diff --git a/fireblocks/models/trading_provider.py b/fireblocks/models/trading_provider.py index e2c34485..5ddb5ffc 100644 --- a/fireblocks/models/trading_provider.py +++ b/fireblocks/models/trading_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction.py b/fireblocks/models/transaction.py index e0e14e7d..cdd5b0c8 100644 --- a/fireblocks/models/transaction.py +++ b/fireblocks/models/transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_direction.py b/fireblocks/models/transaction_direction.py index 6d382034..a2096bee 100644 --- a/fireblocks/models/transaction_direction.py +++ b/fireblocks/models/transaction_direction.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_fee.py b/fireblocks/models/transaction_fee.py index f1f6d452..967848af 100644 --- a/fireblocks/models/transaction_fee.py +++ b/fireblocks/models/transaction_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_operation.py b/fireblocks/models/transaction_operation.py index 1e26ee1d..a7a8a537 100644 --- a/fireblocks/models/transaction_operation.py +++ b/fireblocks/models/transaction_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,7 +21,7 @@ class TransactionOperation(str, Enum): """ - * `TRANSFER` - The default value for an operation. Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. * `MINT` - Mints new tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `BURN` - Burns tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `CONTRACT_CALL` - Calls a smart contract method for web3 operations on any EVM blockchain. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. * `PROGRAM_CALL` - Execute multiple instructions on Solana blockchain. The @solana/web3.js library is recommended for building program call transactions. Currently in beta and disabled * `TYPED_MESSAGE` - An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. [Learn more about typed messages](https://developers.fireblocks.com/docs/typed-message-signing). * `RAW` - An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that are not natively supported by Fireblocks. [Learn more about raw signing transactions.](https://developers.fireblocks.com/docs/raw-message-signing) * `APPROVE` - Enables the approve function for a smart contract or wallet to withdraw from a designated wallet. [Learn more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions). * `ENABLE_ASSET` - Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. + * `TRANSFER` - The default value for an operation. Transfers funds from one account to another. UTXO blockchains allow multi-input and multi-output transfers. All other blockchains allow transfers with one source address and one destination address. * `MINT` - Mints new tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `BURN` - Burns tokens. Supported for Stellar, Ripple and EVM-based blockchains. * `CONTRACT_CALL` - Calls a smart contract method for web3 operations on any EVM blockchain. The Fireblocks [development libraries](https://developers.fireblocks.com/docs/ethereum-development#convenience-libraries) are recommended for building contract call transactions. * `PROGRAM_CALL` - Execute multiple instructions on Solana blockchain. The @solana/web3.js library is recommended for building program call transactions. * `TYPED_MESSAGE` - An off-chain message in either Ethereum Personal Message or EIP712 format. Use it to sign specific readable messages that are not actual transactions. [Learn more about typed messages](https://developers.fireblocks.com/docs/typed-message-signing). * `RAW` - An off-chain message with no predefined format. Use it to sign any message with your private key, including protocols such as blockchains and custom transaction types that are not natively supported by Fireblocks. [Learn more about raw signing transactions.](https://developers.fireblocks.com/docs/raw-message-signing) * `APPROVE` - Enables the approve function for a smart contract or wallet to withdraw from a designated wallet. [Learn more](https://support.fireblocks.io/hc/en-us/articles/4404616097426-Amount-Cap-for-Approve-transactions). * `ENABLE_ASSET` - Algorand, DigitalBits, Solana, and Stellar require an on-chain transaction to create an asset wallet and enable the deposit address. This transaction is automatically created when adding assets on these blockchains at a vault account. """ """ diff --git a/fireblocks/models/transaction_operation_enum.py b/fireblocks/models/transaction_operation_enum.py index ea1f852d..391223dc 100644 --- a/fireblocks/models/transaction_operation_enum.py +++ b/fireblocks/models/transaction_operation_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_receipt_response.py b/fireblocks/models/transaction_receipt_response.py index 7c2016d5..c91d7e03 100644 --- a/fireblocks/models/transaction_receipt_response.py +++ b/fireblocks/models/transaction_receipt_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request.py b/fireblocks/models/transaction_request.py index db5c77e8..8db8b168 100644 --- a/fireblocks/models/transaction_request.py +++ b/fireblocks/models/transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,15 +41,15 @@ class TransactionRequest(BaseModel): """ # noqa: E501 operation: Optional[TransactionOperation] = TransactionOperation.TRANSFER note: Optional[StrictStr] = Field(default=None, description="Custom note, not sent to the blockchain, to describe the transaction at your Fireblocks workspace.") - external_tx_id: Optional[StrictStr] = Field(default=None, description="**This parameter will become required for all transactions on March 1, 2026.** This parameter allows you to add a unique ID of your own to help prevent duplicate transactions. No specific format is required for this parameter. After you submit a transaction with an external ID, Fireblocks will automatically reject all future transactions with the same ID. Using an external ID primarily helps in situations where, even though a submitted transaction responds with an error due to an internet outage, the transaction was still sent to and processed on the blockchain. Use the [Get a specific transaction by external transaction ID](https://developers.fireblocks.com/reference/gettransactionbyexternalid) endpoint to validate whether these transactions have been processed.", alias="externalTxId") - asset_id: Optional[StrictStr] = Field(default=None, description="The ID of the asset to transfer, for `TRANSFER`, `MINT` or `BURN` operations. [See the list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/get_supported-assets)", alias="assetId") + external_tx_id: Optional[StrictStr] = Field(default=None, description="This parameter allows you to add a unique ID of your own to help prevent duplicate transactions. No specific format is required for this parameter. After you submit a transaction with an external ID, Fireblocks will automatically reject all future transactions with the same ID. Using an external ID primarily helps in situations where, even though a submitted transaction responds with an error due to an internet outage, the transaction was still sent to and processed on the blockchain. Use the [Get a specific transaction by external transaction ID](https://developers.fireblocks.com/reference/gettransactionbyexternalid) endpoint to validate whether these transactions have been processed.", alias="externalTxId") + asset_id: Optional[StrictStr] = Field(default=None, description="The ID of the asset to transfer, for `TRANSFER`, `MINT` or `BURN` operations. [See the list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/gettrlinksupportedasset#/)", alias="assetId") source: Optional[SourceTransferPeerPath] = None destination: Optional[DestinationTransferPeerPath] = None destinations: Optional[List[TransactionRequestDestination]] = Field(default=None, description="For UTXO based blockchains, you can send a single transaction to multiple destinations.") amount: Optional[TransactionRequestAmount] = None treat_as_gross_amount: Optional[StrictBool] = Field(default=None, description="\"When set to `true`, the fee will be deducted from the requested amount.\" **Note**: This parameter can only be considered if a transaction’s asset is a base asset, such as ETH or MATIC. If the asset can’t be used for transaction fees, like USDC, this parameter is ignored and the fee is deducted from the relevant base asset wallet in the source account.", alias="treatAsGrossAmount") force_sweep: Optional[StrictBool] = Field(default=None, description="For Polkadot, Kusama and Westend transactions only. When set to true, Fireblocks will empty the asset wallet. **Note:** If set to true when the source account is exactly 1 DOT, the transaction will fail. Any amount more or less than 1 DOT succeeds. This is a Polkadot blockchain limitation.", alias="forceSweep") - fee_level: Optional[StrictStr] = Field(default=None, description="For UTXO or EVM-based blockchains only. Defines the blockchain fee level which will be payed for the transaction. Alternatively, specific fee estimation parameters exist below.", alias="feeLevel") + fee_level: Optional[StrictStr] = Field(default=None, description="For UTXO, EVM-based, or Solana blockchains only. Defines the blockchain fee level which will be payed for the transaction. Alternatively, specific fee estimation parameters exist below.", alias="feeLevel") fee: Optional[TransactionRequestFee] = None priority_fee: Optional[TransactionRequestPriorityFee] = Field(default=None, alias="priorityFee") fail_on_low_fee: Optional[StrictBool] = Field(default=None, description="When set to `true`, in case the current `MEDIUM` fee level is higher than the one specified in the transaction, the transaction will fail to avoid getting stuck with no confirmations.", alias="failOnLowFee") diff --git a/fireblocks/models/transaction_request_amount.py b/fireblocks/models/transaction_request_amount.py index 451d4f7e..7e740391 100644 --- a/fireblocks/models/transaction_request_amount.py +++ b/fireblocks/models/transaction_request_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_destination.py b/fireblocks/models/transaction_request_destination.py index e960af08..e3cb69ba 100644 --- a/fireblocks/models/transaction_request_destination.py +++ b/fireblocks/models/transaction_request_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_fee.py b/fireblocks/models/transaction_request_fee.py index bebd0c54..dfdbc7e0 100644 --- a/fireblocks/models/transaction_request_fee.py +++ b/fireblocks/models/transaction_request_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_gas_limit.py b/fireblocks/models/transaction_request_gas_limit.py index 4185170b..220a0216 100644 --- a/fireblocks/models/transaction_request_gas_limit.py +++ b/fireblocks/models/transaction_request_gas_limit.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_gas_price.py b/fireblocks/models/transaction_request_gas_price.py index 116c4f7d..c805d968 100644 --- a/fireblocks/models/transaction_request_gas_price.py +++ b/fireblocks/models/transaction_request_gas_price.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_network_fee.py b/fireblocks/models/transaction_request_network_fee.py index f0bbe671..2e65c8a4 100644 --- a/fireblocks/models/transaction_request_network_fee.py +++ b/fireblocks/models/transaction_request_network_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_network_staking.py b/fireblocks/models/transaction_request_network_staking.py index c07699b0..8498f16a 100644 --- a/fireblocks/models/transaction_request_network_staking.py +++ b/fireblocks/models/transaction_request_network_staking.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_request_priority_fee.py b/fireblocks/models/transaction_request_priority_fee.py index 200f1ea6..845ea381 100644 --- a/fireblocks/models/transaction_request_priority_fee.py +++ b/fireblocks/models/transaction_request_priority_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_response.py b/fireblocks/models/transaction_response.py index 9ce194a3..2079295e 100644 --- a/fireblocks/models/transaction_response.py +++ b/fireblocks/models/transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -74,6 +74,7 @@ class TransactionResponse(BaseModel): authorization_info: Optional[AuthorizationInfo] = Field(default=None, alias="authorizationInfo") exchange_tx_id: Optional[StrictStr] = Field(default=None, description="If the transaction originated from an exchange, this is the ID of this transaction at the exchange.", alias="exchangeTxId") customer_ref_id: Optional[StrictStr] = Field(default=None, description="The ID for AML providers to associate the owner of funds with transactions.", alias="customerRefId") + travel_rule_message_id: Optional[StrictStr] = Field(default=None, description="The ID of the travel rule message from any travel rule provider. Used for travel rule linking functionality to associate transactions with existing travel rule messages.", alias="travelRuleMessageId") aml_screening_result: Optional[AmlScreeningResult] = Field(default=None, alias="amlScreeningResult") compliance_results: Optional[ComplianceResults] = Field(default=None, alias="complianceResults") not_broadcast_by_fireblocks: Optional[StrictBool] = Field(default=None, description="Indicates the transaction was not broadcast by Fireblocks", alias="notBroadcastByFireblocks") @@ -88,7 +89,7 @@ class TransactionResponse(BaseModel): index: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="For UTXO based assets this is the vOut, for Ethereum based, this is the index of the event of the contract call. **Note:** This field is not returned if a transaction uses the `destinations` object with more than one value.") reward_info: Optional[RewardInfo] = Field(default=None, alias="rewardInfo") fee_payer_info: Optional[FeePayerInfo] = Field(default=None, alias="feePayerInfo") - system_messages: Optional[SystemMessageInfo] = Field(default=None, alias="systemMessages") + system_messages: Optional[List[SystemMessageInfo]] = Field(default=None, alias="systemMessages") address_type: Optional[StrictStr] = Field(default=None, alias="addressType") requested_amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The amount requested by the user. Deprecated - please use the `amountInfo` field for accuracy.", alias="requestedAmount") amount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="If the transfer is a withdrawal from an exchange, the actual amount that was requested to be transferred. Otherwise, the requested amount. Deprecated - please use the `amountInfo` field for accuracy.") @@ -101,7 +102,7 @@ class TransactionResponse(BaseModel): replaced_tx_hash: Optional[StrictStr] = Field(default=None, description="if the transaction is a replace by fee (RBF) transaction, this is the hash of the transsaction that was replaced", alias="replacedTxHash") nonce: Optional[StrictStr] = Field(default=None, description="blockchain nonce for the transaction") blockchain_info: Optional[Dict[str, Any]] = Field(default=None, description="A JSON used to store additional data that is blockchain-specific.", alias="blockchainInfo") - __properties: ClassVar[List[str]] = ["id", "externalTxId", "status", "subStatus", "txHash", "operation", "note", "assetId", "assetType", "source", "sourceAddress", "tag", "destination", "destinations", "destinationAddress", "destinationAddressDescription", "destinationTag", "contractCallDecodedData", "amountInfo", "treatAsGrossAmount", "feeInfo", "feeCurrency", "networkRecords", "createdAt", "lastUpdated", "createdBy", "signedBy", "rejectedBy", "authorizationInfo", "exchangeTxId", "customerRefId", "amlScreeningResult", "complianceResults", "notBroadcastByFireblocks", "dappUrl", "gasLimit", "blockchainIndex", "paidRent", "extraParameters", "signedMessages", "numOfConfirmations", "blockInfo", "index", "rewardInfo", "feePayerInfo", "systemMessages", "addressType", "requestedAmount", "amount", "netAmount", "amountUSD", "serviceFee", "fee", "networkFee", "errorDescription", "replacedTxHash", "nonce", "blockchainInfo"] + __properties: ClassVar[List[str]] = ["id", "externalTxId", "status", "subStatus", "txHash", "operation", "note", "assetId", "assetType", "source", "sourceAddress", "tag", "destination", "destinations", "destinationAddress", "destinationAddressDescription", "destinationTag", "contractCallDecodedData", "amountInfo", "treatAsGrossAmount", "feeInfo", "feeCurrency", "networkRecords", "createdAt", "lastUpdated", "createdBy", "signedBy", "rejectedBy", "authorizationInfo", "exchangeTxId", "customerRefId", "travelRuleMessageId", "amlScreeningResult", "complianceResults", "notBroadcastByFireblocks", "dappUrl", "gasLimit", "blockchainIndex", "paidRent", "extraParameters", "signedMessages", "numOfConfirmations", "blockInfo", "index", "rewardInfo", "feePayerInfo", "systemMessages", "addressType", "requestedAmount", "amount", "netAmount", "amountUSD", "serviceFee", "fee", "networkFee", "errorDescription", "replacedTxHash", "nonce", "blockchainInfo"] @field_validator('address_type') def address_type_validate_enum(cls, value): @@ -206,9 +207,13 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of fee_payer_info if self.fee_payer_info: _dict['feePayerInfo'] = self.fee_payer_info.to_dict() - # override the default output from pydantic by calling `to_dict()` of system_messages + # override the default output from pydantic by calling `to_dict()` of each item in system_messages (list) + _items = [] if self.system_messages: - _dict['systemMessages'] = self.system_messages.to_dict() + for _item_system_messages in self.system_messages: + if _item_system_messages: + _items.append(_item_system_messages.to_dict()) + _dict['systemMessages'] = _items # set to None if amount_usd (nullable) is None # and model_fields_set contains the field if self.amount_usd is None and "amount_usd" in self.model_fields_set: @@ -257,6 +262,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "authorizationInfo": AuthorizationInfo.from_dict(obj["authorizationInfo"]) if obj.get("authorizationInfo") is not None else None, "exchangeTxId": obj.get("exchangeTxId"), "customerRefId": obj.get("customerRefId"), + "travelRuleMessageId": obj.get("travelRuleMessageId"), "amlScreeningResult": AmlScreeningResult.from_dict(obj["amlScreeningResult"]) if obj.get("amlScreeningResult") is not None else None, "complianceResults": ComplianceResults.from_dict(obj["complianceResults"]) if obj.get("complianceResults") is not None else None, "notBroadcastByFireblocks": obj.get("notBroadcastByFireblocks"), @@ -271,7 +277,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "index": obj.get("index"), "rewardInfo": RewardInfo.from_dict(obj["rewardInfo"]) if obj.get("rewardInfo") is not None else None, "feePayerInfo": FeePayerInfo.from_dict(obj["feePayerInfo"]) if obj.get("feePayerInfo") is not None else None, - "systemMessages": SystemMessageInfo.from_dict(obj["systemMessages"]) if obj.get("systemMessages") is not None else None, + "systemMessages": [SystemMessageInfo.from_dict(_item) for _item in obj["systemMessages"]] if obj.get("systemMessages") is not None else None, "addressType": obj.get("addressType"), "requestedAmount": obj.get("requestedAmount"), "amount": obj.get("amount"), diff --git a/fireblocks/models/transaction_response_contract_call_decoded_data.py b/fireblocks/models/transaction_response_contract_call_decoded_data.py index 1266f54a..864dbc5a 100644 --- a/fireblocks/models/transaction_response_contract_call_decoded_data.py +++ b/fireblocks/models/transaction_response_contract_call_decoded_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transaction_response_destination.py b/fireblocks/models/transaction_response_destination.py index a1060106..3e9fb425 100644 --- a/fireblocks/models/transaction_response_destination.py +++ b/fireblocks/models/transaction_response_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,10 +32,11 @@ class TransactionResponseDestination(BaseModel): """ # noqa: E501 amount: Optional[StrictStr] = Field(default=None, description="The amount to be sent to this destination.") amount_usd: Optional[StrictStr] = Field(default=None, description="The USD value of the requested amount.", alias="amountUSD") + travel_rule_message_id: Optional[StrictStr] = Field(default=None, description="The ID of the travel rule message from any travel rule provider. Used for travel rule linking functionality to associate transactions with existing travel rule messages.", alias="travelRuleMessageId") aml_screening_result: Optional[AmlScreeningResult] = Field(default=None, alias="amlScreeningResult") destination: Optional[DestinationTransferPeerPathResponse] = None authorization_info: Optional[AuthorizationInfo] = Field(default=None, alias="authorizationInfo") - __properties: ClassVar[List[str]] = ["amount", "amountUSD", "amlScreeningResult", "destination", "authorizationInfo"] + __properties: ClassVar[List[str]] = ["amount", "amountUSD", "travelRuleMessageId", "amlScreeningResult", "destination", "authorizationInfo"] model_config = ConfigDict( populate_by_name=True, @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "amount": obj.get("amount"), "amountUSD": obj.get("amountUSD"), + "travelRuleMessageId": obj.get("travelRuleMessageId"), "amlScreeningResult": AmlScreeningResult.from_dict(obj["amlScreeningResult"]) if obj.get("amlScreeningResult") is not None else None, "destination": DestinationTransferPeerPathResponse.from_dict(obj["destination"]) if obj.get("destination") is not None else None, "authorizationInfo": AuthorizationInfo.from_dict(obj["authorizationInfo"]) if obj.get("authorizationInfo") is not None else None diff --git a/fireblocks/models/transfer_config_operation.py b/fireblocks/models/transfer_config_operation.py index 0b37cbaf..30f3abd2 100644 --- a/fireblocks/models/transfer_config_operation.py +++ b/fireblocks/models/transfer_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_config_params.py b/fireblocks/models/transfer_operation_config_params.py index b621bae2..4a00f107 100644 --- a/fireblocks/models/transfer_operation_config_params.py +++ b/fireblocks/models/transfer_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_execution.py b/fireblocks/models/transfer_operation_execution.py index bcd69749..2fd62b97 100644 --- a/fireblocks/models/transfer_operation_execution.py +++ b/fireblocks/models/transfer_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_execution_output.py b/fireblocks/models/transfer_operation_execution_output.py index 05c9a347..db95a2e4 100644 --- a/fireblocks/models/transfer_operation_execution_output.py +++ b/fireblocks/models/transfer_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_execution_params.py b/fireblocks/models/transfer_operation_execution_params.py index 89ac10bf..65fc2381 100644 --- a/fireblocks/models/transfer_operation_execution_params.py +++ b/fireblocks/models/transfer_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_execution_params_execution_params.py b/fireblocks/models/transfer_operation_execution_params_execution_params.py index 406a7652..a344fc17 100644 --- a/fireblocks/models/transfer_operation_execution_params_execution_params.py +++ b/fireblocks/models/transfer_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_failure.py b/fireblocks/models/transfer_operation_failure.py index 0ca5edfb..80822d59 100644 --- a/fireblocks/models/transfer_operation_failure.py +++ b/fireblocks/models/transfer_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_failure_data.py b/fireblocks/models/transfer_operation_failure_data.py index 2dbe656e..8f038012 100644 --- a/fireblocks/models/transfer_operation_failure_data.py +++ b/fireblocks/models/transfer_operation_failure_data.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_preview.py b/fireblocks/models/transfer_operation_preview.py index e5971e69..60f544b1 100644 --- a/fireblocks/models/transfer_operation_preview.py +++ b/fireblocks/models/transfer_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_preview_output.py b/fireblocks/models/transfer_operation_preview_output.py index 8d13c481..4d93d1e4 100644 --- a/fireblocks/models/transfer_operation_preview_output.py +++ b/fireblocks/models/transfer_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_operation_type.py b/fireblocks/models/transfer_operation_type.py index bd377323..3cf3ad9a 100644 --- a/fireblocks/models/transfer_operation_type.py +++ b/fireblocks/models/transfer_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_peer_path_sub_type.py b/fireblocks/models/transfer_peer_path_sub_type.py index 3ad39cb7..d2247c8b 100644 --- a/fireblocks/models/transfer_peer_path_sub_type.py +++ b/fireblocks/models/transfer_peer_path_sub_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_peer_path_type.py b/fireblocks/models/transfer_peer_path_type.py index fa3c8ed4..654c88a6 100644 --- a/fireblocks/models/transfer_peer_path_type.py +++ b/fireblocks/models/transfer_peer_path_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_peer_sub_type_enum.py b/fireblocks/models/transfer_peer_sub_type_enum.py index 551958b2..a44fb3b0 100644 --- a/fireblocks/models/transfer_peer_sub_type_enum.py +++ b/fireblocks/models/transfer_peer_sub_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_peer_type_enum.py b/fireblocks/models/transfer_peer_type_enum.py index d4c90c08..f0a44c8e 100644 --- a/fireblocks/models/transfer_peer_type_enum.py +++ b/fireblocks/models/transfer_peer_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_rail.py b/fireblocks/models/transfer_rail.py index 93895d7c..02ff8ff1 100644 --- a/fireblocks/models/transfer_rail.py +++ b/fireblocks/models/transfer_rail.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_receipt.py b/fireblocks/models/transfer_receipt.py index c499b97a..c36e6a7d 100644 --- a/fireblocks/models/transfer_receipt.py +++ b/fireblocks/models/transfer_receipt.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/transfer_validation_failure.py b/fireblocks/models/transfer_validation_failure.py index 32b60cc0..2171ef48 100644 --- a/fireblocks/models/transfer_validation_failure.py +++ b/fireblocks/models/transfer_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_action_enum.py b/fireblocks/models/travel_rule_action_enum.py index 2e60703f..de25f9fe 100644 --- a/fireblocks/models/travel_rule_action_enum.py +++ b/fireblocks/models/travel_rule_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_address.py b/fireblocks/models/travel_rule_address.py index 37111023..3dd056af 100644 --- a/fireblocks/models/travel_rule_address.py +++ b/fireblocks/models/travel_rule_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_create_transaction_request.py b/fireblocks/models/travel_rule_create_transaction_request.py index cc5066ac..a9b64eb2 100644 --- a/fireblocks/models/travel_rule_create_transaction_request.py +++ b/fireblocks/models/travel_rule_create_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_date_and_place_of_birth.py b/fireblocks/models/travel_rule_date_and_place_of_birth.py index 3d3d5fcc..c0971b08 100644 --- a/fireblocks/models/travel_rule_date_and_place_of_birth.py +++ b/fireblocks/models/travel_rule_date_and_place_of_birth.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_direction_enum.py b/fireblocks/models/travel_rule_direction_enum.py index daa25f5f..cea45dac 100644 --- a/fireblocks/models/travel_rule_direction_enum.py +++ b/fireblocks/models/travel_rule_direction_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_geographic_address.py b/fireblocks/models/travel_rule_geographic_address.py index 64593881..e46f9a91 100644 --- a/fireblocks/models/travel_rule_geographic_address.py +++ b/fireblocks/models/travel_rule_geographic_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_get_all_vasps_response.py b/fireblocks/models/travel_rule_get_all_vasps_response.py index 15bb1d0e..5130b02c 100644 --- a/fireblocks/models/travel_rule_get_all_vasps_response.py +++ b/fireblocks/models/travel_rule_get_all_vasps_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_issuer.py b/fireblocks/models/travel_rule_issuer.py index 2557fd7a..fbb38fc5 100644 --- a/fireblocks/models/travel_rule_issuer.py +++ b/fireblocks/models/travel_rule_issuer.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_issuers.py b/fireblocks/models/travel_rule_issuers.py index 99c3e11f..548dcbe0 100644 --- a/fireblocks/models/travel_rule_issuers.py +++ b/fireblocks/models/travel_rule_issuers.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_legal_person.py b/fireblocks/models/travel_rule_legal_person.py index 4203d861..a49d6e88 100644 --- a/fireblocks/models/travel_rule_legal_person.py +++ b/fireblocks/models/travel_rule_legal_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_legal_person_name_identifier.py b/fireblocks/models/travel_rule_legal_person_name_identifier.py index 1d917730..d1bfb12d 100644 --- a/fireblocks/models/travel_rule_legal_person_name_identifier.py +++ b/fireblocks/models/travel_rule_legal_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_matched_rule.py b/fireblocks/models/travel_rule_matched_rule.py index 4792cd34..988f7a73 100644 --- a/fireblocks/models/travel_rule_matched_rule.py +++ b/fireblocks/models/travel_rule_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_national_identification.py b/fireblocks/models/travel_rule_national_identification.py index 040271aa..827007e7 100644 --- a/fireblocks/models/travel_rule_national_identification.py +++ b/fireblocks/models/travel_rule_national_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_natural_name_identifier.py b/fireblocks/models/travel_rule_natural_name_identifier.py index 7d9941aa..b6bfb6a4 100644 --- a/fireblocks/models/travel_rule_natural_name_identifier.py +++ b/fireblocks/models/travel_rule_natural_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_natural_person.py b/fireblocks/models/travel_rule_natural_person.py index a5f07ee0..dc0e332f 100644 --- a/fireblocks/models/travel_rule_natural_person.py +++ b/fireblocks/models/travel_rule_natural_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_natural_person_name_identifier.py b/fireblocks/models/travel_rule_natural_person_name_identifier.py index b6783797..7ae4476f 100644 --- a/fireblocks/models/travel_rule_natural_person_name_identifier.py +++ b/fireblocks/models/travel_rule_natural_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_ownership_proof.py b/fireblocks/models/travel_rule_ownership_proof.py index da387e75..0528639b 100644 --- a/fireblocks/models/travel_rule_ownership_proof.py +++ b/fireblocks/models/travel_rule_ownership_proof.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_person.py b/fireblocks/models/travel_rule_person.py index 6779c893..694e94ff 100644 --- a/fireblocks/models/travel_rule_person.py +++ b/fireblocks/models/travel_rule_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_pii_ivms.py b/fireblocks/models/travel_rule_pii_ivms.py index dd6e19e8..e2bd8426 100644 --- a/fireblocks/models/travel_rule_pii_ivms.py +++ b/fireblocks/models/travel_rule_pii_ivms.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_policy_rule_response.py b/fireblocks/models/travel_rule_policy_rule_response.py index 639dead6..512a5e61 100644 --- a/fireblocks/models/travel_rule_policy_rule_response.py +++ b/fireblocks/models/travel_rule_policy_rule_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_prescreening_rule.py b/fireblocks/models/travel_rule_prescreening_rule.py index 9c062198..1a759c6c 100644 --- a/fireblocks/models/travel_rule_prescreening_rule.py +++ b/fireblocks/models/travel_rule_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_result.py b/fireblocks/models/travel_rule_result.py index 099d17d4..649887c8 100644 --- a/fireblocks/models/travel_rule_result.py +++ b/fireblocks/models/travel_rule_result.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_status_enum.py b/fireblocks/models/travel_rule_status_enum.py index 08d63569..5a01f9c9 100644 --- a/fireblocks/models/travel_rule_status_enum.py +++ b/fireblocks/models/travel_rule_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_transaction_blockchain_info.py b/fireblocks/models/travel_rule_transaction_blockchain_info.py index 01293df7..e2b28624 100644 --- a/fireblocks/models/travel_rule_transaction_blockchain_info.py +++ b/fireblocks/models/travel_rule_transaction_blockchain_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_update_vasp_details.py b/fireblocks/models/travel_rule_update_vasp_details.py index 58514d84..ef63f5f5 100644 --- a/fireblocks/models/travel_rule_update_vasp_details.py +++ b/fireblocks/models/travel_rule_update_vasp_details.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_date_and_place_of_birth.py b/fireblocks/models/travel_rule_validate_date_and_place_of_birth.py index 3ff715d2..3a021c49 100644 --- a/fireblocks/models/travel_rule_validate_date_and_place_of_birth.py +++ b/fireblocks/models/travel_rule_validate_date_and_place_of_birth.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_full_transaction_request.py b/fireblocks/models/travel_rule_validate_full_transaction_request.py index 1f27b37d..6c4dd54f 100644 --- a/fireblocks/models/travel_rule_validate_full_transaction_request.py +++ b/fireblocks/models/travel_rule_validate_full_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_geographic_address.py b/fireblocks/models/travel_rule_validate_geographic_address.py index e25c198d..f9e3c016 100644 --- a/fireblocks/models/travel_rule_validate_geographic_address.py +++ b/fireblocks/models/travel_rule_validate_geographic_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_legal_person.py b/fireblocks/models/travel_rule_validate_legal_person.py index 71675001..a2816461 100644 --- a/fireblocks/models/travel_rule_validate_legal_person.py +++ b/fireblocks/models/travel_rule_validate_legal_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_legal_person_name_identifier.py b/fireblocks/models/travel_rule_validate_legal_person_name_identifier.py index d4a0b03a..f282547e 100644 --- a/fireblocks/models/travel_rule_validate_legal_person_name_identifier.py +++ b/fireblocks/models/travel_rule_validate_legal_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_national_identification.py b/fireblocks/models/travel_rule_validate_national_identification.py index 08fae3a1..49842b00 100644 --- a/fireblocks/models/travel_rule_validate_national_identification.py +++ b/fireblocks/models/travel_rule_validate_national_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_natural_name_identifier.py b/fireblocks/models/travel_rule_validate_natural_name_identifier.py index ff094464..9d53329e 100644 --- a/fireblocks/models/travel_rule_validate_natural_name_identifier.py +++ b/fireblocks/models/travel_rule_validate_natural_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_natural_person.py b/fireblocks/models/travel_rule_validate_natural_person.py index e2125840..cf91c716 100644 --- a/fireblocks/models/travel_rule_validate_natural_person.py +++ b/fireblocks/models/travel_rule_validate_natural_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_natural_person_name_identifier.py b/fireblocks/models/travel_rule_validate_natural_person_name_identifier.py index 5fc61d64..8025cf1e 100644 --- a/fireblocks/models/travel_rule_validate_natural_person_name_identifier.py +++ b/fireblocks/models/travel_rule_validate_natural_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_person.py b/fireblocks/models/travel_rule_validate_person.py index 08683891..2fa3106e 100644 --- a/fireblocks/models/travel_rule_validate_person.py +++ b/fireblocks/models/travel_rule_validate_person.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_pii_ivms.py b/fireblocks/models/travel_rule_validate_pii_ivms.py index c17380d3..dd0aaa0a 100644 --- a/fireblocks/models/travel_rule_validate_pii_ivms.py +++ b/fireblocks/models/travel_rule_validate_pii_ivms.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_transaction_request.py b/fireblocks/models/travel_rule_validate_transaction_request.py index c90c00b0..e7819a53 100644 --- a/fireblocks/models/travel_rule_validate_transaction_request.py +++ b/fireblocks/models/travel_rule_validate_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_validate_transaction_response.py b/fireblocks/models/travel_rule_validate_transaction_response.py index 7152fe7e..45b5eb3a 100644 --- a/fireblocks/models/travel_rule_validate_transaction_response.py +++ b/fireblocks/models/travel_rule_validate_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_vasp.py b/fireblocks/models/travel_rule_vasp.py index 0be31033..2440a9d8 100644 --- a/fireblocks/models/travel_rule_vasp.py +++ b/fireblocks/models/travel_rule_vasp.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_vasp_for_vault.py b/fireblocks/models/travel_rule_vasp_for_vault.py index bb9ea4f9..1877098b 100644 --- a/fireblocks/models/travel_rule_vasp_for_vault.py +++ b/fireblocks/models/travel_rule_vasp_for_vault.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/travel_rule_verdict_enum.py b/fireblocks/models/travel_rule_verdict_enum.py index 4a9485d4..d85d1cdd 100644 --- a/fireblocks/models/travel_rule_verdict_enum.py +++ b/fireblocks/models/travel_rule_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/trust_proof_of_address_create_response.py b/fireblocks/models/trust_proof_of_address_create_response.py new file mode 100644 index 00000000..7ec26f11 --- /dev/null +++ b/fireblocks/models/trust_proof_of_address_create_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from fireblocks.models.typed_message_transaction_status_enum import TypedMessageTransactionStatusEnum +from typing import Optional, Set +from typing_extensions import Self + +class TrustProofOfAddressCreateResponse(BaseModel): + """ + Response from creating a proof of address transaction + """ # noqa: E501 + transaction_id: StrictStr = Field(description="Transaction ID from Fireblocks (UUID format)", alias="transactionId") + status: TypedMessageTransactionStatusEnum + __properties: ClassVar[List[str]] = ["transactionId", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TrustProofOfAddressCreateResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TrustProofOfAddressCreateResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transactionId": obj.get("transactionId"), + "status": obj.get("status") + }) + return _obj + + diff --git a/fireblocks/models/trust_proof_of_address_request.py b/fireblocks/models/trust_proof_of_address_request.py new file mode 100644 index 00000000..dda7db60 --- /dev/null +++ b/fireblocks/models/trust_proof_of_address_request.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self + +class TrustProofOfAddressRequest(BaseModel): + """ + Request to create a cryptographic proof of address ownership for TRUST network compliance + """ # noqa: E501 + vault_account_id: StrictStr = Field(description="The ID of the vault account.", alias="vaultAccountId") + asset: StrictStr = Field(description="The asset identifier for which proof of address is being created.") + prefix: Annotated[str, Field(min_length=1, strict=True, max_length=255)] = Field(description="The prefix to be used for signing messages.") + trust_uuid: StrictStr = Field(description="A unique identifier (UUID) obtained from TRUST (CreateAddressOwnership)", alias="trustUuid") + __properties: ClassVar[List[str]] = ["vaultAccountId", "asset", "prefix", "trustUuid"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TrustProofOfAddressRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TrustProofOfAddressRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "vaultAccountId": obj.get("vaultAccountId"), + "asset": obj.get("asset"), + "prefix": obj.get("prefix"), + "trustUuid": obj.get("trustUuid") + }) + return _obj + + diff --git a/fireblocks/models/trust_proof_of_address_response.py b/fireblocks/models/trust_proof_of_address_response.py new file mode 100644 index 00000000..765c071e --- /dev/null +++ b/fireblocks/models/trust_proof_of_address_response.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from fireblocks.models.typed_message_transaction_status_enum import TypedMessageTransactionStatusEnum +from typing import Optional, Set +from typing_extensions import Self + +class TrustProofOfAddressResponse(BaseModel): + """ + Response containing the TRUST-compatible encoded signature + """ # noqa: E501 + transaction_id: StrictStr = Field(description="Transaction ID from Fireblocks (UUID format)", alias="transactionId") + status: TypedMessageTransactionStatusEnum + signature: StrictStr = Field(description="TRUST-compatible encoded signature for proof of address verification. ") + __properties: ClassVar[List[str]] = ["transactionId", "status", "signature"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TrustProofOfAddressResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TrustProofOfAddressResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transactionId": obj.get("transactionId"), + "status": obj.get("status"), + "signature": obj.get("signature") + }) + return _obj + + diff --git a/fireblocks/models/tx_log.py b/fireblocks/models/tx_log.py index c3a41d49..42021be8 100644 --- a/fireblocks/models/tx_log.py +++ b/fireblocks/models/tx_log.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/typed_message_transaction_status_enum.py b/fireblocks/models/typed_message_transaction_status_enum.py new file mode 100644 index 00000000..62162089 --- /dev/null +++ b/fireblocks/models/typed_message_transaction_status_enum.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Fireblocks API + + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + + The version of the OpenAPI document: 1.6.2 + Contact: developers@fireblocks.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import json +from enum import Enum +from typing_extensions import Self + + +class TypedMessageTransactionStatusEnum(str, Enum): + """ + Status of the typed message transaction from Fireblocks. For details, see [Primary transaction statuses](https://developers.fireblocks.com/reference/primary-transaction-statuses) + """ + + """ + allowed enum values + """ + SUBMITTED = 'SUBMITTED' + QUEUED = 'QUEUED' + PENDING_SIGNATURE = 'PENDING_SIGNATURE' + PENDING_AUTHORIZATION = 'PENDING_AUTHORIZATION' + PENDING_3_RD_PARTY_MANUAL_APPROVAL = 'PENDING_3RD_PARTY_MANUAL_APPROVAL' + PENDING_3_RD_PARTY = 'PENDING_3RD_PARTY' + BROADCASTING = 'BROADCASTING' + PENDING_AML_SCREENING = 'PENDING_AML_SCREENING' + CONFIRMING = 'CONFIRMING' + PARTIALLY_COMPLETED = 'PARTIALLY_COMPLETED' + PENDING_EMAIL_APPROVAL = 'PENDING_EMAIL_APPROVAL' + CANCELLED = 'CANCELLED' + REJECTED = 'REJECTED' + FAILED = 'FAILED' + TIMEOUT = 'TIMEOUT' + BLOCKED = 'BLOCKED' + + @classmethod + def from_json(cls, json_str: str) -> Self: + """Create an instance of TypedMessageTransactionStatusEnum from a JSON string""" + return cls(json.loads(json_str)) + + diff --git a/fireblocks/models/unfreeze_transaction_response.py b/fireblocks/models/unfreeze_transaction_response.py index ee99ad60..42b26a46 100644 --- a/fireblocks/models/unfreeze_transaction_response.py +++ b/fireblocks/models/unfreeze_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/unmanaged_wallet.py b/fireblocks/models/unmanaged_wallet.py index e202f163..13074db5 100644 --- a/fireblocks/models/unmanaged_wallet.py +++ b/fireblocks/models/unmanaged_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/unspent_input.py b/fireblocks/models/unspent_input.py index 134eebfa..e35743a9 100644 --- a/fireblocks/models/unspent_input.py +++ b/fireblocks/models/unspent_input.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/unspent_inputs_response.py b/fireblocks/models/unspent_inputs_response.py index 542c36e9..187d4d1b 100644 --- a/fireblocks/models/unspent_inputs_response.py +++ b/fireblocks/models/unspent_inputs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/unstake_request.py b/fireblocks/models/unstake_request.py index eab74b80..7cb9caf6 100644 --- a/fireblocks/models/unstake_request.py +++ b/fireblocks/models/unstake_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,7 +32,7 @@ class UnstakeRequest(BaseModel): fee: Optional[StrictStr] = Field(default=None, description="Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.") fee_level: Optional[FeeLevel] = Field(default=None, alias="feeLevel") tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the transactions.", alias="txNote") - amount: Optional[StrictStr] = Field(default=None, description="The number of tokens to unstake. This optional field is applicable only for liquid staking and allows for a partial unstake of the position. If not provided, the entire position will be unstaked by default.") + amount: Optional[StrictStr] = Field(default=None, description="Amount of tokens to unstake. Only supported for liquid staking (Lido) to enable partial unstaking. For other chains, this field is ignored and the entire position will be unstaked. If not provided, the entire position will be unstaked.") __properties: ClassVar[List[str]] = ["id", "fee", "feeLevel", "txNote", "amount"] model_config = ConfigDict( diff --git a/fireblocks/models/update_asset_user_metadata_request.py b/fireblocks/models/update_asset_user_metadata_request.py index cc3ea812..27c16252 100644 --- a/fireblocks/models/update_asset_user_metadata_request.py +++ b/fireblocks/models/update_asset_user_metadata_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_callback_handler_request.py b/fireblocks/models/update_callback_handler_request.py index f1e19343..8734fc22 100644 --- a/fireblocks/models/update_callback_handler_request.py +++ b/fireblocks/models/update_callback_handler_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_callback_handler_response.py b/fireblocks/models/update_callback_handler_response.py index e7c24789..d31138d4 100644 --- a/fireblocks/models/update_callback_handler_response.py +++ b/fireblocks/models/update_callback_handler_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_draft_request.py b/fireblocks/models/update_draft_request.py index 642b15f6..bcaa650d 100644 --- a/fireblocks/models/update_draft_request.py +++ b/fireblocks/models/update_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_tag_request.py b/fireblocks/models/update_tag_request.py index c4aab686..28d65955 100644 --- a/fireblocks/models/update_tag_request.py +++ b/fireblocks/models/update_tag_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_token_ownership_status_dto.py b/fireblocks/models/update_token_ownership_status_dto.py index c9444abd..58314a56 100644 --- a/fireblocks/models/update_token_ownership_status_dto.py +++ b/fireblocks/models/update_token_ownership_status_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_vault_account_asset_address_request.py b/fireblocks/models/update_vault_account_asset_address_request.py index 4519fccd..60e51e75 100644 --- a/fireblocks/models/update_vault_account_asset_address_request.py +++ b/fireblocks/models/update_vault_account_asset_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_vault_account_request.py b/fireblocks/models/update_vault_account_request.py index 22d165f3..7c7659c9 100644 --- a/fireblocks/models/update_vault_account_request.py +++ b/fireblocks/models/update_vault_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/update_webhook_request.py b/fireblocks/models/update_webhook_request.py index f4fb078f..9d4c79a2 100644 --- a/fireblocks/models/update_webhook_request.py +++ b/fireblocks/models/update_webhook_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/us_wire_address.py b/fireblocks/models/us_wire_address.py index 1ea4551e..1db31c50 100644 --- a/fireblocks/models/us_wire_address.py +++ b/fireblocks/models/us_wire_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from fireblocks.models.account_holder_details import AccountHolderDetails +from fireblocks.models.bank_address import BankAddress from typing import Optional, Set from typing_extensions import Self @@ -32,7 +33,7 @@ class USWireAddress(BaseModel): bank_name: Optional[StrictStr] = Field(default=None, description="Name of the bank.", alias="bankName") bank_account_number: StrictStr = Field(description="The bank account number for the wire transfer.", alias="bankAccountNumber") routing_number: StrictStr = Field(description="Routing number identifying the bank account.", alias="routingNumber") - bank_address: Optional[StrictStr] = Field(default=None, description="Address of the bank.", alias="bankAddress") + bank_address: Optional[BankAddress] = Field(default=None, alias="bankAddress") __properties: ClassVar[List[str]] = ["accountHolder", "bankName", "bankAccountNumber", "routingNumber", "bankAddress"] model_config = ConfigDict( @@ -77,6 +78,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of account_holder if self.account_holder: _dict['accountHolder'] = self.account_holder.to_dict() + # override the default output from pydantic by calling `to_dict()` of bank_address + if self.bank_address: + _dict['bankAddress'] = self.bank_address.to_dict() return _dict @classmethod @@ -93,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bankName": obj.get("bankName"), "bankAccountNumber": obj.get("bankAccountNumber"), "routingNumber": obj.get("routingNumber"), - "bankAddress": obj.get("bankAddress") + "bankAddress": BankAddress.from_dict(obj["bankAddress"]) if obj.get("bankAddress") is not None else None }) return _obj diff --git a/fireblocks/models/us_wire_destination.py b/fireblocks/models/us_wire_destination.py index 29ab3cd6..7237e72e 100644 --- a/fireblocks/models/us_wire_destination.py +++ b/fireblocks/models/us_wire_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -35,8 +35,8 @@ class USWireDestination(BaseModel): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['US_WIRE']): - raise ValueError("must be one of enum values ('US_WIRE')") + if value not in set(['WIRE']): + raise ValueError("must be one of enum values ('WIRE')") return value model_config = ConfigDict( diff --git a/fireblocks/models/us_wire_payment_info.py b/fireblocks/models/us_wire_payment_info.py index 99e51692..c02531d7 100644 --- a/fireblocks/models/us_wire_payment_info.py +++ b/fireblocks/models/us_wire_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_group_create_request.py b/fireblocks/models/user_group_create_request.py index 6f50abc1..34a0df79 100644 --- a/fireblocks/models/user_group_create_request.py +++ b/fireblocks/models/user_group_create_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_group_create_response.py b/fireblocks/models/user_group_create_response.py index 6a42aa58..8bf3cf52 100644 --- a/fireblocks/models/user_group_create_response.py +++ b/fireblocks/models/user_group_create_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_group_response.py b/fireblocks/models/user_group_response.py index 6b405cf2..d7f76368 100644 --- a/fireblocks/models/user_group_response.py +++ b/fireblocks/models/user_group_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_group_update_request.py b/fireblocks/models/user_group_update_request.py index 5cf2047c..c1143c1e 100644 --- a/fireblocks/models/user_group_update_request.py +++ b/fireblocks/models/user_group_update_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_response.py b/fireblocks/models/user_response.py index ec600138..380c80ed 100644 --- a/fireblocks/models/user_response.py +++ b/fireblocks/models/user_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_role.py b/fireblocks/models/user_role.py index 534ccf5b..6204f495 100644 --- a/fireblocks/models/user_role.py +++ b/fireblocks/models/user_role.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_status.py b/fireblocks/models/user_status.py index 82a1e4ca..0c27005c 100644 --- a/fireblocks/models/user_status.py +++ b/fireblocks/models/user_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/user_type.py b/fireblocks/models/user_type.py index 5a113acb..25b16c63 100644 --- a/fireblocks/models/user_type.py +++ b/fireblocks/models/user_type.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/validate_address_response.py b/fireblocks/models/validate_address_response.py index 52be8b36..9257e017 100644 --- a/fireblocks/models/validate_address_response.py +++ b/fireblocks/models/validate_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/validate_layer_zero_channel_response.py b/fireblocks/models/validate_layer_zero_channel_response.py index 14ec7159..6a289c47 100644 --- a/fireblocks/models/validate_layer_zero_channel_response.py +++ b/fireblocks/models/validate_layer_zero_channel_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/validation_key_dto.py b/fireblocks/models/validation_key_dto.py index a4bde240..fc1f1cf1 100644 --- a/fireblocks/models/validation_key_dto.py +++ b/fireblocks/models/validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/validator.py b/fireblocks/models/validator.py index 35ceabba..5a4bb1c0 100644 --- a/fireblocks/models/validator.py +++ b/fireblocks/models/validator.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_account.py b/fireblocks/models/vault_account.py index 409e1cd4..51d699a4 100644 --- a/fireblocks/models/vault_account.py +++ b/fireblocks/models/vault_account.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_account_tag_attachment_operation.py b/fireblocks/models/vault_account_tag_attachment_operation.py index 6cb355fa..8445c33a 100644 --- a/fireblocks/models/vault_account_tag_attachment_operation.py +++ b/fireblocks/models/vault_account_tag_attachment_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_account_tag_attachment_pending_operation.py b/fireblocks/models/vault_account_tag_attachment_pending_operation.py index 84f73ee6..cfec8f5a 100644 --- a/fireblocks/models/vault_account_tag_attachment_pending_operation.py +++ b/fireblocks/models/vault_account_tag_attachment_pending_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_account_tag_attachment_rejected_operation.py b/fireblocks/models/vault_account_tag_attachment_rejected_operation.py index 12dab65a..baacf89e 100644 --- a/fireblocks/models/vault_account_tag_attachment_rejected_operation.py +++ b/fireblocks/models/vault_account_tag_attachment_rejected_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_accounts_paged_response.py b/fireblocks/models/vault_accounts_paged_response.py index e7be0c30..be9839bd 100644 --- a/fireblocks/models/vault_accounts_paged_response.py +++ b/fireblocks/models/vault_accounts_paged_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_accounts_paged_response_paging.py b/fireblocks/models/vault_accounts_paged_response_paging.py index f569b469..584b6d00 100644 --- a/fireblocks/models/vault_accounts_paged_response_paging.py +++ b/fireblocks/models/vault_accounts_paged_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_accounts_tag_attachment_operations_request.py b/fireblocks/models/vault_accounts_tag_attachment_operations_request.py index f4acccac..f97cab59 100644 --- a/fireblocks/models/vault_accounts_tag_attachment_operations_request.py +++ b/fireblocks/models/vault_accounts_tag_attachment_operations_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_accounts_tag_attachment_operations_response.py b/fireblocks/models/vault_accounts_tag_attachment_operations_response.py index d19d65f6..8fbcb59d 100644 --- a/fireblocks/models/vault_accounts_tag_attachment_operations_response.py +++ b/fireblocks/models/vault_accounts_tag_attachment_operations_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_action_status.py b/fireblocks/models/vault_action_status.py index c80b18b2..7e394910 100644 --- a/fireblocks/models/vault_action_status.py +++ b/fireblocks/models/vault_action_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_asset.py b/fireblocks/models/vault_asset.py index a253b7e2..dffb64e6 100644 --- a/fireblocks/models/vault_asset.py +++ b/fireblocks/models/vault_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vault_wallet_address.py b/fireblocks/models/vault_wallet_address.py index ff50159a..8161a0e2 100644 --- a/fireblocks/models/vault_wallet_address.py +++ b/fireblocks/models/vault_wallet_address.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/vendor_dto.py b/fireblocks/models/vendor_dto.py index 51803005..4c60e3c3 100644 --- a/fireblocks/models/vendor_dto.py +++ b/fireblocks/models/vendor_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/verdict_config.py b/fireblocks/models/verdict_config.py index c3335e43..cc97b808 100644 --- a/fireblocks/models/verdict_config.py +++ b/fireblocks/models/verdict_config.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/rescan_transaction.py b/fireblocks/models/version_summary.py similarity index 70% rename from fireblocks/models/rescan_transaction.py rename to fireblocks/models/version_summary.py index 5999234b..bf4f8c66 100644 --- a/fireblocks/models/rescan_transaction.py +++ b/fireblocks/models/version_summary.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,13 +23,13 @@ from typing import Optional, Set from typing_extensions import Self -class RescanTransaction(BaseModel): +class VersionSummary(BaseModel): """ - RescanTransaction + VersionSummary """ # noqa: E501 - tx_hash: Optional[StrictStr] = Field(default=None, description="Blockchain TX hash", alias="txHash") - asset_id: Optional[StrictStr] = Field(default=None, description="Asset symbol BTC,ETH)", alias="assetId") - __properties: ClassVar[List[str]] = ["txHash", "assetId"] + hash: StrictStr = Field(description="The version hash of the cosigner") + name: Optional[StrictStr] = Field(default=None, description="The name of the version") + __properties: ClassVar[List[str]] = ["hash", "name"] model_config = ConfigDict( populate_by_name=True, @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of RescanTransaction from a JSON string""" + """Create an instance of VersionSummary from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -74,7 +74,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of RescanTransaction from a dict""" + """Create an instance of VersionSummary from a dict""" if obj is None: return None @@ -82,8 +82,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "txHash": obj.get("txHash"), - "assetId": obj.get("assetId") + "hash": obj.get("hash"), + "name": obj.get("name") }) return _obj diff --git a/fireblocks/models/wallet_asset.py b/fireblocks/models/wallet_asset.py index 5ac5f682..baa5102e 100644 --- a/fireblocks/models/wallet_asset.py +++ b/fireblocks/models/wallet_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/wallet_asset_additional_info.py b/fireblocks/models/wallet_asset_additional_info.py index 2feeac7a..3277456b 100644 --- a/fireblocks/models/wallet_asset_additional_info.py +++ b/fireblocks/models/wallet_asset_additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/webhook.py b/fireblocks/models/webhook.py index 96a1b565..39850ebc 100644 --- a/fireblocks/models/webhook.py +++ b/fireblocks/models/webhook.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/webhook_event.py b/fireblocks/models/webhook_event.py index 324bb1db..90e89583 100644 --- a/fireblocks/models/webhook_event.py +++ b/fireblocks/models/webhook_event.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/webhook_metric.py b/fireblocks/models/webhook_metric.py index db4943fa..b7c6a09b 100644 --- a/fireblocks/models/webhook_metric.py +++ b/fireblocks/models/webhook_metric.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/webhook_paginated_response.py b/fireblocks/models/webhook_paginated_response.py index 657eeb29..f8b0e129 100644 --- a/fireblocks/models/webhook_paginated_response.py +++ b/fireblocks/models/webhook_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/withdraw_request.py b/fireblocks/models/withdraw_request.py index f47bb93a..a4d0b207 100644 --- a/fireblocks/models/withdraw_request.py +++ b/fireblocks/models/withdraw_request.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -32,7 +32,8 @@ class WithdrawRequest(BaseModel): fee: Optional[StrictStr] = Field(default=None, description="Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.") fee_level: Optional[FeeLevel] = Field(default=None, alias="feeLevel") tx_note: Optional[StrictStr] = Field(default=None, description="The note to associate with the transactions.", alias="txNote") - __properties: ClassVar[List[str]] = ["id", "fee", "feeLevel", "txNote"] + amount: Optional[StrictStr] = Field(default=None, description="Amount of tokens to withdraw. Only supported for Cosmos chains to enable partial withdrawals. For other chains, this field is ignored and the entire available amount will be withdrawn. If not provided, the entire available amount will be withdrawn.") + __properties: ClassVar[List[str]] = ["id", "fee", "feeLevel", "txNote", "amount"] model_config = ConfigDict( populate_by_name=True, @@ -88,7 +89,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "fee": obj.get("fee"), "feeLevel": obj.get("feeLevel"), - "txNote": obj.get("txNote") + "txNote": obj.get("txNote"), + "amount": obj.get("amount") }) return _obj diff --git a/fireblocks/models/workflow_config_status.py b/fireblocks/models/workflow_config_status.py index 13cbbf19..c3b89e0b 100644 --- a/fireblocks/models/workflow_config_status.py +++ b/fireblocks/models/workflow_config_status.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/workflow_configuration_id.py b/fireblocks/models/workflow_configuration_id.py index 0af16d5e..9e04cf4e 100644 --- a/fireblocks/models/workflow_configuration_id.py +++ b/fireblocks/models/workflow_configuration_id.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/workflow_execution_operation.py b/fireblocks/models/workflow_execution_operation.py index 000cc1d4..383babf5 100644 --- a/fireblocks/models/workflow_execution_operation.py +++ b/fireblocks/models/workflow_execution_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/write_abi_function.py b/fireblocks/models/write_abi_function.py index f7ced263..743947a6 100644 --- a/fireblocks/models/write_abi_function.py +++ b/fireblocks/models/write_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/write_call_function_dto.py b/fireblocks/models/write_call_function_dto.py index f6ccc362..a97941c5 100644 --- a/fireblocks/models/write_call_function_dto.py +++ b/fireblocks/models/write_call_function_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/write_call_function_dto_abi_function.py b/fireblocks/models/write_call_function_dto_abi_function.py index 0d55ff0f..cb54f864 100644 --- a/fireblocks/models/write_call_function_dto_abi_function.py +++ b/fireblocks/models/write_call_function_dto_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/models/write_call_function_response_dto.py b/fireblocks/models/write_call_function_response_dto.py index 9927ade4..7c40b618 100644 --- a/fireblocks/models/write_call_function_response_dto.py +++ b/fireblocks/models/write_call_function_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/rest.py b/fireblocks/rest.py index 5e22a603..87ec741f 100644 --- a/fireblocks/rest.py +++ b/fireblocks/rest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/threaded_api_client.py b/fireblocks/threaded_api_client.py index f79d6741..58a011eb 100644 --- a/fireblocks/threaded_api_client.py +++ b/fireblocks/threaded_api_client.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/unknown_model.py b/fireblocks/unknown_model.py index 18c6aca9..7659394f 100644 --- a/fireblocks/unknown_model.py +++ b/fireblocks/unknown_model.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/user_agent_util.py b/fireblocks/user_agent_util.py index 0e553c51..4bdb81e2 100644 --- a/fireblocks/user_agent_util.py +++ b/fireblocks/user_agent_util.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/fireblocks/validation_utils.py b/fireblocks/validation_utils.py index bb1bd8aa..05a01cf4 100644 --- a/fireblocks/validation_utils.py +++ b/fireblocks/validation_utils.py @@ -1,10 +1,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/pyproject.toml b/pyproject.toml index 85ffc9d6..08a27f53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,8 @@ [tool.poetry] name = "fireblocks" -version = "13.0.0" +version = "0.0.0" description = "Fireblocks API" -authors = ["Fireblocks "] +authors = ["Fireblocks "] license = "MIT License" readme = "README.md" repository = "https://github.com/fireblocks/py-sdk" diff --git a/setup.py b/setup.py index 7276e93a..8e55f57b 100644 --- a/setup.py +++ b/setup.py @@ -3,10 +3,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -23,7 +23,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "fireblocks" -VERSION = "13.0.0" +VERSION = "0.0.0" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", @@ -43,7 +43,7 @@ version=VERSION, description="Fireblocks API", author="Fireblocks", - author_email="support@fireblocks.com", + author_email="developers@fireblocks.com", url="https://github.com/fireblocks/py-sdk/tree/master", keywords=["Fireblocks", "SDK", "Fireblocks API"], python_requires=PYTHON_REQUIRES, diff --git a/test-requirements.txt b/test-requirements.txt index fa60f092..901e70db 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,3 +5,4 @@ tox >= 3.9.0 flake8 >= 4.0.0 types-python-dateutil >= 2.8.19.14 mypy >= 1.5 +librt == 0.7.4 diff --git a/test/fireblocks/test_additional_options.py b/test/fireblocks/test_additional_options.py index 3f2f865a..ca30ce94 100644 --- a/test/fireblocks/test_additional_options.py +++ b/test/fireblocks/test_additional_options.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_bearer_token_provider.py b/test/fireblocks/test_bearer_token_provider.py index 3a941b55..8d8c4346 100644 --- a/test/fireblocks/test_bearer_token_provider.py +++ b/test/fireblocks/test_bearer_token_provider.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_client.py b/test/fireblocks/test_client.py index fe42d930..90162086 100644 --- a/test/fireblocks/test_client.py +++ b/test/fireblocks/test_client.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -17,7 +17,6 @@ from fireblocks.client_configuration import ClientConfiguration from fireblocks.threaded_api_client import ThreadedApiClient from fireblocks.api.api_user_api import ApiUserApi -from fireblocks.api.assets_api import AssetsApi from fireblocks.api.audit_logs_api import AuditLogsApi from fireblocks.api.blockchains_assets_api import BlockchainsAssetsApi from fireblocks.api.compliance_api import ComplianceApi @@ -35,19 +34,20 @@ from fireblocks.api.fiat_accounts_api import FiatAccountsApi from fireblocks.api.gas_stations_api import GasStationsApi from fireblocks.api.internal_wallets_api import InternalWalletsApi -from fireblocks.api.job_management_api import JobManagementApi from fireblocks.api.key_link_beta_api import KeyLinkBetaApi from fireblocks.api.keys_beta_api import KeysBetaApi from fireblocks.api.nfts_api import NFTsApi from fireblocks.api.network_connections_api import NetworkConnectionsApi from fireblocks.api.ota_beta_api import OTABetaApi from fireblocks.api.off_exchanges_api import OffExchangesApi +from fireblocks.api.onchain_data_api import OnchainDataApi from fireblocks.api.payments_payout_api import PaymentsPayoutApi from fireblocks.api.policy_editor_v2_beta_api import PolicyEditorV2BetaApi from fireblocks.api.policy_editor_beta_api import PolicyEditorBetaApi from fireblocks.api.reset_device_api import ResetDeviceApi from fireblocks.api.smart_transfer_api import SmartTransferApi from fireblocks.api.staking_api import StakingApi +from fireblocks.api.tr_link_api import TRLinkApi from fireblocks.api.tags_api import TagsApi from fireblocks.api.tokenization_api import TokenizationApi from fireblocks.api.trading_beta_api import TradingBetaApi @@ -78,9 +78,6 @@ def test_fireblocks_construction(fireblocks_instance): def test_get_api_user(fireblocks_instance): assert isinstance(fireblocks_instance.api_user, ApiUserApi) -def test_get_assets(fireblocks_instance): - assert isinstance(fireblocks_instance.assets, AssetsApi) - def test_get_audit_logs(fireblocks_instance): assert isinstance(fireblocks_instance.audit_logs, AuditLogsApi) @@ -132,9 +129,6 @@ def test_get_gas_stations(fireblocks_instance): def test_get_internal_wallets(fireblocks_instance): assert isinstance(fireblocks_instance.internal_wallets, InternalWalletsApi) -def test_get_job_management(fireblocks_instance): - assert isinstance(fireblocks_instance.job_management, JobManagementApi) - def test_get_key_link_beta(fireblocks_instance): assert isinstance(fireblocks_instance.key_link_beta, KeyLinkBetaApi) @@ -153,6 +147,9 @@ def test_get_ota_beta(fireblocks_instance): def test_get_off_exchanges(fireblocks_instance): assert isinstance(fireblocks_instance.off_exchanges, OffExchangesApi) +def test_get_onchain_data(fireblocks_instance): + assert isinstance(fireblocks_instance.onchain_data, OnchainDataApi) + def test_get_payments_payout(fireblocks_instance): assert isinstance(fireblocks_instance.payments_payout, PaymentsPayoutApi) @@ -171,6 +168,9 @@ def test_get_smart_transfer(fireblocks_instance): def test_get_staking(fireblocks_instance): assert isinstance(fireblocks_instance.staking, StakingApi) +def test_get_tr_link(fireblocks_instance): + assert isinstance(fireblocks_instance.tr_link, TRLinkApi) + def test_get_tags(fireblocks_instance): assert isinstance(fireblocks_instance.tags, TagsApi) diff --git a/test/fireblocks/test_client_configuration.py b/test/fireblocks/test_client_configuration.py index 353c5e4c..8263c6fa 100644 --- a/test/fireblocks/test_client_configuration.py +++ b/test/fireblocks/test_client_configuration.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_threaded_api_client.py b/test/fireblocks/test_threaded_api_client.py index d30fa04a..52400dbe 100644 --- a/test/fireblocks/test_threaded_api_client.py +++ b/test/fireblocks/test_threaded_api_client.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_unknown_model.py b/test/fireblocks/test_unknown_model.py index d703940e..8de82a43 100644 --- a/test/fireblocks/test_unknown_model.py +++ b/test/fireblocks/test_unknown_model.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_user_agent_util.py b/test/fireblocks/test_user_agent_util.py index d2cfa328..d5735f25 100644 --- a/test/fireblocks/test_user_agent_util.py +++ b/test/fireblocks/test_user_agent_util.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/fireblocks/test_validation_utils.py b/test/fireblocks/test_validation_utils.py index 39680513..99036d91 100644 --- a/test/fireblocks/test_validation_utils.py +++ b/test/fireblocks/test_validation_utils.py @@ -1,10 +1,10 @@ """ Fireblocks API - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 - Contact: support@fireblocks.com + Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aba_payment_info.py b/test/test_aba_payment_info.py index cfbeaca9..7eae40e4 100644 --- a/test/test_aba_payment_info.py +++ b/test/test_aba_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_abi_function.py b/test/test_abi_function.py index b4cadce5..2a460207 100644 --- a/test/test_abi_function.py +++ b/test/test_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_access_registry_address_item.py b/test/test_access_registry_address_item.py new file mode 100644 index 00000000..e6f5032c --- /dev/null +++ b/test/test_access_registry_address_item.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.access_registry_address_item import AccessRegistryAddressItem + + +class TestAccessRegistryAddressItem(unittest.TestCase): + """AccessRegistryAddressItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessRegistryAddressItem: + """Test AccessRegistryAddressItem + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `AccessRegistryAddressItem` + """ + model = AccessRegistryAddressItem() + if include_optional: + return AccessRegistryAddressItem( + address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_added = '2024-07-01T00:00Z' + ) + else: + return AccessRegistryAddressItem( + address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_added = '2024-07-01T00:00Z', + ) + """ + + def testAccessRegistryAddressItem(self): + """Test AccessRegistryAddressItem""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_access_registry_current_state_response.py b/test/test_access_registry_current_state_response.py new file mode 100644 index 00000000..36064dd4 --- /dev/null +++ b/test/test_access_registry_current_state_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.access_registry_current_state_response import ( + AccessRegistryCurrentStateResponse, +) + + +class TestAccessRegistryCurrentStateResponse(unittest.TestCase): + """AccessRegistryCurrentStateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessRegistryCurrentStateResponse: + """Test AccessRegistryCurrentStateResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `AccessRegistryCurrentStateResponse` + """ + model = AccessRegistryCurrentStateResponse() + if include_optional: + return AccessRegistryCurrentStateResponse( + data = [ + fireblocks.models.access_registry_address_item.AccessRegistryAddressItem( + address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_added = '2024-07-01T00:00Z', ) + ], + next = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==', + prev = 'dGhpcyBpcyBhIHByZXZpb3VzIGN1bcnNvcg==', + total = 150 + ) + else: + return AccessRegistryCurrentStateResponse( + data = [ + fireblocks.models.access_registry_address_item.AccessRegistryAddressItem( + address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_added = '2024-07-01T00:00Z', ) + ], + ) + """ + + def testAccessRegistryCurrentStateResponse(self): + """Test AccessRegistryCurrentStateResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_access_registry_summary_response.py b/test/test_access_registry_summary_response.py new file mode 100644 index 00000000..49840f32 --- /dev/null +++ b/test/test_access_registry_summary_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.access_registry_summary_response import ( + AccessRegistrySummaryResponse, +) + + +class TestAccessRegistrySummaryResponse(unittest.TestCase): + """AccessRegistrySummaryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessRegistrySummaryResponse: + """Test AccessRegistrySummaryResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `AccessRegistrySummaryResponse` + """ + model = AccessRegistrySummaryResponse() + if include_optional: + return AccessRegistrySummaryResponse( + total_active_addresses = 42 + ) + else: + return AccessRegistrySummaryResponse( + total_active_addresses = 42, + ) + """ + + def testAccessRegistrySummaryResponse(self): + """Test AccessRegistrySummaryResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_access_type.py b/test/test_access_type.py index 24a4e175..e2c1f96a 100644 --- a/test/test_access_type.py +++ b/test/test_access_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account.py b/test/test_account.py index 6b3570d6..3dd1f456 100644 --- a/test/test_account.py +++ b/test/test_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_access.py b/test/test_account_access.py index 3b94f571..035abde0 100644 --- a/test/test_account_access.py +++ b/test/test_account_access.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_base.py b/test/test_account_base.py index c7ccf5a1..2b9abba4 100644 --- a/test/test_account_base.py +++ b/test/test_account_base.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_based_access_provider.py b/test/test_account_based_access_provider.py index 409b66ec..8425504b 100644 --- a/test/test_account_based_access_provider.py +++ b/test/test_account_based_access_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_based_access_provider_details.py b/test/test_account_based_access_provider_details.py index 53d50f84..1fc6ddab 100644 --- a/test/test_account_based_access_provider_details.py +++ b/test/test_account_based_access_provider_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_config.py b/test/test_account_config.py index f404f64b..77d5a00b 100644 --- a/test/test_account_config.py +++ b/test/test_account_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_holder_details.py b/test/test_account_holder_details.py index b0758fe6..78f66ac2 100644 --- a/test/test_account_holder_details.py +++ b/test/test_account_holder_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_identifier.py b/test/test_account_identifier.py index 21746ea6..fe59ebf3 100644 --- a/test/test_account_identifier.py +++ b/test/test_account_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_reference.py b/test/test_account_reference.py index d25f1442..cfd97850 100644 --- a/test/test_account_reference.py +++ b/test/test_account_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,14 @@ def make_instance(self, include_optional) -> AccountReference: model = AccountReference() if include_optional: return AccountReference( - type = 'VAULT_ACCOUNT', + type = 'ONE_TIME_ADDRESS', account_id = '', address = '', tag = '' ) else: return AccountReference( - type = 'VAULT_ACCOUNT', + type = 'ONE_TIME_ADDRESS', account_id = '', address = '', ) diff --git a/test/test_account_type.py b/test/test_account_type.py index f73bac00..88db936d 100644 --- a/test/test_account_type.py +++ b/test/test_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_account_type2.py b/test/test_account_type2.py index d9a61d73..a846d95c 100644 --- a/test/test_account_type2.py +++ b/test/test_account_type2.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ach_account_type.py b/test/test_ach_account_type.py index 22c70668..bd270014 100644 --- a/test/test_ach_account_type.py +++ b/test/test_ach_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ach_address.py b/test/test_ach_address.py index 679b6a4e..471a62d5 100644 --- a/test/test_ach_address.py +++ b/test/test_ach_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ach_destination.py b/test/test_ach_destination.py index 94c0a840..81d18306 100644 --- a/test/test_ach_destination.py +++ b/test/test_ach_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ach_payment_info.py b/test/test_ach_payment_info.py index ed71919d..41376529 100644 --- a/test/test_ach_payment_info.py +++ b/test/test_ach_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_adapter_processing_result.py b/test/test_adapter_processing_result.py index 023fdcc4..1380723d 100644 --- a/test/test_adapter_processing_result.py +++ b/test/test_adapter_processing_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_abi_request_dto.py b/test/test_add_abi_request_dto.py index 90c1a587..d1403eaf 100644 --- a/test/test_add_abi_request_dto.py +++ b/test/test_add_abi_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_asset_to_external_wallet_request.py b/test/test_add_asset_to_external_wallet_request.py index cbdb632c..89be0da9 100644 --- a/test/test_add_asset_to_external_wallet_request.py +++ b/test/test_add_asset_to_external_wallet_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_collateral_request_body.py b/test/test_add_collateral_request_body.py index b83ce2d8..3bfd3a18 100644 --- a/test/test_add_collateral_request_body.py +++ b/test/test_add_collateral_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_contract_asset_request.py b/test/test_add_contract_asset_request.py index ea9232f3..2601f9ac 100644 --- a/test/test_add_contract_asset_request.py +++ b/test/test_add_contract_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_cosigner_request.py b/test/test_add_cosigner_request.py index efcfda05..75510626 100644 --- a/test/test_add_cosigner_request.py +++ b/test/test_add_cosigner_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_cosigner_response.py b/test/test_add_cosigner_response.py index 10846ba6..c7b2d3c4 100644 --- a/test/test_add_cosigner_response.py +++ b/test/test_add_cosigner_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_exchange_account_request.py b/test/test_add_exchange_account_request.py index 63013c68..6107bd28 100644 --- a/test/test_add_exchange_account_request.py +++ b/test/test_add_exchange_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_add_exchange_account_response.py b/test/test_add_exchange_account_response.py index ec885846..7fc062c4 100644 --- a/test/test_add_exchange_account_response.py +++ b/test/test_add_exchange_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_additional_info.py b/test/test_additional_info.py index 0a03d145..ba2ae694 100644 --- a/test/test_additional_info.py +++ b/test/test_additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_additional_info_request.py b/test/test_additional_info_request.py index bd2faa4c..72f53be6 100644 --- a/test/test_additional_info_request.py +++ b/test/test_additional_info_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_additional_info_request_additional_info.py b/test/test_additional_info_request_additional_info.py index 1e88546a..933189dd 100644 --- a/test/test_additional_info_request_additional_info.py +++ b/test/test_additional_info_request_additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_address_balance_item_dto.py b/test/test_address_balance_item_dto.py new file mode 100644 index 00000000..dfa11fa3 --- /dev/null +++ b/test/test_address_balance_item_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.address_balance_item_dto import AddressBalanceItemDto + + +class TestAddressBalanceItemDto(unittest.TestCase): + """AddressBalanceItemDto unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AddressBalanceItemDto: + """Test AddressBalanceItemDto + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `AddressBalanceItemDto` + """ + model = AddressBalanceItemDto() + if include_optional: + return AddressBalanceItemDto( + account_address = '0x1234567890123456789012345678901234567890', + balance = '1000000000000000000', + last_updated = '2023-12-01T12:00Z' + ) + else: + return AddressBalanceItemDto( + account_address = '0x1234567890123456789012345678901234567890', + balance = '1000000000000000000', + last_updated = '2023-12-01T12:00Z', + ) + """ + + def testAddressBalanceItemDto(self): + """Test AddressBalanceItemDto""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_address_balance_paged_response.py b/test/test_address_balance_paged_response.py new file mode 100644 index 00000000..3cb06516 --- /dev/null +++ b/test/test_address_balance_paged_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.address_balance_paged_response import AddressBalancePagedResponse + + +class TestAddressBalancePagedResponse(unittest.TestCase): + """AddressBalancePagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AddressBalancePagedResponse: + """Test AddressBalancePagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `AddressBalancePagedResponse` + """ + model = AddressBalancePagedResponse() + if include_optional: + return AddressBalancePagedResponse( + data = [ + fireblocks.models.address_balance_item_dto.AddressBalanceItemDto( + account_address = '0x1234567890123456789012345678901234567890', + balance = '1000000000000000000', + last_updated = '2023-12-01T12:00Z', ) + ], + next = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==', + prev = 'dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg==', + total = 150 + ) + else: + return AddressBalancePagedResponse( + data = [ + fireblocks.models.address_balance_item_dto.AddressBalanceItemDto( + account_address = '0x1234567890123456789012345678901234567890', + balance = '1000000000000000000', + last_updated = '2023-12-01T12:00Z', ) + ], + ) + """ + + def testAddressBalancePagedResponse(self): + """Test AddressBalancePagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_address_not_available_error.py b/test/test_address_not_available_error.py index c85fc082..330f7e6e 100644 --- a/test/test_address_not_available_error.py +++ b/test/test_address_not_available_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_alert_exposure_type_enum.py b/test/test_alert_exposure_type_enum.py index da4e4cf2..1f6a16d0 100644 --- a/test/test_alert_exposure_type_enum.py +++ b/test/test_alert_exposure_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_alert_level_enum.py b/test/test_alert_level_enum.py index 70016e57..6d3be3ea 100644 --- a/test/test_alert_level_enum.py +++ b/test/test_alert_level_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_alert.py b/test/test_aml_alert.py index 4ca9e48d..a89e8cb9 100644 --- a/test/test_aml_alert.py +++ b/test/test_aml_alert.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_matched_rule.py b/test/test_aml_matched_rule.py index 36aa838f..3314fa2d 100644 --- a/test/test_aml_matched_rule.py +++ b/test/test_aml_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_registration_result.py b/test/test_aml_registration_result.py index 95e293cf..26209785 100644 --- a/test/test_aml_registration_result.py +++ b/test/test_aml_registration_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_registration_result_full_payload.py b/test/test_aml_registration_result_full_payload.py index cf6eba4d..f13304f9 100644 --- a/test/test_aml_registration_result_full_payload.py +++ b/test/test_aml_registration_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_result.py b/test/test_aml_result.py index 523bf3c4..d2aafa52 100644 --- a/test/test_aml_result.py +++ b/test/test_aml_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_screening_result.py b/test/test_aml_screening_result.py index 008d2d8e..f9d2e750 100644 --- a/test/test_aml_screening_result.py +++ b/test/test_aml_screening_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_status_enum.py b/test/test_aml_status_enum.py index aee73ed3..3ed0811d 100644 --- a/test/test_aml_status_enum.py +++ b/test/test_aml_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_verdict_manual_request.py b/test/test_aml_verdict_manual_request.py index e77559e9..efcc196d 100644 --- a/test/test_aml_verdict_manual_request.py +++ b/test/test_aml_verdict_manual_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_aml_verdict_manual_response.py b/test/test_aml_verdict_manual_response.py index 6124ebf5..44cd6247 100644 --- a/test/test_aml_verdict_manual_response.py +++ b/test/test_aml_verdict_manual_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_and_chain_descriptor.py b/test/test_amount_and_chain_descriptor.py index a69cd3c5..d2eb47e4 100644 --- a/test/test_amount_and_chain_descriptor.py +++ b/test/test_amount_and_chain_descriptor.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_config.py b/test/test_amount_config.py index 0164d055..3f32e72b 100644 --- a/test/test_amount_config.py +++ b/test/test_amount_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_config_currency.py b/test/test_amount_config_currency.py index 29ff1254..b42a41a6 100644 --- a/test/test_amount_config_currency.py +++ b/test/test_amount_config_currency.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_info.py b/test/test_amount_info.py index 93c59352..be0b42d6 100644 --- a/test/test_amount_info.py +++ b/test/test_amount_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_over_time_config.py b/test/test_amount_over_time_config.py index 469f8f6e..a274a767 100644 --- a/test/test_amount_over_time_config.py +++ b/test/test_amount_over_time_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_range.py b/test/test_amount_range.py index 9ce37428..3ac678e3 100644 --- a/test/test_amount_range.py +++ b/test/test_amount_range.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_range_min_max.py b/test/test_amount_range_min_max.py index f25c7be6..b94158c3 100644 --- a/test/test_amount_range_min_max.py +++ b/test/test_amount_range_min_max.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_amount_range_min_max2.py b/test/test_amount_range_min_max2.py index a30d316c..209e3898 100644 --- a/test/test_amount_range_min_max2.py +++ b/test/test_amount_range_min_max2.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_api_key.py b/test/test_api_key.py index e6b277d5..6a88f90e 100644 --- a/test/test_api_key.py +++ b/test/test_api_key.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_api_keys_paginated_response.py b/test/test_api_keys_paginated_response.py index 0608754b..59770ad8 100644 --- a/test/test_api_keys_paginated_response.py +++ b/test/test_api_keys_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_api_user.py b/test/test_api_user.py index b314716f..5c91952a 100644 --- a/test/test_api_user.py +++ b/test/test_api_user.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_api_user_api.py b/test/test_api_user_api.py index 56dd0133..7bd454fd 100644 --- a/test/test_api_user_api.py +++ b/test/test_api_user_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,14 +30,14 @@ def tearDown(self) -> None: def test_create_api_user(self) -> None: """Test case for create_api_user - Create Api user + Create API Key """ pass def test_get_api_users(self) -> None: """Test case for get_api_users - Get Api users + Get API Keys """ pass diff --git a/test/test_approval_request.py b/test/test_approval_request.py new file mode 100644 index 00000000..12b16561 --- /dev/null +++ b/test/test_approval_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.approval_request import ApprovalRequest + + +class TestApprovalRequest(unittest.TestCase): + """ApprovalRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApprovalRequest: + """Test ApprovalRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ApprovalRequest` + """ + model = ApprovalRequest() + if include_optional: + return ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING' + ) + else: + return ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', + ) + """ + + def testApprovalRequest(self): + """Test ApprovalRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_approvers_config.py b/test/test_approvers_config.py index 1354e4e6..ba77bfbd 100644 --- a/test/test_approvers_config.py +++ b/test/test_approvers_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_approvers_config_approval_groups_inner.py b/test/test_approvers_config_approval_groups_inner.py index 93e624fb..82a2e8e9 100644 --- a/test/test_approvers_config_approval_groups_inner.py +++ b/test/test_approvers_config_approval_groups_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset.py b/test/test_asset.py index 7d762837..2a4bee38 100644 --- a/test/test_asset.py +++ b/test/test_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -42,7 +42,13 @@ def make_instance(self, include_optional) -> Asset: blockchain_id = 'e85208ff-3b15-44e9-af14-0ed0280b2a15', display_name = 'Tether USD', display_symbol = 'USDT', + provider_id = 'SOME_PROVIDER_ID', + pegged_asset_id = '6ef19b84-2144-4d38-8056-d423199bce5e', + assets = [ + '6ef19b84-2144-4d38-8056-d423199bce5e' + ], asset_class = 'FT', + decimals = 2, onchain = fireblocks.models.asset_details_onchain.AssetDetailsOnchain( symbol = 'USDT', name = 'Tether USD', diff --git a/test/test_asset_already_exist_http_error.py b/test/test_asset_already_exist_http_error.py index bb577b4c..7075bc15 100644 --- a/test/test_asset_already_exist_http_error.py +++ b/test/test_asset_already_exist_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_amount.py b/test/test_asset_amount.py index c1e24e06..fce6e0d2 100644 --- a/test/test_asset_amount.py +++ b/test/test_asset_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_bad_request_error_response.py b/test/test_asset_bad_request_error_response.py index 3ab5bb42..8e99ce3f 100644 --- a/test/test_asset_bad_request_error_response.py +++ b/test/test_asset_bad_request_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_class.py b/test/test_asset_class.py index 5f8291bb..18be0720 100644 --- a/test/test_asset_class.py +++ b/test/test_asset_class.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_config.py b/test/test_asset_config.py index 41d98d85..b6add56a 100644 --- a/test/test_asset_config.py +++ b/test/test_asset_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_conflict_error_response.py b/test/test_asset_conflict_error_response.py index d9875022..09b615f2 100644 --- a/test/test_asset_conflict_error_response.py +++ b/test/test_asset_conflict_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_details_metadata.py b/test/test_asset_details_metadata.py index 93772516..e62ed523 100644 --- a/test/test_asset_details_metadata.py +++ b/test/test_asset_details_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_details_onchain.py b/test/test_asset_details_onchain.py index 3e69051d..07dbc9e9 100644 --- a/test/test_asset_details_onchain.py +++ b/test/test_asset_details_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_feature.py b/test/test_asset_feature.py index 382f795b..98062dfe 100644 --- a/test/test_asset_feature.py +++ b/test/test_asset_feature.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_forbidden_error_response.py b/test/test_asset_forbidden_error_response.py index 6b84104a..3c5fab3f 100644 --- a/test/test_asset_forbidden_error_response.py +++ b/test/test_asset_forbidden_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_internal_server_error_response.py b/test/test_asset_internal_server_error_response.py index 624a9100..0641002e 100644 --- a/test/test_asset_internal_server_error_response.py +++ b/test/test_asset_internal_server_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_media.py b/test/test_asset_media.py index c993e555..18c27a93 100644 --- a/test/test_asset_media.py +++ b/test/test_asset_media.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_media_attributes.py b/test/test_asset_media_attributes.py index ac4f5b05..158c1e9c 100644 --- a/test/test_asset_media_attributes.py +++ b/test/test_asset_media_attributes.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_metadata.py b/test/test_asset_metadata.py index 77697b08..df346ca5 100644 --- a/test/test_asset_metadata.py +++ b/test/test_asset_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_metadata_dto.py b/test/test_asset_metadata_dto.py index f1f464c5..0e13ae3f 100644 --- a/test/test_asset_metadata_dto.py +++ b/test/test_asset_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_metadata_request.py b/test/test_asset_metadata_request.py index 2c28d82f..949bf56f 100644 --- a/test/test_asset_metadata_request.py +++ b/test/test_asset_metadata_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_not_found_error_response.py b/test/test_asset_not_found_error_response.py index c522824a..60fe4503 100644 --- a/test/test_asset_not_found_error_response.py +++ b/test/test_asset_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_note.py b/test/test_asset_note.py index 2b581c01..d320157e 100644 --- a/test/test_asset_note.py +++ b/test/test_asset_note.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_note_request.py b/test/test_asset_note_request.py index ebf16222..b0db20df 100644 --- a/test/test_asset_note_request.py +++ b/test/test_asset_note_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_onchain.py b/test/test_asset_onchain.py index 3b92f07f..a97b3980 100644 --- a/test/test_asset_onchain.py +++ b/test/test_asset_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_price_forbidden_error_response.py b/test/test_asset_price_forbidden_error_response.py index 74ff4323..c28d3a71 100644 --- a/test/test_asset_price_forbidden_error_response.py +++ b/test/test_asset_price_forbidden_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_price_not_found_error_response.py b/test/test_asset_price_not_found_error_response.py index e05e0d3b..2f53aa17 100644 --- a/test/test_asset_price_not_found_error_response.py +++ b/test/test_asset_price_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_price_response.py b/test/test_asset_price_response.py index 6c1ab01b..160a0e28 100644 --- a/test/test_asset_price_response.py +++ b/test/test_asset_price_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_response.py b/test/test_asset_response.py index bbe12fa4..1d7508f0 100644 --- a/test/test_asset_response.py +++ b/test/test_asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_scope.py b/test/test_asset_scope.py index 7c1ba368..ee17755a 100644 --- a/test/test_asset_scope.py +++ b/test/test_asset_scope.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_type_enum.py b/test/test_asset_type_enum.py new file mode 100644 index 00000000..41225267 --- /dev/null +++ b/test/test_asset_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.asset_type_enum import AssetTypeEnum + + +class TestAssetTypeEnum(unittest.TestCase): + """AssetTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAssetTypeEnum(self): + """Test AssetTypeEnum""" + # inst = AssetTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_asset_type_response.py b/test/test_asset_type_response.py index 91c11b18..2e6b7a5e 100644 --- a/test/test_asset_type_response.py +++ b/test/test_asset_type_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_types_config_inner.py b/test/test_asset_types_config_inner.py index 8119cf69..05da5fcb 100644 --- a/test/test_asset_types_config_inner.py +++ b/test/test_asset_types_config_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_asset_wallet.py b/test/test_asset_wallet.py index 30edfa60..f82860e7 100644 --- a/test/test_asset_wallet.py +++ b/test/test_asset_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_assets_api.py b/test/test_assets_api.py deleted file mode 100644 index 2e3837a1..00000000 --- a/test/test_assets_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.api.assets_api import AssetsApi - - -class TestAssetsApi(unittest.TestCase): - """AssetsApi unit test stubs""" - - def setUp(self) -> None: - self.api = AssetsApi() - - def tearDown(self) -> None: - pass - - def test_create_assets_bulk(self) -> None: - """Test case for create_assets_bulk - - Bulk creation of wallets - """ - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_audit_log_data.py b/test/test_audit_log_data.py index 9c8d8e42..ada1a5e2 100644 --- a/test/test_audit_log_data.py +++ b/test/test_audit_log_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_audit_logs_api.py b/test/test_audit_logs_api.py index e0d25019..5bfbca8e 100644 --- a/test/test_audit_logs_api.py +++ b/test/test_audit_logs_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_auditor_data.py b/test/test_auditor_data.py index e78f16ae..74a66306 100644 --- a/test/test_auditor_data.py +++ b/test/test_auditor_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_authorization_groups.py b/test/test_authorization_groups.py index b36dd7cf..b7d9fdd6 100644 --- a/test/test_authorization_groups.py +++ b/test/test_authorization_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_authorization_info.py b/test/test_authorization_info.py index 67c0b32f..489f7af9 100644 --- a/test/test_authorization_info.py +++ b/test/test_authorization_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_balance_history_item_dto.py b/test/test_balance_history_item_dto.py new file mode 100644 index 00000000..51f11ecd --- /dev/null +++ b/test/test_balance_history_item_dto.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.balance_history_item_dto import BalanceHistoryItemDto + + +class TestBalanceHistoryItemDto(unittest.TestCase): + """BalanceHistoryItemDto unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BalanceHistoryItemDto: + """Test BalanceHistoryItemDto + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `BalanceHistoryItemDto` + """ + model = BalanceHistoryItemDto() + if include_optional: + return BalanceHistoryItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + balance = '1000000000000000000000' + ) + else: + return BalanceHistoryItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + balance = '1000000000000000000000', + ) + """ + + def testBalanceHistoryItemDto(self): + """Test BalanceHistoryItemDto""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_balance_history_paged_response.py b/test/test_balance_history_paged_response.py new file mode 100644 index 00000000..ee8eec13 --- /dev/null +++ b/test/test_balance_history_paged_response.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.balance_history_paged_response import BalanceHistoryPagedResponse + + +class TestBalanceHistoryPagedResponse(unittest.TestCase): + """BalanceHistoryPagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BalanceHistoryPagedResponse: + """Test BalanceHistoryPagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `BalanceHistoryPagedResponse` + """ + model = BalanceHistoryPagedResponse() + if include_optional: + return BalanceHistoryPagedResponse( + data = [ + fireblocks.models.balance_history_item_dto.BalanceHistoryItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + balance = '1000000000000000000000', ) + ], + next = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==', + prev = 'dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg==', + total = 150 + ) + else: + return BalanceHistoryPagedResponse( + data = [ + fireblocks.models.balance_history_item_dto.BalanceHistoryItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + balance = '1000000000000000000000', ) + ], + ) + """ + + def testBalanceHistoryPagedResponse(self): + """Test BalanceHistoryPagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_bank_address.py b/test/test_bank_address.py new file mode 100644 index 00000000..cebf51ec --- /dev/null +++ b/test/test_bank_address.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.bank_address import BankAddress + + +class TestBankAddress(unittest.TestCase): + """BankAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BankAddress: + """Test BankAddress + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `BankAddress` + """ + model = BankAddress() + if include_optional: + return BankAddress( + street_name = '', + building_number = '', + postal_code = '', + city = '', + subdivision = '', + district = '', + country = '' + ) + else: + return BankAddress( + ) + """ + + def testBankAddress(self): + """Test BankAddress""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_base_provider.py b/test/test_base_provider.py index 09708f20..003aae7a 100644 --- a/test/test_base_provider.py +++ b/test/test_base_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_basic_address_request.py b/test/test_basic_address_request.py index d89f9a13..bd68c398 100644 --- a/test/test_basic_address_request.py +++ b/test/test_basic_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_block_info.py b/test/test_block_info.py index 62816d76..bec4c83d 100644 --- a/test/test_block_info.py +++ b/test/test_block_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_address.py b/test/test_blockchain_address.py new file mode 100644 index 00000000..a8ed9bb1 --- /dev/null +++ b/test/test_blockchain_address.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.blockchain_address import BlockchainAddress + + +class TestBlockchainAddress(unittest.TestCase): + """BlockchainAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BlockchainAddress: + """Test BlockchainAddress + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `BlockchainAddress` + """ + model = BlockchainAddress() + if include_optional: + return BlockchainAddress( + blockchain_address = '0x1234567890123456789012345678901234567890', + tag = '1234567890' + ) + else: + return BlockchainAddress( + blockchain_address = '0x1234567890123456789012345678901234567890', + ) + """ + + def testBlockchainAddress(self): + """Test BlockchainAddress""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_blockchain_destination.py b/test/test_blockchain_destination.py new file mode 100644 index 00000000..57342fed --- /dev/null +++ b/test/test_blockchain_destination.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.blockchain_destination import BlockchainDestination + + +class TestBlockchainDestination(unittest.TestCase): + """BlockchainDestination unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BlockchainDestination: + """Test BlockchainDestination + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `BlockchainDestination` + """ + model = BlockchainDestination() + if include_optional: + return BlockchainDestination( + type = 'BLOCKCHAIN', + address = {"blockchainAddress":"0x1234567890123456789012345678901234567890","tag":"1234567890"} + ) + else: + return BlockchainDestination( + type = 'BLOCKCHAIN', + address = {"blockchainAddress":"0x1234567890123456789012345678901234567890","tag":"1234567890"}, + ) + """ + + def testBlockchainDestination(self): + """Test BlockchainDestination""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_blockchain_explorer.py b/test/test_blockchain_explorer.py index f73a83bc..7022a432 100644 --- a/test/test_blockchain_explorer.py +++ b/test/test_blockchain_explorer.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_media.py b/test/test_blockchain_media.py index d044dad1..e1534b04 100644 --- a/test/test_blockchain_media.py +++ b/test/test_blockchain_media.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_metadata.py b/test/test_blockchain_metadata.py index a48edf64..10ac7638 100644 --- a/test/test_blockchain_metadata.py +++ b/test/test_blockchain_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_not_found_error_response.py b/test/test_blockchain_not_found_error_response.py index 8195e1b6..caec4f14 100644 --- a/test/test_blockchain_not_found_error_response.py +++ b/test/test_blockchain_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_onchain.py b/test/test_blockchain_onchain.py index 36436454..bdf4d433 100644 --- a/test/test_blockchain_onchain.py +++ b/test/test_blockchain_onchain.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_response.py b/test/test_blockchain_response.py index b97ec5e0..a6e00d72 100644 --- a/test/test_blockchain_response.py +++ b/test/test_blockchain_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchain_transfer.py b/test/test_blockchain_transfer.py index bf423b5a..5c5904f4 100644 --- a/test/test_blockchain_transfer.py +++ b/test/test_blockchain_transfer.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_blockchains_assets_api.py b/test/test_blockchains_assets_api.py index 3011d500..65905864 100644 --- a/test/test_blockchains_assets_api.py +++ b/test/test_blockchains_assets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,14 @@ def test_get_asset(self) -> None: def test_get_blockchain(self) -> None: """Test case for get_blockchain - Get an blockchain + Get a Blockchain by ID """ pass def test_get_supported_assets(self) -> None: """Test case for get_supported_assets - List all asset types supported by Fireblocks - legacy endpoint + List assets (Legacy) """ pass diff --git a/test/test_bps_fee.py b/test/test_bps_fee.py index 41c4308d..bb6aff7d 100644 --- a/test/test_bps_fee.py +++ b/test/test_bps_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_business_entity_type_enum.py b/test/test_business_entity_type_enum.py new file mode 100644 index 00000000..cdfd3636 --- /dev/null +++ b/test/test_business_entity_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.business_entity_type_enum import BusinessEntityTypeEnum + + +class TestBusinessEntityTypeEnum(unittest.TestCase): + """BusinessEntityTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBusinessEntityTypeEnum(self): + """Test BusinessEntityTypeEnum""" + # inst = BusinessEntityTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_business_identification.py b/test/test_business_identification.py index fd83f219..ad19a93b 100644 --- a/test/test_business_identification.py +++ b/test/test_business_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -42,7 +42,9 @@ def make_instance(self, include_optional) -> BusinessIdentification: participant_relationship_type = 'FirstParty', business_name = '', registration_number = '', - postal_address = {"streetName":"Fifth Avenue","buildingNumber":"350","postalCode":"10118","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"} + postal_address = {"streetName":"Fifth Avenue","buildingNumber":"350","postalCode":"10118","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}, + email = '', + phone = '+14155551234' ) else: return BusinessIdentification( diff --git a/test/test_callback_handler.py b/test/test_callback_handler.py index df62b6e5..381ae7da 100644 --- a/test/test_callback_handler.py +++ b/test/test_callback_handler.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_callback_handler_request.py b/test/test_callback_handler_request.py index c8edd78e..a2067294 100644 --- a/test/test_callback_handler_request.py +++ b/test/test_callback_handler_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cancel_transaction_response.py b/test/test_cancel_transaction_response.py index 4fac221d..2039bbaa 100644 --- a/test/test_cancel_transaction_response.py +++ b/test/test_cancel_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_capability.py b/test/test_capability.py index 6367c020..625cf001 100644 --- a/test/test_capability.py +++ b/test/test_capability.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chain_descriptor.py b/test/test_chain_descriptor.py index 2a2c453f..bed4a836 100644 --- a/test/test_chain_descriptor.py +++ b/test/test_chain_descriptor.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_chain_info_response.py b/test/test_chain_info_response.py index 7954f7e1..6a27c210 100644 --- a/test/test_chain_info_response.py +++ b/test/test_chain_info_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -44,7 +44,8 @@ def make_instance(self, include_optional) -> ChainInfoResponse: additional_info = fireblocks.models.additional_info.AdditionalInfo( estimated_annual_reward = 6.48, lockup_period = 172800000, - activation_period = 172800000, ) + activation_period = 172800000, ), + last_updated = 1706602061938 ) else: return ChainInfoResponse( @@ -56,6 +57,7 @@ def make_instance(self, include_optional) -> ChainInfoResponse: estimated_annual_reward = 6.48, lockup_period = 172800000, activation_period = 172800000, ), + last_updated = 1706602061938, ) """ diff --git a/test/test_channel_dvn_config_with_confirmations.py b/test/test_channel_dvn_config_with_confirmations.py index 3f90fc96..65679545 100644 --- a/test/test_channel_dvn_config_with_confirmations.py +++ b/test/test_channel_dvn_config_with_confirmations.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_channel_dvn_config_with_confirmations_receive_config.py b/test/test_channel_dvn_config_with_confirmations_receive_config.py index 75d122d7..25dc77d3 100644 --- a/test/test_channel_dvn_config_with_confirmations_receive_config.py +++ b/test/test_channel_dvn_config_with_confirmations_receive_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_channel_dvn_config_with_confirmations_send_config.py b/test/test_channel_dvn_config_with_confirmations_send_config.py index cb8c4a47..a408a43b 100644 --- a/test/test_channel_dvn_config_with_confirmations_send_config.py +++ b/test/test_channel_dvn_config_with_confirmations_send_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_claim_rewards_request.py b/test/test_claim_rewards_request.py index f1f4a301..cb2fa3b1 100644 --- a/test/test_claim_rewards_request.py +++ b/test/test_claim_rewards_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,14 @@ def make_instance(self, include_optional) -> ClaimRewardsRequest: model = ClaimRewardsRequest() if include_optional: return ClaimRewardsRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', fee = '7', fee_level = 'MEDIUM', - tx_note = 'claim rewards request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #MATIC' + tx_note = 'claim rewards request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d' ) else: return ClaimRewardsRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', ) """ diff --git a/test/test_collection_burn_request_dto.py b/test/test_collection_burn_request_dto.py index 2fcada77..9c7387c9 100644 --- a/test/test_collection_burn_request_dto.py +++ b/test/test_collection_burn_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_burn_response_dto.py b/test/test_collection_burn_response_dto.py index 860b23f0..7a7f1e12 100644 --- a/test/test_collection_burn_response_dto.py +++ b/test/test_collection_burn_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_deploy_request_dto.py b/test/test_collection_deploy_request_dto.py index 8bd3d38a..83470729 100644 --- a/test/test_collection_deploy_request_dto.py +++ b/test/test_collection_deploy_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_link_dto.py b/test/test_collection_link_dto.py index fdac61a1..bf5d46b2 100644 --- a/test/test_collection_link_dto.py +++ b/test/test_collection_link_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_metadata_dto.py b/test/test_collection_metadata_dto.py index a6e6c715..bc5072df 100644 --- a/test/test_collection_metadata_dto.py +++ b/test/test_collection_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_mint_request_dto.py b/test/test_collection_mint_request_dto.py index 78207e2a..1e197343 100644 --- a/test/test_collection_mint_request_dto.py +++ b/test/test_collection_mint_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_mint_response_dto.py b/test/test_collection_mint_response_dto.py index 11742007..0de0d9b6 100644 --- a/test/test_collection_mint_response_dto.py +++ b/test/test_collection_mint_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_ownership_response.py b/test/test_collection_ownership_response.py index 54ad976c..21b59904 100644 --- a/test/test_collection_ownership_response.py +++ b/test/test_collection_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_token_metadata_attribute_dto.py b/test/test_collection_token_metadata_attribute_dto.py index 3ee76dd8..4db05b11 100644 --- a/test/test_collection_token_metadata_attribute_dto.py +++ b/test/test_collection_token_metadata_attribute_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_token_metadata_dto.py b/test/test_collection_token_metadata_dto.py index d6c3858d..93561bb0 100644 --- a/test/test_collection_token_metadata_dto.py +++ b/test/test_collection_token_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_collection_type.py b/test/test_collection_type.py index 082dc166..2f588618 100644 --- a/test/test_collection_type.py +++ b/test/test_collection_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_committed_quote_enum.py b/test/test_committed_quote_enum.py new file mode 100644 index 00000000..a67fb438 --- /dev/null +++ b/test/test_committed_quote_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.committed_quote_enum import CommittedQuoteEnum + + +class TestCommittedQuoteEnum(unittest.TestCase): + """CommittedQuoteEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCommittedQuoteEnum(self): + """Test CommittedQuoteEnum""" + # inst = CommittedQuoteEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_committed_quote_type.py b/test/test_committed_quote_type.py index 75771ee5..e0839de2 100644 --- a/test/test_committed_quote_type.py +++ b/test/test_committed_quote_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,13 +37,11 @@ def make_instance(self, include_optional) -> CommittedQuoteType: model = CommittedQuoteType() if include_optional: return CommittedQuoteType( - type = 'COMMITTED', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + type = 'COMMITTED' ) else: return CommittedQuoteType( type = 'COMMITTED', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) """ diff --git a/test/test_compliance_api.py b/test/test_compliance_api.py index 4fd56a9d..1c881a3e 100644 --- a/test/test_compliance_api.py +++ b/test/test_compliance_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_result_full_payload.py b/test/test_compliance_result_full_payload.py index 86d1f183..9fd54921 100644 --- a/test/test_compliance_result_full_payload.py +++ b/test/test_compliance_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_result_statuses_enum.py b/test/test_compliance_result_statuses_enum.py index 30e4530f..a206e8a4 100644 --- a/test/test_compliance_result_statuses_enum.py +++ b/test/test_compliance_result_statuses_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_results.py b/test/test_compliance_results.py index 3b98483e..39114a60 100644 --- a/test/test_compliance_results.py +++ b/test/test_compliance_results.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_screening_configuration_api.py b/test/test_compliance_screening_configuration_api.py index ad44a6fc..d475927d 100644 --- a/test/test_compliance_screening_configuration_api.py +++ b/test/test_compliance_screening_configuration_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_screening_result.py b/test/test_compliance_screening_result.py index 259e0b76..9a8599b5 100644 --- a/test/test_compliance_screening_result.py +++ b/test/test_compliance_screening_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_compliance_screening_result_full_payload.py b/test/test_compliance_screening_result_full_payload.py index 2907b986..ed290f27 100644 --- a/test/test_compliance_screening_result_full_payload.py +++ b/test/test_compliance_screening_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_change_request_status.py b/test/test_config_change_request_status.py index cb32c6a4..f2893f60 100644 --- a/test/test_config_change_request_status.py +++ b/test/test_config_change_request_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_conversion_operation_snapshot.py b/test/test_config_conversion_operation_snapshot.py index 96de0840..bcb3cdb0 100644 --- a/test/test_config_conversion_operation_snapshot.py +++ b/test/test_config_conversion_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_disbursement_operation_snapshot.py b/test/test_config_disbursement_operation_snapshot.py index 732f9270..a070e06a 100644 --- a/test/test_config_disbursement_operation_snapshot.py +++ b/test/test_config_disbursement_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_operation.py b/test/test_config_operation.py index 9b35d2a2..3e447699 100644 --- a/test/test_config_operation.py +++ b/test/test_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_operation_snapshot.py b/test/test_config_operation_snapshot.py index c8afd70e..7cd1ab4d 100644 --- a/test/test_config_operation_snapshot.py +++ b/test/test_config_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_operation_status.py b/test/test_config_operation_status.py index 62882d6c..8b619e25 100644 --- a/test/test_config_operation_status.py +++ b/test/test_config_operation_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_config_transfer_operation_snapshot.py b/test/test_config_transfer_operation_snapshot.py index b4fe3253..e5d3f1d0 100644 --- a/test/test_config_transfer_operation_snapshot.py +++ b/test/test_config_transfer_operation_snapshot.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account.py b/test/test_connected_account.py index 195a23c3..7dcdb8bf 100644 --- a/test/test_connected_account.py +++ b/test/test_connected_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_approval_status.py b/test/test_connected_account_approval_status.py index 0417dc5d..aa1d6b2f 100644 --- a/test/test_connected_account_approval_status.py +++ b/test/test_connected_account_approval_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_asset_type.py b/test/test_connected_account_asset_type.py index ff3c0cd3..f0d964d5 100644 --- a/test/test_connected_account_asset_type.py +++ b/test/test_connected_account_asset_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_balances.py b/test/test_connected_account_balances.py index 9dffcbc4..6fff017c 100644 --- a/test/test_connected_account_balances.py +++ b/test/test_connected_account_balances.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_balances_response.py b/test/test_connected_account_balances_response.py index cb902d2b..b55783ac 100644 --- a/test/test_connected_account_balances_response.py +++ b/test/test_connected_account_balances_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_capability.py b/test/test_connected_account_capability.py index 8058e134..70cb6b7a 100644 --- a/test/test_connected_account_capability.py +++ b/test/test_connected_account_capability.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_error_response.py b/test/test_connected_account_error_response.py new file mode 100644 index 00000000..35a7612b --- /dev/null +++ b/test/test_connected_account_error_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.connected_account_error_response import ( + ConnectedAccountErrorResponse, +) + + +class TestConnectedAccountErrorResponse(unittest.TestCase): + """ConnectedAccountErrorResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConnectedAccountErrorResponse: + """Test ConnectedAccountErrorResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ConnectedAccountErrorResponse` + """ + model = ConnectedAccountErrorResponse() + if include_optional: + return ConnectedAccountErrorResponse( + error_message = 'Insufficient permissions to rename connected account', + error_code = 'INSUFFICIENT_PERMISSIONS' + ) + else: + return ConnectedAccountErrorResponse( + error_message = 'Insufficient permissions to rename connected account', + error_code = 'INSUFFICIENT_PERMISSIONS', + ) + """ + + def testConnectedAccountErrorResponse(self): + """Test ConnectedAccountErrorResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_connected_account_manifest.py b/test/test_connected_account_manifest.py index 4104eb2f..b7fad488 100644 --- a/test/test_connected_account_manifest.py +++ b/test/test_connected_account_manifest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_rate_response.py b/test/test_connected_account_rate_response.py index 1c4ce502..90d5fe8c 100644 --- a/test/test_connected_account_rate_response.py +++ b/test/test_connected_account_rate_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_total_balance.py b/test/test_connected_account_total_balance.py index 866629a7..d9332b45 100644 --- a/test/test_connected_account_total_balance.py +++ b/test/test_connected_account_total_balance.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_trading_pair.py b/test/test_connected_account_trading_pair.py index 803adc67..5df270aa 100644 --- a/test/test_connected_account_trading_pair.py +++ b/test/test_connected_account_trading_pair.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_trading_pair_supported_type.py b/test/test_connected_account_trading_pair_supported_type.py index 4f8e2c9e..bf920b66 100644 --- a/test/test_connected_account_trading_pair_supported_type.py +++ b/test/test_connected_account_trading_pair_supported_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_account_trading_pairs_response.py b/test/test_connected_account_trading_pairs_response.py index 45760b7a..f6812515 100644 --- a/test/test_connected_account_trading_pairs_response.py +++ b/test/test_connected_account_trading_pairs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_accounts_beta_api.py b/test/test_connected_accounts_beta_api.py index 602b205d..214309b0 100644 --- a/test/test_connected_accounts_beta_api.py +++ b/test/test_connected_accounts_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,6 +27,13 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_disconnect_connected_account(self) -> None: + """Test case for disconnect_connected_account + + Disconnect connected account + """ + pass + def test_get_connected_account(self) -> None: """Test case for get_connected_account @@ -62,6 +69,13 @@ def test_get_connected_accounts(self) -> None: """ pass + def test_rename_connected_account(self) -> None: + """Test case for rename_connected_account + + Rename Connected Account + """ + pass + if __name__ == "__main__": unittest.main() diff --git a/test/test_connected_accounts_response.py b/test/test_connected_accounts_response.py index 11deb38f..594fd9be 100644 --- a/test/test_connected_accounts_response.py +++ b/test/test_connected_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_single_account.py b/test/test_connected_single_account.py index 071f9ba4..a142fa8b 100644 --- a/test/test_connected_single_account.py +++ b/test/test_connected_single_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_connected_single_account_response.py b/test/test_connected_single_account_response.py index bb2a6b85..a03de8fc 100644 --- a/test/test_connected_single_account_response.py +++ b/test/test_connected_single_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_console_user.py b/test/test_console_user.py index 38a2b7e9..4b7b31d3 100644 --- a/test/test_console_user.py +++ b/test/test_console_user.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_console_user_api.py b/test/test_console_user_api.py index bb15d8f5..f5c2f0b7 100644 --- a/test/test_console_user_api.py +++ b/test/test_console_user_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_abi_response_dto.py b/test/test_contract_abi_response_dto.py index e4e3670a..110b4c0e 100644 --- a/test/test_contract_abi_response_dto.py +++ b/test/test_contract_abi_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_abi_response_dto_abi_inner.py b/test/test_contract_abi_response_dto_abi_inner.py index 4f8d6f06..7b956902 100644 --- a/test/test_contract_abi_response_dto_abi_inner.py +++ b/test/test_contract_abi_response_dto_abi_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_address_response.py b/test/test_contract_address_response.py new file mode 100644 index 00000000..d6dae445 --- /dev/null +++ b/test/test_contract_address_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.contract_address_response import ContractAddressResponse + + +class TestContractAddressResponse(unittest.TestCase): + """ContractAddressResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContractAddressResponse: + """Test ContractAddressResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ContractAddressResponse` + """ + model = ContractAddressResponse() + if include_optional: + return ContractAddressResponse( + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66' + ) + else: + return ContractAddressResponse( + contract_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + ) + """ + + def testContractAddressResponse(self): + """Test ContractAddressResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_contract_attributes.py b/test/test_contract_attributes.py index 789b0633..70da96d5 100644 --- a/test/test_contract_attributes.py +++ b/test/test_contract_attributes.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decode_data_type.py b/test/test_contract_data_decode_data_type.py index 21d450b4..b35db1b5 100644 --- a/test/test_contract_data_decode_data_type.py +++ b/test/test_contract_data_decode_data_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decode_error.py b/test/test_contract_data_decode_error.py index 659ceabe..1af86e43 100644 --- a/test/test_contract_data_decode_error.py +++ b/test/test_contract_data_decode_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decode_request.py b/test/test_contract_data_decode_request.py index 44e86cb2..8c2ac18b 100644 --- a/test/test_contract_data_decode_request.py +++ b/test/test_contract_data_decode_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decode_request_data.py b/test/test_contract_data_decode_request_data.py index b847671d..444d9aa0 100644 --- a/test/test_contract_data_decode_request_data.py +++ b/test/test_contract_data_decode_request_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decode_response_params.py b/test/test_contract_data_decode_response_params.py index b23cace3..e994cfdd 100644 --- a/test/test_contract_data_decode_response_params.py +++ b/test/test_contract_data_decode_response_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_decoded_response.py b/test/test_contract_data_decoded_response.py index 88730308..d4b26b53 100644 --- a/test/test_contract_data_decoded_response.py +++ b/test/test_contract_data_decoded_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_data_log_data_param.py b/test/test_contract_data_log_data_param.py index 44fc156c..96295c44 100644 --- a/test/test_contract_data_log_data_param.py +++ b/test/test_contract_data_log_data_param.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_deploy_request.py b/test/test_contract_deploy_request.py index 6676a559..9c1bd51a 100644 --- a/test/test_contract_deploy_request.py +++ b/test/test_contract_deploy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_deploy_response.py b/test/test_contract_deploy_response.py index 2b647aa9..bd10acb3 100644 --- a/test/test_contract_deploy_response.py +++ b/test/test_contract_deploy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_doc.py b/test/test_contract_doc.py index d7bdc839..068df648 100644 --- a/test/test_contract_doc.py +++ b/test/test_contract_doc.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_interactions_api.py b/test/test_contract_interactions_api.py index 8feb15e4..26e5533d 100644 --- a/test/test_contract_interactions_api.py +++ b/test/test_contract_interactions_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,6 +34,13 @@ def test_decode_contract_data(self) -> None: """ pass + def test_get_contract_address(self) -> None: + """Test case for get_contract_address + + Get contract address by transaction hash + """ + pass + def test_get_deployed_contract_abi(self) -> None: """Test case for get_deployed_contract_abi diff --git a/test/test_contract_metadata_dto.py b/test/test_contract_metadata_dto.py index 98e06efb..78d628ae 100644 --- a/test/test_contract_metadata_dto.py +++ b/test/test_contract_metadata_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_method_config.py b/test/test_contract_method_config.py index 4b1a91c2..477aa729 100644 --- a/test/test_contract_method_config.py +++ b/test/test_contract_method_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_method_pattern.py b/test/test_contract_method_pattern.py index 87c28d44..90899397 100644 --- a/test/test_contract_method_pattern.py +++ b/test/test_contract_method_pattern.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_template_dto.py b/test/test_contract_template_dto.py index 094f1eea..22fc880a 100644 --- a/test/test_contract_template_dto.py +++ b/test/test_contract_template_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_templates_api.py b/test/test_contract_templates_api.py index a2069dac..5aa2620d 100644 --- a/test/test_contract_templates_api.py +++ b/test/test_contract_templates_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -69,6 +69,13 @@ def test_get_function_abi_by_contract_template_id(self) -> None: """ pass + def test_get_supported_blockchains_by_template_id(self) -> None: + """Test case for get_supported_blockchains_by_template_id + + Get supported blockchains for the template + """ + pass + def test_upload_contract_template(self) -> None: """Test case for upload_contract_template diff --git a/test/test_contract_upload_request.py b/test/test_contract_upload_request.py index 8318589e..2b4af6b9 100644 --- a/test/test_contract_upload_request.py +++ b/test/test_contract_upload_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contract_with_abi_dto.py b/test/test_contract_with_abi_dto.py index d56d5dbc..66e8528b 100644 --- a/test/test_contract_with_abi_dto.py +++ b/test/test_contract_with_abi_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_contracts_api.py b/test/test_contracts_api.py index f233ac02..eceb9a14 100644 --- a/test/test_contracts_api.py +++ b/test/test_contracts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,14 +30,14 @@ def tearDown(self) -> None: def test_add_contract_asset(self) -> None: """Test case for add_contract_asset - Add an asset to a contract + Add an asset to a whitelisted contract """ pass def test_create_contract(self) -> None: """Test case for create_contract - Create a contract + Add a contract """ pass @@ -51,28 +51,28 @@ def test_delete_contract(self) -> None: def test_delete_contract_asset(self) -> None: """Test case for delete_contract_asset - Delete a contract asset + Delete an asset from a whitelisted contract """ pass def test_get_contract(self) -> None: """Test case for get_contract - Find a specific contract + Find a Specific Whitelisted Contract """ pass def test_get_contract_asset(self) -> None: """Test case for get_contract_asset - Find a contract asset + Find a whitelisted contract's asset """ pass def test_get_contracts(self) -> None: """Test case for get_contracts - List contracts + List Whitelisted Contracts """ pass diff --git a/test/test_conversion_config_operation.py b/test/test_conversion_config_operation.py index 749a223f..a7df44e7 100644 --- a/test/test_conversion_config_operation.py +++ b/test/test_conversion_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_config_params.py b/test/test_conversion_operation_config_params.py index 379f3343..1d58a7ea 100644 --- a/test/test_conversion_operation_config_params.py +++ b/test/test_conversion_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_execution.py b/test/test_conversion_operation_execution.py index 2c0b218a..6f3a2e16 100644 --- a/test/test_conversion_operation_execution.py +++ b/test/test_conversion_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_execution_output.py b/test/test_conversion_operation_execution_output.py index 6ecb21b7..c6b539cf 100644 --- a/test/test_conversion_operation_execution_output.py +++ b/test/test_conversion_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_execution_params.py b/test/test_conversion_operation_execution_params.py index 93e27eee..4bcf4d7c 100644 --- a/test/test_conversion_operation_execution_params.py +++ b/test/test_conversion_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_execution_params_execution_params.py b/test/test_conversion_operation_execution_params_execution_params.py index 493230db..4e7d99d0 100644 --- a/test/test_conversion_operation_execution_params_execution_params.py +++ b/test/test_conversion_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_failure.py b/test/test_conversion_operation_failure.py index ae5a536b..f811d070 100644 --- a/test/test_conversion_operation_failure.py +++ b/test/test_conversion_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_preview.py b/test/test_conversion_operation_preview.py index 0edc0ce0..886f2b1e 100644 --- a/test/test_conversion_operation_preview.py +++ b/test/test_conversion_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_preview_output.py b/test/test_conversion_operation_preview_output.py index eaaf8c7f..e238fc33 100644 --- a/test/test_conversion_operation_preview_output.py +++ b/test/test_conversion_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_operation_type.py b/test/test_conversion_operation_type.py index e3ff21a0..4eba5b48 100644 --- a/test/test_conversion_operation_type.py +++ b/test/test_conversion_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_conversion_validation_failure.py b/test/test_conversion_validation_failure.py index 2f177943..179121ad 100644 --- a/test/test_conversion_validation_failure.py +++ b/test/test_conversion_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_convert_assets_request.py b/test/test_convert_assets_request.py index 81a56ae7..8bb22d8e 100644 --- a/test/test_convert_assets_request.py +++ b/test/test_convert_assets_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_convert_assets_response.py b/test/test_convert_assets_response.py index 7dc3dcfb..a813070f 100644 --- a/test/test_convert_assets_response.py +++ b/test/test_convert_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cosigner.py b/test/test_cosigner.py index ece06826..aa05bbf6 100644 --- a/test/test_cosigner.py +++ b/test/test_cosigner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,8 +41,9 @@ def make_instance(self, include_optional) -> Cosigner: id = '44fcead0-7053-4831-a53a-df7fb90d440f', name = 'My Cosigner 1', type = 'SGX', - version = fireblocks.models.version.Version( - hash = 'a1b2c3d4', ) + version = fireblocks.models.version_summary.VersionSummary( + hash = 'a1b2c3d4e5', + name = '1.0.0 (December 2025)', ) ) else: return Cosigner( diff --git a/test/test_cosigners_beta_api.py b/test/test_cosigners_beta_api.py index 45012f2c..f0408a20 100644 --- a/test/test_cosigners_beta_api.py +++ b/test/test_cosigners_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_cosigners_paginated_response.py b/test/test_cosigners_paginated_response.py index bbd5ef32..85aeff84 100644 --- a/test/test_cosigners_paginated_response.py +++ b/test/test_cosigners_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -43,8 +43,9 @@ def make_instance(self, include_optional) -> CosignersPaginatedResponse: id = '44fcead0-7053-4831-a53a-df7fb90d440f', name = 'My Cosigner 1', type = 'SGX', - version = fireblocks.models.version.Version( - hash = 'a1b2c3d4', ), ) + version = fireblocks.models.version_summary.VersionSummary( + hash = 'a1b2c3d4e5', + name = '1.0.0 (December 2025)', ), ) ], next = 'eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9' ) @@ -56,8 +57,9 @@ def make_instance(self, include_optional) -> CosignersPaginatedResponse: id = '44fcead0-7053-4831-a53a-df7fb90d440f', name = 'My Cosigner 1', type = 'SGX', - version = fireblocks.models.version.Version( - hash = 'a1b2c3d4', ), ) + version = fireblocks.models.version_summary.VersionSummary( + hash = 'a1b2c3d4e5', + name = '1.0.0 (December 2025)', ), ) ], ) """ diff --git a/test/test_create_address_request.py b/test/test_create_address_request.py index be36ad47..ed081635 100644 --- a/test/test_create_address_request.py +++ b/test/test_create_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_address_response.py b/test/test_create_address_response.py index 6d03c57a..0726b7a7 100644 --- a/test/test_create_address_response.py +++ b/test/test_create_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_api_user.py b/test/test_create_api_user.py index 55d403b5..2268fb9a 100644 --- a/test/test_create_api_user.py +++ b/test/test_create_api_user.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_assets_bulk_request.py b/test/test_create_assets_bulk_request.py deleted file mode 100644 index 18394a08..00000000 --- a/test/test_create_assets_bulk_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.create_assets_bulk_request import CreateAssetsBulkRequest - - -class TestCreateAssetsBulkRequest(unittest.TestCase): - """CreateAssetsBulkRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CreateAssetsBulkRequest: - """Test CreateAssetsBulkRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `CreateAssetsBulkRequest` - """ - model = CreateAssetsBulkRequest() - if include_optional: - return CreateAssetsBulkRequest( - asset_id = '', - vault_account_id_from = '', - vault_account_id_to = '' - ) - else: - return CreateAssetsBulkRequest( - ) - """ - - def testCreateAssetsBulkRequest(self): - """Test CreateAssetsBulkRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_create_assets_request.py b/test/test_create_assets_request.py index c48c1ee9..498125ea 100644 --- a/test/test_create_assets_request.py +++ b/test/test_create_assets_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_config_operation_request.py b/test/test_create_config_operation_request.py index e7874371..42a6c65d 100644 --- a/test/test_create_config_operation_request.py +++ b/test/test_create_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_connection_request.py b/test/test_create_connection_request.py index 79d8a16f..3fa2ff1c 100644 --- a/test/test_create_connection_request.py +++ b/test/test_create_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_connection_response.py b/test/test_create_connection_response.py index b3dcd64d..552fe65e 100644 --- a/test/test_create_connection_response.py +++ b/test/test_create_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_console_user.py b/test/test_create_console_user.py index 82c815e5..1e70b7a2 100644 --- a/test/test_create_console_user.py +++ b/test/test_create_console_user.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_contract_request.py b/test/test_create_contract_request.py index 8441e3a8..b322838b 100644 --- a/test/test_create_contract_request.py +++ b/test/test_create_contract_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_conversion_config_operation_request.py b/test/test_create_conversion_config_operation_request.py index 9b205b5a..62a78b74 100644 --- a/test/test_create_conversion_config_operation_request.py +++ b/test/test_create_conversion_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_disbursement_config_operation_request.py b/test/test_create_disbursement_config_operation_request.py index 063e93d7..dc2bf883 100644 --- a/test/test_create_disbursement_config_operation_request.py +++ b/test/test_create_disbursement_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_internal_transfer_request.py b/test/test_create_internal_transfer_request.py index 304373dd..b2ab9c0c 100644 --- a/test/test_create_internal_transfer_request.py +++ b/test/test_create_internal_transfer_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_internal_wallet_asset_request.py b/test/test_create_internal_wallet_asset_request.py index 1018ffb3..ed3c79d4 100644 --- a/test/test_create_internal_wallet_asset_request.py +++ b/test/test_create_internal_wallet_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multichain_token_request.py b/test/test_create_multichain_token_request.py index 2145e319..dc530981 100644 --- a/test/test_create_multichain_token_request.py +++ b/test/test_create_multichain_token_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multichain_token_request_create_params.py b/test/test_create_multichain_token_request_create_params.py index abe62572..b6b98559 100644 --- a/test/test_create_multichain_token_request_create_params.py +++ b/test/test_create_multichain_token_request_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multiple_accounts_request.py b/test/test_create_multiple_accounts_request.py index d1a2b6e6..20fcaff3 100644 --- a/test/test_create_multiple_accounts_request.py +++ b/test/test_create_multiple_accounts_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multiple_deposit_addresses_job_status.py b/test/test_create_multiple_deposit_addresses_job_status.py index 1b6102ba..dde84097 100644 --- a/test/test_create_multiple_deposit_addresses_job_status.py +++ b/test/test_create_multiple_deposit_addresses_job_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multiple_deposit_addresses_request.py b/test/test_create_multiple_deposit_addresses_request.py index c82577db..809323af 100644 --- a/test/test_create_multiple_deposit_addresses_request.py +++ b/test/test_create_multiple_deposit_addresses_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_multiple_vault_accounts_job_status.py b/test/test_create_multiple_vault_accounts_job_status.py index 402d1942..eb6ce0ba 100644 --- a/test/test_create_multiple_vault_accounts_job_status.py +++ b/test/test_create_multiple_vault_accounts_job_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_ncw_connection_request.py b/test/test_create_ncw_connection_request.py index 2679dea6..9d32453f 100644 --- a/test/test_create_ncw_connection_request.py +++ b/test/test_create_ncw_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_network_id_request.py b/test/test_create_network_id_request.py index aad19b66..71503a7f 100644 --- a/test/test_create_network_id_request.py +++ b/test/test_create_network_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_order_request.py b/test/test_create_order_request.py index 140b61df..f1eb7210 100644 --- a/test/test_create_order_request.py +++ b/test/test_create_order_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> CreateOrderRequest: via = None, execution_request_details = None, settlement = None, - participants_identification = {"originator":{"externalReferenceId":"user_123456","entityType":"INDIVIDUAL","participantRelationshipType":"FirstParty","fullName":{"firstName":"John","lastName":"Smith"},"dateOfBirth":"1985-03-15","postalAddress":{"streetName":"Main Street","buildingNumber":"123","postalCode":"10001","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}},"beneficiary":{"externalReferenceId":"user_789012","entityType":"INDIVIDUAL","participantRelationshipType":"ThirdParty","fullName":{"firstName":"Alice","lastName":"Johnson"},"dateOfBirth":"1990-07-22","postalAddress":{"streetName":"Broadway","buildingNumber":"456","postalCode":"10002","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}}}, + participants_identification = {"originator":{"externalReferenceId":"user_123456","entityType":"INDIVIDUAL","participantRelationshipType":"FirstParty","fullName":{"firstName":"John","lastName":"Smith"},"dateOfBirth":"1985-03-15","email":"john.smith@example.com","phone":"+14155551234","postalAddress":{"streetName":"Main Street","buildingNumber":"123","postalCode":"10001","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}},"beneficiary":{"externalReferenceId":"user_789012","entityType":"INDIVIDUAL","participantRelationshipType":"ThirdParty","fullName":{"firstName":"Alice","lastName":"Johnson"},"dateOfBirth":"1990-07-22","email":"alice.johnson@example.com","phone":"+14155551234","postalAddress":{"streetName":"Broadway","buildingNumber":"456","postalCode":"10002","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}}}, customer_internal_reference_id = '', note = '' ) diff --git a/test/test_create_payout_request.py b/test/test_create_payout_request.py index 560d91b3..8869f0ec 100644 --- a/test/test_create_payout_request.py +++ b/test/test_create_payout_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_quote.py b/test/test_create_quote.py index 934cd245..4ef3ed5b 100644 --- a/test/test_create_quote.py +++ b/test/test_create_quote.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,9 +41,7 @@ def make_instance(self, include_optional) -> CreateQuote: null ], base_asset_id = '', - base_asset_rail = 'BLOCKCHAIN', quote_asset_id = '', - quote_asset_rail = 'BLOCKCHAIN', base_amount = '100.00', slippage_bps = 1, settlement = {"type":"DVP","sourceAccount":{"type":"VAULT_ACCOUNT","id":"vault_acc_3f7e1d9b2c5a8e4f"},"destinationAccount":{"type":"VAULT_ACCOUNT","id":"vault_acc_7b2e5d8f1c4a9e3b"}}, diff --git a/test/test_create_quote_scope_inner.py b/test/test_create_quote_scope_inner.py index 299d31c8..32e65e1b 100644 --- a/test/test_create_quote_scope_inner.py +++ b/test/test_create_quote_scope_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -43,7 +43,6 @@ def make_instance(self, include_optional) -> CreateQuoteScopeInner: else: return CreateQuoteScopeInner( provider_id = '', - account_id = '', ) """ diff --git a/test/test_create_signing_key_dto.py b/test/test_create_signing_key_dto.py index 428ba8d9..1bab65c9 100644 --- a/test/test_create_signing_key_dto.py +++ b/test/test_create_signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_signing_key_dto_proof_of_ownership.py b/test/test_create_signing_key_dto_proof_of_ownership.py index b9bc82e7..6fb5a6eb 100644 --- a/test/test_create_signing_key_dto_proof_of_ownership.py +++ b/test/test_create_signing_key_dto_proof_of_ownership.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_tag_request.py b/test/test_create_tag_request.py index c36d8a70..e2dad6d7 100644 --- a/test/test_create_tag_request.py +++ b/test/test_create_tag_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -38,7 +38,9 @@ def make_instance(self, include_optional) -> CreateTagRequest: if include_optional: return CreateTagRequest( label = 'VIP', - description = 'Tag for VIP customers' + description = 'Tag for VIP customers', + color = '#FF5733', + is_protected = True ) else: return CreateTagRequest( diff --git a/test/test_create_token_request_dto.py b/test/test_create_token_request_dto.py index c0405458..6acd06ab 100644 --- a/test/test_create_token_request_dto.py +++ b/test/test_create_token_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_token_request_dto_create_params.py b/test/test_create_token_request_dto_create_params.py index a42b2509..a7fa093f 100644 --- a/test/test_create_token_request_dto_create_params.py +++ b/test/test_create_token_request_dto_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_transaction_response.py b/test/test_create_transaction_response.py index 1f839142..e3426d78 100644 --- a/test/test_create_transaction_response.py +++ b/test/test_create_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -39,9 +39,11 @@ def make_instance(self, include_optional) -> CreateTransactionResponse: return CreateTransactionResponse( id = '', status = '', - system_messages = fireblocks.models.system_message_info.SystemMessageInfo( - type = 'WARN', - message = 'Slow transaction processing. Outgoing transactions might be stuck.', ) + system_messages = [ + fireblocks.models.system_message_info.SystemMessageInfo( + type = 'WARN', + message = 'Slow transaction processing. Outgoing transactions might be stuck.', ) + ] ) else: return CreateTransactionResponse( diff --git a/test/test_create_transfer_config_operation_request.py b/test/test_create_transfer_config_operation_request.py index 0bdfd7a0..3af94679 100644 --- a/test/test_create_transfer_config_operation_request.py +++ b/test/test_create_transfer_config_operation_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_user_group_response.py b/test/test_create_user_group_response.py index 1c98f277..e609b20f 100644 --- a/test/test_create_user_group_response.py +++ b/test/test_create_user_group_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_validation_key_dto.py b/test/test_create_validation_key_dto.py index 0c89dcc6..29e19bdc 100644 --- a/test/test_create_validation_key_dto.py +++ b/test/test_create_validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_validation_key_response_dto.py b/test/test_create_validation_key_response_dto.py index fc9672ea..101b7287 100644 --- a/test/test_create_validation_key_response_dto.py +++ b/test/test_create_validation_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vault_account_connection_request.py b/test/test_create_vault_account_connection_request.py index b19fd0fc..f2a00891 100644 --- a/test/test_create_vault_account_connection_request.py +++ b/test/test_create_vault_account_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vault_account_request.py b/test/test_create_vault_account_request.py index 8815f802..703408dd 100644 --- a/test/test_create_vault_account_request.py +++ b/test/test_create_vault_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_vault_asset_response.py b/test/test_create_vault_asset_response.py index 2ef1dbe1..3e75394f 100644 --- a/test/test_create_vault_asset_response.py +++ b/test/test_create_vault_asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_wallet_request.py b/test/test_create_wallet_request.py index 562f41fc..dcc5d19b 100644 --- a/test/test_create_wallet_request.py +++ b/test/test_create_wallet_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_webhook_request.py b/test/test_create_webhook_request.py index 7db03c00..9e76b7e9 100644 --- a/test/test_create_webhook_request.py +++ b/test/test_create_webhook_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_create_workflow_execution_request_params_inner.py b/test/test_create_workflow_execution_request_params_inner.py index 8c468ce9..25fa8b3d 100644 --- a/test/test_create_workflow_execution_request_params_inner.py +++ b/test/test_create_workflow_execution_request_params_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_custom_routing_dest.py b/test/test_custom_routing_dest.py index 417e3c63..b53faa50 100644 --- a/test/test_custom_routing_dest.py +++ b/test/test_custom_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_d_app_address_config.py b/test/test_d_app_address_config.py index eec3afd0..4e8f3249 100644 --- a/test/test_d_app_address_config.py +++ b/test/test_d_app_address_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_decoded_log.py b/test/test_decoded_log.py new file mode 100644 index 00000000..c48ab578 --- /dev/null +++ b/test/test_decoded_log.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.decoded_log import DecodedLog + + +class TestDecodedLog(unittest.TestCase): + """DecodedLog unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DecodedLog: + """Test DecodedLog + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `DecodedLog` + """ + model = DecodedLog() + if include_optional: + return DecodedLog( + address = '0x1234567890123456789012345678901234567890', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = '12345678', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + log_index = '0' + ) + else: + return DecodedLog( + address = '0x1234567890123456789012345678901234567890', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = '12345678', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + log_index = '0', + ) + """ + + def testDecodedLog(self): + """Test DecodedLog""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_default_network_routing_dest.py b/test/test_default_network_routing_dest.py index 15bf653a..c9dfb93f 100644 --- a/test/test_default_network_routing_dest.py +++ b/test/test_default_network_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delegation.py b/test/test_delegation.py index 0338ee73..70b36c95 100644 --- a/test/test_delegation.py +++ b/test/test_delegation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -53,7 +53,7 @@ def make_instance(self, include_optional) -> Delegation: available_actions = ["unstake"], in_progress = True, in_progress_tx_id = 'c80601f4-d7b1-4795-a8ee-b09cdb5b450c', - blockchain_position_info = {"stakeAccountAddress":"3Ru67FyzMTcdENmmRL4Eve4dtPd6AdpuypR21q5EQCdq"}, + blockchain_position_info = None, related_requests = [{"status":"deactivating","inProgress":false,"amount":"0.05","txId":"c80601f4-d7b1-4795-a8ee-b09cdb5b450c"}] ) else: @@ -73,7 +73,7 @@ def make_instance(self, include_optional) -> Delegation: provider_id = 'kiln', available_actions = ["unstake"], in_progress = True, - blockchain_position_info = {"stakeAccountAddress":"3Ru67FyzMTcdENmmRL4Eve4dtPd6AdpuypR21q5EQCdq"}, + blockchain_position_info = None, ) """ diff --git a/test/test_delegation_blockchain_position_info.py b/test/test_delegation_blockchain_position_info.py new file mode 100644 index 00000000..2390c94c --- /dev/null +++ b/test/test_delegation_blockchain_position_info.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.delegation_blockchain_position_info import ( + DelegationBlockchainPositionInfo, +) + + +class TestDelegationBlockchainPositionInfo(unittest.TestCase): + """DelegationBlockchainPositionInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DelegationBlockchainPositionInfo: + """Test DelegationBlockchainPositionInfo + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `DelegationBlockchainPositionInfo` + """ + model = DelegationBlockchainPositionInfo() + if include_optional: + return DelegationBlockchainPositionInfo( + stake_account_address = '3Ru67FyzMTcdENmmRL4Eve4dtPd6AdpuypR21q5EQCdq', + stake_account_derivation_change_value = 7, + is_compounding_validator = True, + total_withdrawable_amount = '1.5', + total_inactive_amount = '2.0' + ) + else: + return DelegationBlockchainPositionInfo( + stake_account_address = '3Ru67FyzMTcdENmmRL4Eve4dtPd6AdpuypR21q5EQCdq', + stake_account_derivation_change_value = 7, + is_compounding_validator = True, + total_withdrawable_amount = '1.5', + total_inactive_amount = '2.0', + ) + """ + + def testDelegationBlockchainPositionInfo(self): + """Test DelegationBlockchainPositionInfo""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_delegation_summary.py b/test/test_delegation_summary.py index 01f106c4..7feb3fec 100644 --- a/test/test_delegation_summary.py +++ b/test/test_delegation_summary.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_network_connection_response.py b/test/test_delete_network_connection_response.py index f24fb7d5..530ad0b0 100644 --- a/test/test_delete_network_connection_response.py +++ b/test/test_delete_network_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_delete_network_id_response.py b/test/test_delete_network_id_response.py index 8e00f095..f60ea75f 100644 --- a/test/test_delete_network_id_response.py +++ b/test/test_delete_network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deploy_layer_zero_adapters_request.py b/test/test_deploy_layer_zero_adapters_request.py index cdd84c94..adfd8936 100644 --- a/test/test_deploy_layer_zero_adapters_request.py +++ b/test/test_deploy_layer_zero_adapters_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deployable_address_response.py b/test/test_deployable_address_response.py index bee3815e..e5b4b8c4 100644 --- a/test/test_deployable_address_response.py +++ b/test/test_deployable_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deployed_contract_not_found_error.py b/test/test_deployed_contract_not_found_error.py index 9c56a72d..96692ce4 100644 --- a/test/test_deployed_contract_not_found_error.py +++ b/test/test_deployed_contract_not_found_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deployed_contract_response_dto.py b/test/test_deployed_contract_response_dto.py index cc8d8f38..28ef337a 100644 --- a/test/test_deployed_contract_response_dto.py +++ b/test/test_deployed_contract_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deployed_contracts_api.py b/test/test_deployed_contracts_api.py index 8ab8a541..984fbf80 100644 --- a/test/test_deployed_contracts_api.py +++ b/test/test_deployed_contracts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deployed_contracts_paginated_response.py b/test/test_deployed_contracts_paginated_response.py index f15bf5fc..ccd67239 100644 --- a/test/test_deployed_contracts_paginated_response.py +++ b/test/test_deployed_contracts_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_deposit_funds_from_linked_dda_response.py b/test/test_deposit_funds_from_linked_dda_response.py index 18566200..5f835c13 100644 --- a/test/test_deposit_funds_from_linked_dda_response.py +++ b/test/test_deposit_funds_from_linked_dda_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_derivation_path_config.py b/test/test_derivation_path_config.py index 8a684f34..d048930f 100644 --- a/test/test_derivation_path_config.py +++ b/test/test_derivation_path_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_designated_signers_config.py b/test/test_designated_signers_config.py index 0a3e1218..bef4306f 100644 --- a/test/test_designated_signers_config.py +++ b/test/test_designated_signers_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_destination.py b/test/test_destination.py index 0fca9223..c9064efd 100644 --- a/test/test_destination.py +++ b/test/test_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_destination_config.py b/test/test_destination_config.py index aab0d04f..812b4ede 100644 --- a/test/test_destination_config.py +++ b/test/test_destination_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_destination_transfer_peer_path.py b/test/test_destination_transfer_peer_path.py index 58d4bd6e..7c470200 100644 --- a/test/test_destination_transfer_peer_path.py +++ b/test/test_destination_transfer_peer_path.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_destination_transfer_peer_path_response.py b/test/test_destination_transfer_peer_path_response.py index f818a866..8ccf7c79 100644 --- a/test/test_destination_transfer_peer_path_response.py +++ b/test/test_destination_transfer_peer_path_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_direct_access.py b/test/test_direct_access.py index 375454ac..c2c6c79f 100644 --- a/test/test_direct_access.py +++ b/test/test_direct_access.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_direct_access_provider.py b/test/test_direct_access_provider.py index 9b8cc7c0..411864f1 100644 --- a/test/test_direct_access_provider.py +++ b/test/test_direct_access_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_direct_access_provider_details.py b/test/test_direct_access_provider_details.py index e20d0ea7..23b68683 100644 --- a/test/test_direct_access_provider_details.py +++ b/test/test_direct_access_provider_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_amount_instruction.py b/test/test_disbursement_amount_instruction.py index 47d1c53a..da4c6946 100644 --- a/test/test_disbursement_amount_instruction.py +++ b/test/test_disbursement_amount_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_config_operation.py b/test/test_disbursement_config_operation.py index 44dc2e58..19a7fec0 100644 --- a/test/test_disbursement_config_operation.py +++ b/test/test_disbursement_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_instruction.py b/test/test_disbursement_instruction.py index a9fa371b..1f089249 100644 --- a/test/test_disbursement_instruction.py +++ b/test/test_disbursement_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_instruction_output.py b/test/test_disbursement_instruction_output.py index e96d48d4..a8a43317 100644 --- a/test/test_disbursement_instruction_output.py +++ b/test/test_disbursement_instruction_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_config_params.py b/test/test_disbursement_operation_config_params.py index ca0c3430..eb170352 100644 --- a/test/test_disbursement_operation_config_params.py +++ b/test/test_disbursement_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_execution.py b/test/test_disbursement_operation_execution.py index b4a6e5b6..2dcdcf0c 100644 --- a/test/test_disbursement_operation_execution.py +++ b/test/test_disbursement_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_execution_output.py b/test/test_disbursement_operation_execution_output.py index ee53177d..3fbc8894 100644 --- a/test/test_disbursement_operation_execution_output.py +++ b/test/test_disbursement_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_execution_params.py b/test/test_disbursement_operation_execution_params.py index 73770bdd..b6b08bc1 100644 --- a/test/test_disbursement_operation_execution_params.py +++ b/test/test_disbursement_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_execution_params_execution_params.py b/test/test_disbursement_operation_execution_params_execution_params.py index 517989c9..95752297 100644 --- a/test/test_disbursement_operation_execution_params_execution_params.py +++ b/test/test_disbursement_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_input.py b/test/test_disbursement_operation_input.py index 66585c90..30ae6f2c 100644 --- a/test/test_disbursement_operation_input.py +++ b/test/test_disbursement_operation_input.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_preview.py b/test/test_disbursement_operation_preview.py index 6c6e2687..41f0106c 100644 --- a/test/test_disbursement_operation_preview.py +++ b/test/test_disbursement_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_preview_output.py b/test/test_disbursement_operation_preview_output.py index 600d684c..a1f7f7da 100644 --- a/test/test_disbursement_operation_preview_output.py +++ b/test/test_disbursement_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_preview_output_instruction_set_inner.py b/test/test_disbursement_operation_preview_output_instruction_set_inner.py index 9b16611b..724efc33 100644 --- a/test/test_disbursement_operation_preview_output_instruction_set_inner.py +++ b/test/test_disbursement_operation_preview_output_instruction_set_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_operation_type.py b/test/test_disbursement_operation_type.py index 32ae2cf1..3ad0c430 100644 --- a/test/test_disbursement_operation_type.py +++ b/test/test_disbursement_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_percentage_instruction.py b/test/test_disbursement_percentage_instruction.py index 527fe882..ee1ce49a 100644 --- a/test/test_disbursement_percentage_instruction.py +++ b/test/test_disbursement_percentage_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_disbursement_validation_failure.py b/test/test_disbursement_validation_failure.py index 26941cb9..1d815640 100644 --- a/test/test_disbursement_validation_failure.py +++ b/test/test_disbursement_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_dispatch_payout_response.py b/test/test_dispatch_payout_response.py index e95c0350..e388a117 100644 --- a/test/test_dispatch_payout_response.py +++ b/test/test_dispatch_payout_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_draft_response.py b/test/test_draft_response.py index df45f290..222dc4e7 100644 --- a/test/test_draft_response.py +++ b/test/test_draft_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_draft_review_and_validation_response.py b/test/test_draft_review_and_validation_response.py index 9ad84143..8a968cc1 100644 --- a/test/test_draft_review_and_validation_response.py +++ b/test/test_draft_review_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_drop_transaction_request.py b/test/test_drop_transaction_request.py index 1560a245..159bafcc 100644 --- a/test/test_drop_transaction_request.py +++ b/test/test_drop_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_drop_transaction_response.py b/test/test_drop_transaction_response.py index b10391f5..4ea68dd9 100644 --- a/test/test_drop_transaction_response.py +++ b/test/test_drop_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_dvn_config.py b/test/test_dvn_config.py index 00c3d03b..47831779 100644 --- a/test/test_dvn_config.py +++ b/test/test_dvn_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_dvn_config_with_confirmations.py b/test/test_dvn_config_with_confirmations.py index f8028472..288407c6 100644 --- a/test/test_dvn_config_with_confirmations.py +++ b/test/test_dvn_config_with_confirmations.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_dvp_settlement.py b/test/test_dvp_settlement.py index 3d759125..9a48e8fa 100644 --- a/test/test_dvp_settlement.py +++ b/test/test_dvp_settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_dvp_settlement_type.py b/test/test_dvp_settlement_type.py new file mode 100644 index 00000000..6d87fc4b --- /dev/null +++ b/test/test_dvp_settlement_type.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.dvp_settlement_type import DVPSettlementType + + +class TestDVPSettlementType(unittest.TestCase): + """DVPSettlementType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDVPSettlementType(self): + """Test DVPSettlementType""" + # inst = DVPSettlementType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_edit_gas_station_configuration_response.py b/test/test_edit_gas_station_configuration_response.py index 8ec7371f..a732e9c4 100644 --- a/test/test_edit_gas_station_configuration_response.py +++ b/test/test_edit_gas_station_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet.py b/test/test_embedded_wallet.py index 84d563ff..14b1f073 100644 --- a/test/test_embedded_wallet.py +++ b/test/test_embedded_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_account.py b/test/test_embedded_wallet_account.py index 23a10ee6..4a40306a 100644 --- a/test/test_embedded_wallet_account.py +++ b/test/test_embedded_wallet_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_address_details.py b/test/test_embedded_wallet_address_details.py index 331f24c3..943b08e7 100644 --- a/test/test_embedded_wallet_address_details.py +++ b/test/test_embedded_wallet_address_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_algoritm.py b/test/test_embedded_wallet_algoritm.py index 695a1a95..39effea8 100644 --- a/test/test_embedded_wallet_algoritm.py +++ b/test/test_embedded_wallet_algoritm.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_asset_balance.py b/test/test_embedded_wallet_asset_balance.py index 7c3dbc31..b0453071 100644 --- a/test/test_embedded_wallet_asset_balance.py +++ b/test/test_embedded_wallet_asset_balance.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_asset_response.py b/test/test_embedded_wallet_asset_response.py index 8390e582..bf434298 100644 --- a/test/test_embedded_wallet_asset_response.py +++ b/test/test_embedded_wallet_asset_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_asset_reward_info.py b/test/test_embedded_wallet_asset_reward_info.py index 27abe0b6..2cb56b1e 100644 --- a/test/test_embedded_wallet_asset_reward_info.py +++ b/test/test_embedded_wallet_asset_reward_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_device.py b/test/test_embedded_wallet_device.py index 3abf30b2..4efaa0c2 100644 --- a/test/test_embedded_wallet_device.py +++ b/test/test_embedded_wallet_device.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_device_key_setup_response.py b/test/test_embedded_wallet_device_key_setup_response.py index 0135bf45..594753f4 100644 --- a/test/test_embedded_wallet_device_key_setup_response.py +++ b/test/test_embedded_wallet_device_key_setup_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> EmbeddedWalletDeviceKeySetupRespons if include_optional: return EmbeddedWalletDeviceKeySetupResponse( status = fireblocks.models.embedded_wallet_set_up_status.EmbeddedWalletSetUpStatus( - status = 'statusValue', ), + status = 'COMPLETE', ), device_id = 'deviceIdValue', enabled = True, setup_status = [{"setupStatus":"setupStatusValue","confirmed":true,"backedUp":true}] @@ -48,7 +48,7 @@ def make_instance(self, include_optional) -> EmbeddedWalletDeviceKeySetupRespons else: return EmbeddedWalletDeviceKeySetupResponse( status = fireblocks.models.embedded_wallet_set_up_status.EmbeddedWalletSetUpStatus( - status = 'statusValue', ), + status = 'COMPLETE', ), device_id = 'deviceIdValue', enabled = True, setup_status = [{"setupStatus":"setupStatusValue","confirmed":true,"backedUp":true}], diff --git a/test/test_embedded_wallet_device_key_setup_response_setup_status_inner.py b/test/test_embedded_wallet_device_key_setup_response_setup_status_inner.py index 0871cdf0..2b4d731f 100644 --- a/test/test_embedded_wallet_device_key_setup_response_setup_status_inner.py +++ b/test/test_embedded_wallet_device_key_setup_response_setup_status_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_latest_backup_key.py b/test/test_embedded_wallet_latest_backup_key.py index f7b99071..4cedad3e 100644 --- a/test/test_embedded_wallet_latest_backup_key.py +++ b/test/test_embedded_wallet_latest_backup_key.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_latest_backup_response.py b/test/test_embedded_wallet_latest_backup_response.py index cddcf6c7..5220a26c 100644 --- a/test/test_embedded_wallet_latest_backup_response.py +++ b/test/test_embedded_wallet_latest_backup_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_paginated_addresses_response.py b/test/test_embedded_wallet_paginated_addresses_response.py index 5aa33cb0..e2c5c126 100644 --- a/test/test_embedded_wallet_paginated_addresses_response.py +++ b/test/test_embedded_wallet_paginated_addresses_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_paginated_assets_response.py b/test/test_embedded_wallet_paginated_assets_response.py index b01dcedf..c51d009b 100644 --- a/test/test_embedded_wallet_paginated_assets_response.py +++ b/test/test_embedded_wallet_paginated_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_paginated_devices_response.py b/test/test_embedded_wallet_paginated_devices_response.py new file mode 100644 index 00000000..602bb00d --- /dev/null +++ b/test/test_embedded_wallet_paginated_devices_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.embedded_wallet_paginated_devices_response import ( + EmbeddedWalletPaginatedDevicesResponse, +) + + +class TestEmbeddedWalletPaginatedDevicesResponse(unittest.TestCase): + """EmbeddedWalletPaginatedDevicesResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EmbeddedWalletPaginatedDevicesResponse: + """Test EmbeddedWalletPaginatedDevicesResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EmbeddedWalletPaginatedDevicesResponse` + """ + model = EmbeddedWalletPaginatedDevicesResponse() + if include_optional: + return EmbeddedWalletPaginatedDevicesResponse( + data = [{"deviceId":"9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3","enabled":true,"physicalDeviceId":"ee1bff0-6dba-4f0c-9b75-03fe90e66fa3"}], + next = 'eJ0eXAiOiJKV1QiLCJhbGcOiJIUzI1NiJ9' + ) + else: + return EmbeddedWalletPaginatedDevicesResponse( + data = [{"deviceId":"9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3","enabled":true,"physicalDeviceId":"ee1bff0-6dba-4f0c-9b75-03fe90e66fa3"}], + ) + """ + + def testEmbeddedWalletPaginatedDevicesResponse(self): + """Test EmbeddedWalletPaginatedDevicesResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_embedded_wallet_paginated_wallets_response.py b/test/test_embedded_wallet_paginated_wallets_response.py index ec9bcf4d..fe7e82d7 100644 --- a/test/test_embedded_wallet_paginated_wallets_response.py +++ b/test/test_embedded_wallet_paginated_wallets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_embedded_wallet_required_algorithms.py b/test/test_embedded_wallet_required_algorithms.py new file mode 100644 index 00000000..be7fa1df --- /dev/null +++ b/test/test_embedded_wallet_required_algorithms.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.embedded_wallet_required_algorithms import ( + EmbeddedWalletRequiredAlgorithms, +) + + +class TestEmbeddedWalletRequiredAlgorithms(unittest.TestCase): + """EmbeddedWalletRequiredAlgorithms unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEmbeddedWalletRequiredAlgorithms(self): + """Test EmbeddedWalletRequiredAlgorithms""" + # inst = EmbeddedWalletRequiredAlgorithms() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_embedded_wallet_set_up_status.py b/test/test_embedded_wallet_set_up_status.py index 26356517..32c376ab 100644 --- a/test/test_embedded_wallet_set_up_status.py +++ b/test/test_embedded_wallet_set_up_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,11 +37,11 @@ def make_instance(self, include_optional) -> EmbeddedWalletSetUpStatus: model = EmbeddedWalletSetUpStatus() if include_optional: return EmbeddedWalletSetUpStatus( - status = 'statusValue' + status = 'COMPLETE' ) else: return EmbeddedWalletSetUpStatus( - status = 'statusValue', + status = 'COMPLETE', ) """ diff --git a/test/test_embedded_wallet_setup_status_response.py b/test/test_embedded_wallet_setup_status_response.py new file mode 100644 index 00000000..937e9ca2 --- /dev/null +++ b/test/test_embedded_wallet_setup_status_response.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.embedded_wallet_setup_status_response import ( + EmbeddedWalletSetupStatusResponse, +) + + +class TestEmbeddedWalletSetupStatusResponse(unittest.TestCase): + """EmbeddedWalletSetupStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EmbeddedWalletSetupStatusResponse: + """Test EmbeddedWalletSetupStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EmbeddedWalletSetupStatusResponse` + """ + model = EmbeddedWalletSetupStatusResponse() + if include_optional: + return EmbeddedWalletSetupStatusResponse( + status = fireblocks.models.embedded_wallet_set_up_status.EmbeddedWalletSetUpStatus( + status = 'COMPLETE', ), + required_algorithms = ["MPC_ECDSA_SECP256K1","MPC_EDDSA_ED25519"], + device_setup_status = [{"status":{"status":"COMPLETE"},"deviceId":"9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3","enabled":true,"setupStatus":[{"algorithmName":{"algorithm":"MPC_ECDSA_SECP256K1"},"confirmed":true,"backedUp":true}]}] + ) + else: + return EmbeddedWalletSetupStatusResponse( + status = fireblocks.models.embedded_wallet_set_up_status.EmbeddedWalletSetUpStatus( + status = 'COMPLETE', ), + required_algorithms = ["MPC_ECDSA_SECP256K1","MPC_EDDSA_ED25519"], + device_setup_status = [{"status":{"status":"COMPLETE"},"deviceId":"9ee1bff0-6dba-4f0c-9b75-03fe90e66fa3","enabled":true,"setupStatus":[{"algorithmName":{"algorithm":"MPC_ECDSA_SECP256K1"},"confirmed":true,"backedUp":true}]}], + ) + """ + + def testEmbeddedWalletSetupStatusResponse(self): + """Test EmbeddedWalletSetupStatusResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_embedded_wallets_api.py b/test/test_embedded_wallets_api.py index 82d3ef37..d865874d 100644 --- a/test/test_embedded_wallets_api.py +++ b/test/test_embedded_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -34,6 +34,13 @@ def test_add_embedded_wallet_asset(self) -> None: """ pass + def test_assign_embedded_wallet(self) -> None: + """Test case for assign_embedded_wallet + + Assign a wallet + """ + pass + def test_create_embedded_wallet(self) -> None: """Test case for create_embedded_wallet @@ -83,6 +90,13 @@ def test_get_embedded_wallet_asset_balance(self) -> None: """ pass + def test_get_embedded_wallet_assets(self) -> None: + """Test case for get_embedded_wallet_assets + + Retrieve assets + """ + pass + def test_get_embedded_wallet_device(self) -> None: """Test case for get_embedded_wallet_device @@ -97,6 +111,13 @@ def test_get_embedded_wallet_device_setup_state(self) -> None: """ pass + def test_get_embedded_wallet_devices_paginated(self) -> None: + """Test case for get_embedded_wallet_devices_paginated + + Get registered devices - paginated + """ + pass + def test_get_embedded_wallet_latest_backup(self) -> None: """Test case for get_embedded_wallet_latest_backup @@ -111,6 +132,13 @@ def test_get_embedded_wallet_public_key_info_for_address(self) -> None: """ pass + def test_get_embedded_wallet_setup_status(self) -> None: + """Test case for get_embedded_wallet_setup_status + + Get wallet key setup state + """ + pass + def test_get_embedded_wallet_supported_assets(self) -> None: """Test case for get_embedded_wallet_supported_assets @@ -139,6 +167,20 @@ def test_refresh_embedded_wallet_asset_balance(self) -> None: """ pass + def test_update_embedded_wallet_device_status(self) -> None: + """Test case for update_embedded_wallet_device_status + + Update device status + """ + pass + + def test_update_embedded_wallet_status(self) -> None: + """Test case for update_embedded_wallet_status + + Update wallet status + """ + pass + if __name__ == "__main__": unittest.main() diff --git a/test/test_enable_device.py b/test/test_enable_device.py new file mode 100644 index 00000000..3a125f91 --- /dev/null +++ b/test/test_enable_device.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.enable_device import EnableDevice + + +class TestEnableDevice(unittest.TestCase): + """EnableDevice unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EnableDevice: + """Test EnableDevice + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EnableDevice` + """ + model = EnableDevice() + if include_optional: + return EnableDevice( + enabled = True + ) + else: + return EnableDevice( + enabled = True, + ) + """ + + def testEnableDevice(self): + """Test EnableDevice""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_enable_wallet.py b/test/test_enable_wallet.py new file mode 100644 index 00000000..7b377151 --- /dev/null +++ b/test/test_enable_wallet.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.enable_wallet import EnableWallet + + +class TestEnableWallet(unittest.TestCase): + """EnableWallet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EnableWallet: + """Test EnableWallet + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EnableWallet` + """ + model = EnableWallet() + if include_optional: + return EnableWallet( + enabled = True + ) + else: + return EnableWallet( + enabled = True, + ) + """ + + def testEnableWallet(self): + """Test EnableWallet""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_error_codes.py b/test/test_error_codes.py deleted file mode 100644 index 6d8becb4..00000000 --- a/test/test_error_codes.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.error_codes import ErrorCodes - - -class TestErrorCodes(unittest.TestCase): - """ErrorCodes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorCodes(self): - """Test ErrorCodes""" - # inst = ErrorCodes() - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_error_response.py b/test/test_error_response.py index 5b650c26..0b03b508 100644 --- a/test/test_error_response.py +++ b/test/test_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_error_response_error.py b/test/test_error_response_error.py index a2875f02..dd9de5e9 100644 --- a/test/test_error_response_error.py +++ b/test/test_error_response_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_error_schema.py b/test/test_error_schema.py index 16d65f50..6f5d38fa 100644 --- a/test/test_error_schema.py +++ b/test/test_error_schema.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_estimated_fee_details.py b/test/test_estimated_fee_details.py index 443ffdfb..941e0a0c 100644 --- a/test/test_estimated_fee_details.py +++ b/test/test_estimated_fee_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_estimated_network_fee_response.py b/test/test_estimated_network_fee_response.py index 9424304e..9f0ed906 100644 --- a/test/test_estimated_network_fee_response.py +++ b/test/test_estimated_network_fee_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_estimated_transaction_fee_response.py b/test/test_estimated_transaction_fee_response.py index 05d5e557..bf32540c 100644 --- a/test/test_estimated_transaction_fee_response.py +++ b/test/test_estimated_transaction_fee_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ethereum_blockchain_data.py b/test/test_ethereum_blockchain_data.py new file mode 100644 index 00000000..9bdee011 --- /dev/null +++ b/test/test_ethereum_blockchain_data.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.ethereum_blockchain_data import EthereumBlockchainData + + +class TestEthereumBlockchainData(unittest.TestCase): + """EthereumBlockchainData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EthereumBlockchainData: + """Test EthereumBlockchainData + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EthereumBlockchainData` + """ + model = EthereumBlockchainData() + if include_optional: + return EthereumBlockchainData( + is_compounding_validator = True + ) + else: + return EthereumBlockchainData( + is_compounding_validator = True, + ) + """ + + def testEthereumBlockchainData(self): + """Test EthereumBlockchainData""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_european_sepa_address.py b/test/test_european_sepa_address.py new file mode 100644 index 00000000..d6f26644 --- /dev/null +++ b/test/test_european_sepa_address.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.european_sepa_address import EuropeanSEPAAddress + + +class TestEuropeanSEPAAddress(unittest.TestCase): + """EuropeanSEPAAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EuropeanSEPAAddress: + """Test EuropeanSEPAAddress + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EuropeanSEPAAddress` + """ + model = EuropeanSEPAAddress() + if include_optional: + return EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '' + ) + else: + return EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + ) + """ + + def testEuropeanSEPAAddress(self): + """Test EuropeanSEPAAddress""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_european_sepa_destination.py b/test/test_european_sepa_destination.py new file mode 100644 index 00000000..b99b1978 --- /dev/null +++ b/test/test_european_sepa_destination.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.european_sepa_destination import EuropeanSEPADestination + + +class TestEuropeanSEPADestination(unittest.TestCase): + """EuropeanSEPADestination unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EuropeanSEPADestination: + """Test EuropeanSEPADestination + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `EuropeanSEPADestination` + """ + model = EuropeanSEPADestination() + if include_optional: + return EuropeanSEPADestination( + type = 'EUROPEAN_SEPA', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ) + ) + else: + return EuropeanSEPADestination( + type = 'EUROPEAN_SEPA', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), + ) + """ + + def testEuropeanSEPADestination(self): + """Test EuropeanSEPADestination""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_evm_token_create_params_dto.py b/test/test_evm_token_create_params_dto.py index 14057cd8..fb824fae 100644 --- a/test/test_evm_token_create_params_dto.py +++ b/test/test_evm_token_create_params_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_exchange_account.py b/test/test_exchange_account.py index 915e5b91..81a1be82 100644 --- a/test/test_exchange_account.py +++ b/test/test_exchange_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_exchange_accounts_api.py b/test/test_exchange_accounts_api.py index c3920fa4..14b7359c 100644 --- a/test/test_exchange_accounts_api.py +++ b/test/test_exchange_accounts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,21 +37,21 @@ def test_add_exchange_account(self) -> None: def test_convert_assets(self) -> None: """Test case for convert_assets - Convert exchange account funds from the source asset to the destination asset. + Convert exchange account funds """ pass def test_get_exchange_account(self) -> None: """Test case for get_exchange_account - Find a specific exchange account + Get a specific exchange account """ pass def test_get_exchange_account_asset(self) -> None: """Test case for get_exchange_account_asset - Find an asset for an exchange account + Get an asset for an exchange account """ pass @@ -65,7 +65,7 @@ def test_get_exchange_accounts_credentials_public_key(self) -> None: def test_get_paged_exchange_accounts(self) -> None: """Test case for get_paged_exchange_accounts - Pagination list exchange accounts + List connected exchange accounts """ pass diff --git a/test/test_exchange_asset.py b/test/test_exchange_asset.py index 873d2221..8855ab08 100644 --- a/test/test_exchange_asset.py +++ b/test/test_exchange_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_exchange_settlement_transactions_response.py b/test/test_exchange_settlement_transactions_response.py index 2acca991..8ba516c8 100644 --- a/test/test_exchange_settlement_transactions_response.py +++ b/test/test_exchange_settlement_transactions_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_exchange_trading_account.py b/test/test_exchange_trading_account.py index 51838119..b40931a6 100644 --- a/test/test_exchange_trading_account.py +++ b/test/test_exchange_trading_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_exchange_type.py b/test/test_exchange_type.py index 40c57cc1..c6c7bf80 100644 --- a/test/test_exchange_type.py +++ b/test/test_exchange_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_conversion_operation.py b/test/test_execution_conversion_operation.py index d74098e0..a5625e14 100644 --- a/test/test_execution_conversion_operation.py +++ b/test/test_execution_conversion_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_disbursement_operation.py b/test/test_execution_disbursement_operation.py index 23ae1769..cf241715 100644 --- a/test/test_execution_disbursement_operation.py +++ b/test/test_execution_disbursement_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_operation_status.py b/test/test_execution_operation_status.py index f6fd1a1f..fa26c45b 100644 --- a/test/test_execution_operation_status.py +++ b/test/test_execution_operation_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_request_base_details.py b/test/test_execution_request_base_details.py index 5f2e8bef..d678f3c1 100644 --- a/test/test_execution_request_base_details.py +++ b/test/test_execution_request_base_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_request_details.py b/test/test_execution_request_details.py index 4d0ff122..f1f4c0a6 100644 --- a/test/test_execution_request_details.py +++ b/test/test_execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,9 +37,7 @@ def make_instance(self, include_optional) -> ExecutionRequestDetails: model = ExecutionRequestDetails() if include_optional: return ExecutionRequestDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', + type = 'QUOTE', side = 'BUY', base_amount = '', base_asset_id = '', @@ -51,9 +49,7 @@ def make_instance(self, include_optional) -> ExecutionRequestDetails: ) else: return ExecutionRequestDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', + type = 'QUOTE', side = 'BUY', base_amount = '', base_asset_id = '', diff --git a/test/test_execution_response_base_details.py b/test/test_execution_response_base_details.py index b80108f2..4db0b75b 100644 --- a/test/test_execution_response_base_details.py +++ b/test/test_execution_response_base_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_response_details.py b/test/test_execution_response_details.py index c480bca3..6073f522 100644 --- a/test/test_execution_response_details.py +++ b/test/test_execution_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,9 +37,7 @@ def make_instance(self, include_optional) -> ExecutionResponseDetails: model = ExecutionResponseDetails() if include_optional: return ExecutionResponseDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', + type = 'QUOTE', side = 'BUY', base_amount = '', base_asset_id = '', @@ -52,9 +50,7 @@ def make_instance(self, include_optional) -> ExecutionResponseDetails: ) else: return ExecutionResponseDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', + type = 'QUOTE', side = 'BUY', base_amount = '', base_asset_id = '', diff --git a/test/test_execution_screening_operation.py b/test/test_execution_screening_operation.py index 7b3981ea..d6f2701d 100644 --- a/test/test_execution_screening_operation.py +++ b/test/test_execution_screening_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_step_details.py b/test/test_execution_step_details.py deleted file mode 100644 index 33b728ff..00000000 --- a/test/test_execution_step_details.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.execution_step_details import ExecutionStepDetails - - -class TestExecutionStepDetails(unittest.TestCase): - """ExecutionStepDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ExecutionStepDetails: - """Test ExecutionStepDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `ExecutionStepDetails` - """ - model = ExecutionStepDetails() - if include_optional: - return ExecutionStepDetails( - type = 'EXECUTE', - fee = None - ) - else: - return ExecutionStepDetails( - type = 'EXECUTE', - ) - """ - - def testExecutionStepDetails(self): - """Test ExecutionStepDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_execution_step_error.py b/test/test_execution_step_error.py index a86c6199..41146064 100644 --- a/test/test_execution_step_error.py +++ b/test/test_execution_step_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_step_status_enum.py b/test/test_execution_step_status_enum.py index a0c00ce2..ab4be32d 100644 --- a/test/test_execution_step_status_enum.py +++ b/test/test_execution_step_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_step_type.py b/test/test_execution_step_type.py index 6e998f0f..f1be94bc 100644 --- a/test/test_execution_step_type.py +++ b/test/test_execution_step_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_execution_transfer_operation.py b/test/test_execution_transfer_operation.py index d99e9fd6..4c802c62 100644 --- a/test/test_execution_transfer_operation.py +++ b/test/test_execution_transfer_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_external_account.py b/test/test_external_account.py index 43257481..8a7997a4 100644 --- a/test/test_external_account.py +++ b/test/test_external_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,7 +37,8 @@ def make_instance(self, include_optional) -> ExternalAccount: model = ExternalAccount() if include_optional: return ExternalAccount( - type = 'EXTERNAL' + type = 'EXTERNAL', + sender_information = None ) else: return ExternalAccount( diff --git a/test/test_external_account_local_bank_africa.py b/test/test_external_account_local_bank_africa.py new file mode 100644 index 00000000..5be2e977 --- /dev/null +++ b/test/test_external_account_local_bank_africa.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_local_bank_africa import ( + ExternalAccountLocalBankAfrica, +) + + +class TestExternalAccountLocalBankAfrica(unittest.TestCase): + """ExternalAccountLocalBankAfrica unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExternalAccountLocalBankAfrica: + """Test ExternalAccountLocalBankAfrica + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ExternalAccountLocalBankAfrica` + """ + model = ExternalAccountLocalBankAfrica() + if include_optional: + return ExternalAccountLocalBankAfrica( + type = 'LOCAL_BANK_AFRICA_RAIL', + account_number = '1234567890123', + bank_name = '', + bank_code = '' + ) + else: + return ExternalAccountLocalBankAfrica( + type = 'LOCAL_BANK_AFRICA_RAIL', + account_number = '1234567890123', + bank_name = '', + bank_code = '', + ) + """ + + def testExternalAccountLocalBankAfrica(self): + """Test ExternalAccountLocalBankAfrica""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_local_bank_africa_type.py b/test/test_external_account_local_bank_africa_type.py new file mode 100644 index 00000000..d0aa5504 --- /dev/null +++ b/test/test_external_account_local_bank_africa_type.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_local_bank_africa_type import ( + ExternalAccountLocalBankAfricaType, +) + + +class TestExternalAccountLocalBankAfricaType(unittest.TestCase): + """ExternalAccountLocalBankAfricaType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExternalAccountLocalBankAfricaType(self): + """Test ExternalAccountLocalBankAfricaType""" + # inst = ExternalAccountLocalBankAfricaType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_mobile_money.py b/test/test_external_account_mobile_money.py new file mode 100644 index 00000000..d32500d7 --- /dev/null +++ b/test/test_external_account_mobile_money.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_mobile_money import ExternalAccountMobileMoney + + +class TestExternalAccountMobileMoney(unittest.TestCase): + """ExternalAccountMobileMoney unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExternalAccountMobileMoney: + """Test ExternalAccountMobileMoney + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ExternalAccountMobileMoney` + """ + model = ExternalAccountMobileMoney() + if include_optional: + return ExternalAccountMobileMoney( + type = 'MOBILE_MONEY_RAIL', + mobile_phone_number = '+14155551234', + provider = 'M_PESA', + email = '' + ) + else: + return ExternalAccountMobileMoney( + type = 'MOBILE_MONEY_RAIL', + mobile_phone_number = '+14155551234', + provider = 'M_PESA', + email = '', + ) + """ + + def testExternalAccountMobileMoney(self): + """Test ExternalAccountMobileMoney""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_mobile_money_provider.py b/test/test_external_account_mobile_money_provider.py new file mode 100644 index 00000000..2421cb71 --- /dev/null +++ b/test/test_external_account_mobile_money_provider.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_mobile_money_provider import ( + ExternalAccountMobileMoneyProvider, +) + + +class TestExternalAccountMobileMoneyProvider(unittest.TestCase): + """ExternalAccountMobileMoneyProvider unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExternalAccountMobileMoneyProvider(self): + """Test ExternalAccountMobileMoneyProvider""" + # inst = ExternalAccountMobileMoneyProvider() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_mobile_money_type.py b/test/test_external_account_mobile_money_type.py new file mode 100644 index 00000000..c4001236 --- /dev/null +++ b/test/test_external_account_mobile_money_type.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_mobile_money_type import ( + ExternalAccountMobileMoneyType, +) + + +class TestExternalAccountMobileMoneyType(unittest.TestCase): + """ExternalAccountMobileMoneyType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExternalAccountMobileMoneyType(self): + """Test ExternalAccountMobileMoneyType""" + # inst = ExternalAccountMobileMoneyType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_sender_information.py b/test/test_external_account_sender_information.py new file mode 100644 index 00000000..ed0c1a2d --- /dev/null +++ b/test/test_external_account_sender_information.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_sender_information import ( + ExternalAccountSenderInformation, +) + + +class TestExternalAccountSenderInformation(unittest.TestCase): + """ExternalAccountSenderInformation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExternalAccountSenderInformation: + """Test ExternalAccountSenderInformation + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `ExternalAccountSenderInformation` + """ + model = ExternalAccountSenderInformation() + if include_optional: + return ExternalAccountSenderInformation( + type = 'LOCAL_BANK_AFRICA_RAIL', + mobile_phone_number = '+14155551234', + provider = 'M_PESA', + email = '', + account_number = '1234567890123', + bank_name = '', + bank_code = '' + ) + else: + return ExternalAccountSenderInformation( + type = 'LOCAL_BANK_AFRICA_RAIL', + mobile_phone_number = '+14155551234', + provider = 'M_PESA', + email = '', + account_number = '1234567890123', + bank_name = '', + bank_code = '', + ) + """ + + def testExternalAccountSenderInformation(self): + """Test ExternalAccountSenderInformation""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_account_type.py b/test/test_external_account_type.py new file mode 100644 index 00000000..33f0d3b7 --- /dev/null +++ b/test/test_external_account_type.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.external_account_type import ExternalAccountType + + +class TestExternalAccountType(unittest.TestCase): + """ExternalAccountType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testExternalAccountType(self): + """Test ExternalAccountType""" + # inst = ExternalAccountType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_external_wallet_asset.py b/test/test_external_wallet_asset.py index fed816fd..a4950061 100644 --- a/test/test_external_wallet_asset.py +++ b/test/test_external_wallet_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_external_wallets_api.py b/test/test_external_wallets_api.py index a91dad83..59f78a6f 100644 --- a/test/test_external_wallets_api.py +++ b/test/test_external_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_failure.py b/test/test_failure.py new file mode 100644 index 00000000..b829a20e --- /dev/null +++ b/test/test_failure.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.failure import Failure + + +class TestFailure(unittest.TestCase): + """Failure unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Failure: + """Test Failure + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `Failure` + """ + model = Failure() + if include_optional: + return Failure( + reason = 'INSUFFICIENT_FUNDS' + ) + else: + return Failure( + reason = 'INSUFFICIENT_FUNDS', + ) + """ + + def testFailure(self): + """Test Failure""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_failure_reason.py b/test/test_failure_reason.py new file mode 100644 index 00000000..2e4b0c85 --- /dev/null +++ b/test/test_failure_reason.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.failure_reason import FailureReason + + +class TestFailureReason(unittest.TestCase): + """FailureReason unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFailureReason(self): + """Test FailureReason""" + # inst = FailureReason() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_fee.py b/test/test_fee.py index b41e441e..e9daffec 100644 --- a/test/test_fee.py +++ b/test/test_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_breakdown.py b/test/test_fee_breakdown.py index 30c6fc04..b042d4b3 100644 --- a/test/test_fee_breakdown.py +++ b/test/test_fee_breakdown.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_breakdown_one_of.py b/test/test_fee_breakdown_one_of.py index 3ef74957..b34e3ff4 100644 --- a/test/test_fee_breakdown_one_of.py +++ b/test/test_fee_breakdown_one_of.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_breakdown_one_of1.py b/test/test_fee_breakdown_one_of1.py index 428236fa..284daeda 100644 --- a/test/test_fee_breakdown_one_of1.py +++ b/test/test_fee_breakdown_one_of1.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_info.py b/test/test_fee_info.py index b4e2d3d8..11600c1e 100644 --- a/test/test_fee_info.py +++ b/test/test_fee_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_level.py b/test/test_fee_level.py index 35320300..64b3f3c8 100644 --- a/test/test_fee_level.py +++ b/test/test_fee_level.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_payer_info.py b/test/test_fee_payer_info.py index de117735..3f50ff4a 100644 --- a/test/test_fee_payer_info.py +++ b/test/test_fee_payer_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fee_properties_details.py b/test/test_fee_properties_details.py index 3b97c844..905017e6 100644 --- a/test/test_fee_properties_details.py +++ b/test/test_fee_properties_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -38,14 +38,12 @@ def make_instance(self, include_optional) -> FeePropertiesDetails: if include_optional: return FeePropertiesDetails( fee_type = 'ORDER', - asset_id = '', - amount_type = 'FIXED' + asset_id = '' ) else: return FeePropertiesDetails( fee_type = 'ORDER', asset_id = '', - amount_type = 'FIXED', ) """ diff --git a/test/test_fee_type_enum.py b/test/test_fee_type_enum.py new file mode 100644 index 00000000..741cd88f --- /dev/null +++ b/test/test_fee_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.fee_type_enum import FeeTypeEnum + + +class TestFeeTypeEnum(unittest.TestCase): + """FeeTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFeeTypeEnum(self): + """Test FeeTypeEnum""" + # inst = FeeTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_fetch_abi_request_dto.py b/test/test_fetch_abi_request_dto.py index 3404d997..3e5e7a52 100644 --- a/test/test_fetch_abi_request_dto.py +++ b/test/test_fetch_abi_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fiat_account.py b/test/test_fiat_account.py index 6c5861ea..0557c12f 100644 --- a/test/test_fiat_account.py +++ b/test/test_fiat_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fiat_account_type.py b/test/test_fiat_account_type.py index ec5134d6..6e44213d 100644 --- a/test/test_fiat_account_type.py +++ b/test/test_fiat_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fiat_accounts_api.py b/test/test_fiat_accounts_api.py index c8704431..37eb514d 100644 --- a/test/test_fiat_accounts_api.py +++ b/test/test_fiat_accounts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fiat_asset.py b/test/test_fiat_asset.py index ae598a35..908db4a0 100644 --- a/test/test_fiat_asset.py +++ b/test/test_fiat_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fiat_destination.py b/test/test_fiat_destination.py index ba091555..b3508e01 100644 --- a/test/test_fiat_destination.py +++ b/test/test_fiat_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -38,12 +38,28 @@ def make_instance(self, include_optional) -> FiatDestination: if include_optional: return FiatDestination( type = 'IBAN', - address = {"accountHolder":{"name":"Grace Wanjiku Kamau","city":"Nairobi","country":"KE","subdivision":"NRB","address":"Westlands Avenue 45","postalCode":"00100"},"mobilePhoneNumber":"+254712345678","provider":"m-pesa","beneficiaryDocumentId":"12345678","beneficiaryRelationship":"self"} + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ) ) else: return FiatDestination( type = 'IBAN', - address = {"accountHolder":{"name":"Grace Wanjiku Kamau","city":"Nairobi","country":"KE","subdivision":"NRB","address":"Westlands Avenue 45","postalCode":"00100"},"mobilePhoneNumber":"+254712345678","provider":"m-pesa","beneficiaryDocumentId":"12345678","beneficiaryRelationship":"self"}, + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), ) """ diff --git a/test/test_fiat_payment_metadata.py b/test/test_fiat_payment_metadata.py new file mode 100644 index 00000000..2bc3fc46 --- /dev/null +++ b/test/test_fiat_payment_metadata.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.fiat_payment_metadata import FiatPaymentMetadata + + +class TestFiatPaymentMetadata(unittest.TestCase): + """FiatPaymentMetadata unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FiatPaymentMetadata: + """Test FiatPaymentMetadata + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `FiatPaymentMetadata` + """ + model = FiatPaymentMetadata() + if include_optional: + return FiatPaymentMetadata( + reference_id = '' + ) + else: + return FiatPaymentMetadata( + ) + """ + + def testFiatPaymentMetadata(self): + """Test FiatPaymentMetadata""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_fiat_transfer.py b/test/test_fiat_transfer.py index e6100356..f5b5e0e6 100644 --- a/test/test_fiat_transfer.py +++ b/test/test_fiat_transfer.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_fixed_amount_type_enum.py b/test/test_fixed_amount_type_enum.py new file mode 100644 index 00000000..2d8e9d34 --- /dev/null +++ b/test/test_fixed_amount_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.fixed_amount_type_enum import FixedAmountTypeEnum + + +class TestFixedAmountTypeEnum(unittest.TestCase): + """FixedAmountTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testFixedAmountTypeEnum(self): + """Test FixedAmountTypeEnum""" + # inst = FixedAmountTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_fixed_fee.py b/test/test_fixed_fee.py index 81515309..5470ef10 100644 --- a/test/test_fixed_fee.py +++ b/test/test_fixed_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_freeze_transaction_response.py b/test/test_freeze_transaction_response.py index db196745..bf7f80bd 100644 --- a/test/test_freeze_transaction_response.py +++ b/test/test_freeze_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_function_doc.py b/test/test_function_doc.py index f6c7a59b..7cf5ccee 100644 --- a/test/test_function_doc.py +++ b/test/test_function_doc.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_funds.py b/test/test_funds.py index a3cbb9d9..18324313 100644 --- a/test/test_funds.py +++ b/test/test_funds.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gas_station_configuration.py b/test/test_gas_station_configuration.py index 19be2cd6..c22b713e 100644 --- a/test/test_gas_station_configuration.py +++ b/test/test_gas_station_configuration.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gas_station_configuration_response.py b/test/test_gas_station_configuration_response.py index 2e0db02b..2ce2cdee 100644 --- a/test/test_gas_station_configuration_response.py +++ b/test/test_gas_station_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gas_station_properties_response.py b/test/test_gas_station_properties_response.py index baa61452..d6020539 100644 --- a/test/test_gas_station_properties_response.py +++ b/test/test_gas_station_properties_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gas_stations_api.py b/test/test_gas_stations_api.py index ca3e84bf..ee3539a8 100644 --- a/test/test_gas_stations_api.py +++ b/test/test_gas_stations_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gassless_standard_configurations.py b/test/test_gassless_standard_configurations.py index 985f988d..7fdbe380 100644 --- a/test/test_gassless_standard_configurations.py +++ b/test/test_gassless_standard_configurations.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_gassless_standard_configurations_gasless_standard_configurations_value.py b/test/test_gassless_standard_configurations_gasless_standard_configurations_value.py index 11cb8d85..e91e2ccd 100644 --- a/test/test_gassless_standard_configurations_gasless_standard_configurations_value.py +++ b/test/test_gassless_standard_configurations_gasless_standard_configurations_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_api_users_response.py b/test/test_get_api_users_response.py index 54ec4cea..2d195bc6 100644 --- a/test/test_get_api_users_response.py +++ b/test/test_get_api_users_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_audit_logs_response.py b/test/test_get_audit_logs_response.py index b6f7336f..9443b0d4 100644 --- a/test/test_get_audit_logs_response.py +++ b/test/test_get_audit_logs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_connections_response.py b/test/test_get_connections_response.py index 1e958823..3cfd2ae3 100644 --- a/test/test_get_connections_response.py +++ b/test/test_get_connections_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_console_users_response.py b/test/test_get_console_users_response.py index 51d75ba8..05134de5 100644 --- a/test/test_get_console_users_response.py +++ b/test/test_get_console_users_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_deployable_address_request.py b/test/test_get_deployable_address_request.py index 3acfad1b..01c4029b 100644 --- a/test/test_get_deployable_address_request.py +++ b/test/test_get_deployable_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_exchange_accounts_credentials_public_key_response.py b/test/test_get_exchange_accounts_credentials_public_key_response.py index 7bdce026..d8df519d 100644 --- a/test/test_get_exchange_accounts_credentials_public_key_response.py +++ b/test/test_get_exchange_accounts_credentials_public_key_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_filter_parameter.py b/test/test_get_filter_parameter.py index 7f180c62..30ab9d8b 100644 --- a/test/test_get_filter_parameter.py +++ b/test/test_get_filter_parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_layer_zero_dvn_config_response.py b/test/test_get_layer_zero_dvn_config_response.py index 3a1076cb..6b9f082e 100644 --- a/test/test_get_layer_zero_dvn_config_response.py +++ b/test/test_get_layer_zero_dvn_config_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_layer_zero_peers_response.py b/test/test_get_layer_zero_peers_response.py index 7b75465e..be0f6bcb 100644 --- a/test/test_get_layer_zero_peers_response.py +++ b/test/test_get_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_linked_collections_paginated_response.py b/test/test_get_linked_collections_paginated_response.py index 19f75316..d70d74e3 100644 --- a/test/test_get_linked_collections_paginated_response.py +++ b/test/test_get_linked_collections_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_max_bip_index_used_response.py b/test/test_get_max_bip_index_used_response.py new file mode 100644 index 00000000..bc7ac215 --- /dev/null +++ b/test/test_get_max_bip_index_used_response.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.get_max_bip_index_used_response import GetMaxBipIndexUsedResponse + + +class TestGetMaxBipIndexUsedResponse(unittest.TestCase): + """GetMaxBipIndexUsedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetMaxBipIndexUsedResponse: + """Test GetMaxBipIndexUsedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `GetMaxBipIndexUsedResponse` + """ + model = GetMaxBipIndexUsedResponse() + if include_optional: + return GetMaxBipIndexUsedResponse( + max_bip44_address_index_used = 42, + max_bip44_change_address_index_used = 50 + ) + else: + return GetMaxBipIndexUsedResponse( + ) + """ + + def testGetMaxBipIndexUsedResponse(self): + """Test GetMaxBipIndexUsedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_get_max_spendable_amount_response.py b/test/test_get_max_spendable_amount_response.py index 5f922aa4..cf10467b 100644 --- a/test/test_get_max_spendable_amount_response.py +++ b/test/test_get_max_spendable_amount_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_mpc_keys_response.py b/test/test_get_mpc_keys_response.py index 557d7261..f81b0b86 100644 --- a/test/test_get_mpc_keys_response.py +++ b/test/test_get_mpc_keys_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_nfts_response.py b/test/test_get_nfts_response.py index eecc858b..abc4651f 100644 --- a/test/test_get_nfts_response.py +++ b/test/test_get_nfts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_orders_response.py b/test/test_get_orders_response.py index ae656bda..9e09fb24 100644 --- a/test/test_get_orders_response.py +++ b/test/test_get_orders_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ota_status_response.py b/test/test_get_ota_status_response.py index 0d644cc3..5142734d 100644 --- a/test/test_get_ota_status_response.py +++ b/test/test_get_ota_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_ownership_tokens_response.py b/test/test_get_ownership_tokens_response.py index 54745678..44490381 100644 --- a/test/test_get_ownership_tokens_response.py +++ b/test/test_get_ownership_tokens_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_paged_exchange_accounts_response.py b/test/test_get_paged_exchange_accounts_response.py index ce10e291..4406cfe5 100644 --- a/test/test_get_paged_exchange_accounts_response.py +++ b/test/test_get_paged_exchange_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_paged_exchange_accounts_response_paging.py b/test/test_get_paged_exchange_accounts_response_paging.py index d336be70..20be9b37 100644 --- a/test/test_get_paged_exchange_accounts_response_paging.py +++ b/test/test_get_paged_exchange_accounts_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_signing_key_response_dto.py b/test/test_get_signing_key_response_dto.py index c36c99b5..a59956f7 100644 --- a/test/test_get_signing_key_response_dto.py +++ b/test/test_get_signing_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_transaction_operation.py b/test/test_get_transaction_operation.py index 96b4318a..1e752749 100644 --- a/test/test_get_transaction_operation.py +++ b/test/test_get_transaction_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_validation_key_response_dto.py b/test/test_get_validation_key_response_dto.py index 4a6772ab..676fc174 100644 --- a/test/test_get_validation_key_response_dto.py +++ b/test/test_get_validation_key_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_whitelist_ip_addresses_response.py b/test/test_get_whitelist_ip_addresses_response.py index 1f660ed8..ce40fdb7 100644 --- a/test/test_get_whitelist_ip_addresses_response.py +++ b/test/test_get_whitelist_ip_addresses_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_get_workspace_status_response.py b/test/test_get_workspace_status_response.py index 3f3b2177..2514fa27 100644 --- a/test/test_get_workspace_status_response.py +++ b/test/test_get_workspace_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_http_contract_does_not_exist_error.py b/test/test_http_contract_does_not_exist_error.py index 9c92a5c6..a4e850ef 100644 --- a/test/test_http_contract_does_not_exist_error.py +++ b/test/test_http_contract_does_not_exist_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_iban_address.py b/test/test_iban_address.py index 9ada261c..c6c60e75 100644 --- a/test/test_iban_address.py +++ b/test/test_iban_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_iban_destination.py b/test/test_iban_destination.py index 18b1b21f..91431b97 100644 --- a/test/test_iban_destination.py +++ b/test/test_iban_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_iban_payment_info.py b/test/test_iban_payment_info.py index 2d9f5a93..fb1ee061 100644 --- a/test/test_iban_payment_info.py +++ b/test/test_iban_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_identification.py b/test/test_identification.py index 664478b5..a62f7144 100644 --- a/test/test_identification.py +++ b/test/test_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -45,6 +45,8 @@ def make_instance(self, include_optional) -> Identification: last_name = '', ), date_of_birth = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), postal_address = {"streetName":"Fifth Avenue","buildingNumber":"350","postalCode":"10118","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}, + email = '', + phone = '+14155551234', business_name = '', registration_number = '' ) diff --git a/test/test_idl_type.py b/test/test_idl_type.py index d18a5445..d22745de 100644 --- a/test/test_idl_type.py +++ b/test/test_idl_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_indicative_quote_enum.py b/test/test_indicative_quote_enum.py new file mode 100644 index 00000000..73bd207d --- /dev/null +++ b/test/test_indicative_quote_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.indicative_quote_enum import IndicativeQuoteEnum + + +class TestIndicativeQuoteEnum(unittest.TestCase): + """IndicativeQuoteEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIndicativeQuoteEnum(self): + """Test IndicativeQuoteEnum""" + # inst = IndicativeQuoteEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_indicative_quote_type.py b/test/test_indicative_quote_type.py index b241924c..a8c96f13 100644 --- a/test/test_indicative_quote_type.py +++ b/test/test_indicative_quote_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_initiator_config.py b/test/test_initiator_config.py index a5c2347d..abe96840 100644 --- a/test/test_initiator_config.py +++ b/test/test_initiator_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_initiator_config_pattern.py b/test/test_initiator_config_pattern.py index abe25bf2..3d3c55fb 100644 --- a/test/test_initiator_config_pattern.py +++ b/test/test_initiator_config_pattern.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_instruction_amount.py b/test/test_instruction_amount.py index 7615d3cc..8f638246 100644 --- a/test/test_instruction_amount.py +++ b/test/test_instruction_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_internal_reference.py b/test/test_internal_reference.py index 9c9a5044..41f5445f 100644 --- a/test/test_internal_reference.py +++ b/test/test_internal_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_internal_transfer_response.py b/test/test_internal_transfer_response.py index 8b9e9444..379b1be0 100644 --- a/test/test_internal_transfer_response.py +++ b/test/test_internal_transfer_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_internal_wallets_api.py b/test/test_internal_wallets_api.py index fabc6f27..fbe0cba8 100644 --- a/test/test_internal_wallets_api.py +++ b/test/test_internal_wallets_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -58,7 +58,7 @@ def test_delete_internal_wallet_asset(self) -> None: def test_get_internal_wallet(self) -> None: """Test case for get_internal_wallet - Get an asset from an internal wallet + Get assets for internal wallet """ pass @@ -86,7 +86,7 @@ def test_get_internal_wallets(self) -> None: def test_set_customer_ref_id_for_internal_wallet(self) -> None: """Test case for set_customer_ref_id_for_internal_wallet - Set an AML/KYT customer reference ID for an internal wallet + Set an AML/KYT customer reference ID for internal wallet """ pass diff --git a/test/test_invalid_paramater_value_error.py b/test/test_invalid_paramater_value_error.py index 165ed161..9c320e55 100644 --- a/test/test_invalid_paramater_value_error.py +++ b/test/test_invalid_paramater_value_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_job.py b/test/test_job.py deleted file mode 100644 index c613c520..00000000 --- a/test/test_job.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.job import Job - - -class TestJob(unittest.TestCase): - """Job unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Job: - """Test Job - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `Job` - """ - model = Job() - if include_optional: - return Job( - id = '', - tenant_id = '', - type = '', - user_id = '', - created = 1.337, - updated = 1.337, - state = '', - tasks = [ - fireblocks.models.task.Task( - id = '', - job_id = '', - type = '', - tenant_id = '', - created = 1.337, - updated = 1.337, - state = '', ) - ] - ) - else: - return Job( - ) - """ - - def testJob(self): - """Test Job""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_job_created.py b/test/test_job_created.py index 5003fd39..76fd92df 100644 --- a/test/test_job_created.py +++ b/test/test_job_created.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_job_management_api.py b/test/test_job_management_api.py deleted file mode 100644 index bf765383..00000000 --- a/test/test_job_management_api.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.api.job_management_api import JobManagementApi - - -class TestJobManagementApi(unittest.TestCase): - """JobManagementApi unit test stubs""" - - def setUp(self) -> None: - self.api = JobManagementApi() - - def tearDown(self) -> None: - pass - - def test_cancel_job(self) -> None: - """Test case for cancel_job - - Cancel a running job - """ - pass - - def test_continue_job(self) -> None: - """Test case for continue_job - - Continue a paused job - """ - pass - - def test_get_job(self) -> None: - """Test case for get_job - - Get job details - """ - pass - - def test_get_job_tasks(self) -> None: - """Test case for get_job_tasks - - Return a list of tasks for given job - """ - pass - - def test_get_jobs(self) -> None: - """Test case for get_jobs - - Return a list of jobs belonging to tenant - """ - pass - - def test_pause_job(self) -> None: - """Test case for pause_job - - Pause a job - """ - pass - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_key_link_beta_api.py b/test/test_key_link_beta_api.py index 9b39ca0f..593caf8e 100644 --- a/test/test_key_link_beta_api.py +++ b/test/test_key_link_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -79,14 +79,14 @@ def test_get_validation_keys_list(self) -> None: def test_set_agent_id(self) -> None: """Test case for set_agent_id - Set agent user id that can sign with the signing key identified by the Fireblocks provided `keyId` + Set agent user id """ pass def test_update_signing_key(self) -> None: """Test case for update_signing_key - Modify the signing by Fireblocks provided `keyId` + Modify the signing keyId """ pass diff --git a/test/test_keys_beta_api.py b/test/test_keys_beta_api.py index 1a705094..5e0d3d44 100644 --- a/test/test_keys_beta_api.py +++ b/test/test_keys_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_layer_zero_adapter_create_params.py b/test/test_layer_zero_adapter_create_params.py index ca3ea191..69666f8c 100644 --- a/test/test_layer_zero_adapter_create_params.py +++ b/test/test_layer_zero_adapter_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_lbt_payment_info.py b/test/test_lbt_payment_info.py index c730d1fb..f36ea80b 100644 --- a/test/test_lbt_payment_info.py +++ b/test/test_lbt_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_lean_abi_function.py b/test/test_lean_abi_function.py index 99685db5..6fcf4238 100644 --- a/test/test_lean_abi_function.py +++ b/test/test_lean_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_lean_contract_dto.py b/test/test_lean_contract_dto.py index 271013ac..8a7a7b37 100644 --- a/test/test_lean_contract_dto.py +++ b/test/test_lean_contract_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_lean_deployed_contract_response_dto.py b/test/test_lean_deployed_contract_response_dto.py index a611aa80..ef14e729 100644 --- a/test/test_lean_deployed_contract_response_dto.py +++ b/test/test_lean_deployed_contract_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_amount_aggregation_time_period_method.py b/test/test_legacy_amount_aggregation_time_period_method.py index 642f09bb..ff65adef 100644 --- a/test/test_legacy_amount_aggregation_time_period_method.py +++ b/test/test_legacy_amount_aggregation_time_period_method.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_draft_response.py b/test/test_legacy_draft_response.py index 757815b8..44c37e10 100644 --- a/test/test_legacy_draft_response.py +++ b/test/test_legacy_draft_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_draft_review_and_validation_response.py b/test/test_legacy_draft_review_and_validation_response.py index ba3109ec..402b3994 100644 --- a/test/test_legacy_draft_review_and_validation_response.py +++ b/test/test_legacy_draft_review_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_and_validation_response.py b/test/test_legacy_policy_and_validation_response.py index 151f9d4b..3d611f67 100644 --- a/test/test_legacy_policy_and_validation_response.py +++ b/test/test_legacy_policy_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_check_result.py b/test/test_legacy_policy_check_result.py index c01f48d2..fc175568 100644 --- a/test/test_legacy_policy_check_result.py +++ b/test/test_legacy_policy_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_metadata.py b/test/test_legacy_policy_metadata.py index 6e17ff7f..464f91a0 100644 --- a/test/test_legacy_policy_metadata.py +++ b/test/test_legacy_policy_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_response.py b/test/test_legacy_policy_response.py index 642e3cba..29d339f9 100644 --- a/test/test_legacy_policy_response.py +++ b/test/test_legacy_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule.py b/test/test_legacy_policy_rule.py index 3703794a..a10e5a0b 100644 --- a/test/test_legacy_policy_rule.py +++ b/test/test_legacy_policy_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_amount.py b/test/test_legacy_policy_rule_amount.py index d489cc32..dd0f0c1b 100644 --- a/test/test_legacy_policy_rule_amount.py +++ b/test/test_legacy_policy_rule_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_amount_aggregation.py b/test/test_legacy_policy_rule_amount_aggregation.py index 2aa98861..1ec64039 100644 --- a/test/test_legacy_policy_rule_amount_aggregation.py +++ b/test/test_legacy_policy_rule_amount_aggregation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_authorization_groups.py b/test/test_legacy_policy_rule_authorization_groups.py index f2e58398..d18c3861 100644 --- a/test/test_legacy_policy_rule_authorization_groups.py +++ b/test/test_legacy_policy_rule_authorization_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_authorization_groups_groups_inner.py b/test/test_legacy_policy_rule_authorization_groups_groups_inner.py index cb1bf6b2..14056dff 100644 --- a/test/test_legacy_policy_rule_authorization_groups_groups_inner.py +++ b/test/test_legacy_policy_rule_authorization_groups_groups_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_check_result.py b/test/test_legacy_policy_rule_check_result.py index 719432d6..f6de4030 100644 --- a/test/test_legacy_policy_rule_check_result.py +++ b/test/test_legacy_policy_rule_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_designated_signers.py b/test/test_legacy_policy_rule_designated_signers.py index 7be394db..f31ac208 100644 --- a/test/test_legacy_policy_rule_designated_signers.py +++ b/test/test_legacy_policy_rule_designated_signers.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_dst.py b/test/test_legacy_policy_rule_dst.py index 4414a8e6..a9295032 100644 --- a/test/test_legacy_policy_rule_dst.py +++ b/test/test_legacy_policy_rule_dst.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_error.py b/test/test_legacy_policy_rule_error.py index 11cb4884..8af67f62 100644 --- a/test/test_legacy_policy_rule_error.py +++ b/test/test_legacy_policy_rule_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_operators.py b/test/test_legacy_policy_rule_operators.py index d869ef77..d89fd72c 100644 --- a/test/test_legacy_policy_rule_operators.py +++ b/test/test_legacy_policy_rule_operators.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_raw_message_signing.py b/test/test_legacy_policy_rule_raw_message_signing.py index 192b7f66..2c415844 100644 --- a/test/test_legacy_policy_rule_raw_message_signing.py +++ b/test/test_legacy_policy_rule_raw_message_signing.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_raw_message_signing_derivation_path.py b/test/test_legacy_policy_rule_raw_message_signing_derivation_path.py index ba57d2b9..cb2123ef 100644 --- a/test/test_legacy_policy_rule_raw_message_signing_derivation_path.py +++ b/test/test_legacy_policy_rule_raw_message_signing_derivation_path.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rule_src.py b/test/test_legacy_policy_rule_src.py index 6ca842c0..0bc0f0a3 100644 --- a/test/test_legacy_policy_rule_src.py +++ b/test/test_legacy_policy_rule_src.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_rules.py b/test/test_legacy_policy_rules.py index e5a28d06..8a568793 100644 --- a/test/test_legacy_policy_rules.py +++ b/test/test_legacy_policy_rules.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_src_or_dest_sub_type.py b/test/test_legacy_policy_src_or_dest_sub_type.py index 0692fd79..93ee9535 100644 --- a/test/test_legacy_policy_src_or_dest_sub_type.py +++ b/test/test_legacy_policy_src_or_dest_sub_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_src_or_dest_type.py b/test/test_legacy_policy_src_or_dest_type.py index 369a5467..bdb1903b 100644 --- a/test/test_legacy_policy_src_or_dest_type.py +++ b/test/test_legacy_policy_src_or_dest_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_status.py b/test/test_legacy_policy_status.py index 6a5e2c91..8423722b 100644 --- a/test/test_legacy_policy_status.py +++ b/test/test_legacy_policy_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_policy_validation.py b/test/test_legacy_policy_validation.py index ab717f15..787eae11 100644 --- a/test/test_legacy_policy_validation.py +++ b/test/test_legacy_policy_validation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_publish_draft_request.py b/test/test_legacy_publish_draft_request.py index cd11b2a8..3efc2b90 100644 --- a/test/test_legacy_publish_draft_request.py +++ b/test/test_legacy_publish_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_publish_result.py b/test/test_legacy_publish_result.py index 170901c8..d5ce1e8d 100644 --- a/test/test_legacy_publish_result.py +++ b/test/test_legacy_publish_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_legacy_src_or_dest_attributes_inner.py b/test/test_legacy_src_or_dest_attributes_inner.py index 77d67cbb..fa6a2f50 100644 --- a/test/test_legacy_src_or_dest_attributes_inner.py +++ b/test/test_legacy_src_or_dest_attributes_inner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_limit_execution_request_details.py b/test/test_limit_execution_request_details.py deleted file mode 100644 index e22667e2..00000000 --- a/test/test_limit_execution_request_details.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.limit_execution_request_details import ( - LimitExecutionRequestDetails, -) - - -class TestLimitExecutionRequestDetails(unittest.TestCase): - """LimitExecutionRequestDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LimitExecutionRequestDetails: - """Test LimitExecutionRequestDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `LimitExecutionRequestDetails` - """ - model = LimitExecutionRequestDetails() - if include_optional: - return LimitExecutionRequestDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - base_asset_rail = 'BLOCKCHAIN', - quote_asset_id = '', - quote_asset_rail = 'BLOCKCHAIN' - ) - else: - return LimitExecutionRequestDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - quote_asset_id = '', - ) - """ - - def testLimitExecutionRequestDetails(self): - """Test LimitExecutionRequestDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_limit_execution_response_details.py b/test/test_limit_execution_response_details.py deleted file mode 100644 index 6bfc3bd9..00000000 --- a/test/test_limit_execution_response_details.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.limit_execution_response_details import ( - LimitExecutionResponseDetails, -) - - -class TestLimitExecutionResponseDetails(unittest.TestCase): - """LimitExecutionResponseDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LimitExecutionResponseDetails: - """Test LimitExecutionResponseDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `LimitExecutionResponseDetails` - """ - model = LimitExecutionResponseDetails() - if include_optional: - return LimitExecutionResponseDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - base_asset_rail = 'BLOCKCHAIN', - quote_asset_id = '', - quote_asset_rail = 'BLOCKCHAIN' - ) - else: - return LimitExecutionResponseDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - quote_asset_id = '', - ) - """ - - def testLimitExecutionResponseDetails(self): - """Test LimitExecutionResponseDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_limit_type_details.py b/test/test_limit_type_details.py deleted file mode 100644 index a1e3b300..00000000 --- a/test/test_limit_type_details.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.limit_type_details import LimitTypeDetails - - -class TestLimitTypeDetails(unittest.TestCase): - """LimitTypeDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> LimitTypeDetails: - """Test LimitTypeDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `LimitTypeDetails` - """ - model = LimitTypeDetails() - if include_optional: - return LimitTypeDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '' - ) - else: - return LimitTypeDetails( - type = 'LIMIT', - time_in_force = 'FOK', - limit_price = '', - ) - """ - - def testLimitTypeDetails(self): - """Test LimitTypeDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_linked_tokens_count.py b/test/test_linked_tokens_count.py new file mode 100644 index 00000000..53c21f86 --- /dev/null +++ b/test/test_linked_tokens_count.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.linked_tokens_count import LinkedTokensCount + + +class TestLinkedTokensCount(unittest.TestCase): + """LinkedTokensCount unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LinkedTokensCount: + """Test LinkedTokensCount + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `LinkedTokensCount` + """ + model = LinkedTokensCount() + if include_optional: + return LinkedTokensCount( + count = 42 + ) + else: + return LinkedTokensCount( + count = 42, + ) + """ + + def testLinkedTokensCount(self): + """Test LinkedTokensCount""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_list_assets_response.py b/test/test_list_assets_response.py index b4608c78..8e709c5e 100644 --- a/test/test_list_assets_response.py +++ b/test/test_list_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -44,7 +44,13 @@ def make_instance(self, include_optional) -> ListAssetsResponse: blockchain_id = 'e85208ff-3b15-44e9-af14-0ed0280b2a15', display_name = 'Tether USD', display_symbol = 'USDT', + provider_id = 'SOME_PROVIDER_ID', + pegged_asset_id = '6ef19b84-2144-4d38-8056-d423199bce5e', + assets = [ + '6ef19b84-2144-4d38-8056-d423199bce5e' + ], asset_class = 'FT', + decimals = 2, onchain = fireblocks.models.asset_details_onchain.AssetDetailsOnchain( symbol = 'USDT', name = 'Tether USD', @@ -84,7 +90,13 @@ def make_instance(self, include_optional) -> ListAssetsResponse: blockchain_id = 'e85208ff-3b15-44e9-af14-0ed0280b2a15', display_name = 'Tether USD', display_symbol = 'USDT', + provider_id = 'SOME_PROVIDER_ID', + pegged_asset_id = '6ef19b84-2144-4d38-8056-d423199bce5e', + assets = [ + '6ef19b84-2144-4d38-8056-d423199bce5e' + ], asset_class = 'FT', + decimals = 2, onchain = fireblocks.models.asset_details_onchain.AssetDetailsOnchain( symbol = 'USDT', name = 'Tether USD', diff --git a/test/test_list_blockchains_response.py b/test/test_list_blockchains_response.py index 9be3d097..14a990ea 100644 --- a/test/test_list_blockchains_response.py +++ b/test/test_list_blockchains_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_owned_collections_response.py b/test/test_list_owned_collections_response.py index 70918b1b..7455517c 100644 --- a/test/test_list_owned_collections_response.py +++ b/test/test_list_owned_collections_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_list_owned_tokens_response.py b/test/test_list_owned_tokens_response.py index c006a027..6a0ac688 100644 --- a/test/test_list_owned_tokens_response.py +++ b/test/test_list_owned_tokens_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_local_bank_transfer_africa_address.py b/test/test_local_bank_transfer_africa_address.py index 490ffc30..d552c347 100644 --- a/test/test_local_bank_transfer_africa_address.py +++ b/test/test_local_bank_transfer_africa_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_local_bank_transfer_africa_destination.py b/test/test_local_bank_transfer_africa_destination.py index 4368ee1a..5b93c2ce 100644 --- a/test/test_local_bank_transfer_africa_destination.py +++ b/test/test_local_bank_transfer_africa_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -39,12 +39,12 @@ def make_instance(self, include_optional) -> LocalBankTransferAfricaDestination: model = LocalBankTransferAfricaDestination() if include_optional: return LocalBankTransferAfricaDestination( - type = 'LOCAL_BANK_TRANSFER_AFRICA', + type = 'LOCAL_BANK_TRANSFER', address = {"accountHolder":{"name":"Adaora Okafor","city":"Lagos","country":"NG","subdivision":"LA","address":"15 Victoria Island Road","postalCode":"101001"},"accountNumber":"1234567890123","bankName":"First Bank of Nigeria","bankCode":"011"} ) else: return LocalBankTransferAfricaDestination( - type = 'LOCAL_BANK_TRANSFER_AFRICA', + type = 'LOCAL_BANK_TRANSFER', address = {"accountHolder":{"name":"Adaora Okafor","city":"Lagos","country":"NG","subdivision":"LA","address":"15 Victoria Island Road","postalCode":"101001"},"accountNumber":"1234567890123","bankName":"First Bank of Nigeria","bankCode":"011"}, ) """ diff --git a/test/test_manifest.py b/test/test_manifest.py index 3aaf2c3d..41d99281 100644 --- a/test/test_manifest.py +++ b/test/test_manifest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_market_execution_request_details.py b/test/test_market_execution_request_details.py index bc024fc6..5651e4cd 100644 --- a/test/test_market_execution_request_details.py +++ b/test/test_market_execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_market_execution_response_details.py b/test/test_market_execution_response_details.py index 7c0cd063..b7062979 100644 --- a/test/test_market_execution_response_details.py +++ b/test/test_market_execution_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_market_requote_request_details.py b/test/test_market_requote_request_details.py index 459ecae0..2afb01bf 100644 --- a/test/test_market_requote_request_details.py +++ b/test/test_market_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_market_requote_type_enum.py b/test/test_market_requote_type_enum.py new file mode 100644 index 00000000..b67fd567 --- /dev/null +++ b/test/test_market_requote_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.market_requote_type_enum import MarketRequoteTypeEnum + + +class TestMarketRequoteTypeEnum(unittest.TestCase): + """MarketRequoteTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMarketRequoteTypeEnum(self): + """Test MarketRequoteTypeEnum""" + # inst = MarketRequoteTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_market_type_details.py b/test/test_market_type_details.py index 4337ce83..3948e9cc 100644 --- a/test/test_market_type_details.py +++ b/test/test_market_type_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_market_type_enum.py b/test/test_market_type_enum.py new file mode 100644 index 00000000..b468972d --- /dev/null +++ b/test/test_market_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.market_type_enum import MarketTypeEnum + + +class TestMarketTypeEnum(unittest.TestCase): + """MarketTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testMarketTypeEnum(self): + """Test MarketTypeEnum""" + # inst = MarketTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_media_entity_response.py b/test/test_media_entity_response.py index 3766be0b..5deee2ee 100644 --- a/test/test_media_entity_response.py +++ b/test/test_media_entity_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_merge_stake_accounts_request.py b/test/test_merge_stake_accounts_request.py index 64f99352..abcd41d2 100644 --- a/test/test_merge_stake_accounts_request.py +++ b/test/test_merge_stake_accounts_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,15 +37,15 @@ def make_instance(self, include_optional) -> MergeStakeAccountsRequest: model = MergeStakeAccountsRequest() if include_optional: return MergeStakeAccountsRequest( - source_id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + source_id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', destination_id = '', fee = '7', fee_level = 'MEDIUM', - tx_note = 'split 20 SOL out of 100 SOL, created on 02.04.23' + tx_note = 'Merging stake for optimization' ) else: return MergeStakeAccountsRequest( - source_id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + source_id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', destination_id = '', ) """ diff --git a/test/test_merge_stake_accounts_response.py b/test/test_merge_stake_accounts_response.py index 7ee0b731..82aa3703 100644 --- a/test/test_merge_stake_accounts_response.py +++ b/test/test_merge_stake_accounts_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,11 +37,11 @@ def make_instance(self, include_optional) -> MergeStakeAccountsResponse: model = MergeStakeAccountsResponse() if include_optional: return MergeStakeAccountsResponse( - id = '' + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d' ) else: return MergeStakeAccountsResponse( - id = '', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', ) """ diff --git a/test/test_mobile_money_address.py b/test/test_mobile_money_address.py index da4650a7..ba2ae891 100644 --- a/test/test_mobile_money_address.py +++ b/test/test_mobile_money_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_mobile_money_destination.py b/test/test_mobile_money_destination.py index 2d25b590..c2da6a41 100644 --- a/test/test_mobile_money_destination.py +++ b/test/test_mobile_money_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_modify_signing_key_agent_id_dto.py b/test/test_modify_signing_key_agent_id_dto.py index 26aa4e20..fa78ffb2 100644 --- a/test/test_modify_signing_key_agent_id_dto.py +++ b/test/test_modify_signing_key_agent_id_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_modify_signing_key_dto.py b/test/test_modify_signing_key_dto.py index 107dd6a0..eb4deddc 100644 --- a/test/test_modify_signing_key_dto.py +++ b/test/test_modify_signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_modify_validation_key_dto.py b/test/test_modify_validation_key_dto.py index 03839fcd..3ced4cb3 100644 --- a/test/test_modify_validation_key_dto.py +++ b/test/test_modify_validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_momo_payment_info.py b/test/test_momo_payment_info.py index d6c14486..5b5b7560 100644 --- a/test/test_momo_payment_info.py +++ b/test/test_momo_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_mpc_key.py b/test/test_mpc_key.py index b996deef..348689cf 100644 --- a/test/test_mpc_key.py +++ b/test/test_mpc_key.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_multichain_deployment_metadata.py b/test/test_multichain_deployment_metadata.py index 3eb81cca..89041552 100644 --- a/test/test_multichain_deployment_metadata.py +++ b/test/test_multichain_deployment_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_channel.py b/test/test_network_channel.py index 55248712..60b27da9 100644 --- a/test/test_network_channel.py +++ b/test/test_network_channel.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_connection.py b/test/test_network_connection.py index 645e9663..48c1f585 100644 --- a/test/test_network_connection.py +++ b/test/test_network_connection.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_connection_response.py b/test/test_network_connection_response.py index 0f4e965e..cb5415bf 100644 --- a/test/test_network_connection_response.py +++ b/test/test_network_connection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_connection_routing_policy_value.py b/test/test_network_connection_routing_policy_value.py index 9a264de9..3e1dbb29 100644 --- a/test/test_network_connection_routing_policy_value.py +++ b/test/test_network_connection_routing_policy_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_connection_status.py b/test/test_network_connection_status.py index ca790326..2db8704b 100644 --- a/test/test_network_connection_status.py +++ b/test/test_network_connection_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_connections_api.py b/test/test_network_connections_api.py index 86f52d97..b1c79b31 100644 --- a/test/test_network_connections_api.py +++ b/test/test_network_connections_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,14 +30,14 @@ def tearDown(self) -> None: def test_check_third_party_routing(self) -> None: """Test case for check_third_party_routing - Retrieve third-party network routing validation by asset type. + Retrieve third-party network routing validation """ pass def test_create_network_connection(self) -> None: """Test case for create_network_connection - Creates a new network connection + Create a new network connection """ pass @@ -86,7 +86,7 @@ def test_get_network_id(self) -> None: def test_get_network_ids(self) -> None: """Test case for get_network_ids - Returns all network IDs, both local IDs and discoverable remote IDs + Get all network IDs """ pass @@ -100,7 +100,7 @@ def test_get_routing_policy_asset_groups(self) -> None: def test_search_network_ids(self) -> None: """Test case for search_network_ids - Search network IDs, both local IDs and discoverable remote IDs + Get both local IDs and discoverable remote IDs """ pass diff --git a/test/test_network_fee.py b/test/test_network_fee.py index 5a216b1d..b39c77e7 100644 --- a/test/test_network_fee.py +++ b/test/test_network_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_id.py b/test/test_network_id.py index 47ea2352..7fb19240 100644 --- a/test/test_network_id.py +++ b/test/test_network_id.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_id_response.py b/test/test_network_id_response.py index 02716926..1a9c6276 100644 --- a/test/test_network_id_response.py +++ b/test/test_network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_id_routing_policy_value.py b/test/test_network_id_routing_policy_value.py index 736d4ab8..159b244e 100644 --- a/test/test_network_id_routing_policy_value.py +++ b/test/test_network_id_routing_policy_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_network_record.py b/test/test_network_record.py index f02e0fd3..ae3ae6fd 100644 --- a/test/test_network_record.py +++ b/test/test_network_record.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_new_address.py b/test/test_new_address.py index 95b262d4..cd86f396 100644 --- a/test/test_new_address.py +++ b/test/test_new_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_nfts_api.py b/test/test_nfts_api.py index 4332cc5b..d6881968 100644 --- a/test/test_nfts_api.py +++ b/test/test_nfts_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_none_network_routing_dest.py b/test/test_none_network_routing_dest.py index 69acf449..659cee9c 100644 --- a/test/test_none_network_routing_dest.py +++ b/test/test_none_network_routing_dest.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_not_found_exception.py b/test/test_not_found_exception.py index 1f74e2ad..fab30fd5 100644 --- a/test/test_not_found_exception.py +++ b/test/test_not_found_exception.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification.py b/test/test_notification.py index f2856dda..633aa92c 100644 --- a/test/test_notification.py +++ b/test/test_notification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification_attempt.py b/test/test_notification_attempt.py index 4eab1a3a..bf1ba75a 100644 --- a/test/test_notification_attempt.py +++ b/test/test_notification_attempt.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification_attempts_paginated_response.py b/test/test_notification_attempts_paginated_response.py index aeb4c101..10402314 100644 --- a/test/test_notification_attempts_paginated_response.py +++ b/test/test_notification_attempts_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification_paginated_response.py b/test/test_notification_paginated_response.py index 2e14d6aa..3dfc20de 100644 --- a/test/test_notification_paginated_response.py +++ b/test/test_notification_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification_status.py b/test/test_notification_status.py index 4f77c30f..ee931084 100644 --- a/test/test_notification_status.py +++ b/test/test_notification_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_notification_with_data.py b/test/test_notification_with_data.py index ebade748..a63f971d 100644 --- a/test/test_notification_with_data.py +++ b/test/test_notification_with_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_off_exchanges_api.py b/test/test_off_exchanges_api.py index 149023a5..e0871a1b 100644 --- a/test/test_off_exchanges_api.py +++ b/test/test_off_exchanges_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ def tearDown(self) -> None: def test_add_off_exchange(self) -> None: """Test case for add_off_exchange - add collateral + Add Collateral """ pass @@ -44,21 +44,21 @@ def test_get_off_exchange_collateral_accounts(self) -> None: def test_get_off_exchange_settlement_transactions(self) -> None: """Test case for get_off_exchange_settlement_transactions - get settlements transactions from exchange + Get Settlements Transactions """ pass def test_remove_off_exchange(self) -> None: """Test case for remove_off_exchange - remove collateral + Remove Collateral """ pass def test_settle_off_exchange_trades(self) -> None: """Test case for settle_off_exchange_trades - create settlement for a trader + Create Settlement for a Trader """ pass diff --git a/test/test_onchain_data_api.py b/test/test_onchain_data_api.py new file mode 100644 index 00000000..86a77072 --- /dev/null +++ b/test/test_onchain_data_api.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.api.onchain_data_api import OnchainDataApi + + +class TestOnchainDataApi(unittest.TestCase): + """OnchainDataApi unit test stubs""" + + def setUp(self) -> None: + self.api = OnchainDataApi() + + def tearDown(self) -> None: + pass + + def test_get_access_registry_current_state(self) -> None: + """Test case for get_access_registry_current_state + + Get the current state of addresses in an access registry + """ + pass + + def test_get_access_registry_summary(self) -> None: + """Test case for get_access_registry_summary + + Summary of access registry state + """ + pass + + def test_get_active_roles_for_contract(self) -> None: + """Test case for get_active_roles_for_contract + + List of active roles for a given contract address and base asset ID + """ + pass + + def test_get_contract_balance_history(self) -> None: + """Test case for get_contract_balance_history + + Get historical balance data for a specific account in a contract + """ + pass + + def test_get_contract_balances_summary(self) -> None: + """Test case for get_contract_balances_summary + + Get summary for the token contract + """ + pass + + def test_get_contract_total_supply(self) -> None: + """Test case for get_contract_total_supply + + Get historical total supply data for a contract + """ + pass + + def test_get_latest_balances_for_contract(self) -> None: + """Test case for get_latest_balances_for_contract + + Get latest balances for all addresses holding tokens from a contract + """ + pass + + def test_get_onchain_transactions(self) -> None: + """Test case for get_onchain_transactions + + Fetch onchain transactions for a contract + """ + pass + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_onchain_transaction.py b/test/test_onchain_transaction.py new file mode 100644 index 00000000..b948f9f7 --- /dev/null +++ b/test/test_onchain_transaction.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.onchain_transaction import OnchainTransaction + + +class TestOnchainTransaction(unittest.TestCase): + """OnchainTransaction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OnchainTransaction: + """Test OnchainTransaction + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `OnchainTransaction` + """ + model = OnchainTransaction() + if include_optional: + return OnchainTransaction( + id = '550e8400-e29b-41d4-a716-446655440000', + base_asset_id = 'ETH_TEST3', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = 12345678, + block_timestamp = '2025-01-16T15:45Z', + chain_id = 1, + contract_address = '0x1234567890123456789012345678901234567890', + cumulative_gas_used = '21000', + decoded_logs = fireblocks.models.decoded_log.DecodedLog( + address = '0x1234567890123456789012345678901234567890', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = '12345678', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + log_index = '0', ), + effective_gas_price = '20000000000', + from_address = '0xabcdef1234567890abcdef1234567890abcdef12', + gas_used = '21000', + status = '1', + to_address = '0x1234567890123456789012345678901234567890', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + transaction_index = '0', + type = '2' + ) + else: + return OnchainTransaction( + id = '550e8400-e29b-41d4-a716-446655440000', + base_asset_id = 'ETH_TEST3', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = 12345678, + block_timestamp = '2025-01-16T15:45Z', + chain_id = 1, + cumulative_gas_used = '21000', + effective_gas_price = '20000000000', + from_address = '0xabcdef1234567890abcdef1234567890abcdef12', + gas_used = '21000', + status = '1', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + transaction_index = '0', + type = '2', + ) + """ + + def testOnchainTransaction(self): + """Test OnchainTransaction""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_onchain_transactions_paged_response.py b/test/test_onchain_transactions_paged_response.py new file mode 100644 index 00000000..e92d54a2 --- /dev/null +++ b/test/test_onchain_transactions_paged_response.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.onchain_transactions_paged_response import ( + OnchainTransactionsPagedResponse, +) + + +class TestOnchainTransactionsPagedResponse(unittest.TestCase): + """OnchainTransactionsPagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OnchainTransactionsPagedResponse: + """Test OnchainTransactionsPagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `OnchainTransactionsPagedResponse` + """ + model = OnchainTransactionsPagedResponse() + if include_optional: + return OnchainTransactionsPagedResponse( + data = [ + fireblocks.models.onchain_transaction.OnchainTransaction( + id = '550e8400-e29b-41d4-a716-446655440000', + base_asset_id = 'ETH_TEST3', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = 12345678, + block_timestamp = '2025-01-16T15:45Z', + chain_id = 1, + contract_address = '0x1234567890123456789012345678901234567890', + cumulative_gas_used = '21000', + decoded_logs = fireblocks.models.decoded_log.DecodedLog( + address = '0x1234567890123456789012345678901234567890', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = '12345678', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + log_index = '0', ), + effective_gas_price = '20000000000', + from_address = '0xabcdef1234567890abcdef1234567890abcdef12', + gas_used = '21000', + status = '1', + to_address = '0x1234567890123456789012345678901234567890', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + transaction_index = '0', + type = '2', ) + ], + next = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==', + prev = 'dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg==', + total = 150 + ) + else: + return OnchainTransactionsPagedResponse( + data = [ + fireblocks.models.onchain_transaction.OnchainTransaction( + id = '550e8400-e29b-41d4-a716-446655440000', + base_asset_id = 'ETH_TEST3', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = 12345678, + block_timestamp = '2025-01-16T15:45Z', + chain_id = 1, + contract_address = '0x1234567890123456789012345678901234567890', + cumulative_gas_used = '21000', + decoded_logs = fireblocks.models.decoded_log.DecodedLog( + address = '0x1234567890123456789012345678901234567890', + block_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + block_number = '12345678', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + log_index = '0', ), + effective_gas_price = '20000000000', + from_address = '0xabcdef1234567890abcdef1234567890abcdef12', + gas_used = '21000', + status = '1', + to_address = '0x1234567890123456789012345678901234567890', + transaction_hash = '0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890', + transaction_index = '0', + type = '2', ) + ], + ) + """ + + def testOnchainTransactionsPagedResponse(self): + """Test OnchainTransactionsPagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_one_time_address.py b/test/test_one_time_address.py index f3d963cd..98f17085 100644 --- a/test/test_one_time_address.py +++ b/test/test_one_time_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_one_time_address_account.py b/test/test_one_time_address_account.py index ca171ccd..2e5e556d 100644 --- a/test/test_one_time_address_account.py +++ b/test/test_one_time_address_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_one_time_address_peer_type.py b/test/test_one_time_address_peer_type.py new file mode 100644 index 00000000..3f2db868 --- /dev/null +++ b/test/test_one_time_address_peer_type.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.one_time_address_peer_type import OneTimeAddressPeerType + + +class TestOneTimeAddressPeerType(unittest.TestCase): + """OneTimeAddressPeerType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testOneTimeAddressPeerType(self): + """Test OneTimeAddressPeerType""" + # inst = OneTimeAddressPeerType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_one_time_address_reference.py b/test/test_one_time_address_reference.py index 31b98dba..61a973ed 100644 --- a/test/test_one_time_address_reference.py +++ b/test/test_one_time_address_reference.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_operation_execution_failure.py b/test/test_operation_execution_failure.py index e03eaa6b..00998ded 100644 --- a/test/test_operation_execution_failure.py +++ b/test/test_operation_execution_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_order_details.py b/test/test_order_details.py index bf434dff..3945d838 100644 --- a/test/test_order_details.py +++ b/test/test_order_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -51,14 +51,16 @@ def make_instance(self, include_optional) -> OrderDetails: ], execution_response_details = None, settlement = None, - participants_identification = {"originator":{"externalReferenceId":"user_123456","entityType":"INDIVIDUAL","participantRelationshipType":"FirstParty","fullName":{"firstName":"John","lastName":"Smith"},"dateOfBirth":"1985-03-15","postalAddress":{"streetName":"Main Street","buildingNumber":"123","postalCode":"10001","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}},"beneficiary":{"externalReferenceId":"user_789012","entityType":"INDIVIDUAL","participantRelationshipType":"ThirdParty","fullName":{"firstName":"Alice","lastName":"Johnson"},"dateOfBirth":"1990-07-22","postalAddress":{"streetName":"Broadway","buildingNumber":"456","postalCode":"10002","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}}}, + participants_identification = {"originator":{"externalReferenceId":"user_123456","entityType":"INDIVIDUAL","participantRelationshipType":"FirstParty","fullName":{"firstName":"John","lastName":"Smith"},"dateOfBirth":"1985-03-15","email":"john.smith@example.com","phone":"+14155551234","postalAddress":{"streetName":"Main Street","buildingNumber":"123","postalCode":"10001","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}},"beneficiary":{"externalReferenceId":"user_789012","entityType":"INDIVIDUAL","participantRelationshipType":"ThirdParty","fullName":{"firstName":"Alice","lastName":"Johnson"},"dateOfBirth":"1990-07-22","email":"alice.johnson@example.com","phone":"+14155551234","postalAddress":{"streetName":"Broadway","buildingNumber":"456","postalCode":"10002","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}}}, payment_instructions = [ null ], created_by = '', customer_internal_reference_id = '', note = '', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + failure = fireblocks.models.failure.Failure( + reason = 'INSUFFICIENT_FUNDS', ) ) else: return OrderDetails( diff --git a/test/test_execution_step.py b/test/test_order_execution_step.py similarity index 53% rename from test/test_execution_step.py rename to test/test_order_execution_step.py index ea6e1153..23349cc6 100644 --- a/test/test_execution_step.py +++ b/test/test_order_execution_step.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -15,11 +15,11 @@ import unittest -from fireblocks.models.execution_step import ExecutionStep +from fireblocks.models.order_execution_step import OrderExecutionStep -class TestExecutionStep(unittest.TestCase): - """ExecutionStep unit test stubs""" +class TestOrderExecutionStep(unittest.TestCase): + """OrderExecutionStep unit test stubs""" def setUp(self): pass @@ -27,16 +27,16 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> ExecutionStep: - """Test ExecutionStep + def make_instance(self, include_optional) -> OrderExecutionStep: + """Test OrderExecutionStep include_optional is a boolean, when False only required params are included, when True both required and optional params are included""" - # uncomment below to create an instance of `ExecutionStep` + # uncomment below to create an instance of `OrderExecutionStep` """ - model = ExecutionStep() + model = OrderExecutionStep() if include_optional: - return ExecutionStep( + return OrderExecutionStep( type = 'EXECUTE', status = 'PROCESSING', fee = None, @@ -45,14 +45,14 @@ def make_instance(self, include_optional) -> ExecutionStep: error = 'INSUFFICIENT_FUNDS' ) else: - return ExecutionStep( + return OrderExecutionStep( type = 'EXECUTE', status = 'PROCESSING', ) """ - def testExecutionStep(self): - """Test ExecutionStep""" + def testOrderExecutionStep(self): + """Test OrderExecutionStep""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_order_side.py b/test/test_order_side.py index d30d6835..43801e1a 100644 --- a/test/test_order_side.py +++ b/test/test_order_side.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_order_status.py b/test/test_order_status.py index 782876b4..b8fd48aa 100644 --- a/test/test_order_status.py +++ b/test/test_order_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_order_summary.py b/test/test_order_summary.py index 18057b62..b1fd41dd 100644 --- a/test/test_order_summary.py +++ b/test/test_order_summary.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_ota_beta_api.py b/test/test_ota_beta_api.py index 2dcc9fb9..76472f20 100644 --- a/test/test_ota_beta_api.py +++ b/test/test_ota_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paginated_address_response.py b/test/test_paginated_address_response.py index 803fc566..33d6a79b 100644 --- a/test/test_paginated_address_response.py +++ b/test/test_paginated_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paginated_address_response_paging.py b/test/test_paginated_address_response_paging.py index dc93dc8c..21d68922 100644 --- a/test/test_paginated_address_response_paging.py +++ b/test/test_paginated_address_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paginated_asset_wallet_response.py b/test/test_paginated_asset_wallet_response.py index 081fb9cb..24ca80e6 100644 --- a/test/test_paginated_asset_wallet_response.py +++ b/test/test_paginated_asset_wallet_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paginated_asset_wallet_response_paging.py b/test/test_paginated_asset_wallet_response_paging.py index 42496f25..0c187ed5 100644 --- a/test/test_paginated_asset_wallet_response_paging.py +++ b/test/test_paginated_asset_wallet_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paginated_assets_response.py b/test/test_paginated_assets_response.py index 69555e81..802b8edb 100644 --- a/test/test_paginated_assets_response.py +++ b/test/test_paginated_assets_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_paging.py b/test/test_paging.py index 46244072..17ad5d1a 100644 --- a/test/test_paging.py +++ b/test/test_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pair_api_key_request.py b/test/test_pair_api_key_request.py index 075cb781..173c6921 100644 --- a/test/test_pair_api_key_request.py +++ b/test/test_pair_api_key_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pair_api_key_response.py b/test/test_pair_api_key_response.py index a5477a8d..2c672e80 100644 --- a/test/test_pair_api_key_response.py +++ b/test/test_pair_api_key_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_parameter.py b/test/test_parameter.py index 06466f42..5901a66d 100644 --- a/test/test_parameter.py +++ b/test/test_parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_parameter_with_value.py b/test/test_parameter_with_value.py index e3cd5fab..4f5681c7 100644 --- a/test/test_parameter_with_value.py +++ b/test/test_parameter_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_participant_relationship_type.py b/test/test_participant_relationship_type.py index d86af452..420fb133 100644 --- a/test/test_participant_relationship_type.py +++ b/test/test_participant_relationship_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_participants_identification.py b/test/test_participants_identification.py index 57fa1074..12b5050f 100644 --- a/test/test_participants_identification.py +++ b/test/test_participants_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payee_account.py b/test/test_payee_account.py index 5409332a..ab14d3f8 100644 --- a/test/test_payee_account.py +++ b/test/test_payee_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payee_account_response.py b/test/test_payee_account_response.py index 31a613e2..c1bc1f2f 100644 --- a/test/test_payee_account_response.py +++ b/test/test_payee_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payee_account_type.py b/test/test_payee_account_type.py index 5c8e8b67..1964c135 100644 --- a/test/test_payee_account_type.py +++ b/test/test_payee_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payment_account.py b/test/test_payment_account.py index c88c86b9..c3a69508 100644 --- a/test/test_payment_account.py +++ b/test/test_payment_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payment_account_response.py b/test/test_payment_account_response.py index 019e0ce0..6f46552c 100644 --- a/test/test_payment_account_response.py +++ b/test/test_payment_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payment_account_type.py b/test/test_payment_account_type.py index 606b6f95..07b18fd1 100644 --- a/test/test_payment_account_type.py +++ b/test/test_payment_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payment_instructions.py b/test/test_payment_instructions.py index 9a995bad..46b0aaf2 100644 --- a/test/test_payment_instructions.py +++ b/test/test_payment_instructions.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,30 @@ def make_instance(self, include_optional) -> PaymentInstructions: model = PaymentInstructions() if include_optional: return PaymentInstructions( - type = 'MOBILE_MONEY', - address = {"accountHolder":{"name":"Grace Wanjiku Kamau","city":"Nairobi","country":"KE","subdivision":"NRB","address":"Westlands Avenue 45","postalCode":"00100"},"mobilePhoneNumber":"+254712345678","provider":"m-pesa","beneficiaryDocumentId":"12345678","beneficiaryRelationship":"self"}, + type = 'BLOCKCHAIN', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), reference_id = '' ) else: return PaymentInstructions( - type = 'MOBILE_MONEY', - address = {"accountHolder":{"name":"Grace Wanjiku Kamau","city":"Nairobi","country":"KE","subdivision":"NRB","address":"Westlands Avenue 45","postalCode":"00100"},"mobilePhoneNumber":"+254712345678","provider":"m-pesa","beneficiaryDocumentId":"12345678","beneficiaryRelationship":"self"}, + type = 'BLOCKCHAIN', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), ) """ diff --git a/test/test_payment_instructions_details.py b/test/test_payment_instructions_details.py deleted file mode 100644 index a1a4493e..00000000 --- a/test/test_payment_instructions_details.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.payment_instructions_details import PaymentInstructionsDetails - - -class TestPaymentInstructionsDetails(unittest.TestCase): - """PaymentInstructionsDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PaymentInstructionsDetails: - """Test PaymentInstructionsDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `PaymentInstructionsDetails` - """ - model = PaymentInstructionsDetails() - if include_optional: - return PaymentInstructionsDetails( - reference_id = '' - ) - else: - return PaymentInstructionsDetails( - ) - """ - - def testPaymentInstructionsDetails(self): - """Test PaymentInstructionsDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_payment_instructions_one_of.py b/test/test_payment_instructions_one_of.py new file mode 100644 index 00000000..5b32e1da --- /dev/null +++ b/test/test_payment_instructions_one_of.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.payment_instructions_one_of import PaymentInstructionsOneOf + + +class TestPaymentInstructionsOneOf(unittest.TestCase): + """PaymentInstructionsOneOf unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PaymentInstructionsOneOf: + """Test PaymentInstructionsOneOf + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `PaymentInstructionsOneOf` + """ + model = PaymentInstructionsOneOf() + if include_optional: + return PaymentInstructionsOneOf( + type = 'EUROPEAN_SEPA', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), + reference_id = '' + ) + else: + return PaymentInstructionsOneOf( + type = 'EUROPEAN_SEPA', + address = fireblocks.models.european_sepa_address.EuropeanSEPAAddress( + account_holder = {"name":"John Smith","city":"New York","country":"US","subdivision":"NY","address":"123 Wall Street, Apt 4B","postalCode":"10005"}, + iban = 'GB82WEST12345698765432', + bic = '', + bank_name = '', + bank_branch = '', + bank_address = '', + purpose_code = '', + tax_id = '', ), + ) + """ + + def testPaymentInstructionsOneOf(self): + """Test PaymentInstructionsOneOf""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_payments_payout_api.py b/test/test_payments_payout_api.py index b377dfa8..c19a9e26 100644 --- a/test/test_payments_payout_api.py +++ b/test/test_payments_payout_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_init_method.py b/test/test_payout_init_method.py index ffbc8126..9d116bf5 100644 --- a/test/test_payout_init_method.py +++ b/test/test_payout_init_method.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_instruction.py b/test/test_payout_instruction.py index 9c9ae393..52d978c1 100644 --- a/test/test_payout_instruction.py +++ b/test/test_payout_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_instruction_response.py b/test/test_payout_instruction_response.py index 9d18a7b3..02d90f04 100644 --- a/test/test_payout_instruction_response.py +++ b/test/test_payout_instruction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_instruction_state.py b/test/test_payout_instruction_state.py index fa2888ac..2415cc36 100644 --- a/test/test_payout_instruction_state.py +++ b/test/test_payout_instruction_state.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_response.py b/test/test_payout_response.py index 2f144c46..39f8b911 100644 --- a/test/test_payout_response.py +++ b/test/test_payout_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_state.py b/test/test_payout_state.py index 3bd07ad7..b7bad112 100644 --- a/test/test_payout_state.py +++ b/test/test_payout_state.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_payout_status.py b/test/test_payout_status.py index 1f5c9751..6aa02475 100644 --- a/test/test_payout_status.py +++ b/test/test_payout_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_peer_adapter_info.py b/test/test_peer_adapter_info.py index 34c75895..ea67a4da 100644 --- a/test/test_peer_adapter_info.py +++ b/test/test_peer_adapter_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_peer_type.py b/test/test_peer_type.py index 5197a1a5..2947bfda 100644 --- a/test/test_peer_type.py +++ b/test/test_peer_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_personal_entity_type_enum.py b/test/test_personal_entity_type_enum.py new file mode 100644 index 00000000..ef81496e --- /dev/null +++ b/test/test_personal_entity_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.personal_entity_type_enum import PersonalEntityTypeEnum + + +class TestPersonalEntityTypeEnum(unittest.TestCase): + """PersonalEntityTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPersonalEntityTypeEnum(self): + """Test PersonalEntityTypeEnum""" + # inst = PersonalEntityTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_personal_identification.py b/test/test_personal_identification.py index 42083a93..0168cfe9 100644 --- a/test/test_personal_identification.py +++ b/test/test_personal_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -44,7 +44,9 @@ def make_instance(self, include_optional) -> PersonalIdentification: first_name = '', last_name = '', ), date_of_birth = datetime.datetime.strptime('1975-12-30', '%Y-%m-%d').date(), - postal_address = {"streetName":"Fifth Avenue","buildingNumber":"350","postalCode":"10118","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"} + postal_address = {"streetName":"Fifth Avenue","buildingNumber":"350","postalCode":"10118","city":"New York","subdivision":"NY","district":"Manhattan","country":"US"}, + email = '', + phone = '+14155551234' ) else: return PersonalIdentification( diff --git a/test/test_personal_identification_full_name.py b/test/test_personal_identification_full_name.py index edcd0bf1..9aed2af0 100644 --- a/test/test_personal_identification_full_name.py +++ b/test/test_personal_identification_full_name.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pix_address.py b/test/test_pix_address.py index dca62739..9c61361d 100644 --- a/test/test_pix_address.py +++ b/test/test_pix_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pix_destination.py b/test/test_pix_destination.py index e8d88749..bd6762ee 100644 --- a/test/test_pix_destination.py +++ b/test/test_pix_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pix_payment_info.py b/test/test_pix_payment_info.py index f9b585e9..9d036645 100644 --- a/test/test_pix_payment_info.py +++ b/test/test_pix_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_platform_account.py b/test/test_platform_account.py index 21d394ed..5c14cff1 100644 --- a/test/test_platform_account.py +++ b/test/test_platform_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_platform_peer_type.py b/test/test_platform_peer_type.py new file mode 100644 index 00000000..81ad4a5c --- /dev/null +++ b/test/test_platform_peer_type.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.platform_peer_type import PlatformPeerType + + +class TestPlatformPeerType(unittest.TestCase): + """PlatformPeerType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPlatformPeerType(self): + """Test PlatformPeerType""" + # inst = PlatformPeerType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_players.py b/test/test_players.py index fb8c7611..5f02efb7 100644 --- a/test/test_players.py +++ b/test/test_players.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_and_validation_response.py b/test/test_policy_and_validation_response.py index 736b4583..e2d5aff1 100644 --- a/test/test_policy_and_validation_response.py +++ b/test/test_policy_and_validation_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_check_result.py b/test/test_policy_check_result.py index c6ea243d..97429549 100644 --- a/test/test_policy_check_result.py +++ b/test/test_policy_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_currency.py b/test/test_policy_currency.py index b2ffdf24..989a1572 100644 --- a/test/test_policy_currency.py +++ b/test/test_policy_currency.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_editor_beta_api.py b/test/test_policy_editor_beta_api.py index f0969fd0..57218055 100644 --- a/test/test_policy_editor_beta_api.py +++ b/test/test_policy_editor_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_editor_v2_beta_api.py b/test/test_policy_editor_v2_beta_api.py index f2a83653..3b74a8df 100644 --- a/test/test_policy_editor_v2_beta_api.py +++ b/test/test_policy_editor_v2_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_metadata.py b/test/test_policy_metadata.py index fa145c2a..b3b92928 100644 --- a/test/test_policy_metadata.py +++ b/test/test_policy_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_operator.py b/test/test_policy_operator.py index 6b56ecbd..8df83542 100644 --- a/test/test_policy_operator.py +++ b/test/test_policy_operator.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_response.py b/test/test_policy_response.py index 050b7373..8dbfc95e 100644 --- a/test/test_policy_response.py +++ b/test/test_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_rule.py b/test/test_policy_rule.py index 0ec2280e..cba8758b 100644 --- a/test/test_policy_rule.py +++ b/test/test_policy_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_rule_check_result.py b/test/test_policy_rule_check_result.py index c82ec7cc..b4ae10a4 100644 --- a/test/test_policy_rule_check_result.py +++ b/test/test_policy_rule_check_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_rule_error.py b/test/test_policy_rule_error.py index c260619c..e607024e 100644 --- a/test/test_policy_rule_error.py +++ b/test/test_policy_rule_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_status.py b/test/test_policy_status.py index 3c6f413d..bb1c2ce1 100644 --- a/test/test_policy_status.py +++ b/test/test_policy_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_tag.py b/test/test_policy_tag.py index 984177c0..2667dd28 100644 --- a/test/test_policy_tag.py +++ b/test/test_policy_tag.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_type.py b/test/test_policy_type.py index 12f685b1..f952fff0 100644 --- a/test/test_policy_type.py +++ b/test/test_policy_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_validation.py b/test/test_policy_validation.py index abbc35cf..b40abc21 100644 --- a/test/test_policy_validation.py +++ b/test/test_policy_validation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_verdict_action_enum.py b/test/test_policy_verdict_action_enum.py index 2a44199b..6d47a540 100644 --- a/test/test_policy_verdict_action_enum.py +++ b/test/test_policy_verdict_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_policy_verdict_action_enum2.py b/test/test_policy_verdict_action_enum2.py index 399943de..99d53271 100644 --- a/test/test_policy_verdict_action_enum2.py +++ b/test/test_policy_verdict_action_enum2.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_post_order_settlement.py b/test/test_post_order_settlement.py deleted file mode 100644 index 51897249..00000000 --- a/test/test_post_order_settlement.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.post_order_settlement import PostOrderSettlement - - -class TestPostOrderSettlement(unittest.TestCase): - """PostOrderSettlement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PostOrderSettlement: - """Test PostOrderSettlement - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `PostOrderSettlement` - """ - model = PostOrderSettlement() - if include_optional: - return PostOrderSettlement( - type = 'POST_ORDER' - ) - else: - return PostOrderSettlement( - type = 'POST_ORDER', - ) - """ - - def testPostOrderSettlement(self): - """Test PostOrderSettlement""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_postal_address.py b/test/test_postal_address.py index 4dcbf2ca..57552d9f 100644 --- a/test/test_postal_address.py +++ b/test/test_postal_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_pre_screening.py b/test/test_pre_screening.py index 422a3f06..e9a00dcc 100644 --- a/test/test_pre_screening.py +++ b/test/test_pre_screening.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_prefunded_settlement.py b/test/test_prefunded_settlement.py index c6dc48ac..a91218b1 100644 --- a/test/test_prefunded_settlement.py +++ b/test/test_prefunded_settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_prefunded_settlement_type.py b/test/test_prefunded_settlement_type.py new file mode 100644 index 00000000..b2bbb190 --- /dev/null +++ b/test/test_prefunded_settlement_type.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.prefunded_settlement_type import PrefundedSettlementType + + +class TestPrefundedSettlementType(unittest.TestCase): + """PrefundedSettlementType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPrefundedSettlementType(self): + """Test PrefundedSettlementType""" + # inst = PrefundedSettlementType() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_program_call_config.py b/test/test_program_call_config.py index 7b62301c..144ce928 100644 --- a/test/test_program_call_config.py +++ b/test/test_program_call_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_provider.py b/test/test_provider.py index fc9df81b..1cce71fd 100644 --- a/test/test_provider.py +++ b/test/test_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_provider_id.py b/test/test_provider_id.py deleted file mode 100644 index 24fba7f4..00000000 --- a/test/test_provider_id.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.provider_id import ProviderID - - -class TestProviderID(unittest.TestCase): - """ProviderID unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ProviderID: - """Test ProviderID - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `ProviderID` - """ - model = ProviderID() - if include_optional: - return ProviderID( - provider_id = '' - ) - else: - return ProviderID( - provider_id = '', - ) - """ - - def testProviderID(self): - """Test ProviderID""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_providers_list_response.py b/test/test_providers_list_response.py index 0b16b8e1..e2eb266e 100644 --- a/test/test_providers_list_response.py +++ b/test/test_providers_list_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_public_key_information.py b/test/test_public_key_information.py index 0fbc1aa9..0be92360 100644 --- a/test/test_public_key_information.py +++ b/test/test_public_key_information.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_publish_draft_request.py b/test/test_publish_draft_request.py index f2da3f1a..e21ddc57 100644 --- a/test/test_publish_draft_request.py +++ b/test/test_publish_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_publish_result.py b/test/test_publish_result.py index a5ae5368..f5f34d5d 100644 --- a/test/test_publish_result.py +++ b/test/test_publish_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_quote.py b/test/test_quote.py index 42d67b75..e97b8a86 100644 --- a/test/test_quote.py +++ b/test/test_quote.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -39,7 +39,6 @@ def make_instance(self, include_optional) -> Quote: return Quote( via = None, id = '', - type = 'INDICATIVE', quote_asset_id = '', base_asset_id = '', base_amount = '', @@ -53,19 +52,20 @@ def make_instance(self, include_optional) -> Quote: null ], side = 'BUY', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + expires_at = '', + type = 'INDICATIVE' ) else: return Quote( via = None, id = '', - type = 'INDICATIVE', quote_asset_id = '', base_asset_id = '', base_amount = '', quote_amount = '', side = 'BUY', - expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + expires_at = '', + type = 'INDICATIVE', ) """ diff --git a/test/test_quote_execution_request_details.py b/test/test_quote_execution_request_details.py index f2be7a95..89505745 100644 --- a/test/test_quote_execution_request_details.py +++ b/test/test_quote_execution_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_quote_execution_response_details.py b/test/test_quote_execution_response_details.py deleted file mode 100644 index 70390444..00000000 --- a/test/test_quote_execution_response_details.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.quote_execution_response_details import ( - QuoteExecutionResponseDetails, -) - - -class TestQuoteExecutionResponseDetails(unittest.TestCase): - """QuoteExecutionResponseDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> QuoteExecutionResponseDetails: - """Test QuoteExecutionResponseDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `QuoteExecutionResponseDetails` - """ - model = QuoteExecutionResponseDetails() - if include_optional: - return QuoteExecutionResponseDetails( - type = 'QUOTE', - quote_id = '', - quote_amount = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - base_asset_rail = 'BLOCKCHAIN', - quote_asset_id = '', - quote_asset_rail = 'BLOCKCHAIN' - ) - else: - return QuoteExecutionResponseDetails( - type = 'QUOTE', - quote_id = '', - quote_amount = '', - side = 'BUY', - base_amount = '', - base_asset_id = '', - quote_asset_id = '', - ) - """ - - def testQuoteExecutionResponseDetails(self): - """Test QuoteExecutionResponseDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_quote_execution_step.py b/test/test_quote_execution_step.py new file mode 100644 index 00000000..a8cc7f98 --- /dev/null +++ b/test/test_quote_execution_step.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.quote_execution_step import QuoteExecutionStep + + +class TestQuoteExecutionStep(unittest.TestCase): + """QuoteExecutionStep unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QuoteExecutionStep: + """Test QuoteExecutionStep + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `QuoteExecutionStep` + """ + model = QuoteExecutionStep() + if include_optional: + return QuoteExecutionStep( + type = 'EXECUTE', + fee = None + ) + else: + return QuoteExecutionStep( + type = 'EXECUTE', + ) + """ + + def testQuoteExecutionStep(self): + """Test QuoteExecutionStep""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_quote_execution_type_details.py b/test/test_quote_execution_type_details.py index 6e82f9f0..4e4233f6 100644 --- a/test/test_quote_execution_type_details.py +++ b/test/test_quote_execution_type_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_quote_execution_with_requote_request_details.py b/test/test_quote_execution_with_requote_request_details.py index 537a5abd..f99423e9 100644 --- a/test/test_quote_execution_with_requote_request_details.py +++ b/test/test_quote_execution_with_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_quote_execution_with_requote_response_details.py b/test/test_quote_execution_with_requote_response_details.py index 2bea71e1..ca6e0eb6 100644 --- a/test/test_quote_execution_with_requote_response_details.py +++ b/test/test_quote_execution_with_requote_response_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_quote_properties_details.py b/test/test_quote_properties_details.py index cdd57539..b3023362 100644 --- a/test/test_quote_properties_details.py +++ b/test/test_quote_properties_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -39,7 +39,6 @@ def make_instance(self, include_optional) -> QuotePropertiesDetails: return QuotePropertiesDetails( via = None, id = '', - type = 'COMMITTED', quote_asset_id = '', base_asset_id = '', base_amount = '', @@ -52,18 +51,19 @@ def make_instance(self, include_optional) -> QuotePropertiesDetails: general_fees = [ null ], - side = 'BUY' + side = 'BUY', + expires_at = '' ) else: return QuotePropertiesDetails( via = None, id = '', - type = 'COMMITTED', quote_asset_id = '', base_asset_id = '', base_amount = '', quote_amount = '', side = 'BUY', + expires_at = '', ) """ diff --git a/test/test_quote_type_enum.py b/test/test_quote_type_enum.py new file mode 100644 index 00000000..e5177b48 --- /dev/null +++ b/test/test_quote_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.quote_type_enum import QuoteTypeEnum + + +class TestQuoteTypeEnum(unittest.TestCase): + """QuoteTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testQuoteTypeEnum(self): + """Test QuoteTypeEnum""" + # inst = QuoteTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_quotes_response.py b/test/test_quotes_response.py index db731bfe..5d913b5c 100644 --- a/test/test_quotes_response.py +++ b/test/test_quotes_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_re_quote_details.py b/test/test_re_quote_details.py index 0049447e..a08fc82c 100644 --- a/test/test_re_quote_details.py +++ b/test/test_re_quote_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_re_quote_details_re_quote.py b/test/test_re_quote_details_re_quote.py index f6be6349..2cfc828a 100644 --- a/test/test_re_quote_details_re_quote.py +++ b/test/test_re_quote_details_re_quote.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,13 +37,13 @@ def make_instance(self, include_optional) -> ReQuoteDetailsReQuote: model = ReQuoteDetailsReQuote() if include_optional: return ReQuoteDetailsReQuote( - type = 'MARKET', + type = 'RETRY', count = 1, slippage_bps = 1 ) else: return ReQuoteDetailsReQuote( - type = 'MARKET', + type = 'RETRY', count = 1, ) """ diff --git a/test/test_read_abi_function.py b/test/test_read_abi_function.py index 2ede9190..a1cec73f 100644 --- a/test/test_read_abi_function.py +++ b/test/test_read_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_read_call_function_dto.py b/test/test_read_call_function_dto.py index e74e1eac..cd68747e 100644 --- a/test/test_read_call_function_dto.py +++ b/test/test_read_call_function_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_read_call_function_dto_abi_function.py b/test/test_read_call_function_dto_abi_function.py index 5d55e7dc..be68df67 100644 --- a/test/test_read_call_function_dto_abi_function.py +++ b/test/test_read_call_function_dto_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_redeem_funds_to_linked_dda_response.py b/test/test_redeem_funds_to_linked_dda_response.py index 83f0a735..62aa2c2e 100644 --- a/test/test_redeem_funds_to_linked_dda_response.py +++ b/test/test_redeem_funds_to_linked_dda_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_register_new_asset_request.py b/test/test_register_new_asset_request.py index 87d3f8bc..53591eaa 100644 --- a/test/test_register_new_asset_request.py +++ b/test/test_register_new_asset_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_reissue_multichain_token_request.py b/test/test_reissue_multichain_token_request.py index 5c06f7af..66a93354 100644 --- a/test/test_reissue_multichain_token_request.py +++ b/test/test_reissue_multichain_token_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_related_request.py b/test/test_related_request.py index 3bc70184..d8aae296 100644 --- a/test/test_related_request.py +++ b/test/test_related_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -47,6 +47,7 @@ def make_instance(self, include_optional) -> RelatedRequest: status = 'deactivating', in_progress = False, amount = '0.05', + tx_id = 'c80601f4-d7b1-4795-a8ee-b09cdb5b450c', ) """ diff --git a/test/test_related_transaction.py b/test/test_related_transaction.py index 9ab42679..1a5088da 100644 --- a/test/test_related_transaction.py +++ b/test/test_related_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_collateral_request_body.py b/test/test_remove_collateral_request_body.py index da35c573..f5e3d78c 100644 --- a/test/test_remove_collateral_request_body.py +++ b/test/test_remove_collateral_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_layer_zero_adapter_failed_result.py b/test/test_remove_layer_zero_adapter_failed_result.py index e73f9e57..8f67841d 100644 --- a/test/test_remove_layer_zero_adapter_failed_result.py +++ b/test/test_remove_layer_zero_adapter_failed_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_layer_zero_adapters_request.py b/test/test_remove_layer_zero_adapters_request.py index ea10c999..dd4b5bd8 100644 --- a/test/test_remove_layer_zero_adapters_request.py +++ b/test/test_remove_layer_zero_adapters_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_layer_zero_adapters_response.py b/test/test_remove_layer_zero_adapters_response.py index 91be7635..e4b11493 100644 --- a/test/test_remove_layer_zero_adapters_response.py +++ b/test/test_remove_layer_zero_adapters_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_layer_zero_peers_request.py b/test/test_remove_layer_zero_peers_request.py index 6373f70b..6b2303d2 100644 --- a/test/test_remove_layer_zero_peers_request.py +++ b/test/test_remove_layer_zero_peers_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_remove_layer_zero_peers_response.py b/test/test_remove_layer_zero_peers_response.py index 6f46fac5..52866c79 100644 --- a/test/test_remove_layer_zero_peers_response.py +++ b/test/test_remove_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_rename_connected_account_request.py b/test/test_rename_connected_account_request.py new file mode 100644 index 00000000..10b048db --- /dev/null +++ b/test/test_rename_connected_account_request.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.rename_connected_account_request import ( + RenameConnectedAccountRequest, +) + + +class TestRenameConnectedAccountRequest(unittest.TestCase): + """RenameConnectedAccountRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RenameConnectedAccountRequest: + """Test RenameConnectedAccountRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `RenameConnectedAccountRequest` + """ + model = RenameConnectedAccountRequest() + if include_optional: + return RenameConnectedAccountRequest( + account_name = 'My Trading Account' + ) + else: + return RenameConnectedAccountRequest( + account_name = 'My Trading Account', + ) + """ + + def testRenameConnectedAccountRequest(self): + """Test RenameConnectedAccountRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_rename_connected_account_response.py b/test/test_rename_connected_account_response.py new file mode 100644 index 00000000..8d08c3e4 --- /dev/null +++ b/test/test_rename_connected_account_response.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.rename_connected_account_response import ( + RenameConnectedAccountResponse, +) + + +class TestRenameConnectedAccountResponse(unittest.TestCase): + """RenameConnectedAccountResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRenameConnectedAccountResponse(self): + """Test RenameConnectedAccountResponse""" + # inst = RenameConnectedAccountResponse() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_rename_cosigner.py b/test/test_rename_cosigner.py index 9eb0f7c5..e975be18 100644 --- a/test/test_rename_cosigner.py +++ b/test/test_rename_cosigner.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_rename_vault_account_response.py b/test/test_rename_vault_account_response.py index f2aa16a6..1c6e2c94 100644 --- a/test/test_rename_vault_account_response.py +++ b/test/test_rename_vault_account_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_rescan_transaction.py b/test/test_rescan_transaction.py deleted file mode 100644 index ecd03fbf..00000000 --- a/test/test_rescan_transaction.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.rescan_transaction import RescanTransaction - - -class TestRescanTransaction(unittest.TestCase): - """RescanTransaction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> RescanTransaction: - """Test RescanTransaction - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `RescanTransaction` - """ - model = RescanTransaction() - if include_optional: - return RescanTransaction( - tx_hash = '0x2446f1fd773fbb9f080e674b60c6a033c7ed7427b8b9413cf28a2a4a6da9b56c', - asset_id = 'BTC' - ) - else: - return RescanTransaction( - ) - """ - - def testRescanTransaction(self): - """Test RescanTransaction""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_resend_failed_notifications_job_status_response.py b/test/test_resend_failed_notifications_job_status_response.py index 76bb9546..c2954288 100644 --- a/test/test_resend_failed_notifications_job_status_response.py +++ b/test/test_resend_failed_notifications_job_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_failed_notifications_request.py b/test/test_resend_failed_notifications_request.py index 4b750d9d..e6dfb058 100644 --- a/test/test_resend_failed_notifications_request.py +++ b/test/test_resend_failed_notifications_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_failed_notifications_response.py b/test/test_resend_failed_notifications_response.py index 222135a1..1ee211cd 100644 --- a/test/test_resend_failed_notifications_response.py +++ b/test/test_resend_failed_notifications_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_notifications_by_resource_id_request.py b/test/test_resend_notifications_by_resource_id_request.py index 1ac533cd..0171522c 100644 --- a/test/test_resend_notifications_by_resource_id_request.py +++ b/test/test_resend_notifications_by_resource_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_transaction_webhooks_request.py b/test/test_resend_transaction_webhooks_request.py index 2b395fd4..6be8190f 100644 --- a/test/test_resend_transaction_webhooks_request.py +++ b/test/test_resend_transaction_webhooks_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_webhooks_by_transaction_id_response.py b/test/test_resend_webhooks_by_transaction_id_response.py index b180e4f9..8b828639 100644 --- a/test/test_resend_webhooks_by_transaction_id_response.py +++ b/test/test_resend_webhooks_by_transaction_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_resend_webhooks_response.py b/test/test_resend_webhooks_response.py index 5c6ffe00..4998c17e 100644 --- a/test/test_resend_webhooks_response.py +++ b/test/test_resend_webhooks_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_reset_device_api.py b/test/test_reset_device_api.py index 0ca422b7..2572b150 100644 --- a/test/test_reset_device_api.py +++ b/test/test_reset_device_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_respond_to_connection_request.py b/test/test_respond_to_connection_request.py index 202998cf..fa47883e 100644 --- a/test/test_respond_to_connection_request.py +++ b/test/test_respond_to_connection_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_retry_requote_request_details.py b/test/test_retry_requote_request_details.py index cb7bd377..1074aa52 100644 --- a/test/test_retry_requote_request_details.py +++ b/test/test_retry_requote_request_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_retry_requote_type_enum.py b/test/test_retry_requote_type_enum.py new file mode 100644 index 00000000..61bf53be --- /dev/null +++ b/test/test_retry_requote_type_enum.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.retry_requote_type_enum import RetryRequoteTypeEnum + + +class TestRetryRequoteTypeEnum(unittest.TestCase): + """RetryRequoteTypeEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testRetryRequoteTypeEnum(self): + """Test RetryRequoteTypeEnum""" + # inst = RetryRequoteTypeEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_reward_info.py b/test/test_reward_info.py index d99b7a80..8270d0d9 100644 --- a/test/test_reward_info.py +++ b/test/test_reward_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_rewards_info.py b/test/test_rewards_info.py index 58e86d3b..544b6714 100644 --- a/test/test_rewards_info.py +++ b/test/test_rewards_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_role_details.py b/test/test_role_details.py new file mode 100644 index 00000000..4036717a --- /dev/null +++ b/test/test_role_details.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.role_details import RoleDetails + + +class TestRoleDetails(unittest.TestCase): + """RoleDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RoleDetails: + """Test RoleDetails + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `RoleDetails` + """ + model = RoleDetails() + if include_optional: + return RoleDetails( + role_hash = '0x0000000000000000000000000000000000000000000000000000000000000000', + description = 'DEFAULT_ADMIN_ROLE', + accounts = [ + fireblocks.models.role_grantee.RoleGrantee( + account_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_of_grant = '2024-07-01T00:00Z', ) + ] + ) + else: + return RoleDetails( + role_hash = '0x0000000000000000000000000000000000000000000000000000000000000000', + description = 'DEFAULT_ADMIN_ROLE', + accounts = [ + fireblocks.models.role_grantee.RoleGrantee( + account_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_of_grant = '2024-07-01T00:00Z', ) + ], + ) + """ + + def testRoleDetails(self): + """Test RoleDetails""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_role_grantee.py b/test/test_role_grantee.py new file mode 100644 index 00000000..d5075389 --- /dev/null +++ b/test/test_role_grantee.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.role_grantee import RoleGrantee + + +class TestRoleGrantee(unittest.TestCase): + """RoleGrantee unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RoleGrantee: + """Test RoleGrantee + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `RoleGrantee` + """ + model = RoleGrantee() + if include_optional: + return RoleGrantee( + account_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_of_grant = '2024-07-01T00:00Z' + ) + else: + return RoleGrantee( + account_address = '0xC2c4e1Db41F0bB97996D0eD0542D2170d146FB66', + date_of_grant = '2024-07-01T00:00Z', + ) + """ + + def testRoleGrantee(self): + """Test RoleGrantee""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_account_provider_id.py b/test/test_scope_item.py similarity index 51% rename from test/test_account_provider_id.py rename to test/test_scope_item.py index d487b9e6..f146cb1c 100644 --- a/test/test_account_provider_id.py +++ b/test/test_scope_item.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -15,11 +15,11 @@ import unittest -from fireblocks.models.account_provider_id import AccountProviderID +from fireblocks.models.scope_item import ScopeItem -class TestAccountProviderID(unittest.TestCase): - """AccountProviderID unit test stubs""" +class TestScopeItem(unittest.TestCase): + """ScopeItem unit test stubs""" def setUp(self): pass @@ -27,28 +27,27 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> AccountProviderID: - """Test AccountProviderID + def make_instance(self, include_optional) -> ScopeItem: + """Test ScopeItem include_optional is a boolean, when False only required params are included, when True both required and optional params are included""" - # uncomment below to create an instance of `AccountProviderID` + # uncomment below to create an instance of `ScopeItem` """ - model = AccountProviderID() + model = ScopeItem() if include_optional: - return AccountProviderID( + return ScopeItem( provider_id = '', account_id = '' ) else: - return AccountProviderID( + return ScopeItem( provider_id = '', - account_id = '', ) """ - def testAccountProviderID(self): - """Test AccountProviderID""" + def testScopeItem(self): + """Test ScopeItem""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_screening_alert_exposure_type_enum.py b/test/test_screening_alert_exposure_type_enum.py index 6f91eb07..f9eb0404 100644 --- a/test/test_screening_alert_exposure_type_enum.py +++ b/test/test_screening_alert_exposure_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_aml_alert.py b/test/test_screening_aml_alert.py index 7a274404..b23b5575 100644 --- a/test/test_screening_aml_alert.py +++ b/test/test_screening_aml_alert.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_aml_matched_rule.py b/test/test_screening_aml_matched_rule.py index 00a63ce0..38ed60c2 100644 --- a/test/test_screening_aml_matched_rule.py +++ b/test/test_screening_aml_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_aml_result.py b/test/test_screening_aml_result.py index 4df5d427..73d13c4f 100644 --- a/test/test_screening_aml_result.py +++ b/test/test_screening_aml_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_configurations_request.py b/test/test_screening_configurations_request.py index bda04062..2104775a 100644 --- a/test/test_screening_configurations_request.py +++ b/test/test_screening_configurations_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_metadata_config.py b/test/test_screening_metadata_config.py index 813f2e03..d0aaf007 100644 --- a/test/test_screening_metadata_config.py +++ b/test/test_screening_metadata_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_operation_execution.py b/test/test_screening_operation_execution.py index 35b1b3dd..41548e7f 100644 --- a/test/test_screening_operation_execution.py +++ b/test/test_screening_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_operation_execution_output.py b/test/test_screening_operation_execution_output.py index a9799949..8b4186db 100644 --- a/test/test_screening_operation_execution_output.py +++ b/test/test_screening_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_operation_failure.py b/test/test_screening_operation_failure.py index 907c7a2e..c62935d9 100644 --- a/test/test_screening_operation_failure.py +++ b/test/test_screening_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_operation_type.py b/test/test_screening_operation_type.py index 2f402efa..d5d0e297 100644 --- a/test/test_screening_operation_type.py +++ b/test/test_screening_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_policy_response.py b/test/test_screening_policy_response.py index 77d29070..bf5c88c0 100644 --- a/test/test_screening_policy_response.py +++ b/test/test_screening_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_provider_rules_configuration_response.py b/test/test_screening_provider_rules_configuration_response.py index 7c97e134..61da48cc 100644 --- a/test/test_screening_provider_rules_configuration_response.py +++ b/test/test_screening_provider_rules_configuration_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_risk_level_enum.py b/test/test_screening_risk_level_enum.py index d75d8be7..4f0652ea 100644 --- a/test/test_screening_risk_level_enum.py +++ b/test/test_screening_risk_level_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_amount.py b/test/test_screening_tr_link_amount.py index 2f8aabdf..2396b2cf 100644 --- a/test/test_screening_tr_link_amount.py +++ b/test/test_screening_tr_link_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_missing_trm_decision.py b/test/test_screening_tr_link_missing_trm_decision.py index 52626c49..ebac6ba5 100644 --- a/test/test_screening_tr_link_missing_trm_decision.py +++ b/test/test_screening_tr_link_missing_trm_decision.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_missing_trm_rule.py b/test/test_screening_tr_link_missing_trm_rule.py index 2dff58fc..d6d957b7 100644 --- a/test/test_screening_tr_link_missing_trm_rule.py +++ b/test/test_screening_tr_link_missing_trm_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_post_screening_rule.py b/test/test_screening_tr_link_post_screening_rule.py index 06fb904d..d029ebbc 100644 --- a/test/test_screening_tr_link_post_screening_rule.py +++ b/test/test_screening_tr_link_post_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_prescreening_rule.py b/test/test_screening_tr_link_prescreening_rule.py index 8ee336be..d5ea92f8 100644 --- a/test/test_screening_tr_link_prescreening_rule.py +++ b/test/test_screening_tr_link_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_tr_link_rule_base.py b/test/test_screening_tr_link_rule_base.py index e3962a6c..cd4f85f8 100644 --- a/test/test_screening_tr_link_rule_base.py +++ b/test/test_screening_tr_link_rule_base.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_travel_rule_matched_rule.py b/test/test_screening_travel_rule_matched_rule.py index 01bbb810..e7328db9 100644 --- a/test/test_screening_travel_rule_matched_rule.py +++ b/test/test_screening_travel_rule_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_travel_rule_prescreening_rule.py b/test/test_screening_travel_rule_prescreening_rule.py index 2d0f1e55..c1982dc2 100644 --- a/test/test_screening_travel_rule_prescreening_rule.py +++ b/test/test_screening_travel_rule_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_travel_rule_result.py b/test/test_screening_travel_rule_result.py index 04368bb2..49e3bd2a 100644 --- a/test/test_screening_travel_rule_result.py +++ b/test/test_screening_travel_rule_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_update_configurations.py b/test/test_screening_update_configurations.py index c6e21401..ef763341 100644 --- a/test/test_screening_update_configurations.py +++ b/test/test_screening_update_configurations.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_validation_failure.py b/test/test_screening_validation_failure.py index 8c0f49e5..e07fdf56 100644 --- a/test/test_screening_validation_failure.py +++ b/test/test_screening_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_verdict.py b/test/test_screening_verdict.py index c8c85052..037b2174 100644 --- a/test/test_screening_verdict.py +++ b/test/test_screening_verdict.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_verdict_enum.py b/test/test_screening_verdict_enum.py index dd894235..a9274de9 100644 --- a/test/test_screening_verdict_enum.py +++ b/test/test_screening_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_screening_verdict_matched_rule.py b/test/test_screening_verdict_matched_rule.py index 9728e580..a0721971 100644 --- a/test/test_screening_verdict_matched_rule.py +++ b/test/test_screening_verdict_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_search_network_ids_response.py b/test/test_search_network_ids_response.py index 9eaebf4d..3c0c9bfe 100644 --- a/test/test_search_network_ids_response.py +++ b/test/test_search_network_ids_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sepa_address.py b/test/test_sepa_address.py index 2fd69dc5..7b9f99f0 100644 --- a/test/test_sepa_address.py +++ b/test/test_sepa_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sepa_destination.py b/test/test_sepa_destination.py index 1d28ef8f..526a3762 100644 --- a/test/test_sepa_destination.py +++ b/test/test_sepa_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sepa_payment_info.py b/test/test_sepa_payment_info.py index a72b5ce5..1aef5503 100644 --- a/test/test_sepa_payment_info.py +++ b/test/test_sepa_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_session_dto.py b/test/test_session_dto.py index aaab1f32..8622c059 100644 --- a/test/test_session_dto.py +++ b/test/test_session_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_session_metadata.py b/test/test_session_metadata.py index 027a9deb..5d4a3aaf 100644 --- a/test/test_session_metadata.py +++ b/test/test_session_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_admin_quorum_threshold_request.py b/test/test_set_admin_quorum_threshold_request.py index bf3d187e..41946c5e 100644 --- a/test/test_set_admin_quorum_threshold_request.py +++ b/test/test_set_admin_quorum_threshold_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_admin_quorum_threshold_response.py b/test/test_set_admin_quorum_threshold_response.py index e6f1e680..e188cc5a 100644 --- a/test/test_set_admin_quorum_threshold_response.py +++ b/test/test_set_admin_quorum_threshold_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_asset_price_request.py b/test/test_set_asset_price_request.py index b639d446..a9ef470e 100644 --- a/test/test_set_asset_price_request.py +++ b/test/test_set_asset_price_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_auto_fuel_request.py b/test/test_set_auto_fuel_request.py index 9d6da93e..c8f039a4 100644 --- a/test/test_set_auto_fuel_request.py +++ b/test/test_set_auto_fuel_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_confirmations_threshold_request.py b/test/test_set_confirmations_threshold_request.py index 73a77051..ae7f130b 100644 --- a/test/test_set_confirmations_threshold_request.py +++ b/test/test_set_confirmations_threshold_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_confirmations_threshold_response.py b/test/test_set_confirmations_threshold_response.py index e24b865f..a873e1bd 100644 --- a/test/test_set_confirmations_threshold_response.py +++ b/test/test_set_confirmations_threshold_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_customer_ref_id_for_address_request.py b/test/test_set_customer_ref_id_for_address_request.py index a7b7fdc6..5ad450d6 100644 --- a/test/test_set_customer_ref_id_for_address_request.py +++ b/test/test_set_customer_ref_id_for_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_customer_ref_id_request.py b/test/test_set_customer_ref_id_request.py index 6ed27fca..9e12bc2e 100644 --- a/test/test_set_customer_ref_id_request.py +++ b/test/test_set_customer_ref_id_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_layer_zero_dvn_config_request.py b/test/test_set_layer_zero_dvn_config_request.py index 4f686845..5811920b 100644 --- a/test/test_set_layer_zero_dvn_config_request.py +++ b/test/test_set_layer_zero_dvn_config_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_layer_zero_dvn_config_response.py b/test/test_set_layer_zero_dvn_config_response.py index 67e7e725..d767c791 100644 --- a/test/test_set_layer_zero_dvn_config_response.py +++ b/test/test_set_layer_zero_dvn_config_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_layer_zero_peers_request.py b/test/test_set_layer_zero_peers_request.py index 81da47a5..2b81e7c6 100644 --- a/test/test_set_layer_zero_peers_request.py +++ b/test/test_set_layer_zero_peers_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_layer_zero_peers_response.py b/test/test_set_layer_zero_peers_response.py index c5f6a5be..1cee00c1 100644 --- a/test/test_set_layer_zero_peers_response.py +++ b/test/test_set_layer_zero_peers_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_network_id_discoverability_request.py b/test/test_set_network_id_discoverability_request.py index 4123b732..5aa1c38c 100644 --- a/test/test_set_network_id_discoverability_request.py +++ b/test/test_set_network_id_discoverability_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_network_id_name_request.py b/test/test_set_network_id_name_request.py index 544d2b23..07bee337 100644 --- a/test/test_set_network_id_name_request.py +++ b/test/test_set_network_id_name_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_network_id_response.py b/test/test_set_network_id_response.py index 16237bfa..d7dd3400 100644 --- a/test/test_set_network_id_response.py +++ b/test/test_set_network_id_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_network_id_routing_policy_request.py b/test/test_set_network_id_routing_policy_request.py index 34eca0a2..19a253c6 100644 --- a/test/test_set_network_id_routing_policy_request.py +++ b/test/test_set_network_id_routing_policy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_ota_status_request.py b/test/test_set_ota_status_request.py index f56ca01a..3a2b69fc 100644 --- a/test/test_set_ota_status_request.py +++ b/test/test_set_ota_status_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_ota_status_response.py b/test/test_set_ota_status_response.py index d74bd1c4..6af3e6ae 100644 --- a/test/test_set_ota_status_response.py +++ b/test/test_set_ota_status_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_ota_status_response_one_of.py b/test/test_set_ota_status_response_one_of.py index 9603859f..2fcaa877 100644 --- a/test/test_set_ota_status_response_one_of.py +++ b/test/test_set_ota_status_response_one_of.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_routing_policy_request.py b/test/test_set_routing_policy_request.py index 012e5971..651412fb 100644 --- a/test/test_set_routing_policy_request.py +++ b/test/test_set_routing_policy_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_set_routing_policy_response.py b/test/test_set_routing_policy_response.py index b073f911..6efdfe05 100644 --- a/test/test_set_routing_policy_response.py +++ b/test/test_set_routing_policy_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_settlement.py b/test/test_settlement.py index a86dcdac..49c47834 100644 --- a/test/test_settlement.py +++ b/test/test_settlement.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,13 +37,13 @@ def make_instance(self, include_optional) -> Settlement: model = Settlement() if include_optional: return Settlement( - type = 'PREFUNDED', + type = 'DVP', destination_account = None, source_account = None ) else: return Settlement( - type = 'PREFUNDED', + type = 'DVP', destination_account = None, source_account = None, ) diff --git a/test/test_settlement_request_body.py b/test/test_settlement_request_body.py index 34fd681c..e8694b18 100644 --- a/test/test_settlement_request_body.py +++ b/test/test_settlement_request_body.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_settlement_response.py b/test/test_settlement_response.py index 8795b01b..4ef48dcd 100644 --- a/test/test_settlement_response.py +++ b/test/test_settlement_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_settlement_source_account.py b/test/test_settlement_source_account.py index 87426db1..a6b849cc 100644 --- a/test/test_settlement_source_account.py +++ b/test/test_settlement_source_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,12 +37,13 @@ def make_instance(self, include_optional) -> SettlementSourceAccount: model = SettlementSourceAccount() if include_optional: return SettlementSourceAccount( - type = 'VAULT_ACCOUNT', - account_id = '' + type = 'EXTERNAL', + account_id = '', + sender_information = None ) else: return SettlementSourceAccount( - type = 'VAULT_ACCOUNT', + type = 'EXTERNAL', account_id = '', ) """ diff --git a/test/test_side.py b/test/test_side.py new file mode 100644 index 00000000..00fc8c7d --- /dev/null +++ b/test/test_side.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.side import Side + + +class TestSide(unittest.TestCase): + """Side unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSide(self): + """Test Side""" + # inst = Side() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_signed_message.py b/test/test_signed_message.py index 40aaadef..7ba9202c 100644 --- a/test/test_signed_message.py +++ b/test/test_signed_message.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_signed_message_signature.py b/test/test_signed_message_signature.py index e2e096a1..ddb0f16f 100644 --- a/test/test_signed_message_signature.py +++ b/test/test_signed_message_signature.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_signing_key_dto.py b/test/test_signing_key_dto.py index fc90e0ae..c085e1a5 100644 --- a/test/test_signing_key_dto.py +++ b/test/test_signing_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_api.py b/test/test_smart_transfer_api.py index 84e5258b..fd5a6ca7 100644 --- a/test/test_smart_transfer_api.py +++ b/test/test_smart_transfer_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ def tearDown(self) -> None: def test_approve_dv_p_ticket_term(self) -> None: """Test case for approve_dv_p_ticket_term - Define funding source and give approve to contract to transfer asset + Set funding source and approval """ pass @@ -58,14 +58,14 @@ def test_create_ticket_term(self) -> None: def test_find_ticket_by_id(self) -> None: """Test case for find_ticket_by_id - Search Tickets by ID + Search Ticket by ID """ pass def test_find_ticket_term_by_id(self) -> None: """Test case for find_ticket_term_by_id - Search ticket by leg (term) ID + Get Smart Transfer ticket term """ pass diff --git a/test/test_smart_transfer_approve_term.py b/test/test_smart_transfer_approve_term.py index 09b27739..318ede4a 100644 --- a/test/test_smart_transfer_approve_term.py +++ b/test/test_smart_transfer_approve_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_bad_request_response.py b/test/test_smart_transfer_bad_request_response.py index 19cfae6d..800a5ee0 100644 --- a/test/test_smart_transfer_bad_request_response.py +++ b/test/test_smart_transfer_bad_request_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_coin_statistic.py b/test/test_smart_transfer_coin_statistic.py index ca51a466..0db2472c 100644 --- a/test/test_smart_transfer_coin_statistic.py +++ b/test/test_smart_transfer_coin_statistic.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_create_ticket.py b/test/test_smart_transfer_create_ticket.py index 3ee70382..ab1a237b 100644 --- a/test/test_smart_transfer_create_ticket.py +++ b/test/test_smart_transfer_create_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_create_ticket_term.py b/test/test_smart_transfer_create_ticket_term.py index e781dc3f..a0e98166 100644 --- a/test/test_smart_transfer_create_ticket_term.py +++ b/test/test_smart_transfer_create_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_forbidden_response.py b/test/test_smart_transfer_forbidden_response.py index 58887273..751f8006 100644 --- a/test/test_smart_transfer_forbidden_response.py +++ b/test/test_smart_transfer_forbidden_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_fund_dvp_ticket.py b/test/test_smart_transfer_fund_dvp_ticket.py index 2589c35d..f98336da 100644 --- a/test/test_smart_transfer_fund_dvp_ticket.py +++ b/test/test_smart_transfer_fund_dvp_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_fund_term.py b/test/test_smart_transfer_fund_term.py index e32628e7..209bc130 100644 --- a/test/test_smart_transfer_fund_term.py +++ b/test/test_smart_transfer_fund_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_manually_fund_term.py b/test/test_smart_transfer_manually_fund_term.py index 2861fbe6..59e4cef4 100644 --- a/test/test_smart_transfer_manually_fund_term.py +++ b/test/test_smart_transfer_manually_fund_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_not_found_response.py b/test/test_smart_transfer_not_found_response.py index 8c4f3d6f..a54cd5c0 100644 --- a/test/test_smart_transfer_not_found_response.py +++ b/test/test_smart_transfer_not_found_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_set_ticket_expiration.py b/test/test_smart_transfer_set_ticket_expiration.py index 09de1397..e9783e7c 100644 --- a/test/test_smart_transfer_set_ticket_expiration.py +++ b/test/test_smart_transfer_set_ticket_expiration.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_set_ticket_external_id.py b/test/test_smart_transfer_set_ticket_external_id.py index e9857ea7..2e954508 100644 --- a/test/test_smart_transfer_set_ticket_external_id.py +++ b/test/test_smart_transfer_set_ticket_external_id.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_set_user_groups.py b/test/test_smart_transfer_set_user_groups.py index d9e207c8..f53654c7 100644 --- a/test/test_smart_transfer_set_user_groups.py +++ b/test/test_smart_transfer_set_user_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_statistic.py b/test/test_smart_transfer_statistic.py index 6fe62413..cd5099f2 100644 --- a/test/test_smart_transfer_statistic.py +++ b/test/test_smart_transfer_statistic.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_statistic_inflow.py b/test/test_smart_transfer_statistic_inflow.py index 14ab8266..3e35885f 100644 --- a/test/test_smart_transfer_statistic_inflow.py +++ b/test/test_smart_transfer_statistic_inflow.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_statistic_outflow.py b/test/test_smart_transfer_statistic_outflow.py index 4b491055..d2e1a78e 100644 --- a/test/test_smart_transfer_statistic_outflow.py +++ b/test/test_smart_transfer_statistic_outflow.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_submit_ticket.py b/test/test_smart_transfer_submit_ticket.py index d53867ae..246491e9 100644 --- a/test/test_smart_transfer_submit_ticket.py +++ b/test/test_smart_transfer_submit_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_ticket.py b/test/test_smart_transfer_ticket.py index b2821459..4467e8c8 100644 --- a/test/test_smart_transfer_ticket.py +++ b/test/test_smart_transfer_ticket.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_ticket_filtered_response.py b/test/test_smart_transfer_ticket_filtered_response.py index 1eff5f59..7c7c2708 100644 --- a/test/test_smart_transfer_ticket_filtered_response.py +++ b/test/test_smart_transfer_ticket_filtered_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_ticket_response.py b/test/test_smart_transfer_ticket_response.py index 2556b3cf..bef9c4a6 100644 --- a/test/test_smart_transfer_ticket_response.py +++ b/test/test_smart_transfer_ticket_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_ticket_term.py b/test/test_smart_transfer_ticket_term.py index 5e029af1..9644a233 100644 --- a/test/test_smart_transfer_ticket_term.py +++ b/test/test_smart_transfer_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_ticket_term_response.py b/test/test_smart_transfer_ticket_term_response.py index fc5d9838..b3cbe014 100644 --- a/test/test_smart_transfer_ticket_term_response.py +++ b/test/test_smart_transfer_ticket_term_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_update_ticket_term.py b/test/test_smart_transfer_update_ticket_term.py index a67a58d1..e24c2baa 100644 --- a/test/test_smart_transfer_update_ticket_term.py +++ b/test/test_smart_transfer_update_ticket_term.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_user_groups.py b/test/test_smart_transfer_user_groups.py index fd75708e..6c578735 100644 --- a/test/test_smart_transfer_user_groups.py +++ b/test/test_smart_transfer_user_groups.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_smart_transfer_user_groups_response.py b/test/test_smart_transfer_user_groups_response.py index 2ea114c4..9500fb76 100644 --- a/test/test_smart_transfer_user_groups_response.py +++ b/test/test_smart_transfer_user_groups_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sol_account.py b/test/test_sol_account.py index 950adea8..196e7213 100644 --- a/test/test_sol_account.py +++ b/test/test_sol_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sol_account_with_value.py b/test/test_sol_account_with_value.py index 9c12cd29..558946de 100644 --- a/test/test_sol_account_with_value.py +++ b/test/test_sol_account_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sol_parameter.py b/test/test_sol_parameter.py index fef5192b..745febf3 100644 --- a/test/test_sol_parameter.py +++ b/test/test_sol_parameter.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_sol_parameter_with_value.py b/test/test_sol_parameter_with_value.py index 55bbe3fb..ff809e11 100644 --- a/test/test_sol_parameter_with_value.py +++ b/test/test_sol_parameter_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_solana_blockchain_data.py b/test/test_solana_blockchain_data.py index 736f6011..1d54c281 100644 --- a/test/test_solana_blockchain_data.py +++ b/test/test_solana_blockchain_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_solana_config.py b/test/test_solana_config.py index 356fe445..7153d700 100644 --- a/test/test_solana_config.py +++ b/test/test_solana_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_solana_instruction.py b/test/test_solana_instruction.py index 26630767..773d5bd9 100644 --- a/test/test_solana_instruction.py +++ b/test/test_solana_instruction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_solana_instruction_with_value.py b/test/test_solana_instruction_with_value.py index 5be768ea..7f96609d 100644 --- a/test/test_solana_instruction_with_value.py +++ b/test/test_solana_instruction_with_value.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_solana_simple_create_params.py b/test/test_solana_simple_create_params.py index 63672d13..2bf65e58 100644 --- a/test/test_solana_simple_create_params.py +++ b/test/test_solana_simple_create_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_source_config.py b/test/test_source_config.py index f4486bcd..419750a4 100644 --- a/test/test_source_config.py +++ b/test/test_source_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_source_transfer_peer_path.py b/test/test_source_transfer_peer_path.py index 75d0446c..719983ae 100644 --- a/test/test_source_transfer_peer_path.py +++ b/test/test_source_transfer_peer_path.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_source_transfer_peer_path_response.py b/test/test_source_transfer_peer_path_response.py index 30bd343c..8451e48a 100644 --- a/test/test_source_transfer_peer_path_response.py +++ b/test/test_source_transfer_peer_path_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spam_ownership_response.py b/test/test_spam_ownership_response.py index c16a960e..7090599d 100644 --- a/test/test_spam_ownership_response.py +++ b/test/test_spam_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spam_token_response.py b/test/test_spam_token_response.py index 5164d246..a542e720 100644 --- a/test/test_spam_token_response.py +++ b/test/test_spam_token_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spei_address.py b/test/test_spei_address.py index 38234da6..b8478205 100644 --- a/test/test_spei_address.py +++ b/test/test_spei_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spei_advanced_payment_info.py b/test/test_spei_advanced_payment_info.py index a81805bb..cf13afa3 100644 --- a/test/test_spei_advanced_payment_info.py +++ b/test/test_spei_advanced_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spei_basic_payment_info.py b/test/test_spei_basic_payment_info.py index e23d2e1c..4dfe3a50 100644 --- a/test/test_spei_basic_payment_info.py +++ b/test/test_spei_basic_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_spei_destination.py b/test/test_spei_destination.py index a372049f..22c8a37c 100644 --- a/test/test_spei_destination.py +++ b/test/test_spei_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_split_request.py b/test/test_split_request.py index 4a59c370..be8ee3d8 100644 --- a/test/test_split_request.py +++ b/test/test_split_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> SplitRequest: model = SplitRequest() if include_optional: return SplitRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', amount = '20', fee = '7', fee_level = 'MEDIUM', @@ -45,7 +45,7 @@ def make_instance(self, include_optional) -> SplitRequest: ) else: return SplitRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', amount = '20', ) """ diff --git a/test/test_split_response.py b/test/test_split_response.py index 48042356..a7f0f2cf 100644 --- a/test/test_split_response.py +++ b/test/test_split_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_st_eth_blockchain_data.py b/test/test_st_eth_blockchain_data.py new file mode 100644 index 00000000..c20068eb --- /dev/null +++ b/test/test_st_eth_blockchain_data.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.st_eth_blockchain_data import StEthBlockchainData + + +class TestStEthBlockchainData(unittest.TestCase): + """StEthBlockchainData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StEthBlockchainData: + """Test StEthBlockchainData + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `StEthBlockchainData` + """ + model = StEthBlockchainData() + if include_optional: + return StEthBlockchainData( + total_withdrawable_amount = '1.5', + total_inactive_amount = '2.0' + ) + else: + return StEthBlockchainData( + total_withdrawable_amount = '1.5', + total_inactive_amount = '2.0', + ) + """ + + def testStEthBlockchainData(self): + """Test StEthBlockchainData""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_stake_request.py b/test/test_stake_request.py index 456ce819..a875a965 100644 --- a/test/test_stake_request.py +++ b/test/test_stake_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -40,9 +40,12 @@ def make_instance(self, include_optional) -> StakeRequest: vault_account_id = '22', provider_id = 'kiln', stake_amount = '32', - tx_note = 'stake request id CcaHc2L43ZWjwCHART3oZoJvHLAe9hzT2DJNUpBzoTN1 of 32ETH created on 02.04.23', + tx_note = 'stake request of 32ETH created on 02.04.23', fee = '7', - fee_level = 'MEDIUM' + fee_level = 'MEDIUM', + chain_descriptor = 'ETH', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', + is_compounding_validator = True ) else: return StakeRequest( diff --git a/test/test_stake_response.py b/test/test_stake_response.py index 956ef9b0..6f2b06d6 100644 --- a/test/test_stake_response.py +++ b/test/test_stake_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_staking_api.py b/test/test_staking_api.py index 44a17386..5096d31e 100644 --- a/test/test_staking_api.py +++ b/test/test_staking_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,98 +30,98 @@ def tearDown(self) -> None: def test_approve_terms_of_service_by_provider_id(self) -> None: """Test case for approve_terms_of_service_by_provider_id - Approve staking terms of service + Approve provider terms of service """ pass def test_claim_rewards(self) -> None: """Test case for claim_rewards - Execute a Claim Rewards operation + Claim accrued rewards """ pass def test_get_all_delegations(self) -> None: """Test case for get_all_delegations - List staking positions details + List staking positions """ pass def test_get_chain_info(self) -> None: """Test case for get_chain_info - Get chain-specific staking summary + Get chain-level staking parameters """ pass def test_get_chains(self) -> None: """Test case for get_chains - List staking supported chains + List supported staking chains """ pass def test_get_delegation_by_id(self) -> None: """Test case for get_delegation_by_id - Get staking position details + Get position details """ pass def test_get_providers(self) -> None: """Test case for get_providers - List staking providers details + List staking providers """ pass def test_get_summary(self) -> None: """Test case for get_summary - Get staking summary details + Get positions summary """ pass def test_get_summary_by_vault(self) -> None: """Test case for get_summary_by_vault - Get staking summary details by vault + Get positions summary by vault """ pass def test_merge_stake_accounts(self) -> None: """Test case for merge_stake_accounts - Merge Solana on stake accounts + Merge staking positions """ pass def test_split(self) -> None: """Test case for split - Execute a Split operation on SOL/SOL_TEST stake account + Split a staking position """ pass def test_stake(self) -> None: """Test case for stake - Initiate Stake Operation + Initiate or add to existing stake """ pass def test_unstake(self) -> None: """Test case for unstake - Execute an Unstake operation + Initiate unstake """ pass def test_withdraw(self) -> None: """Test case for withdraw - Execute a Withdraw operation + Withdraw staked funds """ pass diff --git a/test/test_staking_provider.py b/test/test_staking_provider.py index 28512dba..3476b9d0 100644 --- a/test/test_staking_provider.py +++ b/test/test_staking_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_status.py b/test/test_status.py index 880ab3da..0fce7cdd 100644 --- a/test/test_status.py +++ b/test/test_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_stellar_ripple_create_params_dto.py b/test/test_stellar_ripple_create_params_dto.py index 893d4951..fcd1f51b 100644 --- a/test/test_stellar_ripple_create_params_dto.py +++ b/test/test_stellar_ripple_create_params_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_supported_block_chains_response.py b/test/test_supported_block_chains_response.py new file mode 100644 index 00000000..db7f47e2 --- /dev/null +++ b/test/test_supported_block_chains_response.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.supported_block_chains_response import ( + SupportedBlockChainsResponse, +) + + +class TestSupportedBlockChainsResponse(unittest.TestCase): + """SupportedBlockChainsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupportedBlockChainsResponse: + """Test SupportedBlockChainsResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `SupportedBlockChainsResponse` + """ + model = SupportedBlockChainsResponse() + if include_optional: + return SupportedBlockChainsResponse( + supports_all_blockchains = True, + supported_blockchains = [ + fireblocks.models.supported_blockchain.SupportedBlockchain( + id = '9f9f7062-df90-4fc0-8697-96685184357b', + legacy_id = 'ETH', + display_name = 'Ethereum', + native_asset_id = '9f9f7062-df90-4fc0-8697-96685184356a', ) + ] + ) + else: + return SupportedBlockChainsResponse( + supports_all_blockchains = True, + ) + """ + + def testSupportedBlockChainsResponse(self): + """Test SupportedBlockChainsResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_supported_blockchain.py b/test/test_supported_blockchain.py new file mode 100644 index 00000000..12406ffe --- /dev/null +++ b/test/test_supported_blockchain.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.supported_blockchain import SupportedBlockchain + + +class TestSupportedBlockchain(unittest.TestCase): + """SupportedBlockchain unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SupportedBlockchain: + """Test SupportedBlockchain + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `SupportedBlockchain` + """ + model = SupportedBlockchain() + if include_optional: + return SupportedBlockchain( + id = '9f9f7062-df90-4fc0-8697-96685184357b', + legacy_id = 'ETH', + display_name = 'Ethereum', + native_asset_id = '9f9f7062-df90-4fc0-8697-96685184356a' + ) + else: + return SupportedBlockchain( + id = '9f9f7062-df90-4fc0-8697-96685184357b', + legacy_id = 'ETH', + display_name = 'Ethereum', + native_asset_id = '9f9f7062-df90-4fc0-8697-96685184356a', + ) + """ + + def testSupportedBlockchain(self): + """Test SupportedBlockchain""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_swift_address.py b/test/test_swift_address.py index 0d42eea8..b0cb588f 100644 --- a/test/test_swift_address.py +++ b/test/test_swift_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_swift_destination.py b/test/test_swift_destination.py index 30562ac6..7c9e08c9 100644 --- a/test/test_swift_destination.py +++ b/test/test_swift_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_system_message_info.py b/test/test_system_message_info.py index 30b82607..c086e79c 100644 --- a/test/test_system_message_info.py +++ b/test/test_system_message_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tag.py b/test/test_tag.py index d1663c8b..e776ce73 100644 --- a/test/test_tag.py +++ b/test/test_tag.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -40,14 +40,20 @@ def make_instance(self, include_optional) -> Tag: id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', description = 'Tag for VIP customers', + color = '#FF5733', is_protected = True, - color = '', - updated_at = '1719859200' + updated_at = 1717084800000, + pending_approval_request = fireblocks.models.approval_request.ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', ) ) else: return Tag( id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', + is_protected = True, + updated_at = 1717084800000, ) """ diff --git a/test/test_tag_attachment_operation_action.py b/test/test_tag_attachment_operation_action.py index 8836c414..353d5b69 100644 --- a/test/test_tag_attachment_operation_action.py +++ b/test/test_tag_attachment_operation_action.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tags_api.py b/test/test_tags_api.py index 25a8ac1b..7ac94561 100644 --- a/test/test_tags_api.py +++ b/test/test_tags_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,10 +27,17 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_cancel_approval_request(self) -> None: + """Test case for cancel_approval_request + + Cancel an approval request by id + """ + pass + def test_create_tag(self) -> None: """Test case for create_tag - Create a tag + Create a new tag """ pass @@ -41,6 +48,13 @@ def test_delete_tag(self) -> None: """ pass + def test_get_approval_request(self) -> None: + """Test case for get_approval_request + + Get an approval request by id + """ + pass + def test_get_tag(self) -> None: """Test case for get_tag diff --git a/test/test_tags_paged_response.py b/test/test_tags_paged_response.py index 1cd072c7..6578a0b1 100644 --- a/test/test_tags_paged_response.py +++ b/test/test_tags_paged_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -42,9 +42,13 @@ def make_instance(self, include_optional) -> TagsPagedResponse: id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', description = 'Tag for VIP customers', + color = '#FF5733', is_protected = True, - color = '', - updated_at = '1719859200', ) + updated_at = 1717084800000, + pending_approval_request = fireblocks.models.approval_request.ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', ), ) ], next = 'MjAyNS0wNy0wOSAxMDo1MzoxMy40NTI=:NA==' ) @@ -55,9 +59,13 @@ def make_instance(self, include_optional) -> TagsPagedResponse: id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', description = 'Tag for VIP customers', + color = '#FF5733', is_protected = True, - color = '', - updated_at = '1719859200', ) + updated_at = 1717084800000, + pending_approval_request = fireblocks.models.approval_request.ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', ), ) ], next = 'MjAyNS0wNy0wOSAxMDo1MzoxMy40NTI=:NA==', ) diff --git a/test/test_task.py b/test/test_task.py deleted file mode 100644 index 86432fad..00000000 --- a/test/test_task.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.task import Task - - -class TestTask(unittest.TestCase): - """Task unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Task: - """Test Task - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `Task` - """ - model = Task() - if include_optional: - return Task( - id = '', - job_id = '', - type = '', - tenant_id = '', - created = 1.337, - updated = 1.337, - state = '' - ) - else: - return Task( - ) - """ - - def testTask(self): - """Test Task""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_templates_paginated_response.py b/test/test_templates_paginated_response.py index 588be9f2..a9b3afea 100644 --- a/test/test_templates_paginated_response.py +++ b/test/test_templates_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_third_party_routing.py b/test/test_third_party_routing.py index 7d2f9d27..d8a6cfee 100644 --- a/test/test_third_party_routing.py +++ b/test/test_third_party_routing.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_time_in_force.py b/test/test_time_in_force.py deleted file mode 100644 index 55988d99..00000000 --- a/test/test_time_in_force.py +++ /dev/null @@ -1,36 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.time_in_force import TimeInForce - - -class TestTimeInForce(unittest.TestCase): - """TimeInForce unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTimeInForce(self): - """Test TimeInForce""" - # inst = TimeInForce() - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_time_period_config.py b/test/test_time_period_config.py index 1616a814..b9750373 100644 --- a/test/test_time_period_config.py +++ b/test/test_time_period_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_time_period_match_type.py b/test/test_time_period_match_type.py index 25e5df4a..31d47148 100644 --- a/test/test_time_period_match_type.py +++ b/test/test_time_period_match_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_to_collateral_transaction.py b/test/test_to_collateral_transaction.py index 463b05af..a223c89c 100644 --- a/test/test_to_collateral_transaction.py +++ b/test/test_to_collateral_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_to_exchange_transaction.py b/test/test_to_exchange_transaction.py index 5728ed5c..9c51945e 100644 --- a/test/test_to_exchange_transaction.py +++ b/test/test_to_exchange_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_collection_response.py b/test/test_token_collection_response.py index 50b54070..fc22e290 100644 --- a/test/test_token_collection_response.py +++ b/test/test_token_collection_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_contract_summary_response.py b/test/test_token_contract_summary_response.py new file mode 100644 index 00000000..f250c404 --- /dev/null +++ b/test/test_token_contract_summary_response.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.token_contract_summary_response import ( + TokenContractSummaryResponse, +) + + +class TestTokenContractSummaryResponse(unittest.TestCase): + """TokenContractSummaryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TokenContractSummaryResponse: + """Test TokenContractSummaryResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TokenContractSummaryResponse` + """ + model = TokenContractSummaryResponse() + if include_optional: + return TokenContractSummaryResponse( + base_asset_id = 'ETH', + contract_address = '0x1234567890123456789012345678901234567890', + total_addresses = 150, + total_supply = '1000000000000000000000' + ) + else: + return TokenContractSummaryResponse( + base_asset_id = 'ETH', + contract_address = '0x1234567890123456789012345678901234567890', + total_addresses = 150, + total_supply = '1000000000000000000000', + ) + """ + + def testTokenContractSummaryResponse(self): + """Test TokenContractSummaryResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_token_info_not_found_error_response.py b/test/test_token_info_not_found_error_response.py index 4623f68d..606af792 100644 --- a/test/test_token_info_not_found_error_response.py +++ b/test/test_token_info_not_found_error_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_link_dto.py b/test/test_token_link_dto.py index 79b33a02..a6470781 100644 --- a/test/test_token_link_dto.py +++ b/test/test_token_link_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_link_dto_token_metadata.py b/test/test_token_link_dto_token_metadata.py index bc31ed17..da21e703 100644 --- a/test/test_token_link_dto_token_metadata.py +++ b/test/test_token_link_dto_token_metadata.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_link_exists_http_error.py b/test/test_token_link_exists_http_error.py index 9a56147c..9568f2f3 100644 --- a/test/test_token_link_exists_http_error.py +++ b/test/test_token_link_exists_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_link_not_multichain_compatible_http_error.py b/test/test_token_link_not_multichain_compatible_http_error.py index 6bc57d48..0ce7b1cf 100644 --- a/test/test_token_link_not_multichain_compatible_http_error.py +++ b/test/test_token_link_not_multichain_compatible_http_error.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_link_request_dto.py b/test/test_token_link_request_dto.py index 3e7c5135..167abf0e 100644 --- a/test/test_token_link_request_dto.py +++ b/test/test_token_link_request_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_ownership_response.py b/test/test_token_ownership_response.py index 21beccaf..f5a94e89 100644 --- a/test/test_token_ownership_response.py +++ b/test/test_token_ownership_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_ownership_spam_update_payload.py b/test/test_token_ownership_spam_update_payload.py index 228f47c5..f0f61346 100644 --- a/test/test_token_ownership_spam_update_payload.py +++ b/test/test_token_ownership_spam_update_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_ownership_status_update_payload.py b/test/test_token_ownership_status_update_payload.py index d0be8cce..c8b0ec90 100644 --- a/test/test_token_ownership_status_update_payload.py +++ b/test/test_token_ownership_status_update_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_token_response.py b/test/test_token_response.py index 32dc743f..1624fc5d 100644 --- a/test/test_token_response.py +++ b/test/test_token_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tokenization_api.py b/test/test_tokenization_api.py index 09f9258d..73158c69 100644 --- a/test/test_tokenization_api.py +++ b/test/test_tokenization_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -111,6 +111,13 @@ def test_get_linked_tokens(self) -> None: """ pass + def test_get_linked_tokens_count(self) -> None: + """Test case for get_linked_tokens_count + + Get the total count of linked tokens + """ + pass + def test_issue_new_token(self) -> None: """Test case for issue_new_token diff --git a/test/test_tokens_paginated_response.py b/test/test_tokens_paginated_response.py index deb14800..a77fa9fb 100644 --- a/test/test_tokens_paginated_response.py +++ b/test/test_tokens_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_total_supply_item_dto.py b/test/test_total_supply_item_dto.py new file mode 100644 index 00000000..f33c3d6f --- /dev/null +++ b/test/test_total_supply_item_dto.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.total_supply_item_dto import TotalSupplyItemDto + + +class TestTotalSupplyItemDto(unittest.TestCase): + """TotalSupplyItemDto unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TotalSupplyItemDto: + """Test TotalSupplyItemDto + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TotalSupplyItemDto` + """ + model = TotalSupplyItemDto() + if include_optional: + return TotalSupplyItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + total_supply = '1000000000000000000000' + ) + else: + return TotalSupplyItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + total_supply = '1000000000000000000000', + ) + """ + + def testTotalSupplyItemDto(self): + """Test TotalSupplyItemDto""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_total_supply_paged_response.py b/test/test_total_supply_paged_response.py new file mode 100644 index 00000000..05ae2ce5 --- /dev/null +++ b/test/test_total_supply_paged_response.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.total_supply_paged_response import TotalSupplyPagedResponse + + +class TestTotalSupplyPagedResponse(unittest.TestCase): + """TotalSupplyPagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TotalSupplyPagedResponse: + """Test TotalSupplyPagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TotalSupplyPagedResponse` + """ + model = TotalSupplyPagedResponse() + if include_optional: + return TotalSupplyPagedResponse( + data = [ + fireblocks.models.total_supply_item_dto.TotalSupplyItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + total_supply = '1000000000000000000000', ) + ], + next = 'MjAyMy0xMi0xMyAyMDozNjowOC4zMDI=:MTEwMA==', + prev = 'dGhpcyBpcyBhIHByZXZpb3VzIGN1cnNvcg==', + total = 150 + ) + else: + return TotalSupplyPagedResponse( + data = [ + fireblocks.models.total_supply_item_dto.TotalSupplyItemDto( + timestamp = '2024-01-01T23:59:59.999Z', + total_supply = '1000000000000000000000', ) + ], + ) + """ + + def testTotalSupplyPagedResponse(self): + """Test TotalSupplyPagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_amount.py b/test/test_tr_link_amount.py index 4bbe0a77..2266ba17 100644 --- a/test/test_tr_link_amount.py +++ b/test/test_tr_link_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_amount2.py b/test/test_tr_link_amount2.py new file mode 100644 index 00000000..9a5e64a8 --- /dev/null +++ b/test/test_tr_link_amount2.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_amount2 import TRLinkAmount2 + + +class TestTRLinkAmount2(unittest.TestCase): + """TRLinkAmount2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAmount2: + """Test TRLinkAmount2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAmount2` + """ + model = TRLinkAmount2() + if include_optional: + return TRLinkAmount2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD' + ) + else: + return TRLinkAmount2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', + ) + """ + + def testTRLinkAmount2(self): + """Test TRLinkAmount2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_amount_range.py b/test/test_tr_link_amount_range.py new file mode 100644 index 00000000..398dabea --- /dev/null +++ b/test/test_tr_link_amount_range.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_amount_range import TRLinkAmountRange + + +class TestTRLinkAmountRange(unittest.TestCase): + """TRLinkAmountRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAmountRange: + """Test TRLinkAmountRange + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAmountRange` + """ + model = TRLinkAmountRange() + if include_optional: + return TRLinkAmountRange( + min = '1000', + max = '100000' + ) + else: + return TRLinkAmountRange( + ) + """ + + def testTRLinkAmountRange(self): + """Test TRLinkAmountRange""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_api.py b/test/test_tr_link_api.py new file mode 100644 index 00000000..77b589c1 --- /dev/null +++ b/test/test_tr_link_api.py @@ -0,0 +1,207 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.api.tr_link_api import TRLinkApi + + +class TestTRLinkApi(unittest.TestCase): + """TRLinkApi unit test stubs""" + + def setUp(self) -> None: + self.api = TRLinkApi() + + def tearDown(self) -> None: + pass + + def test_assess_tr_link_travel_rule_requirement(self) -> None: + """Test case for assess_tr_link_travel_rule_requirement + + Assess Travel Rule requirement + """ + pass + + def test_cancel_tr_link_trm(self) -> None: + """Test case for cancel_tr_link_trm + + Cancel Travel Rule Message + """ + pass + + def test_connect_tr_link_integration(self) -> None: + """Test case for connect_tr_link_integration + + Connect customer integration + """ + pass + + def test_create_tr_link_customer(self) -> None: + """Test case for create_tr_link_customer + + Create customer + """ + pass + + def test_create_tr_link_integration(self) -> None: + """Test case for create_tr_link_integration + + Create customer integration + """ + pass + + def test_create_tr_link_trm(self) -> None: + """Test case for create_tr_link_trm + + Create Travel Rule Message + """ + pass + + def test_delete_tr_link_customer(self) -> None: + """Test case for delete_tr_link_customer + + Delete customer + """ + pass + + def test_disconnect_tr_link_integration(self) -> None: + """Test case for disconnect_tr_link_integration + + Disconnect customer integration + """ + pass + + def test_get_tr_link_customer_by_id(self) -> None: + """Test case for get_tr_link_customer_by_id + + Get customer by ID + """ + pass + + def test_get_tr_link_customer_integration_by_id(self) -> None: + """Test case for get_tr_link_customer_integration_by_id + + Get customer integration by ID + """ + pass + + def test_get_tr_link_customer_integrations(self) -> None: + """Test case for get_tr_link_customer_integrations + + Get customer integrations + """ + pass + + def test_get_tr_link_customers(self) -> None: + """Test case for get_tr_link_customers + + Get all customers + """ + pass + + def test_get_tr_link_integration_public_key(self) -> None: + """Test case for get_tr_link_integration_public_key + + Get public key for PII encryption + """ + pass + + def test_get_tr_link_partners(self) -> None: + """Test case for get_tr_link_partners + + List available TRLink partners + """ + pass + + def test_get_tr_link_policy(self) -> None: + """Test case for get_tr_link_policy + + Get TRLink policy + """ + pass + + def test_get_tr_link_supported_asset(self) -> None: + """Test case for get_tr_link_supported_asset + + Get supported asset by ID + """ + pass + + def test_get_tr_link_trm_by_id(self) -> None: + """Test case for get_tr_link_trm_by_id + + Get TRM by ID + """ + pass + + def test_get_tr_link_vasp_by_id(self) -> None: + """Test case for get_tr_link_vasp_by_id + + Get VASP by ID + """ + pass + + def test_list_tr_link_supported_assets(self) -> None: + """Test case for list_tr_link_supported_assets + + List supported assets + """ + pass + + def test_list_tr_link_vasps(self) -> None: + """Test case for list_tr_link_vasps + + List VASPs + """ + pass + + def test_redirect_tr_link_trm(self) -> None: + """Test case for redirect_tr_link_trm + + Redirect Travel Rule Message + """ + pass + + def test_set_tr_link_destination_travel_rule_message_id(self) -> None: + """Test case for set_tr_link_destination_travel_rule_message_id + + Set destination travel rule message ID + """ + pass + + def test_set_tr_link_transaction_travel_rule_message_id(self) -> None: + """Test case for set_tr_link_transaction_travel_rule_message_id + + Set transaction travel rule message ID + """ + pass + + def test_test_tr_link_integration_connection(self) -> None: + """Test case for test_tr_link_integration_connection + + Test connection + """ + pass + + def test_update_tr_link_customer(self) -> None: + """Test case for update_tr_link_customer + + Update customer + """ + pass + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_api_paged_response.py b/test/test_tr_link_api_paged_response.py new file mode 100644 index 00000000..33cad368 --- /dev/null +++ b/test/test_tr_link_api_paged_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_api_paged_response import TRLinkAPIPagedResponse + + +class TestTRLinkAPIPagedResponse(unittest.TestCase): + """TRLinkAPIPagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAPIPagedResponse: + """Test TRLinkAPIPagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAPIPagedResponse` + """ + model = TRLinkAPIPagedResponse() + if include_optional: + return TRLinkAPIPagedResponse( + data = [ + { } + ], + paging = fireblocks.models.tr_link_paging.TRLinkPaging( + next = 'eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ==', ) + ) + else: + return TRLinkAPIPagedResponse( + data = [ + { } + ], + ) + """ + + def testTRLinkAPIPagedResponse(self): + """Test TRLinkAPIPagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_assess_travel_rule_request.py b/test/test_tr_link_assess_travel_rule_request.py new file mode 100644 index 00000000..55118bc5 --- /dev/null +++ b/test/test_tr_link_assess_travel_rule_request.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_assess_travel_rule_request import ( + TRLinkAssessTravelRuleRequest, +) + + +class TestTRLinkAssessTravelRuleRequest(unittest.TestCase): + """TRLinkAssessTravelRuleRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAssessTravelRuleRequest: + """Test TRLinkAssessTravelRuleRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAssessTravelRuleRequest` + """ + model = TRLinkAssessTravelRuleRequest() + if include_optional: + return TRLinkAssessTravelRuleRequest( + tx_id = '550e8400-e29b-41d4-a716-446655440000', + amount = '1000', + amount_usd = '1000.50', + destination = fireblocks.models.tr_link_destination_transfer_peer_path.TRLinkDestinationTransferPeerPath( + type = 'ONE_TIME_ADDRESS', + id = '45', + wallet_id = '0', + one_time_address = fireblocks.models.tr_link_one_time_address.TRLinkOneTimeAddress( + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + tag = '1234567890', ), ), + dest_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + dest_tag = '1234567890', + source = fireblocks.models.tr_link_source_transfer_peer_path.TRLinkSourceTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + wallet_id = '0', ), + src_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + asset_id = 'USDT_ERC20', + direction = 'OUTBOUND', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + originator_vasp_id = 'did:ethr:0x1234567890abcdef', + beneficiary_vasp_id = 'did:ethr:0xfedcba0987654321' + ) + else: + return TRLinkAssessTravelRuleRequest( + ) + """ + + def testTRLinkAssessTravelRuleRequest(self): + """Test TRLinkAssessTravelRuleRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_assess_travel_rule_response.py b/test/test_tr_link_assess_travel_rule_response.py new file mode 100644 index 00000000..d7494dcd --- /dev/null +++ b/test/test_tr_link_assess_travel_rule_response.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_assess_travel_rule_response import ( + TRLinkAssessTravelRuleResponse, +) + + +class TestTRLinkAssessTravelRuleResponse(unittest.TestCase): + """TRLinkAssessTravelRuleResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAssessTravelRuleResponse: + """Test TRLinkAssessTravelRuleResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAssessTravelRuleResponse` + """ + model = TRLinkAssessTravelRuleResponse() + if include_optional: + return TRLinkAssessTravelRuleResponse( + decision = 'REQUIRED', + reason = 'Transaction amount exceeds Travel Rule threshold for this jurisdiction', + required_fields = ["originator.name","originator.address","beneficiary.name","beneficiary.address"], + missing_info = ["beneficiary.nationalIdentification","beneficiary.dateOfBirth"], + thresholds = fireblocks.models.tr_link_thresholds.TRLinkThresholds( + amount = '1000', + currency = 'USD', ) + ) + else: + return TRLinkAssessTravelRuleResponse( + decision = 'REQUIRED', + reason = 'Transaction amount exceeds Travel Rule threshold for this jurisdiction', + ) + """ + + def testTRLinkAssessTravelRuleResponse(self): + """Test TRLinkAssessTravelRuleResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_assessment_decision.py b/test/test_tr_link_assessment_decision.py new file mode 100644 index 00000000..0cc08734 --- /dev/null +++ b/test/test_tr_link_assessment_decision.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_assessment_decision import TRLinkAssessmentDecision + + +class TestTRLinkAssessmentDecision(unittest.TestCase): + """TRLinkAssessmentDecision unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkAssessmentDecision(self): + """Test TRLinkAssessmentDecision""" + # inst = TRLinkAssessmentDecision() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_asset.py b/test/test_tr_link_asset.py new file mode 100644 index 00000000..fb8f91be --- /dev/null +++ b/test/test_tr_link_asset.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_asset import TRLinkAsset + + +class TestTRLinkAsset(unittest.TestCase): + """TRLinkAsset unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAsset: + """Test TRLinkAsset + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAsset` + """ + model = TRLinkAsset() + if include_optional: + return TRLinkAsset( + format = 'fireblocks', + data = fireblocks.models.tr_link_asset_data.TRLinkAssetData( + ticker = 'USDT', + network = 'ETH', + ucid = 825, + contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7', + id = 'USDT_ERC20', ) + ) + else: + return TRLinkAsset( + format = 'fireblocks', + data = fireblocks.models.tr_link_asset_data.TRLinkAssetData( + ticker = 'USDT', + network = 'ETH', + ucid = 825, + contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7', + id = 'USDT_ERC20', ), + ) + """ + + def testTRLinkAsset(self): + """Test TRLinkAsset""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_asset_data.py b/test/test_tr_link_asset_data.py new file mode 100644 index 00000000..36a23e50 --- /dev/null +++ b/test/test_tr_link_asset_data.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_asset_data import TRLinkAssetData + + +class TestTRLinkAssetData(unittest.TestCase): + """TRLinkAssetData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAssetData: + """Test TRLinkAssetData + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAssetData` + """ + model = TRLinkAssetData() + if include_optional: + return TRLinkAssetData( + ticker = 'USDT', + network = 'ETH', + ucid = 825, + contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7', + id = 'USDT_ERC20' + ) + else: + return TRLinkAssetData( + network = 'ETH', + ) + """ + + def testTRLinkAssetData(self): + """Test TRLinkAssetData""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_asset_format.py b/test/test_tr_link_asset_format.py new file mode 100644 index 00000000..850045aa --- /dev/null +++ b/test/test_tr_link_asset_format.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_asset_format import TRLinkAssetFormat + + +class TestTRLinkAssetFormat(unittest.TestCase): + """TRLinkAssetFormat unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkAssetFormat(self): + """Test TRLinkAssetFormat""" + # inst = TRLinkAssetFormat() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_assets_list_paged_response.py b/test/test_tr_link_assets_list_paged_response.py new file mode 100644 index 00000000..305fbf60 --- /dev/null +++ b/test/test_tr_link_assets_list_paged_response.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_assets_list_paged_response import ( + TRLinkAssetsListPagedResponse, +) + + +class TestTRLinkAssetsListPagedResponse(unittest.TestCase): + """TRLinkAssetsListPagedResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkAssetsListPagedResponse: + """Test TRLinkAssetsListPagedResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkAssetsListPagedResponse` + """ + model = TRLinkAssetsListPagedResponse() + if include_optional: + return TRLinkAssetsListPagedResponse( + data = [ + fireblocks.models.tr_link_public_asset_info.TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + issuer_address = '0x1234567890abcdef1234567890abcdef12345678', ) + ], + paging = fireblocks.models.tr_link_paging.TRLinkPaging( + next = 'eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ==', ), + partner_can_handle_any_asset = True, + note = 'Partner can handle assets beyond those explicitly listed' + ) + else: + return TRLinkAssetsListPagedResponse( + data = [ + fireblocks.models.tr_link_public_asset_info.TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + issuer_address = '0x1234567890abcdef1234567890abcdef12345678', ) + ], + partner_can_handle_any_asset = True, + note = 'Partner can handle assets beyond those explicitly listed', + ) + """ + + def testTRLinkAssetsListPagedResponse(self): + """Test TRLinkAssetsListPagedResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_cancel_trm_request.py b/test/test_tr_link_cancel_trm_request.py new file mode 100644 index 00000000..5477e2b9 --- /dev/null +++ b/test/test_tr_link_cancel_trm_request.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_cancel_trm_request import TRLinkCancelTrmRequest + + +class TestTRLinkCancelTrmRequest(unittest.TestCase): + """TRLinkCancelTrmRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCancelTrmRequest: + """Test TRLinkCancelTrmRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCancelTrmRequest` + """ + model = TRLinkCancelTrmRequest() + if include_optional: + return TRLinkCancelTrmRequest( + reason = 'Transaction no longer needed', + cancelled_by = 'user_123456' + ) + else: + return TRLinkCancelTrmRequest( + ) + """ + + def testTRLinkCancelTrmRequest(self): + """Test TRLinkCancelTrmRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_connect_integration_request.py b/test/test_tr_link_connect_integration_request.py new file mode 100644 index 00000000..421caa6f --- /dev/null +++ b/test/test_tr_link_connect_integration_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_connect_integration_request import ( + TRLinkConnectIntegrationRequest, +) + + +class TestTRLinkConnectIntegrationRequest(unittest.TestCase): + """TRLinkConnectIntegrationRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkConnectIntegrationRequest: + """Test TRLinkConnectIntegrationRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkConnectIntegrationRequest` + """ + model = TRLinkConnectIntegrationRequest() + if include_optional: + return TRLinkConnectIntegrationRequest( + api_key = 'fb_api_key_12345', + secret = 'secret_value_67890' + ) + else: + return TRLinkConnectIntegrationRequest( + api_key = 'fb_api_key_12345', + ) + """ + + def testTRLinkConnectIntegrationRequest(self): + """Test TRLinkConnectIntegrationRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_create_customer_request.py b/test/test_tr_link_create_customer_request.py new file mode 100644 index 00000000..3b310cf4 --- /dev/null +++ b/test/test_tr_link_create_customer_request.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_create_customer_request import ( + TRLinkCreateCustomerRequest, +) + + +class TestTRLinkCreateCustomerRequest(unittest.TestCase): + """TRLinkCreateCustomerRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCreateCustomerRequest: + """Test TRLinkCreateCustomerRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCreateCustomerRequest` + """ + model = TRLinkCreateCustomerRequest() + if include_optional: + return TRLinkCreateCustomerRequest( + discoverable = 'discoverable', + short_name = 'Acme Corp', + full_legal_name = 'Acme Corporation Ltd.', + geographic_address = fireblocks.models.tr_link_geographic_address_request.TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US', ), + country_of_registration = 'US', + national_identification = '{"nationalIdentifierType":"LEIXG","nationalIdentifier":"5493001KJTIIGC8Y1R12","countryOfIssue":"US"}', + date_of_incorporation = 'Sun Mar 15 00:00:00 GMT 2015', + vaults = [0,1,2], + tr_primary_purpose = 'Virtual asset service provider' + ) + else: + return TRLinkCreateCustomerRequest( + short_name = 'Acme Corp', + ) + """ + + def testTRLinkCreateCustomerRequest(self): + """Test TRLinkCreateCustomerRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_create_integration_request.py b/test/test_tr_link_create_integration_request.py new file mode 100644 index 00000000..f30f8195 --- /dev/null +++ b/test/test_tr_link_create_integration_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_create_integration_request import ( + TRLinkCreateIntegrationRequest, +) + + +class TestTRLinkCreateIntegrationRequest(unittest.TestCase): + """TRLinkCreateIntegrationRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCreateIntegrationRequest: + """Test TRLinkCreateIntegrationRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCreateIntegrationRequest` + """ + model = TRLinkCreateIntegrationRequest() + if include_optional: + return TRLinkCreateIntegrationRequest( + customer_id = '550e8400-e29b-41d4-a716-446655440001', + partner_ident = 'sumsub' + ) + else: + return TRLinkCreateIntegrationRequest( + customer_id = '550e8400-e29b-41d4-a716-446655440001', + partner_ident = 'sumsub', + ) + """ + + def testTRLinkCreateIntegrationRequest(self): + """Test TRLinkCreateIntegrationRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_create_trm_request.py b/test/test_tr_link_create_trm_request.py new file mode 100644 index 00000000..49a348dd --- /dev/null +++ b/test/test_tr_link_create_trm_request.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_create_trm_request import TRLinkCreateTrmRequest + + +class TestTRLinkCreateTrmRequest(unittest.TestCase): + """TRLinkCreateTrmRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCreateTrmRequest: + """Test TRLinkCreateTrmRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCreateTrmRequest` + """ + model = TRLinkCreateTrmRequest() + if include_optional: + return TRLinkCreateTrmRequest( + asset_id = 'USDT_ERC20', + amount = '1000', + amount_usd = '1000.50', + source = fireblocks.models.tr_link_source_transfer_peer_path.TRLinkSourceTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + wallet_id = '0', ), + src_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + destination = fireblocks.models.tr_link_destination_transfer_peer_path.TRLinkDestinationTransferPeerPath( + type = 'ONE_TIME_ADDRESS', + id = '45', + wallet_id = '0', + one_time_address = fireblocks.models.tr_link_one_time_address.TRLinkOneTimeAddress( + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + tag = '1234567890', ), ), + dest_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + dest_tag = '1234567890', + tx_id = '550e8400-e29b-41d4-a716-446655440000', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + direction = 'OUTBOUND', + originator_vasp_id = 'did:ethr:0x1234567890abcdef', + beneficiary_vasp_id = 'did:ethr:0xfedcba0987654321', + ivms101 = fireblocks.models.tr_link_ivms.TRLinkIvms( + version = 'IVMS101.2023', + data = 'aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ==', + filled_fields = ["Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier","Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier"], ) + ) + else: + return TRLinkCreateTrmRequest( + ivms101 = fireblocks.models.tr_link_ivms.TRLinkIvms( + version = 'IVMS101.2023', + data = 'aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ==', + filled_fields = ["Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier","Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier"], ), + ) + """ + + def testTRLinkCreateTrmRequest(self): + """Test TRLinkCreateTrmRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_currency.py b/test/test_tr_link_currency.py new file mode 100644 index 00000000..38ed7d40 --- /dev/null +++ b/test/test_tr_link_currency.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_currency import TRLinkCurrency + + +class TestTRLinkCurrency(unittest.TestCase): + """TRLinkCurrency unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkCurrency(self): + """Test TRLinkCurrency""" + # inst = TRLinkCurrency() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_customer_integration_response.py b/test/test_tr_link_customer_integration_response.py new file mode 100644 index 00000000..4b29e7bb --- /dev/null +++ b/test/test_tr_link_customer_integration_response.py @@ -0,0 +1,127 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_customer_integration_response import ( + TRLinkCustomerIntegrationResponse, +) + + +class TestTRLinkCustomerIntegrationResponse(unittest.TestCase): + """TRLinkCustomerIntegrationResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCustomerIntegrationResponse: + """Test TRLinkCustomerIntegrationResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCustomerIntegrationResponse` + """ + model = TRLinkCustomerIntegrationResponse() + if include_optional: + return TRLinkCustomerIntegrationResponse( + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000', + api_key = 'fb_***************', + secret = '***', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z', + partner = fireblocks.models.tr_link_partner_response.TRLinkPartnerResponse( + id = '123e4567-e89b-12d3-a456-426614174000', + ident = 'notabene', + name = 'Notabene', + description = 'Travel Rule compliance provider', + base_url = 'https://api.notabene.id', + active = True, + is_test = False, ), + customer = fireblocks.models.tr_link_customer_response.TRLinkCustomerResponse( + id = '550e8400-e29b-41d4-a716-446655440001', + tenant_id = '550e8400-e29b-41d4-a716-446655440003', + discoverable = 'discoverable', + short_name = 'Acme Corp', + full_legal_name = 'Acme Corporation Ltd.', + geographic_address = fireblocks.models.tr_link_geographic_address_request.TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US', ), + country_of_registration = 'US', + national_identification = '{"nationalIdentifierType":"LEIXG","nationalIdentifier":"5493001KJTIIGC8Y1R12","countryOfIssue":"US"}', + date_of_incorporation = 'Sun Mar 15 00:00:00 GMT 2015', + vaults = [0,1,2], + tr_primary_purpose = 'Virtual asset service provider', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z', ) + ) + else: + return TRLinkCustomerIntegrationResponse( + customer_integration_id = '123e4567-e89b-12d3-a456-426614174000', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z', + partner = fireblocks.models.tr_link_partner_response.TRLinkPartnerResponse( + id = '123e4567-e89b-12d3-a456-426614174000', + ident = 'notabene', + name = 'Notabene', + description = 'Travel Rule compliance provider', + base_url = 'https://api.notabene.id', + active = True, + is_test = False, ), + customer = fireblocks.models.tr_link_customer_response.TRLinkCustomerResponse( + id = '550e8400-e29b-41d4-a716-446655440001', + tenant_id = '550e8400-e29b-41d4-a716-446655440003', + discoverable = 'discoverable', + short_name = 'Acme Corp', + full_legal_name = 'Acme Corporation Ltd.', + geographic_address = fireblocks.models.tr_link_geographic_address_request.TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US', ), + country_of_registration = 'US', + national_identification = '{"nationalIdentifierType":"LEIXG","nationalIdentifier":"5493001KJTIIGC8Y1R12","countryOfIssue":"US"}', + date_of_incorporation = 'Sun Mar 15 00:00:00 GMT 2015', + vaults = [0,1,2], + tr_primary_purpose = 'Virtual asset service provider', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z', ), + ) + """ + + def testTRLinkCustomerIntegrationResponse(self): + """Test TRLinkCustomerIntegrationResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_customer_response.py b/test/test_tr_link_customer_response.py new file mode 100644 index 00000000..a2f7141f --- /dev/null +++ b/test/test_tr_link_customer_response.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_customer_response import TRLinkCustomerResponse + + +class TestTRLinkCustomerResponse(unittest.TestCase): + """TRLinkCustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkCustomerResponse: + """Test TRLinkCustomerResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkCustomerResponse` + """ + model = TRLinkCustomerResponse() + if include_optional: + return TRLinkCustomerResponse( + id = '550e8400-e29b-41d4-a716-446655440001', + tenant_id = '550e8400-e29b-41d4-a716-446655440003', + discoverable = 'discoverable', + short_name = 'Acme Corp', + full_legal_name = 'Acme Corporation Ltd.', + geographic_address = fireblocks.models.tr_link_geographic_address_request.TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US', ), + country_of_registration = 'US', + national_identification = '{"nationalIdentifierType":"LEIXG","nationalIdentifier":"5493001KJTIIGC8Y1R12","countryOfIssue":"US"}', + date_of_incorporation = 'Sun Mar 15 00:00:00 GMT 2015', + vaults = [0,1,2], + tr_primary_purpose = 'Virtual asset service provider', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z' + ) + else: + return TRLinkCustomerResponse( + id = '550e8400-e29b-41d4-a716-446655440001', + tenant_id = '550e8400-e29b-41d4-a716-446655440003', + discoverable = 'discoverable', + short_name = 'Acme Corp', + full_legal_name = 'Acme Corporation Ltd.', + country_of_registration = 'US', + create_date = '2025-01-20T10:30Z', + last_update = '2025-01-24T08:45Z', + ) + """ + + def testTRLinkCustomerResponse(self): + """Test TRLinkCustomerResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_destination_transfer_peer_path.py b/test/test_tr_link_destination_transfer_peer_path.py new file mode 100644 index 00000000..d8d19985 --- /dev/null +++ b/test/test_tr_link_destination_transfer_peer_path.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_destination_transfer_peer_path import ( + TRLinkDestinationTransferPeerPath, +) + + +class TestTRLinkDestinationTransferPeerPath(unittest.TestCase): + """TRLinkDestinationTransferPeerPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkDestinationTransferPeerPath: + """Test TRLinkDestinationTransferPeerPath + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkDestinationTransferPeerPath` + """ + model = TRLinkDestinationTransferPeerPath() + if include_optional: + return TRLinkDestinationTransferPeerPath( + type = 'ONE_TIME_ADDRESS', + id = '45', + wallet_id = '0', + one_time_address = fireblocks.models.tr_link_one_time_address.TRLinkOneTimeAddress( + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + tag = '1234567890', ) + ) + else: + return TRLinkDestinationTransferPeerPath( + type = 'ONE_TIME_ADDRESS', + ) + """ + + def testTRLinkDestinationTransferPeerPath(self): + """Test TRLinkDestinationTransferPeerPath""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_discoverable_status.py b/test/test_tr_link_discoverable_status.py new file mode 100644 index 00000000..cda14bdf --- /dev/null +++ b/test/test_tr_link_discoverable_status.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_discoverable_status import TRLinkDiscoverableStatus + + +class TestTRLinkDiscoverableStatus(unittest.TestCase): + """TRLinkDiscoverableStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkDiscoverableStatus(self): + """Test TRLinkDiscoverableStatus""" + # inst = TRLinkDiscoverableStatus() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_fiat_value.py b/test/test_tr_link_fiat_value.py new file mode 100644 index 00000000..125b4d29 --- /dev/null +++ b/test/test_tr_link_fiat_value.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_fiat_value import TRLinkFiatValue + + +class TestTRLinkFiatValue(unittest.TestCase): + """TRLinkFiatValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkFiatValue: + """Test TRLinkFiatValue + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkFiatValue` + """ + model = TRLinkFiatValue() + if include_optional: + return TRLinkFiatValue( + amount = '1000.50', + currency = 'USD' + ) + else: + return TRLinkFiatValue( + amount = '1000.50', + currency = 'USD', + ) + """ + + def testTRLinkFiatValue(self): + """Test TRLinkFiatValue""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_geographic_address_request.py b/test/test_tr_link_geographic_address_request.py new file mode 100644 index 00000000..5f71e825 --- /dev/null +++ b/test/test_tr_link_geographic_address_request.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_geographic_address_request import ( + TRLinkGeographicAddressRequest, +) + + +class TestTRLinkGeographicAddressRequest(unittest.TestCase): + """TRLinkGeographicAddressRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkGeographicAddressRequest: + """Test TRLinkGeographicAddressRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkGeographicAddressRequest` + """ + model = TRLinkGeographicAddressRequest() + if include_optional: + return TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US' + ) + else: + return TRLinkGeographicAddressRequest( + ) + """ + + def testTRLinkGeographicAddressRequest(self): + """Test TRLinkGeographicAddressRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_get_supported_asset_response.py b/test/test_tr_link_get_supported_asset_response.py new file mode 100644 index 00000000..e734ad16 --- /dev/null +++ b/test/test_tr_link_get_supported_asset_response.py @@ -0,0 +1,79 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_get_supported_asset_response import ( + TRLinkGetSupportedAssetResponse, +) + + +class TestTRLinkGetSupportedAssetResponse(unittest.TestCase): + """TRLinkGetSupportedAssetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkGetSupportedAssetResponse: + """Test TRLinkGetSupportedAssetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkGetSupportedAssetResponse` + """ + model = TRLinkGetSupportedAssetResponse() + if include_optional: + return TRLinkGetSupportedAssetResponse( + fireblocks_asset = fireblocks.models.tr_link_public_asset_info.TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + issuer_address = '0x1234567890abcdef1234567890abcdef12345678', ), + partner_response = {"assetCode":"USDC","network":"ethereum","enabled":true}, + partner_can_handle_any_asset = False, + note = 'Partner supports only explicitly listed assets', + supported = True + ) + else: + return TRLinkGetSupportedAssetResponse( + fireblocks_asset = fireblocks.models.tr_link_public_asset_info.TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + issuer_address = '0x1234567890abcdef1234567890abcdef12345678', ), + partner_response = {"assetCode":"USDC","network":"ethereum","enabled":true}, + partner_can_handle_any_asset = False, + note = 'Partner supports only explicitly listed assets', + supported = True, + ) + """ + + def testTRLinkGetSupportedAssetResponse(self): + """Test TRLinkGetSupportedAssetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_ivms.py b/test/test_tr_link_ivms.py new file mode 100644 index 00000000..7bdea8bd --- /dev/null +++ b/test/test_tr_link_ivms.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_ivms import TRLinkIvms + + +class TestTRLinkIvms(unittest.TestCase): + """TRLinkIvms unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkIvms: + """Test TRLinkIvms + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkIvms` + """ + model = TRLinkIvms() + if include_optional: + return TRLinkIvms( + version = 'IVMS101.2023', + data = 'aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ==', + filled_fields = ["Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier","Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier"] + ) + else: + return TRLinkIvms( + version = 'IVMS101.2023', + data = 'aGVsbG8gd29ybGQgdGhpcyBpcyBlbmNyeXB0ZWQgZGF0YQ==', + filled_fields = ["Beneficiary.beneficiaryPersons[].legalPerson.name.nameIdentifier","Beneficiary.beneficiaryPersons[].naturalPerson.name.nameIdentifier"], + ) + """ + + def testTRLinkIvms(self): + """Test TRLinkIvms""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_ivms_response.py b/test/test_tr_link_ivms_response.py new file mode 100644 index 00000000..595d1b45 --- /dev/null +++ b/test/test_tr_link_ivms_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_ivms_response import TRLinkIvmsResponse + + +class TestTRLinkIvmsResponse(unittest.TestCase): + """TRLinkIvmsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkIvmsResponse: + """Test TRLinkIvmsResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkIvmsResponse` + """ + model = TRLinkIvmsResponse() + if include_optional: + return TRLinkIvmsResponse( + version = '1.0', + data = 'eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19', + filled_fields = ["originator.name","originator.address","beneficiary.name","beneficiary.address"] + ) + else: + return TRLinkIvmsResponse( + version = '1.0', + data = 'eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19', + filled_fields = ["originator.name","originator.address","beneficiary.name","beneficiary.address"], + ) + """ + + def testTRLinkIvmsResponse(self): + """Test TRLinkIvmsResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_jwk_public_key.py b/test/test_tr_link_jwk_public_key.py new file mode 100644 index 00000000..c0e44fc9 --- /dev/null +++ b/test/test_tr_link_jwk_public_key.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_jwk_public_key import TRLinkJwkPublicKey + + +class TestTRLinkJwkPublicKey(unittest.TestCase): + """TRLinkJwkPublicKey unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkJwkPublicKey: + """Test TRLinkJwkPublicKey + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkJwkPublicKey` + """ + model = TRLinkJwkPublicKey() + if include_optional: + return TRLinkJwkPublicKey( + kty = 'RSA', + e = 'AQAB', + use = 'enc', + kid = 'key-12345', + n = 'xGOr-H7A...' + ) + else: + return TRLinkJwkPublicKey( + kty = 'RSA', + e = 'AQAB', + use = 'enc', + kid = 'key-12345', + n = 'xGOr-H7A...', + ) + """ + + def testTRLinkJwkPublicKey(self): + """Test TRLinkJwkPublicKey""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_missing_trm_action.py b/test/test_tr_link_missing_trm_action.py index 44c97c4d..4796e9cf 100644 --- a/test/test_tr_link_missing_trm_action.py +++ b/test/test_tr_link_missing_trm_action.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_missing_trm_action2.py b/test/test_tr_link_missing_trm_action2.py new file mode 100644 index 00000000..d6239b3f --- /dev/null +++ b/test/test_tr_link_missing_trm_action2.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_missing_trm_action2 import TRLinkMissingTrmAction2 + + +class TestTRLinkMissingTrmAction2(unittest.TestCase): + """TRLinkMissingTrmAction2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkMissingTrmAction2(self): + """Test TRLinkMissingTrmAction2""" + # inst = TRLinkMissingTrmAction2() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_missing_trm_action_enum.py b/test/test_tr_link_missing_trm_action_enum.py index 8ed42066..6814a9fd 100644 --- a/test/test_tr_link_missing_trm_action_enum.py +++ b/test/test_tr_link_missing_trm_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_missing_trm_decision.py b/test/test_tr_link_missing_trm_decision.py index 8598557c..a54c6016 100644 --- a/test/test_tr_link_missing_trm_decision.py +++ b/test/test_tr_link_missing_trm_decision.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_missing_trm_rule.py b/test/test_tr_link_missing_trm_rule.py index cd934bb8..15773911 100644 --- a/test/test_tr_link_missing_trm_rule.py +++ b/test/test_tr_link_missing_trm_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_missing_trm_rule2.py b/test/test_tr_link_missing_trm_rule2.py new file mode 100644 index 00000000..750511df --- /dev/null +++ b/test/test_tr_link_missing_trm_rule2.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_missing_trm_rule2 import TRLinkMissingTrmRule2 + + +class TestTRLinkMissingTrmRule2(unittest.TestCase): + """TRLinkMissingTrmRule2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkMissingTrmRule2: + """Test TRLinkMissingTrmRule2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkMissingTrmRule2` + """ + model = TRLinkMissingTrmRule2() + if include_optional: + return TRLinkMissingTrmRule2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0xabcdef1234567890abcdef1234567890abcdef12', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x567890abcdef1234567890abcdef1234567890ab', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Wait for TRM screening on inbound transactions', + is_default = False, + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'WAIT' + ) + else: + return TRLinkMissingTrmRule2( + action = 'WAIT', + ) + """ + + def testTRLinkMissingTrmRule2(self): + """Test TRLinkMissingTrmRule2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_one_time_address.py b/test/test_tr_link_one_time_address.py new file mode 100644 index 00000000..3cc96122 --- /dev/null +++ b/test/test_tr_link_one_time_address.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_one_time_address import TRLinkOneTimeAddress + + +class TestTRLinkOneTimeAddress(unittest.TestCase): + """TRLinkOneTimeAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkOneTimeAddress: + """Test TRLinkOneTimeAddress + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkOneTimeAddress` + """ + model = TRLinkOneTimeAddress() + if include_optional: + return TRLinkOneTimeAddress( + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + tag = '1234567890' + ) + else: + return TRLinkOneTimeAddress( + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + ) + """ + + def testTRLinkOneTimeAddress(self): + """Test TRLinkOneTimeAddress""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_paging.py b/test/test_tr_link_paging.py new file mode 100644 index 00000000..8333f166 --- /dev/null +++ b/test/test_tr_link_paging.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_paging import TRLinkPaging + + +class TestTRLinkPaging(unittest.TestCase): + """TRLinkPaging unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPaging: + """Test TRLinkPaging + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPaging` + """ + model = TRLinkPaging() + if include_optional: + return TRLinkPaging( + next = 'eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ==' + ) + else: + return TRLinkPaging( + next = 'eyJwYWdlIjoyLCJsaW1pdCI6MTAwfQ==', + ) + """ + + def testTRLinkPaging(self): + """Test TRLinkPaging""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_partner_response.py b/test/test_tr_link_partner_response.py new file mode 100644 index 00000000..71a195dc --- /dev/null +++ b/test/test_tr_link_partner_response.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_partner_response import TRLinkPartnerResponse + + +class TestTRLinkPartnerResponse(unittest.TestCase): + """TRLinkPartnerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPartnerResponse: + """Test TRLinkPartnerResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPartnerResponse` + """ + model = TRLinkPartnerResponse() + if include_optional: + return TRLinkPartnerResponse( + id = '123e4567-e89b-12d3-a456-426614174000', + ident = 'notabene', + name = 'Notabene', + description = 'Travel Rule compliance provider', + base_url = 'https://api.notabene.id', + active = True, + is_test = False + ) + else: + return TRLinkPartnerResponse( + id = '123e4567-e89b-12d3-a456-426614174000', + ident = 'notabene', + name = 'Notabene', + base_url = 'https://api.notabene.id', + active = True, + is_test = False, + ) + """ + + def testTRLinkPartnerResponse(self): + """Test TRLinkPartnerResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_policy_response.py b/test/test_tr_link_policy_response.py new file mode 100644 index 00000000..06a98773 --- /dev/null +++ b/test/test_tr_link_policy_response.py @@ -0,0 +1,215 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_policy_response import TRLinkPolicyResponse + + +class TestTRLinkPolicyResponse(unittest.TestCase): + """TRLinkPolicyResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPolicyResponse: + """Test TRLinkPolicyResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPolicyResponse` + """ + model = TRLinkPolicyResponse() + if include_optional: + return TRLinkPolicyResponse( + pre_screening_rules = [ + fireblocks.models.tr_link_pre_screening_rule_2.TRLinkPreScreeningRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'VAULT_ACCOUNT', + source_sub_type = '', + source_address = '0x1234567890abcdef1234567890abcdef12345678', + dest_type = 'EXTERNAL_WALLET', + dest_sub_type = '', + dest_address = '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Screen large BTC outbound transactions to external wallets', + is_default = False, + action = 'SCREEN', ) + ], + post_screening_rules = [ + fireblocks.models.tr_link_post_screening_rule_2.TRLinkPostScreeningRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0x9876543210fedcba9876543210fedcba98765432', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x1234567890abcdef1234567890abcdef12345678', + source_id = '', + dest_id = '', + asset = 'ETH', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'ETHEREUM', + operation = 'TRANSFER', + description = 'Accept transactions with TRM approval after January 2024', + is_default = False, + provider_ident = 'trm-provider-1', + trm_status = 'ACCEPTED', + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'ACCEPT', ) + ], + missing_trm_rules = [ + fireblocks.models.tr_link_missing_trm_rule_2.TRLinkMissingTrmRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0xabcdef1234567890abcdef1234567890abcdef12', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x567890abcdef1234567890abcdef1234567890ab', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Wait for TRM screening on inbound transactions', + is_default = False, + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'WAIT', ) + ] + ) + else: + return TRLinkPolicyResponse( + pre_screening_rules = [ + fireblocks.models.tr_link_pre_screening_rule_2.TRLinkPreScreeningRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'VAULT_ACCOUNT', + source_sub_type = '', + source_address = '0x1234567890abcdef1234567890abcdef12345678', + dest_type = 'EXTERNAL_WALLET', + dest_sub_type = '', + dest_address = '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Screen large BTC outbound transactions to external wallets', + is_default = False, + action = 'SCREEN', ) + ], + post_screening_rules = [ + fireblocks.models.tr_link_post_screening_rule_2.TRLinkPostScreeningRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0x9876543210fedcba9876543210fedcba98765432', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x1234567890abcdef1234567890abcdef12345678', + source_id = '', + dest_id = '', + asset = 'ETH', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'ETHEREUM', + operation = 'TRANSFER', + description = 'Accept transactions with TRM approval after January 2024', + is_default = False, + provider_ident = 'trm-provider-1', + trm_status = 'ACCEPTED', + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'ACCEPT', ) + ], + missing_trm_rules = [ + fireblocks.models.tr_link_missing_trm_rule_2.TRLinkMissingTrmRule-2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0xabcdef1234567890abcdef1234567890abcdef12', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x567890abcdef1234567890abcdef1234567890ab', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Wait for TRM screening on inbound transactions', + is_default = False, + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'WAIT', ) + ], + ) + """ + + def testTRLinkPolicyResponse(self): + """Test TRLinkPolicyResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_post_screening_action.py b/test/test_tr_link_post_screening_action.py new file mode 100644 index 00000000..3e64b3bd --- /dev/null +++ b/test/test_tr_link_post_screening_action.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_post_screening_action import TRLinkPostScreeningAction + + +class TestTRLinkPostScreeningAction(unittest.TestCase): + """TRLinkPostScreeningAction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkPostScreeningAction(self): + """Test TRLinkPostScreeningAction""" + # inst = TRLinkPostScreeningAction() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_post_screening_rule.py b/test/test_tr_link_post_screening_rule.py index fd17f3a4..93269c32 100644 --- a/test/test_tr_link_post_screening_rule.py +++ b/test/test_tr_link_post_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_post_screening_rule2.py b/test/test_tr_link_post_screening_rule2.py new file mode 100644 index 00000000..e22d0b49 --- /dev/null +++ b/test/test_tr_link_post_screening_rule2.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_post_screening_rule2 import TRLinkPostScreeningRule2 + + +class TestTRLinkPostScreeningRule2(unittest.TestCase): + """TRLinkPostScreeningRule2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPostScreeningRule2: + """Test TRLinkPostScreeningRule2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPostScreeningRule2` + """ + model = TRLinkPostScreeningRule2() + if include_optional: + return TRLinkPostScreeningRule2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'EXTERNAL_WALLET', + source_sub_type = '', + source_address = '0x9876543210fedcba9876543210fedcba98765432', + dest_type = 'VAULT_ACCOUNT', + dest_sub_type = '', + dest_address = '0x1234567890abcdef1234567890abcdef12345678', + source_id = '', + dest_id = '', + asset = 'ETH', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'ETHEREUM', + operation = 'TRANSFER', + description = 'Accept transactions with TRM approval after January 2024', + is_default = False, + provider_ident = 'trm-provider-1', + trm_status = 'ACCEPTED', + valid_before = 1735689600000, + valid_after = 1704067200000, + action = 'ACCEPT' + ) + else: + return TRLinkPostScreeningRule2( + action = 'ACCEPT', + ) + """ + + def testTRLinkPostScreeningRule2(self): + """Test TRLinkPostScreeningRule2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_pre_screening_action.py b/test/test_tr_link_pre_screening_action.py index bcd92b6e..87c885cf 100644 --- a/test/test_tr_link_pre_screening_action.py +++ b/test/test_tr_link_pre_screening_action.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_pre_screening_action2.py b/test/test_tr_link_pre_screening_action2.py new file mode 100644 index 00000000..498f81af --- /dev/null +++ b/test/test_tr_link_pre_screening_action2.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_pre_screening_action2 import TRLinkPreScreeningAction2 + + +class TestTRLinkPreScreeningAction2(unittest.TestCase): + """TRLinkPreScreeningAction2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkPreScreeningAction2(self): + """Test TRLinkPreScreeningAction2""" + # inst = TRLinkPreScreeningAction2() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_pre_screening_action_enum.py b/test/test_tr_link_pre_screening_action_enum.py index c3f61ae4..7c0965cf 100644 --- a/test/test_tr_link_pre_screening_action_enum.py +++ b/test/test_tr_link_pre_screening_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_pre_screening_rule.py b/test/test_tr_link_pre_screening_rule.py index 0278359a..6b26eab6 100644 --- a/test/test_tr_link_pre_screening_rule.py +++ b/test/test_tr_link_pre_screening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_pre_screening_rule2.py b/test/test_tr_link_pre_screening_rule2.py new file mode 100644 index 00000000..a7658bc1 --- /dev/null +++ b/test/test_tr_link_pre_screening_rule2.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_pre_screening_rule2 import TRLinkPreScreeningRule2 + + +class TestTRLinkPreScreeningRule2(unittest.TestCase): + """TRLinkPreScreeningRule2 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPreScreeningRule2: + """Test TRLinkPreScreeningRule2 + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPreScreeningRule2` + """ + model = TRLinkPreScreeningRule2() + if include_optional: + return TRLinkPreScreeningRule2( + customer_id = 'cust_123abc', + direction = 'OUTBOUND', + source_type = 'VAULT_ACCOUNT', + source_sub_type = '', + source_address = '0x1234567890abcdef1234567890abcdef12345678', + dest_type = 'EXTERNAL_WALLET', + dest_sub_type = '', + dest_address = '0xabcdefabcdefabcdefabcdefabcdefabcdefabcd', + source_id = '', + dest_id = '', + asset = 'BTC', + base_asset = '', + amount = fireblocks.models.tr_link_amount_2.TRLinkAmount-2( + range = fireblocks.models.tr_link_amount_range.TRLinkAmountRange( + min = '1000', + max = '100000', ), + currency = 'USD', ), + network_protocol = 'BITCOIN', + operation = 'TRANSFER', + description = 'Screen large BTC outbound transactions to external wallets', + is_default = False, + action = 'SCREEN' + ) + else: + return TRLinkPreScreeningRule2( + action = 'SCREEN', + ) + """ + + def testTRLinkPreScreeningRule2(self): + """Test TRLinkPreScreeningRule2""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_provider_data.py b/test/test_tr_link_provider_data.py new file mode 100644 index 00000000..a4123ac9 --- /dev/null +++ b/test/test_tr_link_provider_data.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_provider_data import TRLinkProviderData + + +class TestTRLinkProviderData(unittest.TestCase): + """TRLinkProviderData unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkProviderData: + """Test TRLinkProviderData + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkProviderData` + """ + model = TRLinkProviderData() + if include_optional: + return TRLinkProviderData( + provider = 'notabene', + data = {"vasp_did":"did:ethr:0x1234567890abcdef","compliance_status":"verified"} + ) + else: + return TRLinkProviderData( + ) + """ + + def testTRLinkProviderData(self): + """Test TRLinkProviderData""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_provider_result.py b/test/test_tr_link_provider_result.py index af45e22c..492b4d54 100644 --- a/test/test_tr_link_provider_result.py +++ b/test/test_tr_link_provider_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_provider_result_with_rule.py b/test/test_tr_link_provider_result_with_rule.py index c13d5119..3339b0c7 100644 --- a/test/test_tr_link_provider_result_with_rule.py +++ b/test/test_tr_link_provider_result_with_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_provider_result_with_rule2.py b/test/test_tr_link_provider_result_with_rule2.py index e4755fd6..e6c3b3b5 100644 --- a/test/test_tr_link_provider_result_with_rule2.py +++ b/test/test_tr_link_provider_result_with_rule2.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_public_asset_info.py b/test/test_tr_link_public_asset_info.py new file mode 100644 index 00000000..2ea743ac --- /dev/null +++ b/test/test_tr_link_public_asset_info.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_public_asset_info import TRLinkPublicAssetInfo + + +class TestTRLinkPublicAssetInfo(unittest.TestCase): + """TRLinkPublicAssetInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPublicAssetInfo: + """Test TRLinkPublicAssetInfo + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPublicAssetInfo` + """ + model = TRLinkPublicAssetInfo() + if include_optional: + return TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + issuer_address = '0x1234567890abcdef1234567890abcdef12345678' + ) + else: + return TRLinkPublicAssetInfo( + id = 'USDC_ETH', + name = 'USD Coin', + type = 'ERC20', + contract_address = '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', + native_asset = 'ETH', + decimals = 6, + ) + """ + + def testTRLinkPublicAssetInfo(self): + """Test TRLinkPublicAssetInfo""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_public_key_response.py b/test/test_tr_link_public_key_response.py new file mode 100644 index 00000000..b49dc93f --- /dev/null +++ b/test/test_tr_link_public_key_response.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_public_key_response import TRLinkPublicKeyResponse + + +class TestTRLinkPublicKeyResponse(unittest.TestCase): + """TRLinkPublicKeyResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkPublicKeyResponse: + """Test TRLinkPublicKeyResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkPublicKeyResponse` + """ + model = TRLinkPublicKeyResponse() + if include_optional: + return TRLinkPublicKeyResponse( + issuer = 'notabene', + public_key = fireblocks.models.tr_link_jwk_public_key.TRLinkJwkPublicKey( + kty = 'RSA', + e = 'AQAB', + use = 'enc', + kid = 'key-12345', + n = 'xGOr-H7A...', ) + ) + else: + return TRLinkPublicKeyResponse( + issuer = 'notabene', + public_key = fireblocks.models.tr_link_jwk_public_key.TRLinkJwkPublicKey( + kty = 'RSA', + e = 'AQAB', + use = 'enc', + kid = 'key-12345', + n = 'xGOr-H7A...', ), + ) + """ + + def testTRLinkPublicKeyResponse(self): + """Test TRLinkPublicKeyResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_redirect_trm_request.py b/test/test_tr_link_redirect_trm_request.py new file mode 100644 index 00000000..029d426a --- /dev/null +++ b/test/test_tr_link_redirect_trm_request.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_redirect_trm_request import TRLinkRedirectTrmRequest + + +class TestTRLinkRedirectTrmRequest(unittest.TestCase): + """TRLinkRedirectTrmRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkRedirectTrmRequest: + """Test TRLinkRedirectTrmRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkRedirectTrmRequest` + """ + model = TRLinkRedirectTrmRequest() + if include_optional: + return TRLinkRedirectTrmRequest( + subsidiary_vasp_id = 'did:ethr:0xabcdef1234567890' + ) + else: + return TRLinkRedirectTrmRequest( + subsidiary_vasp_id = 'did:ethr:0xabcdef1234567890', + ) + """ + + def testTRLinkRedirectTrmRequest(self): + """Test TRLinkRedirectTrmRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_registration_result.py b/test/test_tr_link_registration_result.py index 5f56c3ed..0577327c 100644 --- a/test/test_tr_link_registration_result.py +++ b/test/test_tr_link_registration_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_registration_result_full_payload.py b/test/test_tr_link_registration_result_full_payload.py index 258d6180..4fd8ad9b 100644 --- a/test/test_tr_link_registration_result_full_payload.py +++ b/test/test_tr_link_registration_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_registration_status.py b/test/test_tr_link_registration_status.py index 9dba28d2..d14df499 100644 --- a/test/test_tr_link_registration_status.py +++ b/test/test_tr_link_registration_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_registration_status_enum.py b/test/test_tr_link_registration_status_enum.py index 46760598..10460e0a 100644 --- a/test/test_tr_link_registration_status_enum.py +++ b/test/test_tr_link_registration_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_result.py b/test/test_tr_link_result.py index b0cf93c6..f8cb3974 100644 --- a/test/test_tr_link_result.py +++ b/test/test_tr_link_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_result_full_payload.py b/test/test_tr_link_result_full_payload.py index af4c98ca..3687f99a 100644 --- a/test/test_tr_link_result_full_payload.py +++ b/test/test_tr_link_result_full_payload.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_rule_base.py b/test/test_tr_link_rule_base.py index f22fd77d..1147ade8 100644 --- a/test/test_tr_link_rule_base.py +++ b/test/test_tr_link_rule_base.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_set_destination_travel_rule_message_id_request.py b/test/test_tr_link_set_destination_travel_rule_message_id_request.py new file mode 100644 index 00000000..a9e14212 --- /dev/null +++ b/test/test_tr_link_set_destination_travel_rule_message_id_request.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_request import ( + TRLinkSetDestinationTravelRuleMessageIdRequest, +) + + +class TestTRLinkSetDestinationTravelRuleMessageIdRequest(unittest.TestCase): + """TRLinkSetDestinationTravelRuleMessageIdRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance( + self, include_optional + ) -> TRLinkSetDestinationTravelRuleMessageIdRequest: + """Test TRLinkSetDestinationTravelRuleMessageIdRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkSetDestinationTravelRuleMessageIdRequest` + """ + model = TRLinkSetDestinationTravelRuleMessageIdRequest() + if include_optional: + return TRLinkSetDestinationTravelRuleMessageIdRequest( + amount = '1000', + destination = fireblocks.models.tr_link_transfer_peer_path.TRLinkTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + sub_type = '0', + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', ), + travel_rule_message_id = 'trm_1234567890abcdef' + ) + else: + return TRLinkSetDestinationTravelRuleMessageIdRequest( + amount = '1000', + destination = fireblocks.models.tr_link_transfer_peer_path.TRLinkTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + sub_type = '0', + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', ), + travel_rule_message_id = 'trm_1234567890abcdef', + ) + """ + + def testTRLinkSetDestinationTravelRuleMessageIdRequest(self): + """Test TRLinkSetDestinationTravelRuleMessageIdRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_set_destination_travel_rule_message_id_response.py b/test/test_tr_link_set_destination_travel_rule_message_id_response.py new file mode 100644 index 00000000..d185f6ec --- /dev/null +++ b/test/test_tr_link_set_destination_travel_rule_message_id_response.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_set_destination_travel_rule_message_id_response import ( + TRLinkSetDestinationTravelRuleMessageIdResponse, +) + + +class TestTRLinkSetDestinationTravelRuleMessageIdResponse(unittest.TestCase): + """TRLinkSetDestinationTravelRuleMessageIdResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance( + self, include_optional + ) -> TRLinkSetDestinationTravelRuleMessageIdResponse: + """Test TRLinkSetDestinationTravelRuleMessageIdResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkSetDestinationTravelRuleMessageIdResponse` + """ + model = TRLinkSetDestinationTravelRuleMessageIdResponse() + if include_optional: + return TRLinkSetDestinationTravelRuleMessageIdResponse( + success = True, + updated_destinations = 1, + failed_destinations = 0, + errors = [] + ) + else: + return TRLinkSetDestinationTravelRuleMessageIdResponse( + success = True, + updated_destinations = 1, + failed_destinations = 0, + ) + """ + + def testTRLinkSetDestinationTravelRuleMessageIdResponse(self): + """Test TRLinkSetDestinationTravelRuleMessageIdResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_set_transaction_travel_rule_message_id_request.py b/test/test_tr_link_set_transaction_travel_rule_message_id_request.py new file mode 100644 index 00000000..027a6d37 --- /dev/null +++ b/test/test_tr_link_set_transaction_travel_rule_message_id_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_request import ( + TRLinkSetTransactionTravelRuleMessageIdRequest, +) + + +class TestTRLinkSetTransactionTravelRuleMessageIdRequest(unittest.TestCase): + """TRLinkSetTransactionTravelRuleMessageIdRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance( + self, include_optional + ) -> TRLinkSetTransactionTravelRuleMessageIdRequest: + """Test TRLinkSetTransactionTravelRuleMessageIdRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkSetTransactionTravelRuleMessageIdRequest` + """ + model = TRLinkSetTransactionTravelRuleMessageIdRequest() + if include_optional: + return TRLinkSetTransactionTravelRuleMessageIdRequest( + travel_rule_message_id = 'trm_1234567890abcdef' + ) + else: + return TRLinkSetTransactionTravelRuleMessageIdRequest( + travel_rule_message_id = 'trm_1234567890abcdef', + ) + """ + + def testTRLinkSetTransactionTravelRuleMessageIdRequest(self): + """Test TRLinkSetTransactionTravelRuleMessageIdRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_set_transaction_travel_rule_message_id_response.py b/test/test_tr_link_set_transaction_travel_rule_message_id_response.py new file mode 100644 index 00000000..61a705d9 --- /dev/null +++ b/test/test_tr_link_set_transaction_travel_rule_message_id_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_set_transaction_travel_rule_message_id_response import ( + TRLinkSetTransactionTravelRuleMessageIdResponse, +) + + +class TestTRLinkSetTransactionTravelRuleMessageIdResponse(unittest.TestCase): + """TRLinkSetTransactionTravelRuleMessageIdResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance( + self, include_optional + ) -> TRLinkSetTransactionTravelRuleMessageIdResponse: + """Test TRLinkSetTransactionTravelRuleMessageIdResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkSetTransactionTravelRuleMessageIdResponse` + """ + model = TRLinkSetTransactionTravelRuleMessageIdResponse() + if include_optional: + return TRLinkSetTransactionTravelRuleMessageIdResponse( + success = True + ) + else: + return TRLinkSetTransactionTravelRuleMessageIdResponse( + success = True, + ) + """ + + def testTRLinkSetTransactionTravelRuleMessageIdResponse(self): + """Test TRLinkSetTransactionTravelRuleMessageIdResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_source_transfer_peer_path.py b/test/test_tr_link_source_transfer_peer_path.py new file mode 100644 index 00000000..253b960d --- /dev/null +++ b/test/test_tr_link_source_transfer_peer_path.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_source_transfer_peer_path import ( + TRLinkSourceTransferPeerPath, +) + + +class TestTRLinkSourceTransferPeerPath(unittest.TestCase): + """TRLinkSourceTransferPeerPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkSourceTransferPeerPath: + """Test TRLinkSourceTransferPeerPath + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkSourceTransferPeerPath` + """ + model = TRLinkSourceTransferPeerPath() + if include_optional: + return TRLinkSourceTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + wallet_id = '0' + ) + else: + return TRLinkSourceTransferPeerPath( + type = 'VAULT_ACCOUNT', + ) + """ + + def testTRLinkSourceTransferPeerPath(self): + """Test TRLinkSourceTransferPeerPath""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_test_connection_response.py b/test/test_tr_link_test_connection_response.py new file mode 100644 index 00000000..d6c7c243 --- /dev/null +++ b/test/test_tr_link_test_connection_response.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_test_connection_response import ( + TRLinkTestConnectionResponse, +) + + +class TestTRLinkTestConnectionResponse(unittest.TestCase): + """TRLinkTestConnectionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkTestConnectionResponse: + """Test TRLinkTestConnectionResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkTestConnectionResponse` + """ + model = TRLinkTestConnectionResponse() + if include_optional: + return TRLinkTestConnectionResponse( + success = True, + message = 'Connection test failed: Invalid API key', + timestamp = '2025-01-24T10:30Z', + partner_ident = 'notabene', + partner_name = 'Notabene' + ) + else: + return TRLinkTestConnectionResponse( + success = True, + timestamp = '2025-01-24T10:30Z', + ) + """ + + def testTRLinkTestConnectionResponse(self): + """Test TRLinkTestConnectionResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_thresholds.py b/test/test_tr_link_thresholds.py new file mode 100644 index 00000000..70b977e1 --- /dev/null +++ b/test/test_tr_link_thresholds.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_thresholds import TRLinkThresholds + + +class TestTRLinkThresholds(unittest.TestCase): + """TRLinkThresholds unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkThresholds: + """Test TRLinkThresholds + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkThresholds` + """ + model = TRLinkThresholds() + if include_optional: + return TRLinkThresholds( + amount = '1000', + currency = 'USD' + ) + else: + return TRLinkThresholds( + ) + """ + + def testTRLinkThresholds(self): + """Test TRLinkThresholds""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_transaction_direction.py b/test/test_tr_link_transaction_direction.py new file mode 100644 index 00000000..648b5b54 --- /dev/null +++ b/test/test_tr_link_transaction_direction.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_transaction_direction import TRLinkTransactionDirection + + +class TestTRLinkTransactionDirection(unittest.TestCase): + """TRLinkTransactionDirection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkTransactionDirection(self): + """Test TRLinkTransactionDirection""" + # inst = TRLinkTransactionDirection() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_transfer_peer_path.py b/test/test_tr_link_transfer_peer_path.py new file mode 100644 index 00000000..b3d5aef2 --- /dev/null +++ b/test/test_tr_link_transfer_peer_path.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_transfer_peer_path import TRLinkTransferPeerPath + + +class TestTRLinkTransferPeerPath(unittest.TestCase): + """TRLinkTransferPeerPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkTransferPeerPath: + """Test TRLinkTransferPeerPath + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkTransferPeerPath` + """ + model = TRLinkTransferPeerPath() + if include_optional: + return TRLinkTransferPeerPath( + type = 'VAULT_ACCOUNT', + id = '12', + sub_type = '0', + address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb' + ) + else: + return TRLinkTransferPeerPath( + ) + """ + + def testTRLinkTransferPeerPath(self): + """Test TRLinkTransferPeerPath""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_trm_direction.py b/test/test_tr_link_trm_direction.py new file mode 100644 index 00000000..4bc9e281 --- /dev/null +++ b/test/test_tr_link_trm_direction.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_trm_direction import TRLinkTrmDirection + + +class TestTRLinkTrmDirection(unittest.TestCase): + """TRLinkTrmDirection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkTrmDirection(self): + """Test TRLinkTrmDirection""" + # inst = TRLinkTrmDirection() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_trm_info_response.py b/test/test_tr_link_trm_info_response.py new file mode 100644 index 00000000..411c82aa --- /dev/null +++ b/test/test_tr_link_trm_info_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_trm_info_response import TRLinkTrmInfoResponse + + +class TestTRLinkTrmInfoResponse(unittest.TestCase): + """TRLinkTrmInfoResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkTrmInfoResponse: + """Test TRLinkTrmInfoResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkTrmInfoResponse` + """ + model = TRLinkTrmInfoResponse() + if include_optional: + return TRLinkTrmInfoResponse( + id = 'trm_1234567890abcdef', + version = '1.0', + status = 'ACCEPTED', + reason = 'Travel Rule compliance required for this transaction', + external_id = '550e8400-e29b-41d4-a716-446655440000', + asset = fireblocks.models.tr_link_asset.TRLinkAsset( + format = 'fireblocks', + data = fireblocks.models.tr_link_asset_data.TRLinkAssetData( + ticker = 'USDT', + network = 'ETH', + ucid = 825, + contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7', + id = 'USDT_ERC20', ), ), + amount = '1000', + fiat_value = fireblocks.models.tr_link_fiat_value.TRLinkFiatValue( + amount = '1000.50', + currency = 'USD', ), + direction = 'out', + originator_vasp_id = 'did:ethr:0x1234567890abcdef', + beneficiary_vasp_id = 'did:ethr:0xfedcba0987654321', + txn_info = fireblocks.models.tr_link_txn_info.TRLinkTxnInfo( + originator_wallet_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + beneficiary_wallet_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', ), + ivms101 = fireblocks.models.tr_link_ivms_response.TRLinkIvmsResponse( + version = '1.0', + data = 'eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19', + filled_fields = ["originator.name","originator.address","beneficiary.name","beneficiary.address"], ), + provider_data = fireblocks.models.tr_link_provider_data.TRLinkProviderData( + provider = 'notabene', + data = {"vasp_did":"did:ethr:0x1234567890abcdef","compliance_status":"verified"}, ) + ) + else: + return TRLinkTrmInfoResponse( + id = 'trm_1234567890abcdef', + external_id = '550e8400-e29b-41d4-a716-446655440000', + asset = fireblocks.models.tr_link_asset.TRLinkAsset( + format = 'fireblocks', + data = fireblocks.models.tr_link_asset_data.TRLinkAssetData( + ticker = 'USDT', + network = 'ETH', + ucid = 825, + contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7', + id = 'USDT_ERC20', ), ), + amount = '1000', + direction = 'out', + txn_info = fireblocks.models.tr_link_txn_info.TRLinkTxnInfo( + originator_wallet_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + beneficiary_wallet_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', ), + ivms101 = fireblocks.models.tr_link_ivms_response.TRLinkIvmsResponse( + version = '1.0', + data = 'eyJvcmlnaW5hdG9yIjp7Im5hbWUiOiJKb2huIERvZSIsImFkZHJlc3MiOiIxMjMgTWFpbiBTdCJ9LCJiZW5lZmljaWFyeSI6eyJuYW1lIjoiSmFuZSBTbWl0aCIsImFkZHJlc3MiOiI0NTYgRWxtIFN0In19', + filled_fields = ["originator.name","originator.address","beneficiary.name","beneficiary.address"], ), + ) + """ + + def testTRLinkTrmInfoResponse(self): + """Test TRLinkTrmInfoResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_trm_screening_status.py b/test/test_tr_link_trm_screening_status.py index 44c36857..770fe331 100644 --- a/test/test_tr_link_trm_screening_status.py +++ b/test/test_tr_link_trm_screening_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_trm_screening_status_enum.py b/test/test_tr_link_trm_screening_status_enum.py index 4c2777ce..ee167f85 100644 --- a/test/test_tr_link_trm_screening_status_enum.py +++ b/test/test_tr_link_trm_screening_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_trm_status.py b/test/test_tr_link_trm_status.py new file mode 100644 index 00000000..250a8542 --- /dev/null +++ b/test/test_tr_link_trm_status.py @@ -0,0 +1,36 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_trm_status import TRLinkTrmStatus + + +class TestTRLinkTrmStatus(unittest.TestCase): + """TRLinkTrmStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTRLinkTrmStatus(self): + """Test TRLinkTrmStatus""" + # inst = TRLinkTrmStatus() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_txn_info.py b/test/test_tr_link_txn_info.py new file mode 100644 index 00000000..f5278ebd --- /dev/null +++ b/test/test_tr_link_txn_info.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_txn_info import TRLinkTxnInfo + + +class TestTRLinkTxnInfo(unittest.TestCase): + """TRLinkTxnInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkTxnInfo: + """Test TRLinkTxnInfo + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkTxnInfo` + """ + model = TRLinkTxnInfo() + if include_optional: + return TRLinkTxnInfo( + originator_wallet_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + beneficiary_wallet_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef' + ) + else: + return TRLinkTxnInfo( + originator_wallet_address = '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', + beneficiary_wallet_address = '0x8d12A197cB00D4747a1fe03395095ce2A5CC6819', + tx_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef', + ) + """ + + def testTRLinkTxnInfo(self): + """Test TRLinkTxnInfo""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_update_customer_request.py b/test/test_tr_link_update_customer_request.py new file mode 100644 index 00000000..9e2ca582 --- /dev/null +++ b/test/test_tr_link_update_customer_request.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_update_customer_request import ( + TRLinkUpdateCustomerRequest, +) + + +class TestTRLinkUpdateCustomerRequest(unittest.TestCase): + """TRLinkUpdateCustomerRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkUpdateCustomerRequest: + """Test TRLinkUpdateCustomerRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkUpdateCustomerRequest` + """ + model = TRLinkUpdateCustomerRequest() + if include_optional: + return TRLinkUpdateCustomerRequest( + discoverable = 'discoverable', + short_name = 'Acme Corporation', + full_legal_name = 'Acme Corporation Ltd.', + geographic_address = fireblocks.models.tr_link_geographic_address_request.TRLinkGeographicAddressRequest( + address_line = ["Suite 100"], + street_name = 'Main Street', + building_number = '123', + floor = '5', + post_box = 'PO Box 456', + post_code = '10001', + town_name = 'New York', + district_name = 'Manhattan', + country_sub_division = 'NY', + country = 'US', ), + country_of_registration = 'US', + national_identification = '{"nationalIdentifierType":"LEIXG","nationalIdentifier":"5493001KJTIIGC8Y1R12","countryOfIssue":"US"}', + date_of_incorporation = 'Sun Mar 15 00:00:00 GMT 2015', + vaults = [0,1,2,3], + tr_primary_purpose = 'Updated: Virtual asset service provider and exchange' + ) + else: + return TRLinkUpdateCustomerRequest( + ) + """ + + def testTRLinkUpdateCustomerRequest(self): + """Test TRLinkUpdateCustomerRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_vasp_dto.py b/test/test_tr_link_vasp_dto.py new file mode 100644 index 00000000..9f7f7521 --- /dev/null +++ b/test/test_tr_link_vasp_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_vasp_dto import TRLinkVaspDto + + +class TestTRLinkVaspDto(unittest.TestCase): + """TRLinkVaspDto unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkVaspDto: + """Test TRLinkVaspDto + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkVaspDto` + """ + model = TRLinkVaspDto() + if include_optional: + return TRLinkVaspDto( + id = 'did:ethr:0x1234567890abcdef', + name = 'ACME Virtual Assets', + legal_name = 'ACME Virtual Assets Corporation', + national_identification = fireblocks.models.tr_link_vasp_national_identification.TRLinkVaspNationalIdentification( + identifier = '123456789', + type = 'LEI', + authority = 'Financial Conduct Authority', ), + geographic_address = fireblocks.models.tr_link_vasp_geographic_address.TRLinkVaspGeographicAddress( + formatted_address = '123 Main Street, New York, NY 10001, USA', + country = 'USA', + street_name = 'Main Street', + building_number = '123', + city = 'New York', + postal_code = '10001', ), + public_key = '-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA... +-----END PUBLIC KEY-----' + ) + else: + return TRLinkVaspDto( + id = 'did:ethr:0x1234567890abcdef', + name = 'ACME Virtual Assets', + ) + """ + + def testTRLinkVaspDto(self): + """Test TRLinkVaspDto""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_vasp_geographic_address.py b/test/test_tr_link_vasp_geographic_address.py new file mode 100644 index 00000000..b5e31b02 --- /dev/null +++ b/test/test_tr_link_vasp_geographic_address.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_vasp_geographic_address import ( + TRLinkVaspGeographicAddress, +) + + +class TestTRLinkVaspGeographicAddress(unittest.TestCase): + """TRLinkVaspGeographicAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkVaspGeographicAddress: + """Test TRLinkVaspGeographicAddress + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkVaspGeographicAddress` + """ + model = TRLinkVaspGeographicAddress() + if include_optional: + return TRLinkVaspGeographicAddress( + formatted_address = '123 Main Street, New York, NY 10001, USA', + country = 'USA', + street_name = 'Main Street', + building_number = '123', + city = 'New York', + postal_code = '10001' + ) + else: + return TRLinkVaspGeographicAddress( + ) + """ + + def testTRLinkVaspGeographicAddress(self): + """Test TRLinkVaspGeographicAddress""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_vasp_list_dto.py b/test/test_tr_link_vasp_list_dto.py new file mode 100644 index 00000000..3430cd6f --- /dev/null +++ b/test/test_tr_link_vasp_list_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_vasp_list_dto import TRLinkVaspListDto + + +class TestTRLinkVaspListDto(unittest.TestCase): + """TRLinkVaspListDto unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkVaspListDto: + """Test TRLinkVaspListDto + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkVaspListDto` + """ + model = TRLinkVaspListDto() + if include_optional: + return TRLinkVaspListDto( + id = 'did:ethr:0x1234567890abcdef', + name = 'ACME Virtual Assets', + legal_name = 'ACME Virtual Assets Corporation', + national_identification = fireblocks.models.tr_link_vasp_national_identification.TRLinkVaspNationalIdentification( + identifier = '123456789', + type = 'LEI', + authority = 'Financial Conduct Authority', ), + geographic_address = fireblocks.models.tr_link_vasp_geographic_address.TRLinkVaspGeographicAddress( + formatted_address = '123 Main Street, New York, NY 10001, USA', + country = 'USA', + street_name = 'Main Street', + building_number = '123', + city = 'New York', + postal_code = '10001', ) + ) + else: + return TRLinkVaspListDto( + id = 'did:ethr:0x1234567890abcdef', + name = 'ACME Virtual Assets', + ) + """ + + def testTRLinkVaspListDto(self): + """Test TRLinkVaspListDto""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_vasp_national_identification.py b/test/test_tr_link_vasp_national_identification.py new file mode 100644 index 00000000..a9f22229 --- /dev/null +++ b/test/test_tr_link_vasp_national_identification.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.tr_link_vasp_national_identification import ( + TRLinkVaspNationalIdentification, +) + + +class TestTRLinkVaspNationalIdentification(unittest.TestCase): + """TRLinkVaspNationalIdentification unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TRLinkVaspNationalIdentification: + """Test TRLinkVaspNationalIdentification + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TRLinkVaspNationalIdentification` + """ + model = TRLinkVaspNationalIdentification() + if include_optional: + return TRLinkVaspNationalIdentification( + identifier = '123456789', + type = 'LEI', + authority = 'Financial Conduct Authority' + ) + else: + return TRLinkVaspNationalIdentification( + identifier = '123456789', + ) + """ + + def testTRLinkVaspNationalIdentification(self): + """Test TRLinkVaspNationalIdentification""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tr_link_verdict.py b/test/test_tr_link_verdict.py index e3c4ec2f..0dfdc4df 100644 --- a/test/test_tr_link_verdict.py +++ b/test/test_tr_link_verdict.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_tr_link_verdict_enum.py b/test/test_tr_link_verdict_enum.py index 7d84be2f..2cff322e 100644 --- a/test/test_tr_link_verdict_enum.py +++ b/test/test_tr_link_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_trading_account_type.py b/test/test_trading_account_type.py index 368fa555..13eb0c28 100644 --- a/test/test_trading_account_type.py +++ b/test/test_trading_account_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_trading_beta_api.py b/test/test_trading_beta_api.py index c2064b9e..f28b2541 100644 --- a/test/test_trading_beta_api.py +++ b/test/test_trading_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_trading_error_response.py b/test/test_trading_error_response.py deleted file mode 100644 index 2f03068a..00000000 --- a/test/test_trading_error_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.trading_error_response import TradingErrorResponse - - -class TestTradingErrorResponse(unittest.TestCase): - """TradingErrorResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> TradingErrorResponse: - """Test TradingErrorResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `TradingErrorResponse` - """ - model = TradingErrorResponse() - if include_optional: - return TradingErrorResponse( - error = fireblocks.models.trading_error_response_error.TradingErrorResponse_error( - type = 'INTERNAL', - message = '', - error_code = 'INVALID_PARAMETER', ) - ) - else: - return TradingErrorResponse( - error = fireblocks.models.trading_error_response_error.TradingErrorResponse_error( - type = 'INTERNAL', - message = '', - error_code = 'INVALID_PARAMETER', ), - ) - """ - - def testTradingErrorResponse(self): - """Test TradingErrorResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_trading_error_response_error.py b/test/test_trading_error_schema.py similarity index 50% rename from test/test_trading_error_response_error.py rename to test/test_trading_error_schema.py index fcaea964..e9785db6 100644 --- a/test/test_trading_error_response_error.py +++ b/test/test_trading_error_schema.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -15,11 +15,11 @@ import unittest -from fireblocks.models.trading_error_response_error import TradingErrorResponseError +from fireblocks.models.trading_error_schema import TradingErrorSchema -class TestTradingErrorResponseError(unittest.TestCase): - """TradingErrorResponseError unit test stubs""" +class TestTradingErrorSchema(unittest.TestCase): + """TradingErrorSchema unit test stubs""" def setUp(self): pass @@ -27,29 +27,29 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> TradingErrorResponseError: - """Test TradingErrorResponseError + def make_instance(self, include_optional) -> TradingErrorSchema: + """Test TradingErrorSchema include_optional is a boolean, when False only required params are included, when True both required and optional params are included""" - # uncomment below to create an instance of `TradingErrorResponseError` + # uncomment below to create an instance of `TradingErrorSchema` """ - model = TradingErrorResponseError() + model = TradingErrorSchema() if include_optional: - return TradingErrorResponseError( - type = 'INTERNAL', + return TradingErrorSchema( message = '', - error_code = 'INVALID_PARAMETER' + code = 1.337, + descriptor = '' ) else: - return TradingErrorResponseError( - type = 'INTERNAL', + return TradingErrorSchema( message = '', + code = 1.337, ) """ - def testTradingErrorResponseError(self): - """Test TradingErrorResponseError""" + def testTradingErrorSchema(self): + """Test TradingErrorSchema""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_trading_provider.py b/test/test_trading_provider.py index 1beac14e..22e13f28 100644 --- a/test/test_trading_provider.py +++ b/test/test_trading_provider.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction.py b/test/test_transaction.py index c104e3bc..d4c173a7 100644 --- a/test/test_transaction.py +++ b/test/test_transaction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_direction.py b/test/test_transaction_direction.py index dbd10689..d3001fee 100644 --- a/test/test_transaction_direction.py +++ b/test/test_transaction_direction.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_fee.py b/test/test_transaction_fee.py index 39eb99a5..4f0cf3a6 100644 --- a/test/test_transaction_fee.py +++ b/test/test_transaction_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_operation.py b/test/test_transaction_operation.py index 1b9979a7..b2fc37d0 100644 --- a/test/test_transaction_operation.py +++ b/test/test_transaction_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_operation_enum.py b/test/test_transaction_operation_enum.py index 4fff234e..ac8f1c0e 100644 --- a/test/test_transaction_operation_enum.py +++ b/test/test_transaction_operation_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_receipt_response.py b/test/test_transaction_receipt_response.py index 8eded10f..27366b03 100644 --- a/test/test_transaction_receipt_response.py +++ b/test/test_transaction_receipt_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request.py b/test/test_transaction_request.py index be1ad659..00c61b19 100644 --- a/test/test_transaction_request.py +++ b/test/test_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_amount.py b/test/test_transaction_request_amount.py index f974c851..40adf2ad 100644 --- a/test/test_transaction_request_amount.py +++ b/test/test_transaction_request_amount.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_destination.py b/test/test_transaction_request_destination.py index a72b1745..4bb4ff02 100644 --- a/test/test_transaction_request_destination.py +++ b/test/test_transaction_request_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_fee.py b/test/test_transaction_request_fee.py index 7a188b58..4a3ca4c2 100644 --- a/test/test_transaction_request_fee.py +++ b/test/test_transaction_request_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_gas_limit.py b/test/test_transaction_request_gas_limit.py index 99ee6e23..4a6ca79c 100644 --- a/test/test_transaction_request_gas_limit.py +++ b/test/test_transaction_request_gas_limit.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_gas_price.py b/test/test_transaction_request_gas_price.py index e7f4d535..9cc3cca9 100644 --- a/test/test_transaction_request_gas_price.py +++ b/test/test_transaction_request_gas_price.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_network_fee.py b/test/test_transaction_request_network_fee.py index 24ac4256..5c55fa58 100644 --- a/test/test_transaction_request_network_fee.py +++ b/test/test_transaction_request_network_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_network_staking.py b/test/test_transaction_request_network_staking.py index d562bc32..98e5f6ad 100644 --- a/test/test_transaction_request_network_staking.py +++ b/test/test_transaction_request_network_staking.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_request_priority_fee.py b/test/test_transaction_request_priority_fee.py index 155a50bd..320251f0 100644 --- a/test/test_transaction_request_priority_fee.py +++ b/test/test_transaction_request_priority_fee.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_response.py b/test/test_transaction_response.py index b0409234..68082a03 100644 --- a/test/test_transaction_response.py +++ b/test/test_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -66,6 +66,7 @@ def make_instance(self, include_optional) -> TransactionResponse: fireblocks.models.transaction_response_destination.TransactionResponseDestination( amount = '', amount_usd = '', + travel_rule_message_id = 'trm_12345678-1234-1234-1234-123456789012', aml_screening_result = fireblocks.models.aml_screening_result.AmlScreeningResult( provider = '', payload = fireblocks.models.payload.payload(), ), @@ -160,6 +161,7 @@ def make_instance(self, include_optional) -> TransactionResponse: ], ), exchange_tx_id = '', customer_ref_id = '', + travel_rule_message_id = 'trm_12345678-1234-1234-1234-123456789012', aml_screening_result = fireblocks.models.aml_screening_result.AmlScreeningResult( provider = '', payload = fireblocks.models.payload.payload(), ), @@ -322,9 +324,11 @@ def make_instance(self, include_optional) -> TransactionResponse: dest_rewards = '', ), fee_payer_info = fireblocks.models.fee_payer_info.FeePayerInfo( fee_payer_account_id = '123', ), - system_messages = fireblocks.models.system_message_info.SystemMessageInfo( - type = 'WARN', - message = 'Slow transaction processing. Outgoing transactions might be stuck.', ), + system_messages = [ + fireblocks.models.system_message_info.SystemMessageInfo( + type = 'WARN', + message = 'Slow transaction processing. Outgoing transactions might be stuck.', ) + ], address_type = '', requested_amount = 1.337, amount = 1.337, diff --git a/test/test_transaction_response_contract_call_decoded_data.py b/test/test_transaction_response_contract_call_decoded_data.py index 7679c6d7..8001761b 100644 --- a/test/test_transaction_response_contract_call_decoded_data.py +++ b/test/test_transaction_response_contract_call_decoded_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transaction_response_destination.py b/test/test_transaction_response_destination.py index ebbb4953..74d41152 100644 --- a/test/test_transaction_response_destination.py +++ b/test/test_transaction_response_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,6 +41,7 @@ def make_instance(self, include_optional) -> TransactionResponseDestination: return TransactionResponseDestination( amount = '', amount_usd = '', + travel_rule_message_id = 'trm_12345678-1234-1234-1234-123456789012', aml_screening_result = fireblocks.models.aml_screening_result.AmlScreeningResult( provider = '', payload = fireblocks.models.payload.payload(), ), diff --git a/test/test_transactions_api.py b/test/test_transactions_api.py index 878d1aaa..7dd1f085 100644 --- a/test/test_transactions_api.py +++ b/test/test_transactions_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -44,7 +44,7 @@ def test_create_transaction(self) -> None: def test_drop_transaction(self) -> None: """Test case for drop_transaction - Drop ETH transaction by ID + Drop ETH (EVM) transaction by ID """ pass @@ -72,28 +72,21 @@ def test_freeze_transaction(self) -> None: def test_get_transaction(self) -> None: """Test case for get_transaction - Find a specific transaction by Fireblocks transaction ID + Get a specific transaction by Fireblocks transaction ID """ pass def test_get_transaction_by_external_id(self) -> None: """Test case for get_transaction_by_external_id - Find a specific transaction by external transaction ID + Get a specific transaction by external transaction ID """ pass def test_get_transactions(self) -> None: """Test case for get_transactions - List transaction history - """ - pass - - def test_rescan_transactions_beta(self) -> None: - """Test case for rescan_transactions_beta - - rescan array of transactions + Get transaction history """ pass @@ -107,7 +100,7 @@ def test_set_confirmation_threshold_by_transaction_hash(self) -> None: def test_set_transaction_confirmation_threshold(self) -> None: """Test case for set_transaction_confirmation_threshold - Set confirmation threshold by transaction ID + Set confirmation threshold by Fireblocks Transaction ID """ pass diff --git a/test/test_transfer_config_operation.py b/test/test_transfer_config_operation.py index 3529cb12..63d283ec 100644 --- a/test/test_transfer_config_operation.py +++ b/test/test_transfer_config_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_config_params.py b/test/test_transfer_operation_config_params.py index ee673356..3e4c4a70 100644 --- a/test/test_transfer_operation_config_params.py +++ b/test/test_transfer_operation_config_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_execution.py b/test/test_transfer_operation_execution.py index b824391e..7d3f4149 100644 --- a/test/test_transfer_operation_execution.py +++ b/test/test_transfer_operation_execution.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_execution_output.py b/test/test_transfer_operation_execution_output.py index aead6060..ef44ec50 100644 --- a/test/test_transfer_operation_execution_output.py +++ b/test/test_transfer_operation_execution_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_execution_params.py b/test/test_transfer_operation_execution_params.py index e7de43dc..a868f237 100644 --- a/test/test_transfer_operation_execution_params.py +++ b/test/test_transfer_operation_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_execution_params_execution_params.py b/test/test_transfer_operation_execution_params_execution_params.py index 16d6e54a..1dcc5ce3 100644 --- a/test/test_transfer_operation_execution_params_execution_params.py +++ b/test/test_transfer_operation_execution_params_execution_params.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_failure.py b/test/test_transfer_operation_failure.py index 2db60c77..3333d970 100644 --- a/test/test_transfer_operation_failure.py +++ b/test/test_transfer_operation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_failure_data.py b/test/test_transfer_operation_failure_data.py index 32f5a823..6a437f23 100644 --- a/test/test_transfer_operation_failure_data.py +++ b/test/test_transfer_operation_failure_data.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_preview.py b/test/test_transfer_operation_preview.py index 20572ea6..dd8cdba4 100644 --- a/test/test_transfer_operation_preview.py +++ b/test/test_transfer_operation_preview.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_preview_output.py b/test/test_transfer_operation_preview_output.py index a940c241..d6c55a21 100644 --- a/test/test_transfer_operation_preview_output.py +++ b/test/test_transfer_operation_preview_output.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_operation_type.py b/test/test_transfer_operation_type.py index 4e321b75..500dd8f0 100644 --- a/test/test_transfer_operation_type.py +++ b/test/test_transfer_operation_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_peer_path_sub_type.py b/test/test_transfer_peer_path_sub_type.py index 0d1c0136..addf5051 100644 --- a/test/test_transfer_peer_path_sub_type.py +++ b/test/test_transfer_peer_path_sub_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_peer_path_type.py b/test/test_transfer_peer_path_type.py index f2552291..c751f5a0 100644 --- a/test/test_transfer_peer_path_type.py +++ b/test/test_transfer_peer_path_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_peer_sub_type_enum.py b/test/test_transfer_peer_sub_type_enum.py index 9aaddaa5..ac914faf 100644 --- a/test/test_transfer_peer_sub_type_enum.py +++ b/test/test_transfer_peer_sub_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_peer_type_enum.py b/test/test_transfer_peer_type_enum.py index 7cdaba3a..f33f432e 100644 --- a/test/test_transfer_peer_type_enum.py +++ b/test/test_transfer_peer_type_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_rail.py b/test/test_transfer_rail.py index 222866c1..de14639d 100644 --- a/test/test_transfer_rail.py +++ b/test/test_transfer_rail.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_receipt.py b/test/test_transfer_receipt.py index 594b89c2..71978ec4 100644 --- a/test/test_transfer_receipt.py +++ b/test/test_transfer_receipt.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_transfer_validation_failure.py b/test/test_transfer_validation_failure.py index edbf5568..180a5cd5 100644 --- a/test/test_transfer_validation_failure.py +++ b/test/test_transfer_validation_failure.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_action_enum.py b/test/test_travel_rule_action_enum.py index 6fec353b..bfa629f9 100644 --- a/test/test_travel_rule_action_enum.py +++ b/test/test_travel_rule_action_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_address.py b/test/test_travel_rule_address.py index c0cfc43b..5f61b23a 100644 --- a/test/test_travel_rule_address.py +++ b/test/test_travel_rule_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_api.py b/test/test_travel_rule_api.py index 21962281..3ff7d154 100644 --- a/test/test_travel_rule_api.py +++ b/test/test_travel_rule_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -27,6 +27,20 @@ def setUp(self) -> None: def tearDown(self) -> None: pass + def test_create_trust_proof_of_address(self) -> None: + """Test case for create_trust_proof_of_address + + Create Trust Network Proof of Address + """ + pass + + def test_get_trust_proof_of_address(self) -> None: + """Test case for get_trust_proof_of_address + + Retrieve Trust Network Proof of Address Signature + """ + pass + def test_get_vasp_for_vault(self) -> None: """Test case for get_vasp_for_vault diff --git a/test/test_travel_rule_create_transaction_request.py b/test/test_travel_rule_create_transaction_request.py index 10f08b04..6cd493de 100644 --- a/test/test_travel_rule_create_transaction_request.py +++ b/test/test_travel_rule_create_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_date_and_place_of_birth.py b/test/test_travel_rule_date_and_place_of_birth.py index bfe3efdb..6aada9ac 100644 --- a/test/test_travel_rule_date_and_place_of_birth.py +++ b/test/test_travel_rule_date_and_place_of_birth.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_direction_enum.py b/test/test_travel_rule_direction_enum.py index 3a80365a..e4624b36 100644 --- a/test/test_travel_rule_direction_enum.py +++ b/test/test_travel_rule_direction_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_geographic_address.py b/test/test_travel_rule_geographic_address.py index 1df01bbf..cffda667 100644 --- a/test/test_travel_rule_geographic_address.py +++ b/test/test_travel_rule_geographic_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_get_all_vasps_response.py b/test/test_travel_rule_get_all_vasps_response.py index b17d8353..a113abd2 100644 --- a/test/test_travel_rule_get_all_vasps_response.py +++ b/test/test_travel_rule_get_all_vasps_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_issuer.py b/test/test_travel_rule_issuer.py index 1d1f5165..81b4edbe 100644 --- a/test/test_travel_rule_issuer.py +++ b/test/test_travel_rule_issuer.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_issuers.py b/test/test_travel_rule_issuers.py index cda677a0..bcbd5d0b 100644 --- a/test/test_travel_rule_issuers.py +++ b/test/test_travel_rule_issuers.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_legal_person.py b/test/test_travel_rule_legal_person.py index 075426de..aa86a1b7 100644 --- a/test/test_travel_rule_legal_person.py +++ b/test/test_travel_rule_legal_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_legal_person_name_identifier.py b/test/test_travel_rule_legal_person_name_identifier.py index 2b473501..2037d649 100644 --- a/test/test_travel_rule_legal_person_name_identifier.py +++ b/test/test_travel_rule_legal_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_matched_rule.py b/test/test_travel_rule_matched_rule.py index 6f416d3c..aa7290c1 100644 --- a/test/test_travel_rule_matched_rule.py +++ b/test/test_travel_rule_matched_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_national_identification.py b/test/test_travel_rule_national_identification.py index 31b7de8f..fabd7f3f 100644 --- a/test/test_travel_rule_national_identification.py +++ b/test/test_travel_rule_national_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_natural_name_identifier.py b/test/test_travel_rule_natural_name_identifier.py index ef299e73..68a3b000 100644 --- a/test/test_travel_rule_natural_name_identifier.py +++ b/test/test_travel_rule_natural_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_natural_person.py b/test/test_travel_rule_natural_person.py index e471616d..8e8b01eb 100644 --- a/test/test_travel_rule_natural_person.py +++ b/test/test_travel_rule_natural_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_natural_person_name_identifier.py b/test/test_travel_rule_natural_person_name_identifier.py index ff9243d1..cdbefc5e 100644 --- a/test/test_travel_rule_natural_person_name_identifier.py +++ b/test/test_travel_rule_natural_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_ownership_proof.py b/test/test_travel_rule_ownership_proof.py index b982ab86..263f040b 100644 --- a/test/test_travel_rule_ownership_proof.py +++ b/test/test_travel_rule_ownership_proof.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_person.py b/test/test_travel_rule_person.py index 76f35535..63f45d2a 100644 --- a/test/test_travel_rule_person.py +++ b/test/test_travel_rule_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_pii_ivms.py b/test/test_travel_rule_pii_ivms.py index c0c79f2c..f315559e 100644 --- a/test/test_travel_rule_pii_ivms.py +++ b/test/test_travel_rule_pii_ivms.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_policy_rule_response.py b/test/test_travel_rule_policy_rule_response.py index f38a0a75..b93e8fa1 100644 --- a/test/test_travel_rule_policy_rule_response.py +++ b/test/test_travel_rule_policy_rule_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_prescreening_rule.py b/test/test_travel_rule_prescreening_rule.py index 2069ccc8..c52e357b 100644 --- a/test/test_travel_rule_prescreening_rule.py +++ b/test/test_travel_rule_prescreening_rule.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_result.py b/test/test_travel_rule_result.py index 2365b983..75d9ea50 100644 --- a/test/test_travel_rule_result.py +++ b/test/test_travel_rule_result.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_status_enum.py b/test/test_travel_rule_status_enum.py index 73442cd7..4cd58e4f 100644 --- a/test/test_travel_rule_status_enum.py +++ b/test/test_travel_rule_status_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_transaction_blockchain_info.py b/test/test_travel_rule_transaction_blockchain_info.py index 4493ae7d..80ad3b13 100644 --- a/test/test_travel_rule_transaction_blockchain_info.py +++ b/test/test_travel_rule_transaction_blockchain_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_update_vasp_details.py b/test/test_travel_rule_update_vasp_details.py index 02f89b59..ce97ddb2 100644 --- a/test/test_travel_rule_update_vasp_details.py +++ b/test/test_travel_rule_update_vasp_details.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_date_and_place_of_birth.py b/test/test_travel_rule_validate_date_and_place_of_birth.py index 11d0ce4a..aebc4240 100644 --- a/test/test_travel_rule_validate_date_and_place_of_birth.py +++ b/test/test_travel_rule_validate_date_and_place_of_birth.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_full_transaction_request.py b/test/test_travel_rule_validate_full_transaction_request.py index 163eb073..6e220bca 100644 --- a/test/test_travel_rule_validate_full_transaction_request.py +++ b/test/test_travel_rule_validate_full_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_geographic_address.py b/test/test_travel_rule_validate_geographic_address.py index e8a16088..00297000 100644 --- a/test/test_travel_rule_validate_geographic_address.py +++ b/test/test_travel_rule_validate_geographic_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_legal_person.py b/test/test_travel_rule_validate_legal_person.py index 6f5ac4d7..81a9082f 100644 --- a/test/test_travel_rule_validate_legal_person.py +++ b/test/test_travel_rule_validate_legal_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_legal_person_name_identifier.py b/test/test_travel_rule_validate_legal_person_name_identifier.py index 82f9f8e0..bc6a05cd 100644 --- a/test/test_travel_rule_validate_legal_person_name_identifier.py +++ b/test/test_travel_rule_validate_legal_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_national_identification.py b/test/test_travel_rule_validate_national_identification.py index b8f78275..222f60a7 100644 --- a/test/test_travel_rule_validate_national_identification.py +++ b/test/test_travel_rule_validate_national_identification.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_natural_name_identifier.py b/test/test_travel_rule_validate_natural_name_identifier.py index 14b04f22..d8bc65c4 100644 --- a/test/test_travel_rule_validate_natural_name_identifier.py +++ b/test/test_travel_rule_validate_natural_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_natural_person.py b/test/test_travel_rule_validate_natural_person.py index 04bc3675..4f547e01 100644 --- a/test/test_travel_rule_validate_natural_person.py +++ b/test/test_travel_rule_validate_natural_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_natural_person_name_identifier.py b/test/test_travel_rule_validate_natural_person_name_identifier.py index abbb5d0c..7f4773ec 100644 --- a/test/test_travel_rule_validate_natural_person_name_identifier.py +++ b/test/test_travel_rule_validate_natural_person_name_identifier.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_person.py b/test/test_travel_rule_validate_person.py index 14cb7081..0640c62b 100644 --- a/test/test_travel_rule_validate_person.py +++ b/test/test_travel_rule_validate_person.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_pii_ivms.py b/test/test_travel_rule_validate_pii_ivms.py index 5304dc0e..03d296ab 100644 --- a/test/test_travel_rule_validate_pii_ivms.py +++ b/test/test_travel_rule_validate_pii_ivms.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_transaction_request.py b/test/test_travel_rule_validate_transaction_request.py index 80da9307..0b2aa710 100644 --- a/test/test_travel_rule_validate_transaction_request.py +++ b/test/test_travel_rule_validate_transaction_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_validate_transaction_response.py b/test/test_travel_rule_validate_transaction_response.py index 1f13ae5a..2a2e6239 100644 --- a/test/test_travel_rule_validate_transaction_response.py +++ b/test/test_travel_rule_validate_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_vasp.py b/test/test_travel_rule_vasp.py index 732900ae..17a6ce7f 100644 --- a/test/test_travel_rule_vasp.py +++ b/test/test_travel_rule_vasp.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_vasp_for_vault.py b/test/test_travel_rule_vasp_for_vault.py index 74ffc67d..29974d6b 100644 --- a/test/test_travel_rule_vasp_for_vault.py +++ b/test/test_travel_rule_vasp_for_vault.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_travel_rule_verdict_enum.py b/test/test_travel_rule_verdict_enum.py index a9ebf759..669e3434 100644 --- a/test/test_travel_rule_verdict_enum.py +++ b/test/test_travel_rule_verdict_enum.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_trust_proof_of_address_create_response.py b/test/test_trust_proof_of_address_create_response.py new file mode 100644 index 00000000..bd798770 --- /dev/null +++ b/test/test_trust_proof_of_address_create_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.trust_proof_of_address_create_response import ( + TrustProofOfAddressCreateResponse, +) + + +class TestTrustProofOfAddressCreateResponse(unittest.TestCase): + """TrustProofOfAddressCreateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TrustProofOfAddressCreateResponse: + """Test TrustProofOfAddressCreateResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TrustProofOfAddressCreateResponse` + """ + model = TrustProofOfAddressCreateResponse() + if include_optional: + return TrustProofOfAddressCreateResponse( + transaction_id = '550e8400-e29b-41d4-a716-446655440000', + status = 'PENDING_SIGNATURE' + ) + else: + return TrustProofOfAddressCreateResponse( + transaction_id = '550e8400-e29b-41d4-a716-446655440000', + status = 'PENDING_SIGNATURE', + ) + """ + + def testTrustProofOfAddressCreateResponse(self): + """Test TrustProofOfAddressCreateResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_trust_proof_of_address_request.py b/test/test_trust_proof_of_address_request.py new file mode 100644 index 00000000..0bdfee24 --- /dev/null +++ b/test/test_trust_proof_of_address_request.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest + + +class TestTrustProofOfAddressRequest(unittest.TestCase): + """TrustProofOfAddressRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TrustProofOfAddressRequest: + """Test TrustProofOfAddressRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TrustProofOfAddressRequest` + """ + model = TrustProofOfAddressRequest() + if include_optional: + return TrustProofOfAddressRequest( + vault_account_id = '0', + asset = 'ETH', + prefix = 'trust_verification', + trust_uuid = '550e8400-e29b-41d4-a716-446655440000' + ) + else: + return TrustProofOfAddressRequest( + vault_account_id = '0', + asset = 'ETH', + prefix = 'trust_verification', + trust_uuid = '550e8400-e29b-41d4-a716-446655440000', + ) + """ + + def testTrustProofOfAddressRequest(self): + """Test TrustProofOfAddressRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_trust_proof_of_address_response.py b/test/test_trust_proof_of_address_response.py new file mode 100644 index 00000000..559298a1 --- /dev/null +++ b/test/test_trust_proof_of_address_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.trust_proof_of_address_response import ( + TrustProofOfAddressResponse, +) + + +class TestTrustProofOfAddressResponse(unittest.TestCase): + """TrustProofOfAddressResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TrustProofOfAddressResponse: + """Test TrustProofOfAddressResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `TrustProofOfAddressResponse` + """ + model = TrustProofOfAddressResponse() + if include_optional: + return TrustProofOfAddressResponse( + transaction_id = '550e8400-e29b-41d4-a716-446655440000', + status = 'PENDING_SIGNATURE', + signature = '0x6e6e0da016d49d2eaeefb2ce49efcde627151ce03d3e525963aa541ce07fb41c0f1f70d131f160480b4a68aaefbdae1b6fe3765eee3ceff0a8b47a8c979ccd961c' + ) + else: + return TrustProofOfAddressResponse( + transaction_id = '550e8400-e29b-41d4-a716-446655440000', + status = 'PENDING_SIGNATURE', + signature = '0x6e6e0da016d49d2eaeefb2ce49efcde627151ce03d3e525963aa541ce07fb41c0f1f70d131f160480b4a68aaefbdae1b6fe3765eee3ceff0a8b47a8c979ccd961c', + ) + """ + + def testTrustProofOfAddressResponse(self): + """Test TrustProofOfAddressResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_tx_log.py b/test/test_tx_log.py index 6a8c087f..15ec5ed2 100644 --- a/test/test_tx_log.py +++ b/test/test_tx_log.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_typed_message_transaction_status_enum.py b/test/test_typed_message_transaction_status_enum.py new file mode 100644 index 00000000..1853a66e --- /dev/null +++ b/test/test_typed_message_transaction_status_enum.py @@ -0,0 +1,38 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.typed_message_transaction_status_enum import ( + TypedMessageTransactionStatusEnum, +) + + +class TestTypedMessageTransactionStatusEnum(unittest.TestCase): + """TypedMessageTransactionStatusEnum unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTypedMessageTransactionStatusEnum(self): + """Test TypedMessageTransactionStatusEnum""" + # inst = TypedMessageTransactionStatusEnum() + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_unfreeze_transaction_response.py b/test/test_unfreeze_transaction_response.py index ae240fb3..b2656cbf 100644 --- a/test/test_unfreeze_transaction_response.py +++ b/test/test_unfreeze_transaction_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_unmanaged_wallet.py b/test/test_unmanaged_wallet.py index 1c2c4476..5d639be2 100644 --- a/test/test_unmanaged_wallet.py +++ b/test/test_unmanaged_wallet.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_unspent_input.py b/test/test_unspent_input.py index c945fa48..1eb24355 100644 --- a/test/test_unspent_input.py +++ b/test/test_unspent_input.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_unspent_inputs_response.py b/test/test_unspent_inputs_response.py index 3d0180db..0ec0ac16 100644 --- a/test/test_unspent_inputs_response.py +++ b/test/test_unspent_inputs_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_unstake_request.py b/test/test_unstake_request.py index 71327b61..81ed77b9 100644 --- a/test/test_unstake_request.py +++ b/test/test_unstake_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,15 +37,15 @@ def make_instance(self, include_optional) -> UnstakeRequest: model = UnstakeRequest() if include_optional: return UnstakeRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850e', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', fee = '7', fee_level = 'MEDIUM', - tx_note = 'unstake request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH', - amount = '75' + tx_note = 'unstake request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #SOL', + amount = '7' ) else: return UnstakeRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850e', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', ) """ diff --git a/test/test_update_asset_user_metadata_request.py b/test/test_update_asset_user_metadata_request.py index 609e8819..382fa701 100644 --- a/test/test_update_asset_user_metadata_request.py +++ b/test/test_update_asset_user_metadata_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_callback_handler_request.py b/test/test_update_callback_handler_request.py index 16261ac4..35c9eb0a 100644 --- a/test/test_update_callback_handler_request.py +++ b/test/test_update_callback_handler_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_callback_handler_response.py b/test/test_update_callback_handler_response.py index 1180b2a6..ccff656b 100644 --- a/test/test_update_callback_handler_response.py +++ b/test/test_update_callback_handler_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_draft_request.py b/test/test_update_draft_request.py index a91e3100..e8248e90 100644 --- a/test/test_update_draft_request.py +++ b/test/test_update_draft_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_tag_request.py b/test/test_update_tag_request.py index c4ddd4c7..0164a321 100644 --- a/test/test_update_tag_request.py +++ b/test/test_update_tag_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_token_ownership_status_dto.py b/test/test_update_token_ownership_status_dto.py index 8c01d075..5f0fff78 100644 --- a/test/test_update_token_ownership_status_dto.py +++ b/test/test_update_token_ownership_status_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_vault_account_asset_address_request.py b/test/test_update_vault_account_asset_address_request.py index cbb3d90f..e6158e26 100644 --- a/test/test_update_vault_account_asset_address_request.py +++ b/test/test_update_vault_account_asset_address_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_vault_account_request.py b/test/test_update_vault_account_request.py index 1145bbac..d8e17ddf 100644 --- a/test/test_update_vault_account_request.py +++ b/test/test_update_vault_account_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_update_webhook_request.py b/test/test_update_webhook_request.py index 024e2eee..c51caf14 100644 --- a/test/test_update_webhook_request.py +++ b/test/test_update_webhook_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_us_wire_address.py b/test/test_us_wire_address.py index c45807c7..38dcb311 100644 --- a/test/test_us_wire_address.py +++ b/test/test_us_wire_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -41,7 +41,14 @@ def make_instance(self, include_optional) -> USWireAddress: bank_name = '', bank_account_number = '', routing_number = '', - bank_address = '' + bank_address = fireblocks.models.bank_address.BankAddress( + street_name = '', + building_number = '', + postal_code = '', + city = '', + subdivision = '', + district = '', + country = '', ) ) else: return USWireAddress( diff --git a/test/test_us_wire_destination.py b/test/test_us_wire_destination.py index bd2f9856..9b45c7d5 100644 --- a/test/test_us_wire_destination.py +++ b/test/test_us_wire_destination.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,12 +37,12 @@ def make_instance(self, include_optional) -> USWireDestination: model = USWireDestination() if include_optional: return USWireDestination( - type = 'US_WIRE', + type = 'WIRE', address = {"accountHolder":{"name":"Michael Thompson","city":"Chicago","country":"US","subdivision":"IL","address":"200 West Jackson Blvd, Suite 1500","postalCode":"60606"},"bankName":"JPMorgan Chase Bank","bankAccountNumber":"987654321012345","routingNumber":"021000021","bankAddress":"270 Park Avenue, New York, NY 10017"} ) else: return USWireDestination( - type = 'US_WIRE', + type = 'WIRE', address = {"accountHolder":{"name":"Michael Thompson","city":"Chicago","country":"US","subdivision":"IL","address":"200 West Jackson Blvd, Suite 1500","postalCode":"60606"},"bankName":"JPMorgan Chase Bank","bankAccountNumber":"987654321012345","routingNumber":"021000021","bankAddress":"270 Park Avenue, New York, NY 10017"}, ) """ diff --git a/test/test_us_wire_payment_info.py b/test/test_us_wire_payment_info.py index 2716185d..6c86acc3 100644 --- a/test/test_us_wire_payment_info.py +++ b/test/test_us_wire_payment_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_group_create_request.py b/test/test_user_group_create_request.py index 6f9c9fe4..6969ba2e 100644 --- a/test/test_user_group_create_request.py +++ b/test/test_user_group_create_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_group_create_response.py b/test/test_user_group_create_response.py index 7b013983..3d1c48a6 100644 --- a/test/test_user_group_create_response.py +++ b/test/test_user_group_create_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_group_response.py b/test/test_user_group_response.py index 1979cd54..0013d1fc 100644 --- a/test/test_user_group_response.py +++ b/test/test_user_group_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_group_update_request.py b/test/test_user_group_update_request.py index c76bda65..979f299a 100644 --- a/test/test_user_group_update_request.py +++ b/test/test_user_group_update_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_groups_beta_api.py b/test/test_user_groups_beta_api.py index fd2dfa12..56c40b99 100644 --- a/test/test_user_groups_beta_api.py +++ b/test/test_user_groups_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_response.py b/test/test_user_response.py index 8609122d..3cab12f3 100644 --- a/test/test_user_response.py +++ b/test/test_user_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_role.py b/test/test_user_role.py index e65d5420..6f316d8e 100644 --- a/test/test_user_role.py +++ b/test/test_user_role.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_status.py b/test/test_user_status.py index 172a8f33..544c863e 100644 --- a/test/test_user_status.py +++ b/test/test_user_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_user_type.py b/test/test_user_type.py index 60805452..38013cd0 100644 --- a/test/test_user_type.py +++ b/test/test_user_type.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_users_api.py b/test/test_users_api.py index df3a97ae..ca44f278 100644 --- a/test/test_users_api.py +++ b/test/test_users_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validate_address_response.py b/test/test_validate_address_response.py index e030f7ed..6f27b964 100644 --- a/test/test_validate_address_response.py +++ b/test/test_validate_address_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validate_layer_zero_channel_response.py b/test/test_validate_layer_zero_channel_response.py index 8a62d83e..14fe281d 100644 --- a/test/test_validate_layer_zero_channel_response.py +++ b/test/test_validate_layer_zero_channel_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validated_transactions_for_rescan.py b/test/test_validated_transactions_for_rescan.py deleted file mode 100644 index 0ccae7ae..00000000 --- a/test/test_validated_transactions_for_rescan.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.validated_transactions_for_rescan import ( - ValidatedTransactionsForRescan, -) - - -class TestValidatedTransactionsForRescan(unittest.TestCase): - """ValidatedTransactionsForRescan unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ValidatedTransactionsForRescan: - """Test ValidatedTransactionsForRescan - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `ValidatedTransactionsForRescan` - """ - model = ValidatedTransactionsForRescan() - if include_optional: - return ValidatedTransactionsForRescan( - base_asset = '', - network_protocol = '', - tx_hashes = ['0x7b8b9413cf28a2a4a6da9b56c'] - ) - else: - return ValidatedTransactionsForRescan( - ) - """ - - def testValidatedTransactionsForRescan(self): - """Test ValidatedTransactionsForRescan""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_validation_key_dto.py b/test/test_validation_key_dto.py index a2f3a634..b7e4587a 100644 --- a/test/test_validation_key_dto.py +++ b/test/test_validation_key_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_validator.py b/test/test_validator.py index ada88ae8..cd279ade 100644 --- a/test/test_validator.py +++ b/test/test_validator.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_account.py b/test/test_vault_account.py index fa09fc5a..b026f834 100644 --- a/test/test_vault_account.py +++ b/test/test_vault_account.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -68,9 +68,13 @@ def make_instance(self, include_optional) -> VaultAccount: id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', description = 'Tag for VIP customers', + color = '#FF5733', is_protected = True, - color = '', - updated_at = '1719859200', ) + updated_at = 1717084800000, + pending_approval_request = fireblocks.models.approval_request.ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', ), ) ] ) else: diff --git a/test/test_vault_account_tag_attachment_operation.py b/test/test_vault_account_tag_attachment_operation.py index 4d141799..b31605ab 100644 --- a/test/test_vault_account_tag_attachment_operation.py +++ b/test/test_vault_account_tag_attachment_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_account_tag_attachment_pending_operation.py b/test/test_vault_account_tag_attachment_pending_operation.py index 2c8f34a1..7cc0933e 100644 --- a/test/test_vault_account_tag_attachment_pending_operation.py +++ b/test/test_vault_account_tag_attachment_pending_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_account_tag_attachment_rejected_operation.py b/test/test_vault_account_tag_attachment_rejected_operation.py index 6a188dcf..bbb63a8a 100644 --- a/test/test_vault_account_tag_attachment_rejected_operation.py +++ b/test/test_vault_account_tag_attachment_rejected_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_accounts_paged_response.py b/test/test_vault_accounts_paged_response.py index a9009767..97c004c6 100644 --- a/test/test_vault_accounts_paged_response.py +++ b/test/test_vault_accounts_paged_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -70,9 +70,13 @@ def make_instance(self, include_optional) -> VaultAccountsPagedResponse: id = 'df4c0987-30da-4976-8dcf-bc2dd41ae331', label = 'VIP', description = 'Tag for VIP customers', + color = '#FF5733', is_protected = True, - color = '', - updated_at = '1719859200', ) + updated_at = 1717084800000, + pending_approval_request = fireblocks.models.approval_request.ApprovalRequest( + id = '12345', + type = 'TAG_UPDATE', + state = 'PENDING', ), ) ], ) ], paging = fireblocks.models.vault_accounts_paged_response_paging.VaultAccountsPagedResponse_paging( diff --git a/test/test_vault_accounts_paged_response_paging.py b/test/test_vault_accounts_paged_response_paging.py index 1cbf7782..4535edf7 100644 --- a/test/test_vault_accounts_paged_response_paging.py +++ b/test/test_vault_accounts_paged_response_paging.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_accounts_tag_attachment_operations_request.py b/test/test_vault_accounts_tag_attachment_operations_request.py index 30c83aae..6c61f648 100644 --- a/test/test_vault_accounts_tag_attachment_operations_request.py +++ b/test/test_vault_accounts_tag_attachment_operations_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_accounts_tag_attachment_operations_response.py b/test/test_vault_accounts_tag_attachment_operations_response.py index 9d2e9e71..af4cd6e9 100644 --- a/test/test_vault_accounts_tag_attachment_operations_response.py +++ b/test/test_vault_accounts_tag_attachment_operations_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_accounts_tag_attachments_request.py b/test/test_vault_accounts_tag_attachments_request.py deleted file mode 100644 index 270a995a..00000000 --- a/test/test_vault_accounts_tag_attachments_request.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.vault_accounts_tag_attachments_request import ( - VaultAccountsTagAttachmentsRequest, -) - - -class TestVaultAccountsTagAttachmentsRequest(unittest.TestCase): - """VaultAccountsTagAttachmentsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> VaultAccountsTagAttachmentsRequest: - """Test VaultAccountsTagAttachmentsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `VaultAccountsTagAttachmentsRequest` - """ - model = VaultAccountsTagAttachmentsRequest() - if include_optional: - return VaultAccountsTagAttachmentsRequest( - tag_ids = ["df4c0987-30da-4976-8dcf-bc2dd41ae331","a1b2c3d4-e5f6-7890-abcd-ef1234567890"], - vault_account_ids = ["0","1"] - ) - else: - return VaultAccountsTagAttachmentsRequest( - tag_ids = ["df4c0987-30da-4976-8dcf-bc2dd41ae331","a1b2c3d4-e5f6-7890-abcd-ef1234567890"], - vault_account_ids = ["0","1"], - ) - """ - - def testVaultAccountsTagAttachmentsRequest(self): - """Test VaultAccountsTagAttachmentsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_vault_action_status.py b/test/test_vault_action_status.py index cc73092a..331d2a96 100644 --- a/test/test_vault_action_status.py +++ b/test/test_vault_action_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_asset.py b/test/test_vault_asset.py index ebbc61e5..eece6c46 100644 --- a/test/test_vault_asset.py +++ b/test/test_vault_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vault_wallet_address.py b/test/test_vault_wallet_address.py index 84f079f2..ac14b434 100644 --- a/test/test_vault_wallet_address.py +++ b/test/test_vault_wallet_address.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_vaults_api.py b/test/test_vaults_api.py index db5e749c..f3aa9502 100644 --- a/test/test_vaults_api.py +++ b/test/test_vaults_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,7 @@ def test_activate_asset_for_vault_account(self) -> None: def test_attach_or_detach_tags_from_vault_accounts(self) -> None: """Test case for attach_or_detach_tags_from_vault_accounts - Attach or detach tags from a vault accounts - """ - pass - - def test_attach_tags_to_vault_accounts(self) -> None: - """Test case for attach_tags_to_vault_accounts - - Attach tags to a vault accounts (deprecated) + Attach or detach tags from vault accounts """ pass @@ -79,7 +72,7 @@ def test_create_vault_account(self) -> None: def test_create_vault_account_asset(self) -> None: """Test case for create_vault_account_asset - Create a new wallet + Create a new vault wallet """ pass @@ -90,24 +83,17 @@ def test_create_vault_account_asset_address(self) -> None: """ pass - def test_detach_tags_from_vault_accounts(self) -> None: - """Test case for detach_tags_from_vault_accounts - - Detach tags from a vault accounts (deprecated) - """ - pass - def test_get_asset_wallets(self) -> None: """Test case for get_asset_wallets - List asset wallets (Paginated) + Get vault wallets (Paginated) """ pass def test_get_create_multiple_deposit_addresses_job_status(self) -> None: """Test case for get_create_multiple_deposit_addresses_job_status - Get job status of bulk creation of new deposit addresses + Get the job status of the bulk deposit address creation """ pass @@ -118,31 +104,38 @@ def test_get_create_multiple_vault_accounts_job_status(self) -> None: """ pass + def test_get_max_bip_index_used(self) -> None: + """Test case for get_max_bip_index_used + + Get maximum BIP44 index used + """ + pass + def test_get_max_spendable_amount(self) -> None: """Test case for get_max_spendable_amount - Get the maximum spendable amount in a single transaction. + Get max spendable amount in a transaction """ pass def test_get_paged_vault_accounts(self) -> None: """Test case for get_paged_vault_accounts - List vault accounts (Paginated) + Get vault accounts (Paginated) """ pass def test_get_public_key_info(self) -> None: """Test case for get_public_key_info - Get the public key information + Get the public key for a derivation path """ pass def test_get_public_key_info_for_address(self) -> None: """Test case for get_public_key_info_for_address - Get the public key for a vault account + Get an asset's public key """ pass @@ -156,7 +149,7 @@ def test_get_unspent_inputs(self) -> None: def test_get_vault_account(self) -> None: """Test case for get_vault_account - Find a vault account by ID + Get a vault account by ID """ pass @@ -170,7 +163,7 @@ def test_get_vault_account_asset(self) -> None: def test_get_vault_account_asset_addresses_paginated(self) -> None: """Test case for get_vault_account_asset_addresses_paginated - List addresses (Paginated) + Get addresses (Paginated) """ pass @@ -184,7 +177,7 @@ def test_get_vault_assets(self) -> None: def test_get_vault_balance_by_asset(self) -> None: """Test case for get_vault_balance_by_asset - Get vault balance by asset + Get vault balance by an asset """ pass @@ -205,14 +198,14 @@ def test_set_customer_ref_id_for_address(self) -> None: def test_set_vault_account_auto_fuel(self) -> None: """Test case for set_vault_account_auto_fuel - Turn autofueling on or off + Set auto fueling to on or off """ pass def test_set_vault_account_customer_ref_id(self) -> None: """Test case for set_vault_account_customer_ref_id - Set an AML/KYT customer reference ID for a vault account + Set an AML/KYT ID for a vault account """ pass diff --git a/test/test_vendor_dto.py b/test/test_vendor_dto.py index c68c087c..f873ffed 100644 --- a/test/test_vendor_dto.py +++ b/test/test_vendor_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_verdict_config.py b/test/test_verdict_config.py index 2c79a68c..a4e833ed 100644 --- a/test/test_verdict_config.py +++ b/test/test_verdict_config.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_version.py b/test/test_version.py deleted file mode 100644 index ef9c60e2..00000000 --- a/test/test_version.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" -Fireblocks API - -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - -The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com -Generated by OpenAPI Generator (https://openapi-generator.tech) - -Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from fireblocks.models.version import Version - - -class TestVersion(unittest.TestCase): - """Version unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> Version: - """Test Version - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included""" - # uncomment below to create an instance of `Version` - """ - model = Version() - if include_optional: - return Version( - hash = 'a1b2c3d4' - ) - else: - return Version( - hash = 'a1b2c3d4', - ) - """ - - def testVersion(self): - """Test Version""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == "__main__": - unittest.main() diff --git a/test/test_version_summary.py b/test/test_version_summary.py new file mode 100644 index 00000000..a0de6f90 --- /dev/null +++ b/test/test_version_summary.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" +Fireblocks API + +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) + +The version of the OpenAPI document: 1.6.2 +Contact: developers@fireblocks.com +Generated by OpenAPI Generator (https://openapi-generator.tech) + +Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from fireblocks.models.version_summary import VersionSummary + + +class TestVersionSummary(unittest.TestCase): + """VersionSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VersionSummary: + """Test VersionSummary + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included""" + # uncomment below to create an instance of `VersionSummary` + """ + model = VersionSummary() + if include_optional: + return VersionSummary( + hash = 'a1b2c3d4e5', + name = '1.0.0 (December 2025)' + ) + else: + return VersionSummary( + hash = 'a1b2c3d4e5', + ) + """ + + def testVersionSummary(self): + """Test VersionSummary""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == "__main__": + unittest.main() diff --git a/test/test_wallet_asset.py b/test/test_wallet_asset.py index 2bd5810c..737651a9 100644 --- a/test/test_wallet_asset.py +++ b/test/test_wallet_asset.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_wallet_asset_additional_info.py b/test/test_wallet_asset_additional_info.py index aeb6735c..85192885 100644 --- a/test/test_wallet_asset_additional_info.py +++ b/test/test_wallet_asset_additional_info.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_web3_connections_api.py b/test/test_web3_connections_api.py index 75507d53..51fb0a40 100644 --- a/test/test_web3_connections_api.py +++ b/test/test_web3_connections_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_webhook.py b/test/test_webhook.py index 5b67a125..8d7af5c4 100644 --- a/test/test_webhook.py +++ b/test/test_webhook.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_webhook_event.py b/test/test_webhook_event.py index 96a4e76a..c77f6c36 100644 --- a/test/test_webhook_event.py +++ b/test/test_webhook_event.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_webhook_metric.py b/test/test_webhook_metric.py index d9eb2c0f..0729e7ee 100644 --- a/test/test_webhook_metric.py +++ b/test/test_webhook_metric.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_webhook_paginated_response.py b/test/test_webhook_paginated_response.py index 1a13097a..893429b1 100644 --- a/test/test_webhook_paginated_response.py +++ b/test/test_webhook_paginated_response.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_webhooks_api.py b/test/test_webhooks_api.py index bac260e5..9ab07c0e 100644 --- a/test/test_webhooks_api.py +++ b/test/test_webhooks_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ def tearDown(self) -> None: def test_resend_transaction_webhooks(self) -> None: """Test case for resend_transaction_webhooks - Resend failed webhooks for a transaction by ID + Resend webhooks for a transaction by ID """ pass diff --git a/test/test_webhooks_v2_api.py b/test/test_webhooks_v2_api.py index 67cb94ea..f692b503 100644 --- a/test/test_webhooks_v2_api.py +++ b/test/test_webhooks_v2_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ def tearDown(self) -> None: def test_create_webhook(self) -> None: """Test case for create_webhook - Create new webhook + Create a new webhook """ pass diff --git a/test/test_whitelist_ip_addresses_api.py b/test/test_whitelist_ip_addresses_api.py index 17f17e31..31de0cd8 100644 --- a/test/test_whitelist_ip_addresses_api.py +++ b/test/test_whitelist_ip_addresses_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -30,7 +30,7 @@ def tearDown(self) -> None: def test_get_whitelist_ip_addresses(self) -> None: """Test case for get_whitelist_ip_addresses - Gets whitelisted ip addresses + Get whitelisted ip addresses for an API Key """ pass diff --git a/test/test_withdraw_request.py b/test/test_withdraw_request.py index 13867d07..e3f74c83 100644 --- a/test/test_withdraw_request.py +++ b/test/test_withdraw_request.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. @@ -37,14 +37,15 @@ def make_instance(self, include_optional) -> WithdrawRequest: model = WithdrawRequest() if include_optional: return WithdrawRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', fee = '7', fee_level = 'MEDIUM', - tx_note = 'withdraw request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH' + tx_note = 'withdraw request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d #ETH', + amount = '7' ) else: return WithdrawRequest( - id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850f', + id = 'b70701f4-d7b1-4795-a8ee-b09cdb5b850d', ) """ diff --git a/test/test_workflow_config_status.py b/test/test_workflow_config_status.py index 36e9690a..689ee684 100644 --- a/test/test_workflow_config_status.py +++ b/test/test_workflow_config_status.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_workflow_configuration_id.py b/test/test_workflow_configuration_id.py index 024ec9ec..4c7cc080 100644 --- a/test/test_workflow_configuration_id.py +++ b/test/test_workflow_configuration_id.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_workflow_execution_operation.py b/test/test_workflow_execution_operation.py index aac6984e..1e2ac807 100644 --- a/test/test_workflow_execution_operation.py +++ b/test/test_workflow_execution_operation.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_workspace_status_beta_api.py b/test/test_workspace_status_beta_api.py index 141cf78f..c682261a 100644 --- a/test/test_workspace_status_beta_api.py +++ b/test/test_workspace_status_beta_api.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_write_abi_function.py b/test/test_write_abi_function.py index 6efc0599..3d8dddce 100644 --- a/test/test_write_abi_function.py +++ b/test/test_write_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_write_call_function_dto.py b/test/test_write_call_function_dto.py index fb034cbf..dc2fc2d6 100644 --- a/test/test_write_call_function_dto.py +++ b/test/test_write_call_function_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_write_call_function_dto_abi_function.py b/test/test_write_call_function_dto_abi_function.py index 713d301d..d055ed5e 100644 --- a/test/test_write_call_function_dto_abi_function.py +++ b/test/test_write_call_function_dto_abi_function.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. diff --git a/test/test_write_call_function_response_dto.py b/test/test_write_call_function_response_dto.py index 1b04d60f..f6bb2b4f 100644 --- a/test/test_write_call_function_response_dto.py +++ b/test/test_write_call_function_response_dto.py @@ -3,10 +3,10 @@ """ Fireblocks API -No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) +Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) The version of the OpenAPI document: 1.6.2 -Contact: support@fireblocks.com +Contact: developers@fireblocks.com Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually.